/**
 * Bistro Suete Restaurant - Responsive Styles
 * Mobile-first responsive design with breakpoints
 */

/* ========================================
   MOBILE FIRST (Base styles in main.css)
   Default: 320px - 767px
   ======================================== */

/* ========================================
   TABLET: 768px and up
   ======================================== */
@media (min-width: 768px) {
    /* Typography adjustments */
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.75rem; }
    h3 { font-size: 2rem; }

    /* Container */
    .container {
        max-width: 720px;
        padding: 0 var(--spacing-md);
    }

    /* Navigation */
    .logo-text {
        /*display: inline;*/
    }

    .logo img {
        height: 60px;
    }

    .nav-menu {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    /* Hero/Slider */
    .hero {
        height: 75vh;
        min-height: 600px;
    }

    .slide-title {
        font-size: 3.5rem;
    }

    .slide-subtitle {
        font-size: 1.5rem;
    }

    .slider-control {
        padding: var(--spacing-md);
    }

    /* Menu Section */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About Section */
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Gallery */
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   DESKTOP: 1024px and up
   ======================================== */
@media (min-width: 1024px) {
    /* Typography */
    .section-title {
        font-size: 3rem;
    }

    /* Container */
    .container {
        max-width: 960px;
    }

    /* Hero/Slider */
    .hero {
        height: 80vh;
        min-height: 700px;
    }

    .slider-control.prev {
        left: var(--spacing-md);
    }

    .slider-control.next {
        right: var(--spacing-md);
    }

    /* About Section */
    .about-content {
        grid-template-columns: 2fr 1fr;
        align-items: center;
    }

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

    /* Location */
    .location-content {
        grid-template-columns: 2fr 1fr;
        gap: var(--spacing-lg);
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Gallery */
    .photo-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   WIDE SCREENS: 1440px and up
   ======================================== */
@media (min-width: 1440px) {
    /* Container */
    .container {
        max-width: var(--container-width);
    }

    /* Hero/Slider */
    .hero {
        height: 85vh;
    }

    .slide-title {
        font-size: 4rem;
    }

    .slide-subtitle {
        font-size: 1.75rem;
    }

    /* Spacing adjustments */
    .section {
        padding: var(--spacing-xl) 0;
    }
}

/* ========================================
   MOBILE MENU (Active state)
   Only visible on mobile < 768px
   ======================================== */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--spacing-lg);
        gap: var(--spacing-sm);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-lg);
        z-index: calc(var(--z-navbar) - 1);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 80%;
        text-align: center;
        padding: var(--spacing-sm);
        font-size: var(--font-size-xl);
        border-radius: var(--border-radius);
    }

    /* Hero adjustments for mobile */
    .slide-title {
        font-size: 2rem;
    }

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

    /* Menu cards stack on mobile */
    .menu-card-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION
   ======================================== */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
    }

    .slider-dots {
        bottom: var(--spacing-sm);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .hamburger,
    .slider-control,
    .slider-dots,
    .footer {
        display: none;
    }

    .hero {
        height: auto;
        margin-top: 0;
    }

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

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ========================================
   REDUCED MOTION
   Respect user preference for reduced motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .slide {
        transition: none;
    }

    .slider-control,
    .dot {
        transition: none;
    }
}

/* ========================================
   HIGH CONTRAST MODE
   ======================================== */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-light: #FFFFFF;
        --bg-white: #FFFFFF;
        --bg-dark: #000000;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: #000000;
        color: #FFFFFF;
    }

    .btn {
        border-width: 3px;
    }
}
