/* --- ПЕРЕМЕННЫЕ И ОСНОВА --- */
:root {
    --bg-color: #fdfcf9;
    --text-dark: #1a1a1a;
    --text-light: #fdfcf9;
    --accent-gold: #c5a367;
    --border-color: rgba(0, 0, 0, 0.1);
    --header-font: 'Cormorant Garamond', serif;
    --main-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- СТИЛЬ НЕАКТИВНОЙ КНОПКИ ВХОДА --- */
.nav-link-disabled {
    color: #aaaaaa;
    /* Серый цвет для индикации неактивности */
    cursor: not-allowed;
    /* Курсор запрета */
    margin: 0 30px;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.6;
}

/* --- HERO И ГАЛЕРЕЯ --- */
.hero {
    width: 100%;
    text-align: center;
    padding: 34px 5% 40px;
}

.hero h1 {
    font-family: var(--header-font);
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 600;
    letter-spacing: -2px;
}

.hero .subtitle {
    font-family: var(--header-font);
    font-style: italic;
    font-size: clamp(24px, 3vw, 38px);
    color: var(--accent-gold);
    max-width: 900px;
    margin: 0 auto;
}

.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    width: 50%;
    gap: 30px;
    margin: 0 auto;
}

.slide {
    position: relative;
    overflow: hidden;
    flex: 1;
    aspect-ratio: 16 / 9;
    z-index: 1;
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    filter: grayscale(30%);
    border-radius: 24px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 24px;
}

.slide:hover {
    flex: 1.5;
    z-index: 10;
    transform: scale(1.05);
    filter: grayscale(0%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.slide:hover .slide-video {
    opacity: 1;
}

/* --- ОПИСАНИЕ --- */
.description {
    width: 100%;
    text-align: center;
    padding: 80px 10% 40px;
}

.description h2 {
    font-family: var(--header-font);
    font-size: clamp(32px, 4vw, 54px);
}

.description p {
    margin: 9px auto 0;
    color: #7a7a7a;
    font-size: 17px;
    max-width: 800px;
}

/* --- АВТОРИЗАЦИЯ (AUTH) --- */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 80px 5% 100px;
    background: var(--bg-color);
}

.auth-card {
    background: white;
    padding: 60px 40px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 420px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.btn-main {
    width: 100%;
    padding: 16px;
    background: var(--accent-gold);
    color: white;
    border: none;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main:hover {
    opacity: 0.9;
}

/* --- БАННЕР ПЕРИОДА РАЗРАБОТКИ --- */
.development-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Центрируем баннер по горизонтали */
    background-color: var(--bg-color);
    line-height: 0;
    padding: 20px 0;
    /* Добавляем небольшие отступы сверху и снизу для баланса */
}

.development-banner img {
    width: 50%;
    /* Уменьшаем размер на 50% */
    height: auto;
    display: block;
    border-radius: 12px;
    /* Можно добавить легкое скругление для мягкости */
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        width: 100%;
        padding: 15px 5%;
    }
}