﻿html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.menu-toggle {
    display: none;
}

@media (max-width: 1200px) {
    .about-container {
        gap: 50px;
    }

    .event-card {
        gap: 50px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .large,
    .wide {
        grid-column: span 2;
    }

    .tall {
        grid-row: span 1;
    }
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        font-size: 1.25rem;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--secondary);
        outline-offset: 4px;
    }

    .navbar {
        position: relative;
        padding: 18px 0;
    }

    .logo {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }

    .buy-btn {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 18px 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 20px 20px;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 0;
        color: var(--primary);
        font-weight: 600;
    }

    .nav-links a::after {
        display: none;
    }

    .about-container,
    .event-card,
    .tickets-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image {
        order: 1;
        text-align: center;
    }

    .about-content {
        order: 2;
        text-align: left;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 24px 30px;
    }

    .event-image img {
        height: 420px;
    }

    .event-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .vs-circle {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        padding: 0 24px;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 10vw, 4.2rem);
        line-height: 1.05;
    }

    .hero-content h2 {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-btn {
        padding: 15px 32px;
        font-size: 1rem;
    }

    .scroll-down {
        bottom: 20px;
        font-size: 1.75rem;
    }

    .about,
    .event,
    .tickets,
    .gallery,
    .faq,
    .contact,
    footer {
        padding: 90px 6%;
    }

    .section-header h3,
    .about-content h2,
    .tickets-header h2,
    .gallery-header h2 {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .section-header p,
    .about-content p,
    .tickets-header p,
    .event-content p,
    .faq-item p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .about-content {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
        text-align: center;
    }

    .detail-box {
        padding: 20px;
    }

    .detail-box i {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .ticket-card {
        padding: 32px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 18px;
    }

    .large,
    .wide,
    .tall {
        grid-column: auto;
        grid-row: auto;
    }

    .faq-item {
        padding: 20px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 16px;
    }

    .footer-links a {
        margin: 0;
    }

    .ticket-box {
        width: min(92vw, 500px);
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: clamp(2.4rem, 9vw, 3.2rem);
    }

    .hero-content h2 {
        font-size: 1.35rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
        padding: 8px 18px;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .ticket-card li {
        font-size: 1rem;
    }

    .contact-form input,
    .contact-form textarea,
    .ticket-box input,
    .ticket-box select {
        font-size: 15px;
    }
}
