/* Responsive Styles - Mobile First */

/* Tablet - 768px */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

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

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-img {
        height: 400px;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .split-section.reverse {
        direction: ltr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    /* Navigation */
    .nav {
        padding: 0;
        height: 64px;
        min-height: 64px;
    }

    .burger {
        display: flex;
    }

    /* Mobile Menu Overlay */
    .nav-overlay {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-fast), visibility var(--transition-fast);
        z-index: 998;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        right: -100%;
        width: 100%;
        max-width: 280px;
        height: calc(100vh - 64px);
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md) var(--spacing-md);
        gap: 0;
        transition: right var(--transition-fast);
        overflow-y: auto;
    }

    .nav-menu li {
        margin: 0.2rem 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        border-bottom: 1px solid var(--color-light-gray);
        font-size: 1.22rem;
        font-weight: 500;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-img {
        height: 300px;
    }

    /* Cards */
    .card-img,
    .hall-card-img {
        height: 250px;
    }

    /* Hall Slider */
    .hall-slider {
        height: 350px;
    }

    /* Split Section */
    .split-img {
        height: 300px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .social-links {
        flex-direction: column;
    }

    /* Scroll to Top */
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }

    .scroll-top svg {
        width: 20px;
        height: 20px;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Price Cards */
    .price-card-amount {
        font-size: 2rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 250px;
    }

    /* Map */
    .map-wrapper {
        height: 300px;
    }

    /* AppEvent iframe */
    .appevent-wrapper {
        padding: 0;
        margin: 0 calc(-1 * var(--container-padding));
        border-radius: 0;
        box-shadow: none;
        max-width: none;
    }

    .appevent-wrapper iframe {
        min-height: 1000px;
        border-radius: 0;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero-img,
    .split-img {
        height: 250px;
    }

    .card-img,
    .hall-card-img {
        height: 200px;
    }

    .price-card-amount {
        font-size: 1.75rem;
    }

    /* Hall Slider */
    .hall-slider {
        height: 250px;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .rules-number {
        font-size: 1.25rem;
        width: 36px;
        height: 36px;
    }
}

/* Large Desktop - 1440px+ */
@media (min-width: 1440px) {
    :root {
        --container-width: 1600px;
        --spacing-xl: 8rem;
    }

    .hero-img {
        height: 700px;
    }

    .split-img {
        height: 600px;
    }

    .card-img,
    .hall-card-img {
        height: 400px;
    }
}
