/* ========================================
   GMMS SARLU DRC - Responsive Styles
   ======================================== */

/* ===== Tablet Landscape (max-width: 1200px) ===== */
@media screen and (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .poles-grid {
        gap: var(--spacing-lg);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Tablet Portrait (max-width: 992px) ===== */
@media screen and (max-width: 992px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--spacing-xl) var(--spacing-xl);
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--gray-800);
        width: 100%;
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: var(--spacing-lg);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .slogan-text {
        font-size: 1.25rem;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .about-image {
        order: -1;
    }
    
    .image-wrapper img {
        height: 400px;
    }
    
    /* Poles */
    .poles-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .pole-intro-image {
        min-height: 420px;
        padding: var(--spacing-md);
    }
    
    /* Section */
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* ===== Mobile Landscape (max-width: 768px) ===== */
@media screen and (max-width: 768px) {
    /* Typography */
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }

    .pole-intro-image {
        min-height: 360px;
        padding: var(--spacing-sm);
    }
    
    /* Stats */
    .stats-section {
        margin-top: 0;
        padding: var(--spacing-2xl) 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .stat-card {
        padding: var(--spacing-lg);
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* About Features */
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
        text-align: left;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

/* ===== Mobile Portrait (max-width: 576px) ===== */
@media screen and (max-width: 576px) {
    /* Container */
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Navigation */
    .logo-text {
        font-size: 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-menu {
        width: 100%;
        padding-top: 80px;
    }
    
    /* Hero */
    .hero-content {
        padding: var(--spacing-lg);
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .slogan-text {
        font-size: 1rem;
    }
    
    .hero-slogan {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: var(--spacing-lg);
    }
    
    .stat-icon {
        margin: 0;
        flex-shrink: 0;
    }
    
    /* Sections */
    .section-header {
        margin-bottom: var(--spacing-2xl);
    }
    
    .section-tag {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* About */
    .about-text {
        font-size: 1rem;
    }
    
    .image-wrapper img {
        height: 300px;
    }

    .intro-image {
        min-height: 320px;
        padding: var(--spacing-sm);
    }

    .supply-chain-image {
        min-height: 340px;
        padding: var(--spacing-sm);
    }

    .consultancy-image {
        min-height: 340px;
        padding: var(--spacing-sm);
    }
    
    .image-badge {
        right: var(--spacing-md);
        bottom: 0;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .badge-year {
        font-size: 1.5rem;
    }
    
    /* Poles */
    .pole-card {
        margin-bottom: var(--spacing-md);
    }
    
    .pole-content {
        padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    }
    
    .pole-title {
        font-size: 1.25rem;
    }
    
    /* CTA */
    .cta-section {
        padding: var(--spacing-2xl) 0;
        min-height: auto;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    /* Footer */
    .footer-top {
        padding: var(--spacing-2xl) 0;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 40px;
        height: 40px;
        right: var(--spacing-md);
        bottom: var(--spacing-md);
    }
}

/* ===== Very Small Devices (max-width: 375px) ===== */
@media screen and (max-width: 375px) {
    .hero-title {
        font-size: 1.35rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .slogan-text {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
}

/* ===== Prefers Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== Print Styles ===== */
@media print {
    #header,
    .hero-video-container,
    .back-to-top,
    .hero-scroll,
    #preloader {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        text-decoration: underline;
    }
}
