/* =========================================
   1. БАЗОВЫЕ НАСТРОЙКИ
   ========================================= */
body {
    background-color: var(--bg-color-1);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

.body-text-content {
    color: var(--text-color) !important;
}

h1, h2, h3, h4, h5, .font-playfair, .section-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--heading-color);
}

.text-gold { color: var(--gold) !important; }

/* Динамические фоны (используются, если нет картинки) */
.bg-color-1 { background-color: var(--bg-color-1); }
.bg-color-2 { background-color: var(--bg-color-2); }
.bg-black { background-color: #000; } 

a { text-decoration: none; transition: 0.3s; color: inherit; }
a:hover { color: var(--gold); }

/* Вспомогательный класс для слоев */
.z-index-2 {
    position: relative;
    z-index: 2;
}

/* =========================================
   2. ШАПКА И НАВИГАЦИЯ
   ========================================= */
.navbar {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    height: 80px; 
}
.navbar-logo, .navbar-brand svg { height: 40px; width: auto; display: block; }

.navbar-toggler { border: none; outline: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    width: 35px; height: 35px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Кнопка "СВЯЗАТЬСЯ" в шапке */
.btn-gold-outline-header {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 0;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-gold-outline-header:hover {
    color: #fff;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* =========================================
   3. МЕНЮ (БОКОВОЕ)
   ========================================= */
.offcanvas { 
    background-color: #000 !important;
    width: 320px; 
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    z-index: 9999 !important;
}

.offcanvas-header { 
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding: 20px 25px;
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow-y: auto;
}

.btn-close-custom { background: none; border: none; padding: 5px; cursor: pointer; }
.btn-close-custom svg path { transition: 0.3s; stroke: #999; }
.btn-close-custom:hover svg path { stroke: var(--gold); }

.side-menu-list {
    margin: 0; padding: 0; width: 100%;
}

.menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.side-link {
    display: block; width: 100%; 
    padding: 18px 25px; 
    color: var(--gold) !important; 
    font-family: var(--font-body); 
    font-weight: 600; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.side-link:hover { 
    background-color: rgba(212, 175, 55, 0.1); 
    color: #fff !important; 
    padding-left: 35px; 
}

.menu-footer {
    padding: 0;
    margin-top: auto;
}

.side-phone-item {
    display: block; 
    width: 100%; 
    padding: 20px 25px;
    color: var(--gold) !important; 
    font-family: var(--font-body); 
    font-size: 1.1rem; 
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.side-phone-item:hover { 
    color: #fff !important; 
    background-color: rgba(212, 175, 55, 0.1); 
}

/* =========================================
   4. HERO (ГЛАВНЫЙ ЭКРАН)
   ========================================= */
.hero-section {
    min-height: 100vh; background-size: cover; background-position: center; background-attachment: fixed;
    position: relative; display: flex; align-items: center; justify-content: center; padding-top: 90px;
}
.hero-title {
    font-size: 5rem; font-weight: 700; color: #fff;
    text-shadow: 0 0 30px rgba(0,0,0,0.5);
    letter-spacing: 5px;
}
.ls-3 { letter-spacing: 3px; }

/* Текст под заголовком */
.hero-bottom-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* Анимация свечения */
.hero-glow {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(212, 175, 55, 0.4),
        0 0 80px rgba(212, 175, 55, 0.2);
    animation: glow-pulse 3s infinite alternate;
}

@keyframes glow-pulse {
    from {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 40px rgba(212, 175, 55, 0.4);
    }
    to {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 1),
            0 0 30px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(212, 175, 55, 0.6);
    }
}

/* =========================================
   5. СЛАЙДЕР (АФИША)
   ========================================= */
.slide-card { 
    height: 450px; 
    border: 1px solid rgba(255,255,255,0.1); 
    overflow: hidden; /* Картинка не вылетает при зуме */
    position: relative; 
    border-radius: 0;
}

.slide-img { 
    height: 100%; 
    width: 100%; 
    background-size: cover; 
    background-position: center; 
    transition: transform 0.6s ease; 
}

.slide-card:hover .slide-img { 
    transform: scale(1.1); 
}

.gradient-overlay { 
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); 
}

/* =========================================
   6. КАРТОЧКИ (PARTY) - УНИВЕРСАЛЬНЫЕ
   ========================================= */
.party-card { 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(212, 175, 55, 0.3); 
    transition: 0.3s; 
    min-height: 100%;
    overflow: hidden; /* Картинка на фоне не вылетает */
}

.party-card:hover { 
    background: rgba(212, 175, 55, 0.05); 
    border-color: var(--gold); 
    transform: translateY(-5px); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.5); 
}

/* Затемнение фона карточки */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

.party-list-content ul { list-style: none; padding-left: 0; }
.party-list-content li { position: relative; padding-left: 20px; margin-bottom: 5px; }
.party-list-content li::before { content: '•'; color: var(--gold); position: absolute; left: 0; top: 0; }

/* =========================================
   7. ОБЩИЕ ЭЛЕМЕНТЫ (РАЗДЕЛЫ, КНОПКИ)
   ========================================= */
.btn { border-radius: 0; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; padding: 15px 35px; transition: 0.3s; }
.btn-gold { background-color: var(--gold); color: #000; border: 1px solid var(--gold); }
.btn-gold:hover { background-color: transparent; color: var(--gold); }
.btn-outline-light { border: 1px solid #fff; color: #fff; }
.btn-outline-light:hover { background-color: #fff; color: #000; }
.btn-gold-outline { border: 1px solid var(--gold); color: var(--gold); }
.btn-gold-outline:hover { background-color: var(--gold); color: #000; }

.section-title {
    font-size: 2.5rem; margin-bottom: 3rem; position: relative; display: block; width: 100%; text-align: center;
    color: var(--heading-color);
}
.section-title::after { content: ''; display: block; width: 60px; height: 2px; background-color: var(--gold); margin: 15px auto 0; }
.section-divider { border: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255, 0.1), transparent); }

/* Затемнение фона всего раздела */
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.accordion-button:not(.collapsed) { color: var(--gold) !important; background-color: rgba(255, 255, 255, 0.05) !important; }
.accordion-button::after { filter: invert(1); }

.footer-logo { height: 50px; width: auto; margin: 0 auto; }
footer { border-top: 1px solid rgba(255,255,255,0.1); }

/* Галерея */
.gallery-slide { height: 300px; overflow: hidden; border-radius: 10px; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-slide:hover img { transform: scale(1.1); }

/* Меню (всплывающее окно) */
.menu-trigger-card { height: 300px; border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--gold); transition: transform 0.3s; }
.menu-trigger-card:hover { transform: scale(1.02); }
.menu-cover-img { height: 100%; background-size: cover; background-position: center; filter: brightness(0.4); transition: 0.3s; }
.menu-trigger-card:hover .menu-cover-img { filter: brightness(0.6); }
.menu-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }