/* ===== EVENT HALL PAGE STYLES - PREMIUM EDITION ===== */

:root {
    --primary-dark: #1a1a1a;
    --primary-gold: #d4af37;
    --gold-hover: #b8941f;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #fafafa;
    --bg-section: #f7f7f7;
    --border-light: #e5e5e5;
}

/* Hero Section - Reduced Height */
.event-hero {
    position: relative;
    height: 40vh;
    min-height: 350px;
    max-height: 450px;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(26, 26, 26, 0.4) 0%, 
        rgba(26, 26, 26, 0.7) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-label {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
}

.hero-line {
    width: 80px;
    height: 1px;
    background: var(--primary-gold);
    margin: 15px auto 0;
    opacity: 0.8;
}

/* Navigation Tabs - Premium Style, Not Sticky */
.event-navigation {
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    /* Removed sticky positioning */
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 40px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex: 1;
    background: white;
}

.nav-tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab-btn:hover {
    color: var(--primary-dark);
    background: var(--bg-light);
}

.nav-tab-btn:hover::before {
    width: 60px;
}

.tab-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-tab-btn:hover .tab-icon {
    opacity: 1;
}

.tab-text {
    font-family: 'Inter', sans-serif;
}

/* About Section - Premium Layout */
.event-about {
    padding: 120px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-slider {
    position: relative;
}

.gallery-slider img {
    width: 100%;
    border-radius: 0;
    filter: grayscale(20%);
    transition: filter 0.4s ease;
}

.gallery-slider:hover img {
    filter: grayscale(0%);
}

.gallery-slider::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--primary-gold);
    z-index: -1;
    opacity: 0.3;
}

.about-content .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.section-divider {
    width: 40px;
    height: 1px;
    background: var(--primary-gold);
    margin-bottom: 35px;
    opacity: 0.8;
}

.about-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 300;
}

.about-text strong {
    color: var(--primary-dark);
    font-weight: 500;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 35px 0;
}

.about-list li {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(229, 229, 229, 0.3);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Advantages Section - Premium Chess Layout */
.event-advantages {
    padding: 120px 0;
    background: var(--bg-section);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-content .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.advantages-list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(229, 229, 229, 0.5);
    align-items: start;
}

.advantages-list li:last-child {
    border-bottom: none;
}

.advantage-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary-gold);
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.advantages-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.advantages-list p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

.advantages-image {
    position: relative;
}

.advantages-image img {
    width: 100%;
    filter: grayscale(10%);
    transition: filter 0.4s ease;
}

.advantages-image:hover img {
    filter: grayscale(0%);
}

.image-badge {
    position: absolute;
    bottom: -30px;
    right: 40px;
    background: white;
    padding: 25px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

.badge-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Services Section - Premium Cards */
.event-services {
    padding: 120px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-header .section-divider {
    width: 40px;
    height: 1px;
    background: var(--primary-gold);
    margin: 0 auto;
    opacity: 0.8;
}

.service-card {
    margin-bottom: 0;
    background: white;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card + .service-card {
    margin-top: 120px;
}

.service-card:hover {
    transform: none;
    box-shadow: none;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    min-height: 500px;
}

.service-card.reverse .service-grid {
    direction: rtl;
}

.service-card.reverse .service-content {
    direction: ltr;
}

.service-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: white;
    color: var(--primary-dark);
    padding: 8px 20px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--border-light);
}

.service-content {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 35px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-features li {
    font-size: 13px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '—';
    color: var(--primary-gold);
    font-weight: 300;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    border-bottom: 1px solid transparent;
    padding-bottom: 8px;
}

.service-btn:hover {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
    transform: none;
}

.service-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-btn:hover svg {
    transform: translateX(5px);
}

/* CTA Section - Premium Style */
.event-cta {
    padding: 140px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.event-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cta-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid;
}

.cta-btn.primary {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

.cta-btn.primary:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: white;
    color: var(--primary-dark);
    border-color: white;
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .event-hero {
        height: 35vh;
        min-height: 300px;
    }
    
    .hero-label {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .nav-tabs {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .nav-tab-btn {
        padding: 20px 25px;
        min-width: 120px;
    }
    
    .about-grid,
    .advantages-grid,
    .service-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .service-card.reverse .service-grid {
        direction: ltr;
    }
    
    .service-card + .service-card {
        margin-top: 60px;
    }
    
    .service-content {
        padding: 40px 30px;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .advantages-image {
        order: -1;
    }
    
    .image-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .event-hero {
        height: 30vh;
        min-height: 250px;
    }
    
    .hero-label {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-header .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}
/* ===== EVENT HALL POPUP - HORIZONTAL LAYOUT ===== */

.event-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.event-popup-overlay.active {
    display: flex;
}

.event-popup-modal {
    background: white;
    max-width: 850px;
    width: 100%;
    max-height: 500px;
    height: auto;
    position: relative;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.popup-close:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

.popup-close:hover svg {
    stroke: white;
}

.popup-content {
    display: flex;
    height: 100%;
}

/* Left Side - Image */
.popup-left {
    position: relative;
    width: 40%;
    min-height: 400px;
    overflow: hidden;
}

.popup-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(26, 26, 26, 0.2) 0%, 
        rgba(26, 26, 26, 0.6) 100%
    );
}

.popup-logo {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Right Side - Content */
.popup-right {
    width: 60%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.popup-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
    margin: 0;
}

.popup-divider {
    width: 50px;
    height: 1px;
    background: var(--primary-gold);
    margin-bottom: 25px;
    opacity: 0.6;
}

.popup-message {
    margin-bottom: 25px;
}

.popup-main-text {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.popup-main-text strong {
    font-weight: 600;
    color: var(--primary-gold);
}

.popup-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.popup-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 13px;
}

.popup-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.popup-contact-link:hover {
    color: var(--primary-gold);
}

.popup-contact-link svg {
    flex-shrink: 0;
}

.contact-separator {
    color: #ddd;
    margin: 0 5px;
}

.popup-footer {
    display: flex;
    gap: 12px;
    margin: 25px 0;
}

.popup-btn-primary,
.popup-btn-secondary {
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.popup-btn-primary {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

.popup-btn-primary:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-1px);
}

.popup-btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border-color: #ddd;
}

.popup-btn-secondary:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.popup-signature {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .event-popup-modal {
        max-width: 90%;
        max-height: 80vh;
        height: auto;
    }
    
    .popup-content {
        flex-direction: column;
    }
    
    .popup-left {
        width: 100%;
        height: 150px;
        min-height: 150px;
    }
    
    .popup-right {
        width: 100%;
        padding: 30px;
    }
    
    .popup-header {
        flex-direction: column;
        text-align: center;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-divider {
        margin: 0 auto 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .event-popup-modal {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .popup-right {
        padding: 25px 20px;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
    
    .popup-main-text {
        font-size: 14px;
    }
    
    .popup-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-separator {
        display: none;
    }
    
    .popup-footer {
        flex-direction: column;
    }
    
    .popup-btn-primary,
    .popup-btn-secondary {
        width: 100%;
    }
}

/* Ensure no scrollbar on popup */
.event-popup-modal {
    overflow: hidden;
}

.popup-right {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for content if needed */
.popup-right::-webkit-scrollbar {
    width: 4px;
}

.popup-right::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.popup-right::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.popup-right::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}
/* MOBILE RESPONSIVE IMPROVEMENTS */
@media (max-width: 768px) {
    /* Navigation Tabs Mobile - без sticky */
    .event-navigation {
        padding: 20px 0;
        position: relative; /* Убираем sticky */
        top: auto;
        z-index: 10;
        background: #f8f8f8;
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .nav-tabs {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        padding: 0 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #d4af37 #f0f0f0;
    }
    
    .nav-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .nav-tabs::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 2px;
    }
    
    .nav-tabs::-webkit-scrollbar-thumb {
        background: #d4af37;
        border-radius: 2px;
    }
    
    .nav-tab-btn {
        min-width: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 8px;
        font-size: 10px;
        letter-spacing: 0.5px;
        background: white;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        white-space: nowrap;
    }
    
    .nav-tab-btn:hover {
        background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
        border-color: #d4af37;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }
    
    .tab-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 4px;
        stroke-width: 1.5;
    }
    
    .tab-text {
        display: block;
        font-size: 9px;
        line-height: 1.2;
    }
    
    /* About Section Mobile - Image First */
    .event-about {
        padding: 60px 0;
    }
    
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .about-gallery {
        order: 1;
    }
    
    .about-content {
        order: 2;
        text-align: center;
    }
    
    .about-content .section-title {
        font-size: 1.8rem;
    }
    
    .about-content .section-divider {
        margin: 0 auto 20px;
    }
    
    .about-list {
        text-align: left;
        max-width: 100%;
    }
    
    /* Advantages Section Mobile - Image First */
    .event-advantages {
        padding: 60px 0;
    }
    
    .advantages-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .advantages-image {
        order: 1;
    }
    
    .advantages-content {
        order: 2;
    }
    
    .advantages-list li {
        padding: 15px 0;
    }
    
    .advantage-icon {
        font-size: 20px;
    }
    
    /* Services Mobile */
    .event-services {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .service-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .service-image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .service-content {
        order: 2;
        text-align: center;
    }
    
    .service-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .service-features {
        text-align: left;
        display: inline-block;
    }
    
    .service-btn {
        margin: 20px auto 0;
        display: inline-flex;
    }
    
    /* Reverse layout on mobile - always image first */
    .service-card.reverse .service-grid {
        flex-direction: column;
    }
    
    .service-card.reverse .service-image {
        order: 1;
    }
    
    .service-card.reverse .service-content {
        order: 2;
    }
    
    /* CTA Section Mobile */
    .event-cta {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Event Popup Mobile */
    .event-popup-modal {
        width: 95%;
        max-height: 90vh;
        margin: 20px;
    }
    
    .popup-content {
        flex-direction: column;
        height: auto;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .popup-left {
        height: 200px;
        width: 100%;
    }
    
    .popup-right {
        padding: 20px;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
    
    .popup-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .popup-btn-primary,
    .popup-btn-secondary {
        width: 100%;
    }
    
    /* Text adjustments */
    .service-description {
        font-size: 14px;
    }
    
    .about-text {
        font-size: 14px;
    }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    /* Navigation tabs for very small screens */
    .event-navigation {
        padding: 15px 0;
    }
    
    .nav-tabs {
        gap: 5px;
        padding: 0 5px;
        justify-content: flex-start; /* Позволяем скролл если не помещается */
    }
    
    .nav-tab-btn {
        min-width: 65px;
        padding: 10px 5px;
    }
    
    .tab-icon {
        width: 18px;
        height: 18px;
        margin-bottom: 3px;
    }
    
    .tab-text {
        font-size: 8px;
    }
    
    .popup-contacts {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-separator {
        display: none;
    }
}

/* Ultra small screens */
@media (max-width: 360px) {
    .nav-tabs {
        gap: 4px;
    }
    
    .nav-tab-btn {
        min-width: 60px;
        padding: 8px 4px;
    }
    
    .tab-icon {
        width: 16px;
        height: 16px;
    }
    
    .tab-text {
        font-size: 7px;
    }
}
/* Добавить к существующему event-hall.css */

/* ===== УЛУЧШЕННЫЕ КНОПКИ НАВИГАЦИИ ===== */
.event-navigation {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-bottom: 2px solid var(--primary-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
}

.nav-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-hover) 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-tab-btn:hover {
    color: white;
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.nav-tab-btn:hover::before {
    left: 0;
}

.nav-tab-btn:hover .tab-icon {
    color: white;
    transform: scale(1.1);
}

.tab-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.tab-text {
    font-weight: 600;
}



/* ===== AFISHA POPUP ===== */
.afisha-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.afisha-popup-overlay.active {
    display: flex;
}

.afisha-popup-modal {
    background: white;
    max-width: 600px;
    width: 100%;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.afisha-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
}

.afisha-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.afisha-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.afisha-btn {
    padding: 15px 40px;
    background: var(--primary-gold);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.afisha-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* ===== BOOKING FORM POPUP ===== */
.booking-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.booking-popup-overlay.active {
    display: flex;
}

.booking-popup-modal {
    background: white;
    max-width: 700px;
    width: 100%;
    padding: 50px;
    border-radius: 20px;
    position: relative;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    max-height: 90vh;
    overflow-y: auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.booking-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label .required {
    color: var(--primary-gold);
}

.form-input,
.form-select,
.form-textarea {
    padding: 15px 20px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-hover) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.close-popup-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup-btn:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

.close-popup-btn:hover svg {
    stroke: white;
}

/* Mobile Responsive for new elements */
@media (max-width: 768px) {
    .nav-tabs {
        gap: 8px;
        padding: 10px 5px;
        overflow-x: auto;
    }
    
    .nav-tab-btn {
        padding: 15px 20px;
        min-width: 100px;
    }
    
    .menu-popup-modal {
        border-radius: 0;
        max-height: 100vh;
    }
    
    .menu-viewer {
        height: 400px;
    }
    
    .menu-buttons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-popup-modal,
    .afisha-popup-modal {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .nav-tab-btn {
        padding: 12px 15px;
        font-size: 10px;
    }
    
    .tab-icon {
        width: 22px;
        height: 22px;
    }
    
    .menu-popup-title {
        font-size: 1.5rem;
    }
    
    .menu-viewer {
        height: 300px;
    }
    
    .booking-title {
        font-size: 1.5rem;
    }
}
/* ===== ENHANCED MENU POPUP WITH FLIPBOOK ===== */
.menu-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.menu-popup-overlay.active {
    display: flex;
}

.menu-popup-modal {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    max-width: 1400px;
    width: 100%;
    max-height: 95vh;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.menu-popup-header {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-hover) 100%);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 100;
}

.menu-popup-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.menu-header-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.menu-zoom-controls {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 25px;
}

.zoom-btn {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.zoom-level {
    color: white;
    font-size: 13px;
    font-weight: 500;
    padding: 0 10px;
    display: flex;
    align-items: center;
    min-width: 50px;
    justify-content: center;
}

.menu-view-mode {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 25px;
}

.view-btn {
    padding: 8px 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.menu-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-close-btn:hover {
    background: white;
    transform: rotate(90deg);
}

.menu-close-btn:hover svg {
    stroke: var(--primary-gold);
}

/* Flipbook Container */
.flipbook-container {
    background: #1a1a1a;
    padding: 40px;
    height: calc(95vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.flipbook-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2000px;
}

.flipbook {
    position: relative;
    width: 900px;
    height: 600px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.flipbook.zoomed {
    transform: scale(1.3);
}

.flipbook.zoomed-max {
    transform: scale(1.6);
}

/* Book Pages */
.book-page {
    position: absolute;
    width: 50%;
    height: 100%;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transform-origin: right center;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.book-page.left {
    left: 0;
    transform-origin: right center;
    border-radius: 10px 0 0 10px;
}

.book-page.right {
    right: 0;
    transform-origin: left center;
    border-radius: 0 10px 10px 0;
}

.page-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
}

.page-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.page-content.back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
}

/* Page turning animation */
.book-page.turning {
    z-index: 10;
}

.book-page.left.turning {
    transform: rotateY(-180deg);
}

.book-page.right.turning {
    transform: rotateY(180deg);
}

/* Navigation Controls */
.flipbook-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 50;
    opacity: 0.9;
}

.flipbook-nav:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.flipbook-nav:hover svg {
    stroke: white;
}

.flipbook-nav.prev {
    left: 30px;
}

.flipbook-nav.next {
    right: 30px;
}

.flipbook-nav svg {
    stroke: var(--primary-dark);
    stroke-width: 2.5;
}

/* Page Counter */
.page-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.9);
    padding: 12px 25px;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 50;
    backdrop-filter: blur(10px);
}

/* Thumbnails View */
.thumbnails-view {
    display: none;
    padding: 30px;
    height: calc(95vh - 80px);
    overflow-y: auto;
    background: #1a1a1a;
}

.thumbnails-view.active {
    display: block;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.thumbnail-item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-gold);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Fullscreen Mode */
.menu-popup-modal.fullscreen {
    max-width: 100%;
    max-height: 100%;
    height: 100vh;
    border-radius: 0;
}

.menu-popup-modal.fullscreen .flipbook {
    width: 80vw;
    max-width: 1200px;
    height: 80vh;
}

/* Loading State */
.menu-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.menu-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .flipbook {
        width: 700px;
        height: 500px;
    }
    
    .flipbook-nav {
        width: 50px;
        height: 50px;
    }
    
    .flipbook-nav.prev {
        left: 15px;
    }
    
    .flipbook-nav.next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .menu-popup-modal {
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
    }
    
    .menu-popup-header {
        padding: 15px 20px;
    }
    
    .menu-popup-title {
        font-size: 1.3rem;
    }
    
    .menu-header-controls {
        gap: 10px;
    }
    
    .menu-view-mode {
        display: none;
    }
    
    .flipbook-container {
        padding: 20px;
        height: calc(100vh - 70px);
    }
    
    .flipbook {
        width: 100%;
        max-width: 500px;
        height: 400px;
    }
    
    .book-page {
        border-radius: 5px;
    }
    
    .flipbook-nav {
        width: 45px;
        height: 45px;
        opacity: 0.8;
    }
    
    .flipbook-nav.prev {
        left: 10px;
    }
    
    .flipbook-nav.next {
        right: 10px;
    }
    
    .page-counter {
        bottom: 20px;
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .flipbook {
        height: 350px;
    }
    
    .menu-zoom-controls {
        display: none;
    }
    
    .flipbook-nav {
        width: 40px;
        height: 40px;
    }
    
    .page-content {
        padding: 10px;
    }
}

/* Smooth Page Turn Effect */
@keyframes pageFlip {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(-180deg);
    }
}

.page-turning-right {
    animation: pageFlip 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Page Shadow Effect */
.book-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-page:hover::before {
    opacity: 1;
}