@charset "UTF-8";

/* =========================================
   LAZY HOME WEB - DESIGN SYSTEM
   ========================================= */

:root {
    /* Colors */
    --color-bg: #F7F5F0;
    --color-text: #2C3643;
    --color-accent-red: #D92D27;
    --color-accent-orange: #E3832D;
    --color-muted-green: #8F9779;
    --color-white: #FFFFFF;
    --color-text-muted: #5C6673;
    /* ≥4.5:1 against --color-bg */
    --color-text-subtle: #8B929A;
    /* ≥3:1, large text only */

    /* Typography */
    --font-display: 'Caveat Brush', cursive, sans-serif;
    --font-heading: 'Noto Serif Thai', serif;
    --font-body: 'Noto Sans Thai', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: clamp(1.5rem, 3vw, 2rem);
    /* Element spacing */
    --space-lg: clamp(2.5rem, 5vw, 4rem);
    /* Component inner padding */
    --space-xl: clamp(4rem, 8vw, 6rem);
    /* Section padding */
    --space-section: clamp(6rem, 10vw, 8rem);
    /* Reduced: Distance between distinct sections */

    /* Utilities */
    --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --header-height: 80px;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--header-height);
    /* Offset for sticky header */
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-medium), opacity var(--transition-medium);
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Skip Link (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--color-accent-red);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    z-index: 9999;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Focus Visible (WCAG 2.4.7 / 2.4.11) */
:focus-visible {
    outline: 2px solid var(--color-accent-red);
    outline-offset: 4px;
}

.cta-button:focus-visible {
    background-color: var(--color-white);
    color: var(--color-text);
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.section {
    padding: var(--space-section) var(--space-sm);
    display: flex;
    flex-direction: column;
}

.section+.section {
    padding-top: 0;
}

.alt-bg {
    background-color: #EFECE3;
    /* A slightly darker variant for visual rhythm */
}



/* Typography Editorial Styles */
h1,
h2,
h3 {
    margin-bottom: var(--space-md);
    font-weight: normal;
}

.heading-display {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    /* Reduced minimum from 3rem to 2.5rem for small mobiles */
    line-height: 1;
}

.heading-serif {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.section-japanese-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    color: var(--color-accent-red);
    opacity: 0.8;
    letter-spacing: 0.2em;
    display: block;
    margin-top: calc(var(--space-xs) * -1);
    margin-bottom: var(--space-md);
}

/* Micro-interactions & Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.img-hover {
    transition: transform var(--transition-slow);
}

.img-hover:hover {
    transform: scale(1.02);
}

/* Asymmetrical Layout Utilities */
.asymmetric-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    /* Increased from space-lg to protect 'Ma' on mobile */
}

.w-40 {
    width: 100%;
}

.w-50 {
    width: 100%;
}

.w-60 {
    width: 100%;
}

.offset-down {
    margin-top: 0;
}

.offset-up {
    margin-top: 0;
}

/* =========================================
   HEADER (MOBILE FIRST)
   ========================================= */
/* Update CSS Custom Properties Base */
#site-header {
    /* Set dark text and icons permanently */
    --header-text-color: var(--color-text);
    --header-icon-bg: rgba(0, 0, 0, 0.03);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--header-height);
    height: auto;
    z-index: 1000;

    /* Initialize solid state permanently at all scroll points */
    background-color: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 54, 67, 0.05);

    transition: transform var(--transition-slow), background-color var(--transition-slow), border-color var(--transition-slow), color var(--transition-slow);
    display: flex;
    align-items: center;
    padding: var(--space-xs) 0;
    transform: translateY(0);
    color: var(--header-text-color);
}

/* Smart Header States */
#site-header.header-hidden {
    transform: translateY(-100%);
}

#site-header.header-solid {
    /* Redundant now that default is solid, but kept for JS backward compatibility */
    background-color: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 54, 67, 0.05);

    /* Switch to dark colors for light background */
    --header-text-color: var(--color-text);
    --header-icon-bg: rgba(0, 0, 0, 0.03);
}

.header-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: filter var(--transition-slow);
}

/* Invert Logo based on Header State */
#site-header:not(.header-solid) .header-logo {
    /* Eliminado: el filtro invertía zonas transparentes dejando la imagen como un bloque blanco sin detalles */
    filter: none;
}

#site-header.header-solid .header-logo {
    filter: none;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--header-text-color);
    /* Updated to dynamic color */
    transition: color var(--transition-slow);
}

.mobile-menu-toggle:hover {
    color: var(--color-accent-red);
}

/* Navigation Menu */
.main-nav {
    display: none;
    /* hidden by default on mobile */
}

/* Visible state on mobile when toggled */
.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg);
    padding: var(--space-lg) var(--space-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    align-items: center;
    gap: var(--space-lg);
    overflow-y: auto;

    /* ❌ Menú Móvil Ilegible Fix: Force dark colors over light background */
    --header-text-color: var(--color-text);
    --header-icon-bg: rgba(0, 0, 0, 0.03);
}

.nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    position: relative;
    font-weight: 400;
    text-transform: uppercase;
    padding: var(--space-xs);
    letter-spacing: 0.15em;
    /* Premium editorial airy feel */
    color: var(--header-text-color);
    transition: color var(--transition-slow);
}

/* Underline Hover Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-accent-red);
    transition: var(--transition-slow);
}

.nav-link:hover::after {
    width: 100%;
}

/* Actions inside the mobile nav */
.mobile-only-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(44, 54, 67, 0.1);
    width: 80%;
}

.desktop-actions {
    display: none;
    /* hidden on mobile */
}

/* Shared Header Actions Components */
.lang-toggle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--header-text-color);
    transition: color var(--transition-slow);
}

.lang-toggle:hover {
    color: var(--color-accent-red);
}

.lang-text {
    transition: color var(--transition-slow);
    /* Use the slow transition for a fluid feel */
}

.lang-text.active {
    color: var(--color-accent-red);
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    font-size: 1.25rem;
    color: var(--header-text-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--header-icon-bg);
    transition: background var(--transition-slow), color var(--transition-slow);
}

.social-link:hover {
    color: var(--color-white);
    background: var(--color-accent-red);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    display: flex;
    /* Added display flex */
    flex-direction: column;
    /* Added flex-direction */
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 100vh;
    background-image: url('../assets/images/Hero-img.webp');
    background-size: cover;
    background-position: center;
    background-color: var(--color-text);
    /* fallback */
    color: var(--color-white);
    margin-bottom: 0;
    /* Removing explicit margin to use section padding flow */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay: softened slightly to let the new lighter hero image breathe, while still anchoring white text */
    background: radial-gradient(circle at center, rgba(44, 54, 67, 0.4) 0%, rgba(44, 54, 67, 0.15) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Ensure vertical centering inside the content block itself */
    gap: var(--space-sm);
    padding: var(--space-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    /* Elegant, extremely diffused shadow for legibility */
}

.hero-content .heading-display {
    margin-bottom: 0;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    opacity: 0.9;
    max-width: 600px;
}

.hero-japanese-name {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-white);
    opacity: 0.7;
    letter-spacing: 0.15em;
    margin-top: calc(var(--space-sm) * -1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-white);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: color var(--transition-slow), background-color var(--transition-slow);
}

.cta-button:hover {
    background-color: var(--color-white);
    color: var(--color-text);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.section-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.about-image-wrapper {
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    background-color: #ddd;
    /* placeholder color */
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.about-text-wrapper p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* =========================================
   GALLERY SECTION
   ========================================= */
/* ---- Carousel Container ---- */
.gallery-carousel {
    position: relative;
    width: 100%;
}

.gallery-carousel-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

/* Hide scrollbar Chrome, Edge, Safari */
.gallery-carousel-track::-webkit-scrollbar {
    display: none;
}

.gallery-page {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    /* Native scroll interaction takes care of visibility naturally */
}

/* Mobile: single image per row, stacked */

.gallery-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.gallery-page-grid .gallery-bento-item {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-medium);
    aspect-ratio: 4/3;
}

.gallery-page-grid .gallery-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-slow), filter var(--transition-slow);
    will-change: transform;
}

.gallery-page-grid .gallery-bento-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.gallery-page-grid .gallery-bento-item:hover img {
    transform: scale(1.03);
}

/* ---- Carousel Arrows ---- */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(247, 245, 240, 0.85);
    border: 1px solid rgba(44, 54, 67, 0.08);
    color: var(--color-text);
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-medium), background var(--transition-medium);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gallery-carousel:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: var(--color-white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-arrow--prev {
    left: var(--space-sm);
}

.gallery-arrow--next {
    right: var(--space-sm);
}

/* ---- Carousel Controls (Arrows + Progress Slider) ---- */
.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

/* Mobile category scroll fade-hint */
.menu-sidebar {
    position: relative;
}

.menu-sidebar::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48px;
    height: calc(100% - var(--space-md));
    background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}



/* =========================================
   MENU SECTION
   ========================================= */
.menu-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    /* Harmonized with Gallery title gap globally */
}

.menu-header.text-center {
    text-align: center;
    margin-bottom: 0;
    /* Reduced from var(--space-sm) */
}

.menu-nav-wrapper {
    width: 100%;
    border-bottom: 1px solid rgba(44, 54, 67, 0.08);
    position: relative;
    /* Mathematically pull up the wrapper to negate the padding-top of the buttons, matching Gallery strictly */
    margin-top: calc(var(--space-sm) * -1);
    padding-bottom: var(--space-xs);
    /* Extra space for the new progress bar */
}

/* Elegant Scroll Progress Indicator (Universal Component) */
.custom-scroll-progress {
    width: 60px;
    height: 3px;
    background: rgba(44, 54, 67, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.custom-scroll-progress-bar {
    width: 20px;
    height: 100%;
    background: var(--color-accent-red);
    border-radius: 4px;
    /* Hardware accelerated transform */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Menu Specific positioning for the progress bar */
.menu-nav-wrapper .custom-scroll-progress {
    position: absolute;
    bottom: -1px;
    /* Align to the border bottom naturally */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    display: none;
    /* Managed by JS purely for Menu */
}

/* Visual cue that it's scrollable (fade edge) */
.menu-nav-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--color-bg));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s;
}

.menu-nav-wrapper.is-at-end::after {
    opacity: 0;
}

.category-list.horizontal-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--space-lg);
    padding-bottom: 0;
    justify-content: flex-start;
    cursor: grab;
    /* hint that it's draggable */
}

.category-list.horizontal-scroll:active {
    cursor: grabbing;
}

.category-list.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.category-btn {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    cursor: pointer;
    white-space: nowrap;
    padding: var(--space-sm) var(--space-xs) calc(var(--space-sm) + 2px) var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-height: 44px;
    transition: color var(--transition-slow);
    position: relative;
}

.category-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent-red);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
    transform-origin: center;
}

.category-btn:hover {
    color: var(--color-text);
    /* Highlight text mildly on hover */
}

.category-btn:hover::after,
.category-btn.active::after {
    transform: scaleX(1);
    /* Show red underline on hover and active */
}

.category-btn.active {
    font-weight: 700;
    color: var(--color-accent-red);
    /* Only turn text completely red when strictly active */
}

.menu-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.menu-category-heading {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    white-space: nowrap;
}

.heading-line {
    flex: 1;
    height: 1px;
    background-color: rgba(44, 54, 67, 0.15);
    /* matching horizontal line */
}

.menu-category-heading.fade-out {
    opacity: 0;
}

.menu-content {
    width: 100%;
}

.menu-items-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    transform: translateY(0);
}

.menu-items-grid.fade-out {
    opacity: 0;
    transform: translateY(16px);
}

.menu-items-grid.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-right: var(--space-xl);
    /* Enforce right boundary so prices never touch neighboring items */
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-md);
    border-bottom: 1px dotted rgba(44, 54, 67, 0.2);
    /* Classic dotted leader for readability */
    padding-bottom: 6px;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
}

.menu-item-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer {
    background-color: #EFECE3;
    /* A deeply tactile, earthy tone or slight variation of bg */
    padding: var(--space-xl) 0;
    color: var(--color-text);
    border-top: 1px solid rgba(44, 54, 67, 0.05);
}

.footer-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: auto;
    width: 280px;
    max-width: 280px;
    object-fit: contain;
    align-self: center;
}

.footer-bio {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-text-muted);
    max-width: 280px;
}

/* Footer Contact Area */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-heading {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text-subtle);
}

.footer-link,
.footer-text {
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-slow);
}

.footer-link:hover {
    color: var(--color-accent-red);
}

/* Map and Socials Column */
.footer-map-social {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.map-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-text);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Apply Shibui aesthetics: remove harsh colors, making it minimal and blend with the serene vibe */
    filter: grayscale(100%) opacity(0.8) sepia(20%) hue-rotate(180deg);
    transition: filter var(--transition-slow);
}

.map-container iframe:hover {
    filter: grayscale(20%) opacity(1) sepia(0);
    /* Subtle return of color on intent */
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-bottom .social-icons {
    justify-content: flex-start;
}

.footer-bottom .social-link {
    background: transparent;
    border: 1px solid rgba(44, 54, 67, 0.1);
    color: var(--color-text);
}

.footer-bottom .social-link:hover {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-text-subtle);
}

/* =========================================
   DESKTOP STYLES
   ========================================= */
@media (min-width: 992px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }

    .logo {
        justify-self: start;
    }

    .header-logo {
        height: 60px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .mobile-only-actions {
        display: none;
    }

    .desktop-actions {
        display: flex;
        justify-self: end;
        align-items: center;
        gap: var(--space-md);
    }

    .main-nav {
        display: block;
        /* Native block layout in grid center */
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .nav-list {
        flex-direction: row;
        gap: var(--space-md);
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .social-link {
        font-size: 1.1rem;
        width: 36px;
        height: 36px;
    }

    /* Desktop Asymmetric Utilities */
    .asymmetric-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .w-40 {
        width: 40%;
    }

    .w-50 {
        width: 50%;
    }

    .w-60 {
        width: 60%;
    }

    .offset-down {
        margin-top: var(--space-xl);
    }

    .offset-up {
        margin-top: calc(var(--space-xl) * -0.5);
    }

    /* Gallery Desktop Bento — 3 images per page */
    .gallery-page-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 260px;
        gap: var(--space-md);
    }

    .gallery-page-grid .gallery-bento-item {
        aspect-ratio: unset;
    }

    /* Pos 1: Large left (spans 2 cols × 2 rows) */
    .gallery-page-grid .gallery-bento-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    /* Pos 2: Small right-top */
    .gallery-page-grid .gallery-bento-item:nth-child(2) {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    /* Pos 3: Small right-bottom */
    .gallery-page-grid .gallery-bento-item:nth-child(3) {
        grid-column: 3 / 5;
        grid-row: 2 / 3;
    }

    /* Menu Desktop Layout — Stacked Layout without clipping */
    .menu-nav-wrapper {
        display: block;
        width: 100%;
    }

    .category-list.horizontal-scroll {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        /* Avoid max-content/margin auto bug causing WebKit horizontal clipping bleed */
        max-width: 100%;
        border-bottom: none;
    }

    .category-btn {
        padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + 2px) var(--space-md);
    }

    .menu-items-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md) var(--space-section);
        /* Tightened vertical gap to keep single-line items structured harmoniously */
    }

    /* Footer Desktop Grid */
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        align-items: flex-start;
        text-align: left;
    }

    .footer-logo {
        align-self: flex-start;
    }

    .footer-map-social {
        justify-content: space-between;
    }

    .map-container {
        height: 100%;
        min-height: 250px;
    }


}

/* =========================================
   MOBILE OPTIMIZATIONS
   ========================================= */
@media (max-width: 768px) {

    /* Menu Item Density & Padding */
    .menu-container {
        padding: 0 var(--space-sm);
        /* Regain horizontal space */
        gap: var(--space-md);
        /* Match gallery gap */
    }

    .menu-item-name {
        font-size: 1rem;
        /* Prevent wrapping overflow */
    }

    .menu-item-price {
        font-size: 0.95rem;
        /* Better tandem sizing */
        padding-left: var(--space-xs);
        /* Tighter dotted line fit */
    }

    .menu-item-header {
        gap: var(--space-xs);
        /* Keep them compact horizontally */
    }

    .menu-item {
        padding-right: 0;
        /* Remove desktop right barrier on narrow mobile screens */
    }
}

/* =========================================
   ACCESSIBILITY: REDUCED MOTION (WCAG 2.3.3)
   ========================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =========================================
   GALLERY LIGHTBOX (P2-03)
   ========================================= */
.gallery-img {
    cursor: pointer;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 2px;
}

.lightbox-counter {
    color: var(--color-white);
    font-size: 0.85rem;
    margin-top: var(--space-sm);
    opacity: 0.7;
    letter-spacing: 0.1em;
}



.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 3;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-close {
    top: var(--space-md);
    right: var(--space-md);
}

.lightbox-prev {
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
}