/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: var(--spacing-2xl);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition-base);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-xl);
    }
    
    .nav-link {
        font-size: 1.125rem;
        padding: var(--spacing-md);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    /* Value Proposition */
    .value-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .value-point {
        text-align: left;
        max-width: 500px;
        margin: 0 auto var(--spacing-xl);
    }
    
    /* CTA Buttons */
    .hero-cta,
    .cta-buttons {
        justify-content: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }
    
    /* Navigation */
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        width: 90%;
        padding: var(--spacing-xl);
    }
    
    /* Hero Section */
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .hero-graphic {
        width: 200px;
        height: 200px;
    }
    
    .hero-graphic i {
        font-size: 4rem;
    }
    
    /* Services */
    .services-overview {
        padding: var(--spacing-2xl) 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .service-card {
        padding: var(--spacing-xl);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    /* Value Proposition */
    .value-prop {
        padding: var(--spacing-2xl) 0;
    }
    
    .value-graphic {
        width: 200px;
        height: 200px;
    }
    
    .value-graphic i {
        font-size: 4rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    /* Buttons */
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 1rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Services */
    .service-packages {
        flex-direction: column;
        align-items: center;
    }
    
    .package-tag {
        width: 100%;
        text-align: center;
    }
    
    /* Value Points */
    .value-point {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .value-point i {
        margin: 0 auto;
    }
    
    /* Section Spacing */
    .section-header {
        margin-bottom: var(--spacing-2xl);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}

/* Large Desktop Styles (min-width: 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-graphic {
        width: 350px;
        height: 350px;
    }
    
    .value-graphic {
        width: 300px;
        height: 300px;
    }
}

/* Ultra-Wide Screens (min-width: 1600px) */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
    
    :root {
        --font-size-base: 18px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* ===== LANDSCAPE ORIENTATION FIXES ===== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-graphic,
    .value-graphic {
        width: 150px;
        height: 150px;
    }
    
    .hero-graphic i,
    .value-graphic i {
        font-size: 3rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .nav-toggle,
    .hero-cta,
    .cta-section,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 { font-size: 18pt; }
    h2 { font-size: 16pt; }
    h3 { font-size: 14pt; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --navy: #000000;
        --red: #ff0000;
        --grey: #333333;
        --white: #ffffff;
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --grey-dark: #e0e0e0;
        --grey: #b0b0b0;
        --grey-light: #808080;
        --grey-lighter: #404040;
        --grey-lightest: #202020;
        --off-white: #0a0a0a;
        --white: #1a1a1a;
    }
    
    body {
        background: var(--white);
        color: var(--grey-dark);
    }
    
    .header {
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .service-card,
    .hero {
        background: var(--white);
    }
    
    .value-prop {
        background: var(--off-white);
    }
}