﻿/* ============================================
   RESPONSIVE STYLESHEET
   ============================================ */

/* Large Desktop */
@media (max-width: 1440px) {
    :root {
        --container-max: 1200px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    :root {
        --container-max: 1140px;
    }

    .nav-menu {
        gap: 28px;
    }
}

/* Tablet Landscape */
@media (max-width: 991px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-menu,
    .navbar-actions .navbar-cta {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

        .footer-bottom .footer-bottom-links {
            justify-content: center;
        }
}

/* Tablet */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .container-custom {
        padding: 0 20px;
    }

    .section-heading {
        text-align: center;
    }

        .section-heading.center {
            text-align: center;
        }

    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats-section .row > [class*="col-"] {
        margin-bottom: 40px;
    }

        .stats-section .row > [class*="col-"]:last-child {
            margin-bottom: 0;
        }

    .cta-section {
        padding: 80px 0;
    }

    .award-card {
        flex-wrap: wrap;
        gap: 16px;
    }

        .award-card .award-year {
            min-width: auto;
        }

    .service-process {
        gap: 16px;
    }

        .service-process .process-number {
            font-size: 2rem;
            min-width: 40px;
        }

    .article-meta {
        flex-wrap: wrap;
        gap: 16px;
    }

    .share-buttons {
        margin-left: 0;
    }

    .filmography-item {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    :root {
        --section-padding: 50px 0;
    }

    .container-custom {
        padding: 0 16px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-custom {
        padding: 12px 24px;
        font-size: 0.72rem;
    }

    .hero-actions .btn-custom {
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }

    .filter-buttons {
        justify-content: center;
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.68rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.tall {
        grid-row: span 1;
        aspect-ratio: 4/3;
    }

    .service-card {
        padding: 28px 24px;
    }

    .job-card {
        padding: 24px;
    }

        .job-card .job-header {
            flex-direction: column;
        }

    .mobile-menu {
        width: 280px;
    }

    .scroll-indicator {
        display: none;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .toast-container-custom {
        right: 16px;
        left: 16px;
    }

    .article-content p:first-of-type::first-letter {
        font-size: 2.5rem;
    }

    .film-meta-bar {
        gap: 14px;
    }

        .film-meta-bar .meta-item {
            font-size: 0.78rem;
        }
}

/* Small Mobile */
@media (max-width: 375px) {
    .navbar-brand-custom .brand-text .brand-name {
        font-size: 1.1rem;
    }

    .navbar-brand-custom .brand-text .brand-sub {
        font-size: 0.55rem;
    }

    .navbar-brand-custom .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 1.95rem;
    }

    .btn-custom {
        padding: 11px 20px;
        font-size: 0.68rem;
    }
}

/* Extra small devices (430px) */
@media (max-width: 430px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-row {
        flex-direction: column;
        gap: 10px;
    }

        .newsletter-row .btn-custom {
            width: 100%;
            justify-content: center;
        }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn-custom {
            width: 100%;
            justify-content: center;
        }

    .story-nav {
        flex-direction: column;
        gap: 20px;
    }

        .story-nav .story-nav-item.next {
            text-align: left;
        }

    .checkbox-group {
        flex-direction: column;
    }

    .checkbox-item {
        width: 100%;
    }
}

/* Nav dropdown: click-based for touch devices */
@media (hover: none) {
    .nav-dropdown-wrapper:hover .nav-dropdown {
        opacity: 0;
        visibility: hidden;
    }

    .nav-dropdown-wrapper.open .nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
