/* ============================================
   RESPONSIVE — All Media Queries
   ============================================ */

/* ============================================
   RESPONSIVE
   ============================================ */

/* Large desktop */
@media (min-width: 1440px) {
    .container { padding: 0 40px; }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
    .booking-wrapper {
        grid-template-columns: 1fr 1.3fr;
        gap: 32px;
    }
}

/* Tablet & below */
@media (max-width: 1024px) {
    .review-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .map-wrapper { grid-template-columns: 1fr; }
    .map-embed { min-height: 350px; }
}

/* Experience cards - stack at 1024px for readable text */
@media (max-width: 1024px) {
    .exp-card { grid-template-columns: 1fr; overflow: visible; }
    .exp-card-img { min-height: 280px; overflow: hidden; }
    .exp-train .exp-card-content { order: 2; }
    .exp-train .exp-card-img { order: 1; }
    .exp-card-content { word-wrap: break-word; overflow-wrap: break-word; }
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .gallery-tall { grid-row: span 2; }
    .gallery-wide { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Nav */
    .nav-toggle { display: flex; }
    .nav-phone span { display: none; }
    .nav-phone { padding: 8px; border: none; }

    .nav-right {
        position: relative;
        z-index: 1003;
        gap: 8px;
    }
    .lang-toggle {
        padding: 0 10px;
        height: 34px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--night);
        flex-direction: column;
        padding: 90px 28px 28px;
        gap: 4px;
        transition: right 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.4);
        z-index: 1002;
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        padding: 14px 16px;
        width: 100%;
        border-radius: var(--radius);
        font-size: 1rem;
    }

    .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(5px, -5px); }

    /* Hero */
    .hero { min-height: 100vh; min-height: 100dvh; }
    .hero-description br { display: none; }
    .hero-time-bar { bottom: 70px; }
    .hero-scroll-hint { bottom: 16px; }

    /* Sections */
    .experience, .menu-section, .gallery-section, .review-section, .booking-section { padding: 70px 0; }
    .section-header { margin-bottom: 44px; }

    /* Experience */
    .exp-card-content { padding: 30px 24px; }
    .occasions-content { flex-direction: column; text-align: center; padding: 28px 24px; }
    .occasions-content .btn { margin-left: 0; }

    /* Menu - horizontal scroll tabs */
    .menu-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        border-radius: var(--radius);
        padding: 4px;
        justify-content: flex-start;
        max-width: 100%;
        scrollbar-width: none;
        mask-image: linear-gradient(to right, transparent, black 5%, black 92%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 92%, transparent);
    }
    .menu-tabs::-webkit-scrollbar { display: none; }
    .menu-tab {
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 8px 14px;
        font-size: 0.82rem;
    }
    .menu-grid { grid-template-columns: 1fr; }
    .menu-item { padding: 14px 16px; }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .gallery-tall { grid-row: span 2; }
    .gallery-wide { grid-column: span 2; }

    /* Review */
    .review-left .section-title { text-align: center; }
    .review-desc { text-align: center; }
    .review-stars { justify-content: center; }
    .review-left { text-align: center; display: flex; flex-direction: column; align-items: center; }

    /* Booking */
    .booking-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .booking-form-wrapper { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .booking-contact-cards { flex-direction: column; }

    /* iOS Safari: prevent auto-zoom on input focus */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    /* Map */
    .map-info-card { padding: 28px; }

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

    /* FAB */
    .fab-container { bottom: 16px; right: 16px; }

    /* Lightbox mobile */
    .lightbox-prev, .lightbox-next {
        padding: 12px 16px;
        min-width: 48px;
        min-height: 48px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title-sub {
        letter-spacing: 4px;
        font-size: 0.85rem;
    }
    .hero-title-main { font-size: 2.8rem; }
    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 14px;
        max-width: 90%;
    }
    .hero-description { font-size: 1rem; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .gallery-tall, .gallery-wide { grid-column: span 1; grid-row: span 1; }

    .exp-number { font-size: 2rem; }

    /* Lightbox: buttons below image on small screens */
    .lightbox-img {
        max-width: 100%;
        max-height: 70vh;
    }
    .lightbox-prev, .lightbox-next {
        top: auto;
        bottom: 60px;
        transform: none;
    }
    .lightbox-prev { left: calc(50% - 70px); }
    .lightbox-next { right: auto; left: calc(50% + 20px); }
}

/* Extra small */
@media (max-width: 360px) {
    .booking-form-wrapper { padding: 20px 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-slide.active { animation: none; }
    .particle { display: none; }
    .fab-call { animation: none; }
    .scroll-arrow, .mouse-wheel { animation: none; }
    .reveal { opacity: 1; transform: none; }
}
