/* =============================================
   CHAAT & CHAII — RESPONSIVE STYLESHEET
   Breakpoints:
     XL  : 1280px+  (large desktop)
     LG  : 1024px   (small desktop / laptop)
     MD  : 900px    (tablet landscape)
     SM  : 768px    (tablet portrait)
     XS  : 600px    (large mobile)
     XXS : 480px    (small mobile)
     MIN : 360px    (minimum mobile)
============================================= */


/* =============================================
   LG — Small Desktop / Laptop (≤ 1024px)
============================================= */
@media (max-width: 1024px) {

    /* Layout */
    .container {
        width: 92%;
    }

    /* Header */
    .logo-text .brand-name {
        font-size: 1.1rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:nth-child(4)::after {
        display: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 197, 52, 0.15);
    }

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

    /* About */
    .about-grid {
        gap: 48px;
    }

    .about-badge {
        left: -10px;
    }

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

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

    .gallery-item:nth-child(5) {
        grid-column: span 1;
    }

    /* Reviews */
    .reviews-track .review-card {
        padding: 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .footer-brand p {
        max-width: 100%;
    }
}


/* =============================================
   MD — Tablet Landscape (≤ 900px)
============================================= */
@media (max-width: 900px) {

    /* Layout */
    :root {
        --section-padding: 72px 0;
    }

    /* Header — hide desktop nav, show hamburger */
    nav#nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Header inner padding */
    #header .header-inner {
        padding: 12px 0;
    }

    .logo img {
        height: 44px;
    }

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

    .hero h1 {
        font-size: clamp(2.8rem, 10vw, 5rem);
    }

    .hero-sub {
        font-size: clamp(0.95rem, 2.5vw, 1.25rem);
        max-width: 420px;
    }

    .hero-badge {
        display: none;
    }

    /* Stats */
    .stats-bar {
        padding: 24px 0;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap {
        max-width: 460px;
        margin: 0 auto;
    }

    .about-badge {
        left: 0px;
        top: 20px;
    }

    .about-text .section-title {
        font-size: clamp(1.8rem, 5vw, 2.6rem);
    }

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

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

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

    .gallery-item:nth-child(1) {
        grid-row: span 1;
        min-height: 200px;
    }

    .gallery-item:nth-child(1) img {
        min-height: 200px;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 1;
    }

    /* Reviews — show 1 card */
    .reviews-track .review-card {
        padding: 22px;
    }

    /* Find Us */
    .find-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .find-title {
        font-size: clamp(2.4rem, 7vw, 3.5rem);
    }

    .map-wrapper iframe {
        height: 340px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-bottom p {
        font-size: 0.72rem;
    }
}


/* =============================================
   SM — Tablet Portrait (≤ 768px)
============================================= */
@media (max-width: 768px) {

    :root {
        --section-padding: 64px 0;
    }

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

    .hero h1 {
        font-size: clamp(2.4rem, 11vw, 4rem);
    }

    .hero-sub {
        max-width: 90%;
    }

    .hero-content {
        padding-top: 70px;
    }

    .slider-controls {
        bottom: 24px;
        gap: 14px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 0.78rem;
    }

    /* Stats */
    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

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

    .about-image-wrap {
        max-width: 100%;
    }

    .about-image-main {
        aspect-ratio: 16 / 9;
    }

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

    .menu-card-body {
        padding: 14px 16px 16px;
    }

    .menu-card-body h4 {
        font-size: 0.95rem;
    }

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

    .gallery-item {
        min-height: 160px;
    }

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

    .review-card p {
        font-size: 0.95rem;
    }

    /* Reservation */
    #reservations {
        padding: 56px 0;
    }

    /* Find Us */
    .find-desc {
        font-size: 0.88rem;
        margin-bottom: 28px;
    }

    .contact-detail {
        gap: 12px;
        margin-bottom: 14px;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .map-wrapper iframe {
        height: 300px;
    }

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

    footer {
        padding: 52px 0 0;
    }
}


/* =============================================
   XS — Large Mobile (≤ 600px)
============================================= */
@media (max-width: 600px) {

    :root {
        --section-padding: 56px 0;
    }

    .container {
        width: 94%;
    }

    /* Header */
    .logo-text .brand-tagline {
        display: none;
    }

    .logo-text .brand-name {
        font-size: 1rem;
    }

    .logo img {
        height: 40px;
    }

    #header .header-inner {
        padding: 10px 0;
    }

    .nav-actions .btn {
        padding: 8px 14px !important;
        font-size: 0.68rem !important;
    }

    /* Hero */
    .hero {
        min-height: 420px;
        height: 90vh;
    }

    .hero h1 {
        font-size: clamp(2rem, 12vw, 3.2rem);
    }

    .hero-sub {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 22px;
    }

    .hero-eyebrow {
        gap: 10px;
        margin-bottom: 12px;
    }

    .hero-eyebrow .line {
        width: 30px;
    }

    .hero-eyebrow span {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

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

    .stat-item {
        padding: 10px 8px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    /* About */
    .about-grid {
        gap: 32px;
    }

    .about-badge {
        position: relative;
        top: auto;
        left: auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        margin-bottom: 16px;
        border-radius: var(--radius-sm);
        text-align: left;
    }

    .about-badge .badge-val {
        font-size: 1.4rem;
    }

    .about-image-wrap {
        padding-top: 0;
    }

    .about-image-main {
        aspect-ratio: 4 / 3;
    }

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

    /* Section titles */
    .section-title {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

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

    /* Menu — single column */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .menu-card-img {
        aspect-ratio: 16 / 9;
    }

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

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) {
        grid-row: span 1;
        grid-column: span 1;
        min-height: 200px;
    }

    .gallery-item img,
    .gallery-item:nth-child(1) img {
        min-height: 200px;
    }

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

    .review-card::before {
        font-size: 3.5rem;
    }

    .review-nav {
        margin-top: 20px;
    }

    /* Reservation */
    #reservations {
        padding: 48px 0;
    }

    .reservation-cta .btn {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 6px 0;
    }

    /* Find Us */
    .find-grid {
        gap: 32px;
    }

    .find-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .map-wrapper iframe {
        height: 260px;
    }

    .map-bar,
    .map-overlay-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }

    .map-bar-info {
        text-align: center;
    }

    .map-bar-address {
        justify-content: center;
    }

    .btn-map-action {
        width: 100%;
        justify-content: center;
    }

    /* Footer — single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .app-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .app-btn img {
        width: 150px;
    }

    footer {
        padding: 44px 0 0;
    }

    .footer-bottom p {
        font-size: 0.7rem;
        flex-direction: column;
        gap: 3px;
    }
}


/* =============================================
   XXS — Small Mobile (≤ 480px)
============================================= */
@media (max-width: 480px) {

    :root {
        --section-padding: 48px 0;
    }

    .container {
        width: 95%;
    }

    /* Header */
    .logo-text .brand-name {
        font-size: 0.9rem;
    }

    .logo img {
        height: 36px;
    }

    .mobile-toggle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .nav-actions .btn {
        display: none;
    }

    /* Hide order btn, use mobile nav instead */

    /* Hero */
    .hero {
        height: 85vh;
        min-height: 380px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 13vw, 2.8rem);
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    .hero-content {
        padding-top: 55px;
    }

    .hero-btns .btn {
        max-width: 180px;
        font-size: 0.72rem;
        padding: 10px 20px;
    }

    /* Stats */
    .stat-number {
        font-size: 1.5rem;
    }

    /* About */
    .about-text p {
        font-size: 0.88rem;
    }

    .about-image-main {
        aspect-ratio: 1 / 1;
    }

    /* Mobile Nav Links */
    .mobile-nav a {
        font-size: 1.5rem;
    }

    /* Reviews */
    .review-card p {
        font-size: 0.9rem;
    }

    .review-avatar {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .review-author-info strong {
        font-size: 0.82rem;
    }

    /* Gallery */
    .gallery-masonry {
        gap: 8px;
    }

    .gallery-item {
        min-height: 170px;
    }

    /* Footer */
    .footer-col h4 {
        font-size: 0.95rem;
    }

    .opening-hours li {
        font-size: 0.72rem;
    }

    .app-btn img {
        width: 140px;
    }

    /* Section labels hide lines on tiny screens */
    .section-label {
        letter-spacing: 0.15em;
        gap: 8px;
    }

    .section-label::before,
    .section-label::after {
        flex: 0 0 24px;
    }
}


/* =============================================
   MIN — Minimum Mobile (≤ 360px)
============================================= */
@media (max-width: 360px) {

    .container {
        width: 96%;
    }

    .hero {
        height: 80vh;
        min-height: 340px;
    }

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

    .hero-sub {
        font-size: 0.85rem;
    }

    .hero-eyebrow {
        display: none;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.56rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.72rem;
    }

    .menu-grid {
        gap: 12px;
    }

    .menu-card-body h4 {
        font-size: 0.88rem;
    }

    .review-card {
        padding: 14px;
    }

    .map-wrapper iframe {
        height: 220px;
    }

    .footer-grid {
        gap: 22px;
    }
}


/* =============================================
   LARGE DESKTOP ENHANCEMENTS (≥ 1280px)
============================================= */
@media (min-width: 1280px) {
    .container {
        max-width: 1240px;
    }

    .about-grid {
        gap: 88px;
    }

    .find-grid {
        gap: 80px;
    }

    .gallery-masonry {
        gap: 16px;
    }

    .footer-grid {
        gap: 56px;
    }

    .hero h1 {
        font-size: 7rem;
    }
}


/* =============================================
   HOVER — Only for pointer devices
============================================= */
@media (hover: none) {

    /* Disable hover transforms on touch devices */
    .menu-card:hover {
        transform: none;
    }

    .btn-gold:hover {
        transform: none;
    }

    .btn-purple:hover {
        transform: none;
    }

    .btn-outline:hover {
        transform: none;
    }

    .app-btn:hover {
        transform: none;
    }

    .review-card:hover {
        transform: none;
    }

    .scroll-top:hover {
        transform: translateY(0);
    }

    /* Always show gallery overlay on touch */
    .gallery-overlay {
        opacity: 1;
    }

    .gallery-icon {
        transform: translateY(0);
        opacity: 1;
    }
}


/* =============================================
   QR PORTAL RESPONSIVE STYLES
============================================= */
@media (max-width: 900px) {
    .qr-portal-grid {
        grid-template-columns: 1fr;
        max-width: 580px;
        margin: 0 auto 36px;
    }

    .qr-actions-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .qr-page-hero {
        padding: 40px 0 40px;
    }

    .qr-card {
        padding: 28px 18px;
    }

    .qr-codes-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qr-box-img-wrap {
        width: 140px;
        height: 140px;
    }

    .qr-card h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .qr-actions-row {
        grid-template-columns: 1fr;
    }

    .qr-action-item {
        flex-direction: row;
        text-align: left;
        padding: 12px 16px;
        gap: 14px;
    }

    .qr-action-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .qr-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .qr-btn-group .btn {
        width: 100%;
        justify-content: center;
    }

    .qr-logo-frame {
        width: 88px;
        height: 88px;
    }
}


/* =============================================
   PRINT STYLES
============================================= */
@media print {

    #header,
    .mobile-nav,
    .hero-badge,
    .slider-controls,
    .scroll-top,
    .lightbox,
    .review-nav,
    .hero-btns {
        display: none;
    }

    .hero {
        height: auto;
        min-height: auto;
    }

    .slide {
        opacity: 1;
        position: relative;
    }

    .slide::before {
        display: none;
    }

    .hero-content {
        position: static;
        padding: 40px 0;
    }

    .hero h1,
    .hero-sub {
        color: #000;
    }

    * {
        box-shadow: none !important;
    }

    body {
        background: white;
        color: black;
    }
}