/* ===========================
   Responsive Design
   =========================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 30px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-medium);
        gap: 15px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* About */
    .about-features {
        grid-template-columns: 1fr;
    }

    /* Menu */
    .menu-item {
        flex-direction: column;
        gap: 10px;
    }

    .menu-item-price {
        margin-left: 0;
        align-self: flex-start;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Location */
    .location-content {
        grid-template-columns: 1fr;
    }

    .location-map iframe {
        height: 350px;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Lightbox */
    .lightbox-nav {
        font-size: 2rem;
        padding: 10px;
    }

    .lightbox-close {
        right: 20px;
        font-size: 2.5rem;
    }

    #lightboxImage {
        max-width: 95%;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .nav-brand .logo {
        font-size: 1.5rem;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* Feature Cards */
    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    /* Menu */
    .menu-category-title {
        font-size: 1.5rem;
    }

    .menu-item {
        padding: 15px;
    }

    .menu-item-name {
        font-size: 1.1rem;
    }

    .menu-item-price {
        font-size: 1.2rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Reviews */
    .review-card {
        padding: 20px;
    }

    .score {
        font-size: 2.5rem;
    }

    .stars {
        font-size: 1.5rem;
    }

    /* Info Cards */
    .info-card {
        padding: 20px;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    /* Contact */
    .contact-icon {
        font-size: 1.5rem;
    }

    .social-icon {
        font-size: 1.5rem;
    }

    /* Lightbox */
    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
}

/* Large screens (1400px and above) */
@media (min-width: 1400px) {
    :root {
        --max-width: 1400px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .scroll-indicator,
    .nav-toggle,
    .lightbox,
    .gallery-overlay,
    .contact-form {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .section {
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        color: #666;
    }
}

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

    .scroll-indicator span::before {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #000000;
        --color-primary-dark: #000000;
        --color-text-dark: #000000;
        --color-text-light: #FFFFFF;
        --color-border: #000000;
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg-light: #1a1410;
        --color-bg-dark: #0a0605;
        --color-text-dark: #f5f5f5;
        --color-border: #3a2f25;
    }

    body {
        background: var(--color-bg-dark);
        color: var(--color-text-dark);
    }

    .navbar {
        background: rgba(20, 15, 10, 0.98);
    }

    .feature-card,
    .info-card,
    .review-card {
        background: #2a1f15;
    }

    .menu-item {
        background: #2a1f15;
    }

    .menu-item:hover {
        background: #3a2f25;
    }

    input,
    textarea {
        background: #2a1f15;
        color: var(--color-text-dark);
        border-color: var(--color-border);
    }
}
