/* ==========================================
   Drew’s Kitchen - Responsive Stylesheet
   ========================================== */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 42px;
    }
}

/* Desktop (1200px and below) */
@media (max-width: 1200px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .content-block {
        gap: 50px;
    }
}

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero {
        padding: 120px 20px 80px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 17px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .content-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-block.reverse {
        direction: ltr;
    }
    
    .content-image {
        order: -1;
        max-height: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }
    
    /* Navigation */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-medium);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 15px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .btn {
        padding: 12px 26px;
        font-size: 15px;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 120px 15px 60px;
    }
    
    .page-hero-title {
        font-size: 34px;
    }
    
    .page-hero-subtitle {
        font-size: 16px;
    }
    
    /* Sections */
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    /* Stats */
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-category {
        padding: 25px 20px;
    }
    
    .menu-category-title {
        font-size: 20px;
    }
    
    /* Clients */
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .client-card {
        padding: 25px 20px;
    }
    
    /* Contact */
    .contact-form,
    .contact-info {
        padding: 30px 25px;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-about .logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
        padding-bottom: 10px;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        padding-top: 25px;
    }
}

/* Mobile Landscape (600px and below) */
@media (max-width: 600px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .page-hero-title {
        font-size: 28px;
    }
    
    .content-text h2 {
        font-size: 26px;
    }
    
    .content-text p {
        font-size: 15px;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .timetable {
        padding: 20px;
    }
    
    .timetable-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 15px 0;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .menu-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .page-hero-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 22px;
        font-size: 14px;
    }
    
    .feature-title {
        font-size: 17px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .menu-category-title {
        font-size: 18px;
    }
    
    .menu-category-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .nav-link:hover {
        background: transparent;
    }
    
    .nav-link:hover::after {
        width: 0;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .feature-card:hover,
    .client-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .btn,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 20px;
        min-height: auto;
    }
    
    .section {
        padding: 20px 0;
    }
    
    body {
        font-size: 12pt;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #ff6b00;
        --text-dark: #000000;
        --light-gray: #cccccc;
    }
    
    .feature-card,
    .client-card,
    .menu-category {
        border: 2px solid #000;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment below if dark mode support is needed
    :root {
        --white: #1a1a2e;
        --off-white: #16213e;
        --text-dark: #eaeaea;
        --secondary-color: #eaeaea;
    }
    
    .header {
        background: #16213e;
    }
    */
}
