/* Master Maple Kitchen - Responsive Styles */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .content-grid {
        gap: 3rem;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    /* Typography adjustments */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    /* Navigation */
    .nav-list {
        gap: 1.5rem;
    }
    
    /* Hero section */
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        min-width: 200px;
    }
    
    /* Content grid */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .content-features {
        justify-content: center;
        gap: 3rem;
    }
    
    .image-grid {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Facts */
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Sections */
    section {
        padding: 4rem 0;
    }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Content */
    .content-features {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .content-feature {
        min-width: 120px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Facts */
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .fact-card {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1;
    }
    
    /* Cookie banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
}

/* Mobile Small (375px to 575px) */
@media (max-width: 575px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    /* Navigation */
    .logo h2 {
        font-size: 1.3rem;
    }
    
    /* Hero */
    .hero {
        height: 70vh;
        min-height: 400px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Cards */
    .feature-card {
        padding: 1.25rem;
    }
    
    .fact-card {
        padding: 1.5rem 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
}

/* Extra Small Mobile (320px to 374px) */
@media (max-width: 374px) {
    /* Typography */
    .hero-title {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Navigation */
    .logo h2 {
        font-size: 1.2rem;
    }
    
    /* Content */
    .feature-number {
        font-size: 2rem;
    }
    
    .feature-label {
        font-size: 0.8rem;
    }
    
    /* Fact icons */
    .fact-icon {
        font-size: 3rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    /* Buttons */
    .btn {
        min-width: 160px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .mobile-menu-toggle,
    .hero-buttons,
    .btn,
    .cta {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-overlay {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.3);
        --overlay: rgba(0, 0, 0, 0.8);
    }
    
    .nav-link::after {
        height: 3px;
    }
    
    .card {
        border: 2px solid var(--primary-color);
    }
}

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