:root {
    --bg-main: #ffffff;
    --surface: #f7f7f7;
    --surface-hover: #f1f1f1;
    --text-main: #111827;
    --text-muted: #71717a;
    --accent: #000000;
    --border-color: #e4e4e7;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .logo { 
    font-family: 'Playfair Display', serif; 
}

/* Header */
header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 24px 5%;
    position: fixed; 
    width: 100%; 
    top: 0; 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px); 
    z-index: 100; 
    border-bottom: 1px solid var(--border-color);
}

.logo { 
    font-size: 1.6rem; 
    font-weight: 900; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    color: var(--accent); 
    text-decoration: none; 
}

.nav-links { 
    display: flex; 
    gap: 32px; 
}

.nav-links a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 0.8rem; 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: color 0.3s; 
}

.nav-links a:hover { 
    color: var(--accent); 
}

.contact-phone { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none; 
    color: var(--accent); 
    border: 1px solid var(--accent); 
    border-radius: 50%; 
    transition: background 0.3s, color 0.3s; 
}

.contact-phone:hover { 
    background: var(--accent); 
    color: var(--bg-main); 
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.burger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero */
.hero { 
    margin-top: 80px; 
    padding: 100px 5%; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
    min-height: 70vh; 
}

.hero-text h1 { 
    font-size: clamp(3rem, 6vw, 6rem); 
    line-height: 1; 
    font-weight: 900; 
    margin-bottom: 24px; 
    color: var(--text-main); 
}

.hero-text h1 i { 
    color: var(--text-muted); 
    font-weight: 500; 
}

.hero-text p { 
    color: var(--text-muted); 
    font-size: 1.15rem; 
    margin-bottom: 40px; 
    max-width: 480px; 
}

/* --- Кнопки в Hero блоке (Цена и Календарь) --- */
.hero-action-block {
    display: flex;
    align-items: stretch; /* Растягивает элементы на одинаковую высоту */
    gap: 15px;
    margin-top: 25px;
}

.hero-action-block .price {
    font-size: 1.1rem;
    padding: 18px 25px; /* Вертикальные отступы убираем, они задаются растягиванием (stretch) */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-action-block .btn-black {
    margin-top: 0; /* Отменяем стандартный отступ в 20px из базовых стилей кнопки */
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img { 
    width: 100%; 
    height: 600px; 
    position: relative; 
}

.hero-img::after { 
    content: ""; 
    position: absolute; 
    top: -10px; 
    right: -10px; 
    width: 50%; 
    height: 50%; 
    border-top: 2px solid var(--border-color); 
    border-right: 2px solid var(--border-color); 
    z-index: -1; 
}

/* Стили для плавной смены фото (Slider) */
.hero-img img { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border: 1px solid var(--border-color); 
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-img img.active {
    opacity: 1;
    z-index: 2;
}

/* Marquee */
.marquee { 
    background: var(--surface); 
    padding: 20px 0; 
    overflow: hidden; 
    white-space: nowrap; 
    border-top: 1px solid var(--border-color); 
    border-bottom: 1px solid var(--border-color); 
    position: relative; 
}

.marquee::before, .marquee::after { 
    content: ""; 
    position: absolute; 
    top: 0; 
    width: 100px; 
    height: 100%; 
    z-index: 2; 
}

.marquee::before { 
    left: 0; 
    background: linear-gradient(to right, var(--surface), transparent); 
}

.marquee::after { 
    right: 0; 
    background: linear-gradient(to left, var(--surface), transparent); 
}

.marquee span { 
    display: inline-block; 
    font-size: 0.9rem; 
    font-weight: 500; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--text-main); 
    padding-left: 100%; 
    animation: marquee 30s linear infinite; 
}

@keyframes marquee { 
    0% { transform: translate(0, 0); } 
    100% { transform: translate(-100%, 0); } 
}

/* Halls Section */
.section { 
    padding: 120px 5%; 
}

.section-header { 
    margin-bottom: 80px; 
    text-align: center; 
}

.section-header h2 { 
    font-size: 4rem; 
    font-weight: 700; 
    line-height: 1; 
}

.section-header p { 
    color: var(--text-muted); 
    max-width: 700px; 
    margin: 15px auto 0; 
    font-size: 1.1rem; 
}

.halls-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 60px 40px; 
    align-items: start; 
}

.hall-card { 
    display: block; 
    text-decoration: none; 
    color: inherit; 
    position: relative; 
    transition: all 0.5s ease; 
    height: 600px; 
    width: 100%; 
}

.hall-card:hover { 
    transform: translateY(-10px); 
    z-index: 5; 
}

.hall-img { 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    position: relative; 
}

.hall-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 1s ease; 
}

.hall-card:hover .hall-img img { 
    transform: scale(1.05); 
}

.hall-info { 
    position: absolute; 
    bottom: -25px; 
    left: 20px; 
    background: #ffffff; 
    padding: 15px 25px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    border: 1px solid var(--border-color); 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 15px; 
    width: calc(100% - 40px); 
}

.hall-info h3 { 
    font-size: 1.5rem; 
    margin-bottom: 5px; 
    font-weight: 600; 
}

.hall-info p { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    font-weight: 300; 
}

.price { 
    font-family: 'Inter', sans-serif; 
    font-weight: 600; 
    font-size: 1rem; 
    border: 1px solid var(--accent); 
    padding: 6px 15px; 
    white-space: nowrap; 
}

/* Reviews Section */
.reviews-section { 
    background: var(--surface); 
    padding: 120px 5%; 
    border-top: 1px solid var(--border-color); 
}

.reviews-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
}

.reviews-text { 
    padding-right: 20px; 
}

.reviews-text h2 { 
    font-size: clamp(2.5rem, 4vw, 4rem); 
    line-height: 1.1; 
    font-weight: 700; 
    margin-bottom: 24px; 
    color: var(--text-main); 
}

.reviews-text h2 i { 
    color: var(--text-muted); 
    font-weight: 500; 
}

.reviews-text p { 
    color: var(--text-muted); 
    font-size: 1.15rem; 
    line-height: 1.6; 
    margin-bottom: 40px; 
    max-width: 500px; 
}

.award-badge { 
    display: inline-block; 
    font-family: 'Inter', sans-serif; 
    font-size: 0.9rem; 
    font-weight: 600; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--accent); 
    border-bottom: 2px solid var(--accent); 
    padding-bottom: 6px; 
}

.yandex-widget { 
    width: 100%; 
}

/* Map & Footer */
.footer-map-section { 
    position: relative; 
    height: 600px; 
}

.map-container { 
    width: 100%; 
    height: 100%; 
}

.contact-card { 
    position: absolute; 
    top: 50%; 
    left: 5%; 
    transform: translateY(-50%); 
    background: #ffffff; 
    padding: 50px; 
    border: 1px solid var(--border-color); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    max-width: 420px; 
    z-index: 10; 
}

.contact-card h2 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 30px; 
}

.contact-card p { 
    margin-bottom: 20px; 
    color: var(--text-muted); 
    display: flex; 
    flex-direction: column; 
    font-size: 1rem; 
}

.contact-card p strong { 
    color: var(--text-main); 
    font-weight: 600; 
    margin-bottom: 6px; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1.5px; 
}

/* --- Обновленный Футер (Desktop) --- */
.footer-bottom { 
    background: var(--surface); 
    color: var(--text-muted); 
    border-top: 1px solid var(--border-color); 
    padding: 40px 100px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 0.85rem; 
    text-align: center;
}

.footer-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 600px; 
}

.dev-text {
    opacity: 0.7;
}

/* --- Компактная плашка Куки --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 3000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    max-width: 90vw;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-main);
    margin: 0;
}

.cookie-content a {
    color: var(--text-main);
    text-decoration: underline;
}

.btn-cookie {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-cookie:hover {
    opacity: 0.8;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #333;
}

.btn-black {
    display: inline-block; 
    margin-top: 20px; 
    padding: 12px 25px; 
    background: #000000; 
    color: #ffffff; 
    text-decoration: none; 
    border-radius: 4px; 
    font-size: 0.9rem; 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

/* Fixed To Top Button */
.to-top-fixed {
    position: fixed;
    bottom: 40px; 
    left: 40px;   /* Левая сторона на десктопе */
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--accent);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    z-index: 2000;
    transition: all 0.3s ease;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.to-top-fixed.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top-fixed:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Floating Booking Button */
.floating-btn { 
    position: fixed; 
    bottom: 40px; 
    right: 40px; 
    background: var(--accent); 
    color: var(--bg-main); 
    padding: 20px 45px; 
    border-radius: 4px; 
    font-family: 'Inter', sans-serif; 
    font-weight: 500; 
    font-size: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    text-decoration: none; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s; 
    z-index: 1999; 
}

.floating-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); 
    background: #333; 
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hall-card { height: 450px; }
    .reviews-container { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .reviews-text { padding-right: 0; }
    .reviews-text p { margin: 0 auto 40px; }
    .section { padding: 80px 5%; }
}

@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; padding-top: 60px; }
    .hero-text h1 { margin: 0 auto 24px; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-action-block { justify-content: center; }
    .hero-img { height: 400px; }
    .contact-card { position: relative; top: 0; left: 0; transform: none; max-width: 100%; border-radius: 0; box-shadow: none; border-top: 1px solid var(--border-color); padding: 40px 5%; }
    .footer-map-section { height: auto; display: flex; flex-direction: column-reverse; }
    .map-container { height: 400px; }
}

@media (max-width: 768px) {
    .halls-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-phone { display: none; }
    
    .burger-menu { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; 
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 40px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.15rem;
    }

    .logo { font-size: 1.3rem; }
    .section-header h2 { font-size: 2.8rem; }
    
    .floating-btn { 
        bottom: 20px; 
        right: 20px; 
        left: 20px; 
        width: auto; 
        text-align: center; 
        padding: 18px 20px; 
    }
    
    .to-top-fixed {
        left: auto;  
        right: 20px; 
        bottom: 95px; 
        width: 45px;
        height: 45px;
    }

    .footer-bottom {
        padding: 40px 5% 140px; 
    }

    .cookie-banner {
        bottom: 110px;
        width: calc(100% - 40px);
        white-space: normal;
        border-radius: 15px;
        padding: 15px;
    }

    .cookie-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Фикс для подписей залов в одну строку на мобильных */
    .hall-info {
        align-items: center; 
    }

    .hall-info > div:first-child {
        overflow: hidden; 
        flex: 1; 
        padding-right: 15px; 
    }

    .hall-info h3, 
    .hall-info p {
        white-space: nowrap; 
        overflow: hidden; 
        text-overflow: ellipsis; 
    }

    .hall-info h3 {
        font-size: 1.2rem;
    }

    .hall-info p {
        font-size: 0.85rem;
    }

    .price {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}