/* Подключаем современный шрифт */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    height: 100%;
}

/* Навигация - ПРОЗРАЧНАЯ И РАЗМЫТАЯ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    
    /* Прозрачность - фон виден */
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Левая часть с логотипом и меню - СДВИНУТА ВЛЕВО */
.nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-left: -50px; /* Сдвигаем в самый левый край */
}

/* Name RP™ слева */
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Меню */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border-radius: 30px;
    transition: 0.3s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Активный пункт - БЕЛЫЙ БОКС С ЧЕРНЫМ ТЕКСТОМ */
.nav-menu a.active {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    text-shadow: none;
}

/* Правое меню - СДВИНУТО ВПРАВО */
.nav-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-right: -50px; /* Сдвигаем в правый край для баланса */
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: 0.3s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

.nav-button-small {
    background: transparent;
    color: #ffffff;
    padding: 8px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: 0.3s;
    border: 2px solid #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav-button-small:hover {
    background: #ffffff;
    color: #000000;
    text-shadow: none;
}

/* Hero секция с фоновым изображением */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../png/fon.png') center/cover no-repeat;
    position: relative;
    margin-top: -80px; /* Чтобы панель не перекрывала */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Затемнение для читаемости текста */
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
}

.hero-title-main {
    font-size: 5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 50px;
    max-width: 750px;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.buttons {
    display: flex;
    gap: 25px;
}

.btn {
    display: inline-block;
    padding: 16px 50px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
}

/* Футер */
.footer-info {
    background: #000000;
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.footer-left h3,
.footer-right h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid #ffffff;
    padding-left: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
    display: block;
    padding: 3px 0;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-right p {
    color: #cccccc;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-right i {
    color: #ffffff;
    width: 25px;
    font-size: 1.1rem;
}

.footer-right strong {
    color: #ffffff;
    font-weight: 600;
    min-width: 70px;
    display: inline-block;
}

.footer-copyright {
    margin-top: 50px;
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 30px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 1000px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-left {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }
    
    .nav-actions {
        margin-right: 0;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 900px) {
    .hero-title-main {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .nav-actions {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 30px;
    }
}