/* font-family: "Cabin", sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');
/* font-family: "Kanit", sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* CSS Variables for Theme */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #efefef;
    --text-primary: #000000;
    --text-secondary: #333333;
    --theme-toggle-bg: rgba(0, 0, 0, 0.05);
    --theme-toggle-bg-hover: rgba(0, 0, 0, 0.1);
    --theme-toggle-color: #333;
    --main-header-h: 50px;
}

/* Apple iOS-style Dark Mode - Layered darkness */
[data-theme="dark"] {
    /* Background (darkest layer - deep near-black) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1c;
    --bg-tertiary: #0a0a0a;
    
    /* Text (high contrast) */
    --text-primary: #ffffff;
    --text-secondary: #f5f5f7;
    
    /* Theme toggle */
    --theme-toggle-bg: rgba(255, 255, 255, 0.1);
    --theme-toggle-bg-hover: rgba(255, 255, 255, 0.15);
    --theme-toggle-color: #ffd700;
    
    /* Card/surface (deep charcoal/graphite - noticeably lighter than background) */
    --card-bg: #1f1f23;
    --card-border: rgba(255, 255, 255, 0.08);
    --card-shadow: rgba(0, 0, 0, 0.5);
}

*{
    font-family: "Cabin", sans-serif;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none !important;
    list-style-type: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* Smooth theme transitions (only background-color and color) */
html, body, header, div, section, article, h1, h2, h3, h4, h5, h6, p, span, a, button {
    transition: background-color 200ms ease, color 200ms ease;
}

/* iOS-style easing curves for premium animations */
:root {
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Responsive scaling multipliers - desktop default (no scaling) */
    --mobile-scale: 1;
    --mobile-scale-typography: 1;
    --mobile-scale-touch: 1;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
html{
    font-size: 67%;
    scroll-padding-top: 14.925rem;
    scroll-behavior: smooth;
}
body{
    -webkit-overflow-scrolling: touch !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a{
    color: white;
}
img {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}
  


/* --------------------HEADER-------------------- */
header#header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: var(--bg-primary);
    height: var(--main-header-h);
    min-height: var(--main-header-h);
    max-height: var(--main-header-h);
    padding: 0;
    box-sizing: border-box;
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.06),
        0 10px 24px rgba(0, 0, 0, 0.04);
}


[data-theme="dark"] header#header {
    background-color: #141416;
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 28px rgba(0, 0, 0, 0.55);
}
header #header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 92%;
    margin: 0 auto;
    position: relative;
    height: 100%;
    min-height: 0;
}

header #header-container #header-left {
    grid-column: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

header #header-container #logo-container {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
}

header #header-container #header-right {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
header #header-container #logo-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    -webkit-tap-highlight-color: transparent;
}

header #header-container #logo-container a img#logo {
    margin: 0 auto;
    width: 100%;
    height: 95%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0;
    padding-block: 1px;
}

/* Menu Button - Production SaaS Style */
#menu-button {
    width: calc(3.25rem * var(--mobile-scale-touch));
    height: calc(3.25rem * var(--mobile-scale-touch));
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 140ms ease, transform 120ms ease, border-color 140ms ease;
}

#menu-button i {
    font-size: calc(1.1875rem * var(--mobile-scale-typography));
    color: #111827;
    filter: drop-shadow(0 0 0.35px rgba(0, 0, 0, 0.35));
    transition: color 140ms ease, filter 140ms ease;
    line-height: 1;
}

#menu-button:active {
    background-color: rgba(0, 0, 0, 0.07);
    transform: scale(0.97);
}

@media (hover: hover) {
    #menu-button:hover {
        background-color: rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.08);
    }
    #menu-button:hover i {
        color: rgba(0, 0, 0, 0.96);
    }
}

#menu-button:focus-visible {
    outline: 2px solid rgba(0, 122, 255, 0.35);
    outline-offset: 2px;
}

[data-theme="dark"] #menu-button {
    border-color: rgba(255, 255, 255, 0.10);
    background-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] #menu-button i {
    color: rgba(255, 255, 255, 0.88);
    filter: drop-shadow(0 0 0.35px rgba(0, 0, 0, 0.6));
}

@media (hover: hover) {
    [data-theme="dark"] #menu-button:hover {
        background-color: rgba(255, 255, 255, 0.09);
        border-color: rgba(255, 255, 255, 0.14);
    }
    [data-theme="dark"] #menu-button:hover i {
        color: rgba(255, 255, 255, 0.95);
    }
}

[data-theme="dark"] #menu-button:active {
    background-color: rgba(255, 255, 255, 0.10);
    transform: scale(0.97);
}

@media (max-width: 768px) {
    :root {
        --mobile-scale: 1.08;
        --mobile-scale-typography: 1.08;
        --mobile-scale-touch: 1.08;
    }
    
    #menu-button {
        width: calc(2.8rem * var(--mobile-scale-touch));
        height: calc(2.8rem * var(--mobile-scale-touch));
    }
    
    #menu-button i {
        font-size: calc(1rem * var(--mobile-scale-typography));
    }
}

#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    z-index: 99999999999999999999999;
    pointer-events: none;
    overflow: hidden;
    box-sizing: border-box;
    isolation: isolate;
}

#menu-overlay.active {
    pointer-events: auto;
}

/* Backdrop blur - only behind overlay, not inside it */
#menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.2, 0, 0.2, 1);
    z-index: 0;
}

#menu-overlay.active::before {
    opacity: 1;
}

.menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: #0d0d0e;
    transform: translateX(-100%) translateZ(0);
    transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    z-index: 999999;
}

/* Light mode overlay background */
[data-theme="light"] .menu-panel {
    background: #fafafa;
}

#menu-overlay.active .menu-panel {
    transform: translateX(0) translateZ(0);
}


#menu-close {
    position: static;
    width: calc(2.75rem * var(--mobile-scale-touch));
    height: calc(2.75rem * var(--mobile-scale-touch));
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    font-size: calc(1.125rem * var(--mobile-scale-typography));
    -webkit-tap-highlight-color: transparent;
    transition: background-color 200ms cubic-bezier(0.2, 0, 0.2, 1),
                opacity 200ms cubic-bezier(0.2, 0, 0.2, 1),
                border-color 200ms cubic-bezier(0.2, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

/* Light theme: Close icon must be visible on light background */
[data-theme="light"] #menu-close {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #111827;
}

#menu-overlay.active #menu-close {
    opacity: 1;
    pointer-events: auto;
}

#menu-close:active {
    opacity: 0.9;
}

@media (hover: hover) {
    #menu-close:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.15);
    }

    [data-theme="light"] #menu-close:hover {
        background: rgba(0, 0, 0, 0.15);
        border-color: rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 768px) {
    #menu-close {
        width: calc(2.5rem * var(--mobile-scale-touch));
        height: calc(2.5rem * var(--mobile-scale-touch));
        font-size: calc(1rem * var(--mobile-scale-typography));
    }
}

.menu-content {
    --menu-content-pad-x: calc(1.5rem * var(--mobile-scale));
    --menu-content-pad-bottom: calc(1rem * var(--mobile-scale) + env(safe-area-inset-bottom, 20px));

    height: 100vh;
    height: 100dvh;

    padding: 0 var(--menu-content-pad-x) var(--menu-content-pad-bottom);
    margin: 0;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    
    transform: translateX(-20px);
    transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1) 100ms,
                transform 500ms cubic-bezier(0.16, 1, 0.3, 1) 100ms;
    
    overflow: hidden;
    justify-content: flex-start;
}

#menu-overlay.active .menu-content {
    opacity: 1;
    transform: translateX(0);
}

/* Logo Container */
.menu-logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: calc(5rem * var(--mobile-scale-touch));
    flex-shrink: 0;
    margin: 0 !important;
    z-index: 9999999999;
    
}

.menu-logo-container::after {
    content: none;
}

[data-theme="light"] .menu-logo-container::after {
    content: none;
}

.menu-body {
    display: flex;
    flex-direction: column;
    padding: 5px 20px; 
    margin: 0 -20px;
    gap: calc(1.125rem * var(--mobile-scale));
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.menu-logo-left {
    display: flex;
    align-items: center;
    gap: calc(0.65rem * var(--mobile-scale));
    min-width: 0;
}

.menu-logo-text {
    font-size: clamp(1.6rem, 1.65rem, 1.7rem);
    font-weight: 500;
    font-family: "Kanit", sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

[data-theme="light"] .menu-logo-text {
    color: rgba(0, 0, 0, 0.92);
}

/* ============================================
   DESKTOP-ONLY ENHANCEMENTS (min-width: 1024px)
   Mobile remains 100% pixel-identical
   ============================================ */

@media (min-width: 1024px) {
    #menu-overlay::before {
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .menu-panel {
        width: 420px;
        max-width: 420px;
        right: auto;
        left: 0;
        transform: translateX(-100%) translateZ(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    }

    #menu-overlay.active .menu-panel {
        transform: translateX(0) translateZ(0);
    }

    .menu-content {
        max-width: 100%;
        --menu-content-pad-x: 1.5rem;
        --menu-content-pad-bottom: 1rem;
    }
}

.menu-logo {
    width: calc(5.5rem * var(--mobile-scale));
    height: auto;
    max-width: 50px;
    object-fit: contain;
    opacity: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: filter 300ms cubic-bezier(0.2, 0, 0.2, 1);
}

[data-theme="light"] .menu-logo {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
    .menu-logo {
        width: calc(3rem * var(--mobile-scale));
        max-width: 70px;
    }
    
    .menu-logo-container {
        height: calc(4rem * var(--mobile-scale-touch));
    }
}


/* Categories Card - Hero/Main Focus with subtle background image */
.menu-categories-card {
    display: block;
    background: #1a1a1c;
    background-image: url('../IMAGES/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: calc(1.125rem * var(--mobile-scale));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: calc(2.25rem * var(--mobile-scale)) calc(1.875rem * var(--mobile-scale));
    text-decoration: none;
    color: inherit;
    transition: transform 200ms cubic-bezier(0.2, 0, 0.2, 1),
                box-shadow 200ms cubic-bezier(0.2, 0, 0.2, 1),
                opacity 150ms cubic-bezier(0.2, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: calc(9rem * var(--mobile-scale));
    max-height: calc(9rem * var(--mobile-scale));
}

/* Warm dark overlay - restaurant feel, less corporate */
.menu-categories-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(15, 15, 18, 0.75) 0%, 
        rgba(20, 18, 16, 0.6) 50%, 
        rgba(18, 16, 14, 0.65) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Warm vignette and subtle blur for restaurant atmosphere */
.menu-categories-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(20, 18, 16, 0.25) 100%),
        rgba(26, 24, 22, 0.3);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    z-index: 0;
    pointer-events: none;
}

.categories-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(1.25rem * var(--mobile-scale));
    position: relative;
    z-index: 2;
}

.categories-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: calc(0.375rem * var(--mobile-scale));
    min-width: 0;
}

.categories-card-title {
    font-size: calc(2rem * var(--mobile-scale-typography));
    font-weight: 600;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: calc(0.5rem * var(--mobile-scale));
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.6), 0 1px 6px rgba(0, 0, 0, 0.4);
}

.categories-card-subtitle {
    font-size: calc(1.125rem * var(--mobile-scale-typography));
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Cabin", sans-serif;
    line-height: 1.4;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.2px;
}

.categories-card-icon {
    flex-shrink: 0;
    width: calc(4rem * var(--mobile-scale-touch));
    height: calc(4rem * var(--mobile-scale-touch));
    border-radius: calc(1rem * var(--mobile-scale));
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(1.75rem * var(--mobile-scale-typography));
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 200ms cubic-bezier(0.2, 0, 0.2, 1),
                background-color 200ms cubic-bezier(0.2, 0, 0.2, 1),
                box-shadow 200ms cubic-bezier(0.2, 0, 0.2, 1);
}

@media (hover: hover) {
    .menu-categories-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
    }
    
    .menu-categories-card:hover::before {
        background: linear-gradient(135deg, 
            rgba(12, 12, 15, 0.8) 0%, 
            rgba(18, 16, 14, 0.65) 50%, 
            rgba(16, 14, 12, 0.7) 100%);
    }
    
    .menu-categories-card:hover .categories-card-icon {
        transform: scale(1.08);
        background: rgba(255, 255, 255, 0.22);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    
    /* Light mode intentionally uses the same dark-styled media card */
}

.menu-categories-card:active {
    transform: translateY(0) scale(0.98);
    opacity: 0.95;
    transition-duration: 100ms;
}

.menu-categories-card:active .categories-card-icon {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .menu-categories-card {
        padding: calc(17.013px * var(--mobile-scale)) calc(18.01px * var(--mobile-scale));
        min-height: calc(8rem * var(--mobile-scale));
        max-height: calc(8rem * var(--mobile-scale));
    }
    
    .categories-card-title {
        font-size: calc(1.875rem * var(--mobile-scale-typography));
    }
    
    .categories-card-subtitle {
        font-size: calc(1.0625rem * var(--mobile-scale-typography));
    }
    
    .categories-card-icon {
        width: calc(3.75rem * var(--mobile-scale-touch));
        height: calc(3.75rem * var(--mobile-scale-touch));
        font-size: calc(1.625rem * var(--mobile-scale-typography));
    }
}

/* Wi-Fi Card - Secondary Feature Block */
.menu-wifi-card {
    background: #18181a;
    border-radius: calc(0.875rem * var(--mobile-scale));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    padding: calc(1.25rem * var(--mobile-scale));
    transition: transform 200ms cubic-bezier(0.2, 0, 0.2, 1),
                box-shadow 200ms cubic-bezier(0.2, 0, 0.2, 1),
                border-color 200ms cubic-bezier(0.2, 0, 0.2, 1);
    flex-shrink: 0;
}

[data-theme="light"] .menu-wifi-card {
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* Information and Contact Cards - Tertiary */
.menu-info-card,
.menu-contact-card {
    background: #18181a;
    border-radius: calc(0.875rem * var(--mobile-scale));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    padding: calc(1rem * var(--mobile-scale));
    transition: transform 200ms cubic-bezier(0.2, 0, 0.2, 1),
                box-shadow 200ms cubic-bezier(0.2, 0, 0.2, 1);
    flex-shrink: 0;
}

[data-theme="light"] .menu-info-card,
[data-theme="light"] .menu-contact-card {
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .menu-wifi-card {
        padding: calc(1.125rem * var(--mobile-scale));
    }
    
    .menu-info-card,
    .menu-contact-card {
        padding: calc(0.875rem * var(--mobile-scale));
    }
}

/* Wi-Fi Card - Secondary Feature Block */
.menu-wifi-card {
    display: flex;
    flex-direction: column;
    gap: calc(1rem * var(--mobile-scale));
    position: relative;
}

.wifi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wifi-name-container {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--mobile-scale));
}

.wifi-icon {
    font-size: calc(1.25rem * var(--mobile-scale-typography));
    color: #007AFF;
    filter: drop-shadow(0 2px 4px rgba(0, 122, 255, 0.2));
}

.wifi-name {
    font-size: calc(1.125rem * var(--mobile-scale-typography));
    font-weight: 600;
    color: #ffffff;
    font-family: "Cabin", sans-serif;
    letter-spacing: -0.2px;
}

[data-theme="light"] .wifi-name {
    color: #1a1a1a;
}

.wifi-password-container {
    display: flex;
    flex-direction: column;
    gap: calc(0.5rem * var(--mobile-scale));
}

.wifi-label {
    font-size: calc(0.75rem * var(--mobile-scale-typography));
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    font-family: "Cabin", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="light"] .wifi-label {
    color: rgba(26, 26, 26, 0.6);
}

.wifi-password-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(0.75rem * var(--mobile-scale));
}

.wifi-password {
    font-size: calc(1rem * var(--mobile-scale-typography));
    font-weight: 500;
    color: #ffffff;
    font-family: "Cabin", sans-serif;
    letter-spacing: 2px;
    flex: 1;
    min-width: 0;
}

[data-theme="light"] .wifi-password {
    color: #1a1a1a;
}

.wifi-actions {
    display: flex;
    gap: calc(0.5rem * var(--mobile-scale));
}

.wifi-action-btn {
    width: calc(2.5rem * var(--mobile-scale-touch));
    height: calc(2.5rem * var(--mobile-scale-touch));
    border-radius: calc(0.5rem * var(--mobile-scale));
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(0.9375rem * var(--mobile-scale-typography));
    transition: background-color 200ms cubic-bezier(0.2, 0, 0.2, 1),
                transform 150ms cubic-bezier(0.2, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

[data-theme="light"] .wifi-action-btn {
    background: rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}

@media (hover: hover) {
    .wifi-action-btn:hover {
        background: rgba(255, 255, 255, 0.12);
    }
    
    [data-theme="light"] .wifi-action-btn:hover {
        background: rgba(0, 0, 0, 0.1);
    }
}

.wifi-action-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .wifi-action-btn:active {
    background: rgba(0, 0, 0, 0.12);
}

/* Information Card - Tertiary with improved visibility */
.menu-info-card {
    display: flex;
    flex-direction: column;
    gap: calc(0.875rem * var(--mobile-scale));
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: calc(1rem * var(--mobile-scale));
}

/* Clickable info row - iOS-style interactive */
.info-row-clickable {
    display: flex;
    align-items: flex-start;
    gap: calc(1rem * var(--mobile-scale));
    text-decoration: none;
    color: inherit;
    border-radius: calc(0.75rem * var(--mobile-scale));
    margin: calc(-0.5rem * var(--mobile-scale));
    padding: calc(0.5rem * var(--mobile-scale));
    transition: background-color 200ms cubic-bezier(0.2, 0, 0.2, 1),
                opacity 150ms cubic-bezier(0.2, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.info-row-clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background-color 200ms cubic-bezier(0.2, 0, 0.2, 1);
    pointer-events: none;
    border-radius: calc(0.75rem * var(--mobile-scale));
}

@media (hover: hover) {
    .info-row-clickable:hover::before {
        background: rgba(255, 255, 255, 0.05);
    }
}

.info-row-clickable:active {
    opacity: 0.8;
    transition-duration: 100ms;
}

.info-row-clickable:active::before {
    background: rgba(255, 255, 255, 0.08);
}

.info-row-clickable .info-icon,
.info-row-clickable .info-content {
    position: relative;
    z-index: 1;
}

.info-icon {
    font-size: calc(1.125rem * var(--mobile-scale-typography));
    color: rgba(255, 255, 255, 0.75);
    margin-top: calc(0.125rem * var(--mobile-scale));
    flex-shrink: 0;
    width: calc(1.5rem * var(--mobile-scale));
    text-align: center;
}

[data-theme="light"] .info-icon {
    color: rgba(26, 26, 26, 0.7);
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: calc(0.25rem * var(--mobile-scale));
}

.info-title {
    font-size: calc(0.9375rem * var(--mobile-scale-typography));
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Cabin", sans-serif;
    letter-spacing: -0.1px;
}

[data-theme="light"] .info-title {
    color: rgba(26, 26, 26, 0.85);
}

.info-subtitle {
    font-size: calc(0.875rem * var(--mobile-scale-typography));
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    font-family: "Cabin", sans-serif;
}

[data-theme="light"] .info-subtitle {
    color: rgba(26, 26, 26, 0.65);
}

/* Contact Card - Tertiary */
.menu-contact-card {
    display: flex;
    gap: calc(0.5rem * var(--mobile-scale));
    padding: calc(0.875rem * var(--mobile-scale));
    justify-content: flex-start;
    flex-shrink: 0;
}

.contact-btn {
    width: calc(3rem * var(--mobile-scale) + 8px);
    height: calc(3rem * var(--mobile-scale) + 8px);
    min-width: calc(3rem * var(--mobile-scale) + 8px);
    max-width: calc(3rem * var(--mobile-scale) + 8px);
    flex-shrink: 0;
    border-radius: calc(0.625rem * var(--mobile-scale));
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(1.25rem * var(--mobile-scale-typography) + 5px);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: transform 200ms cubic-bezier(0.2, 0, 0.2, 1),
                background-color 200ms cubic-bezier(0.2, 0, 0.2, 1),
                border-color 200ms cubic-bezier(0.2, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.contact-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.contact-btn img {
    width: calc(1.25rem * var(--mobile-scale-typography) + 5px);
    height: calc(1.25rem * var(--mobile-scale-typography) + 5px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    object-fit: contain;
}

.contact-btn img[alt="Tripadvisor"],
.contact-btn img.social-icon {
    width: calc(1.25rem * var(--mobile-scale-typography) + 9px);
    height: calc(1.25rem * var(--mobile-scale-typography) + 9px);
}

[data-theme="light"] .contact-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(26, 26, 26, 0.7);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Brand colors for contact buttons - enhanced visibility on dark */
.contact-btn:nth-child(1) { color: #E4405F; } /* Instagram */
.contact-btn:nth-child(2) { color: #1877F2; } /* Facebook */
.contact-btn:nth-child(3) { color: #00AF87; } /* Tripadvisor */
.contact-btn:nth-child(4) { color: #25D366; } /* WhatsApp */
.contact-btn:nth-child(5) { color: #FF4444; } /* YouTube - brighter */
.contact-btn:nth-child(6) { color: #4285F4; } /* Google Maps */


@media (hover: hover) {
    .contact-btn:hover {
        transform: translateY(-1px) scale(1.03);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    [data-theme="light"] .contact-btn:hover {
        background: rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.12);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
}

.contact-btn:active {
    transform: translateY(0) scale(0.95);
    transition-duration: 100ms;
}

/* Review Button - At bottom with subtle divider */
.menu-review-container {
    padding: calc(1rem * var(--mobile-scale)) 0 0 0;
    margin: 0;
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
}

.menu-review-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(255, 255, 255, 0.08) 80%,
        transparent 100%);
    pointer-events: none;
}

[data-theme="light"] .menu-review-container::before {
    background: linear-gradient(to right, 
        transparent 0%,
        rgba(0, 0, 0, 0.08) 20%,
        rgba(0, 0, 0, 0.08) 80%,
        transparent 100%);
}

.menu-review-btn {
    width: 100%;
    padding: calc(1.125rem * var(--mobile-scale)) calc(1.5rem * var(--mobile-scale));
    border-radius: calc(0.75rem * var(--mobile-scale));
    background: #007AFF;
    color: #ffffff;
    font-size: calc(1.125rem * var(--mobile-scale-typography));
    font-weight: 600;
    font-family: "Cabin", sans-serif;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.75rem * var(--mobile-scale));
    border: none;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
    transition: transform 200ms cubic-bezier(0.2, 0, 0.2, 1),
                background-color 200ms cubic-bezier(0.2, 0, 0.2, 1),
                box-shadow 200ms cubic-bezier(0.2, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    letter-spacing: -0.1px;
}

[data-theme="light"] .menu-review-btn {
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.menu-review-btn i {
    font-size: calc(1.25rem * var(--mobile-scale-typography));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .menu-review-btn:hover {
        background: #0051D5;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
    }
}

.menu-review-btn:active {
    transform: translateY(0) scale(0.98);
    background: #0047B8;
    transition-duration: 100ms;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-content {
        --menu-content-pad-x: calc(1.25rem * var(--mobile-scale));
        --menu-content-pad-bottom: calc(0.875rem * var(--mobile-scale));
        gap: 0;
    }

    .menu-body {
        gap: calc(0.875rem * var(--mobile-scale));
    }
    
    .menu-contact-card {
        gap: calc(0.5rem * var(--mobile-scale));
        padding: calc(0.75rem * var(--mobile-scale));
    }
    
    .contact-btn img {
        width: calc(1.125rem * var(--mobile-scale-typography) + 5px);
        height: calc(1.125rem * var(--mobile-scale-typography) + 5px);
    }
    
    .contact-btn img[alt="Tripadvisor"],
    .contact-btn img.social-icon {
        width: calc(1.125rem * var(--mobile-scale-typography) + 9px);
        height: calc(1.125rem * var(--mobile-scale-typography) + 9px);
    }
    
    .menu-info-card {
        gap: calc(0.75rem * var(--mobile-scale));
    }
    
    .menu-wifi-card {
        gap: calc(0.875rem * var(--mobile-scale));
    }
    
    .menu-review-container {
        padding-top: calc(0.875rem * var(--mobile-scale));
    }
}


body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: none !important;
    overscroll-behavior: none !important;
}

html.menu-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
}

/* Remove the scale transform on background when menu opens - iOS modals don't scale background */
body.menu-open main,
body.menu-open #menu-sections,
body.menu-open #menu-header,
body.menu-open #menu-placeholder,
body.menu-open footer,
body.menu-open header {
    transform: none;
}



#menu-overlay {
    transform: translateZ(0) !important;
}

@media (prefers-reduced-motion: reduce) {
    body.menu-open,
    body.menu-open main,
    body.menu-open #menu-sections,
    body.menu-open #menu-header,
    body.menu-open #menu-placeholder,
    body.menu-open footer {
        transform: none;
    }
}





.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-main {
    position: relative;
    width: calc(4.5625rem * var(--mobile-scale-touch));
    height: calc(4.5625rem * var(--mobile-scale-touch));
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    -webkit-tap-highlight-color: transparent;
    transition: 
        transform 250ms var(--ease-out-back),
        box-shadow 200ms var(--ease-out-expo),
        border-color 200ms var(--ease-out-expo);
    will-change: transform;
    transform: scale(1);
}

@media (hover: hover) {
    .lang-main:hover {
        transform: translateY(-2px) scale(1.04);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
        border-color: rgba(255, 255, 255, 1);
    }
}

.lang-main:active {
    transform: translateY(-1px) scale(0.94);
    transition-duration: 150ms;
}

.lang-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.95) saturate(1.1);
    transition: transform 300ms var(--ease-out-expo), filter 200ms var(--ease-out-expo);
    will-change: transform;
    transform: scale(1);
}

@media (hover: hover) {
    .lang-main:hover .lang-bg {
        transform: scale(1.12);
        filter: brightness(1) saturate(1.15);
    }
}

.lang-code {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: calc(0.75rem * var(--mobile-scale-typography));
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    pointer-events: none;
    user-select: none;
}

.lang-list {
    position: absolute;
    top: calc(100% + calc(0.625rem * var(--mobile-scale)));
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.95);
    list-style: none;
    margin: 0;
    padding: calc(0.625rem * var(--mobile-scale));
    display: flex;
    flex-direction: column;
    gap: calc(0.375rem * var(--mobile-scale));
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: calc(0.875rem * var(--mobile-scale));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    visibility: hidden;
    z-index: 10000;
    min-width: calc(9.5rem * var(--mobile-scale));
    max-width: none;
    overflow: visible;
    box-sizing: border-box;
    transition: 
        visibility 180ms ease-out,
        transform 180ms cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform;
}

.lang-list.show {
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.lang-list li {
    position: relative;
    width: 100%;
    height: auto;
    min-height: calc(3rem * var(--mobile-scale-touch));
    border-radius: calc(0.625rem * var(--mobile-scale));
    border: none;
    background: transparent;
    cursor: pointer;
    overflow: visible;
    list-style: none;
    margin: 0;
    padding: calc(0.75rem * var(--mobile-scale)) calc(1.25rem * var(--mobile-scale));
    display: flex;
    align-items: center;
    gap: calc(0.625rem * var(--mobile-scale));
    box-shadow: none;
    box-sizing: border-box;
    transition: 
        transform 150ms cubic-bezier(0.2, 0, 0.2, 1),
        background-color 150ms ease-out;
    will-change: transform;
    transform: scale(1);
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .lang-list li:hover {
        background-color: rgba(0, 0, 0, 0.05);
        transform: scale(1.02);
    }
}

.lang-list li:active {
    transform: scale(0.98);
    background-color: rgba(0, 0, 0, 0.08);
    transition-duration: 100ms;
}

.lang-list li .lang-bg {
    position: relative;
    width: calc(1.5rem * var(--mobile-scale));
    height: calc(1.5rem * var(--mobile-scale));
    min-width: calc(1.5rem * var(--mobile-scale));
    min-height: calc(1.5rem * var(--mobile-scale));
    border-radius: calc(0.25rem * var(--mobile-scale));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-list li .lang-code {
    position: relative;
    z-index: 2;
    font-weight: 600;
    font-size: calc(0.9375rem * var(--mobile-scale-typography));
    color: #000000;
    text-shadow: none;
    letter-spacing: -0.2px;
    pointer-events: none;
    user-select: none;
    flex: 1;
    white-space: nowrap;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
}

.lang-list li.selected {
    display: flex;
    background-color: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .lang-list li.selected {
    background-color: rgba(255, 255, 255, 0.08);
}

.lang-list li.selected .lang-code {
    font-weight: 700;
}

[data-theme="dark"] .lang-main {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .lang-main:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .lang-list {
    background-color: rgba(30, 30, 35, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .lang-list li:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .lang-list li:active {
    background-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .lang-list li .lang-code {
    color: #ffffff;
}

#theme-toggle {
    width: calc(3.25rem * var(--mobile-scale-touch));
    height: calc(3.25rem * var(--mobile-scale-touch));
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 140ms ease, transform 120ms ease, border-color 140ms ease;
}

#theme-toggle #theme-icon {
    font-size: calc(1.1875rem * var(--mobile-scale-typography));
    color: #111827;
    filter: drop-shadow(0 0 0.35px rgba(0, 0, 0, 0.35));
    transition: color 140ms ease, filter 140ms ease;
    line-height: 1;
}

#theme-toggle:active {
    background-color: rgba(0, 0, 0, 0.07);
    transform: scale(0.97);
}

@media (hover: hover) {
    #theme-toggle:hover {
        background-color: rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.08);
    }
    #theme-toggle:hover #theme-icon {
        color: rgba(0, 0, 0, 0.95);
    }
}

#theme-toggle:focus-visible {
    outline: 2px solid rgba(0, 122, 255, 0.35);
    outline-offset: 2px;
}

[data-theme="dark"] #theme-toggle {
    border-color: rgba(255, 255, 255, 0.10);
    background-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] #theme-toggle #theme-icon {
    color: rgba(255, 255, 255, 0.88);
    filter: drop-shadow(0 0 0.35px rgba(0, 0, 0, 0.6));
}

@media (hover: hover) {
    [data-theme="dark"] #theme-toggle:hover {
        background-color: rgba(255, 255, 255, 0.09);
        border-color: rgba(255, 255, 255, 0.14);
    }
    [data-theme="dark"] #theme-toggle:hover #theme-icon {
        color: rgba(255, 255, 255, 0.95);
    }
}

[data-theme="dark"] #theme-toggle:active {
    background-color: rgba(255, 255, 255, 0.10);
    transform: scale(0.97);
}

@media (max-width: 768px) {
    #theme-toggle {
        width: calc(2.8rem * var(--mobile-scale-touch));
        height: calc(2.8rem * var(--mobile-scale-touch));
    }
    
    #theme-toggle #theme-icon {
        font-size: calc(1rem * var(--mobile-scale-typography));
    }
}

@media (max-width: 768px) {
    .lang-main {
        width: calc(3.75rem * var(--mobile-scale-touch));
        height: calc(3.75rem * var(--mobile-scale-touch));
    }
    
    .lang-code {
        font-size: calc(0.6875rem * var(--mobile-scale-typography));
    }
    
    .lang-list {
        min-width: calc(6rem * var(--mobile-scale));
        gap: calc(0.25rem * var(--mobile-scale));
        padding: calc(0.3125rem * var(--mobile-scale));
        overflow: visible;
        box-sizing: border-box;
    }
    
    .lang-list li {
       width: 100%;
       min-width: calc(5.5rem * var(--mobile-scale));
       height: calc(3.75rem * var(--mobile-scale-touch));
       padding: calc(0.75rem * var(--mobile-scale)) calc(1rem * var(--mobile-scale));
       overflow: visible;
       box-sizing: border-box;
    }
    
    .lang-list li .lang-code {
        font-size: calc(0.5625rem * var(--mobile-scale-typography));
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    :root {
        --mobile-scale: 1.10;
        --mobile-scale-typography: 1.10;
        --mobile-scale-touch: 1.10;
    }
}

@media (max-width: 414px) {
    :root {
        --mobile-scale: 1.12;
        --mobile-scale-typography: 1.12;
        --mobile-scale-touch: 1.12;
    }
}

@media (max-width: 500px) {
    .lang-main {
        width: calc(4.0625rem * var(--mobile-scale-touch));
        height: calc(4.0625rem * var(--mobile-scale-touch));
    }
    .lang-code {
        font-size: calc(0.625rem * var(--mobile-scale-typography));
    }
    
    .lang-list {
        min-width: calc(6rem * var(--mobile-scale));
        gap: calc(0.1875rem * var(--mobile-scale));
        padding: calc(0.3125rem * var(--mobile-scale));
        overflow: visible;
        box-sizing: border-box;
    }
    
    .lang-list li {
        width: 100%;
        min-width: calc(5.5rem * var(--mobile-scale));
        height: calc(3.75rem * var(--mobile-scale-touch));
        padding: calc(0.75rem * var(--mobile-scale)) calc(1rem * var(--mobile-scale));
        overflow: visible;
        box-sizing: border-box;
    }
    
    .lang-list li .lang-code {
        font-size: calc(0.53125rem * var(--mobile-scale-typography));
        white-space: nowrap;
    }
}

/* Body Language FAB - Premium iOS-style animations */
#lang-fab {
    position: fixed;
    right: calc(1.75rem * var(--mobile-scale));
    bottom: calc(2.5rem * var(--mobile-scale));
    z-index: 1;
    font-family: "Cabin", sans-serif;
    transition: opacity 200ms ease-out, visibility 200ms ease-out, transform 200ms ease-out;
    opacity: 0.6;
    transform: scale(0.85);
}

#lang-fab:hover {
    opacity: 1.0;
}
#lang-btn-fab{
    width: calc(4.5625rem * var(--mobile-scale-touch));
    height: calc(4.5625rem * var(--mobile-scale-touch));
}

/* Hide language selector when product modal is open */
.product-modal[aria-hidden="false"] ~ #lang-fab,
.product-modal.is-open ~ #lang-fab {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease-out, visibility 200ms ease-out;
}
/* Body FAB için dropdown yukarı doğru açılır - iOS-native animation */
#lang-fab .lang-list {
    top: auto;
    bottom: calc(100% + calc(0.625rem * var(--mobile-scale)));
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.95);
    /* iOS-native animation - translateY + scale only */
    transition: 
        visibility 180ms ease-out,
        transform 180ms cubic-bezier(0.2, 0, 0.2, 1);
}

#lang-fab .lang-list.show {
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Responsive - Body FAB */
@media (max-width: 768px) {
    #lang-fab {
        right: calc(1.25rem * var(--mobile-scale));
        bottom: calc(2.5rem * var(--mobile-scale));
    }
}

@media (max-width: 500px) {
    #lang-fab {
        right: calc(1.25rem * var(--mobile-scale)) !important;
        bottom: calc(2.5rem * var(--mobile-scale)) !important;
    }
    
    #lang-fab #lang-btn-fab,
    #lang-fab button.lang-main,
    #lang-fab .lang-main {
        width: calc(4.3125rem * var(--mobile-scale-touch)) !important;
        height: calc(4.3125rem * var(--mobile-scale-touch)) !important;
    }
    
    #lang-fab .lang-code {
        font-size: calc(0.6875rem * var(--mobile-scale-typography)) !important;
    }
}








/* -----------------------------FOOTER----------------------------------- */
footer#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 16px;
    padding-bottom: calc(0px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    /* Prevent jitter from viewport changes */
    contain: layout style paint;
}

footer#footer .qr-footer-content {
    display: inline-block;
}

footer#footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease, color 0.2s ease;
}

footer#footer a:hover {
    opacity: 0.8;
}

footer#footer a:active {
    opacity: 0.6;
}








