:root {
    --bg-dark: #0f0d0c;
    --bg-darker: #0a0807;
    --accent-gold: #ceaa7b;
    --accent-gold-hover: #e0bb8b;
    --text-main: #f9f6ef;
    --text-muted: #9e958d;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 400;
}

em {
    font-style: italic;
    color: var(--accent-gold);
}

/* Utilities */
.section-label-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-label-container.center {
    justify-content: center;
}

.section-line {
    width: 30px;
    height: 1px;
    background-color: var(--accent-gold);
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 500;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 8, 7, 0.8) 0%, rgba(10, 8, 7, 0) 100%);
    transition: background 0.3s ease;
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-actions.left {
    flex: 1;
    justify-content: flex-start;
}

.mobile-actions.right {
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: none !important;
}

.mobile-icon-btn {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid rgba(206, 170, 123, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-icon-btn:hover {
    background: rgba(206, 170, 123, 0.1);
    border-color: var(--accent-gold);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.4rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.55rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-separator {
    width: 1px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 -0.5rem;
}

.btn-nav {
    border: 1px solid rgba(194, 160, 119, 0.4);
    padding: 0.6rem 1.2rem;
    color: var(--accent-gold) !important;
    border-radius: 2px;
    transition: all 0.3s ease !important;
}

.btn-nav:hover {
    border-color: var(--accent-gold);
    background-color: rgba(194, 160, 119, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.mobile-bg { display: none; }

/* Desktop + Mobile animation: 11 slides × 7s each = 77s total */
.desktop-bg .hero-slide { animation-duration: 77s; }
.desktop-bg .slide-1  { animation-name: slideShowDesktop; animation-delay: 0s; }
.desktop-bg .slide-2  { animation-name: slideShowDesktop; animation-delay: 7s; }
.desktop-bg .slide-3  { animation-name: slideShowDesktop; animation-delay: 14s; }
.desktop-bg .slide-4  { animation-name: slideShowDesktop; animation-delay: 21s; }
.desktop-bg .slide-5  { animation-name: slideShowDesktop; animation-delay: 28s; }
.desktop-bg .slide-6  { animation-name: slideShowDesktop; animation-delay: 35s; }
.desktop-bg .slide-7  { animation-name: slideShowDesktop; animation-delay: 42s; }
.desktop-bg .slide-8  { animation-name: slideShowDesktop; animation-delay: 49s; }
.desktop-bg .slide-9  { animation-name: slideShowDesktop; animation-delay: 56s; }
.desktop-bg .slide-10 { animation-name: slideShowDesktop; animation-delay: 63s; }
.desktop-bg .slide-11 { animation-name: slideShowDesktop; animation-delay: 70s; }

@keyframes slideShowDesktop {
    0%    { opacity: 0; transform: scale(1); }
    1%    { opacity: 1; transform: scale(1.01); }
    8%    { opacity: 1; transform: scale(1.07); }
    9.1%  { opacity: 0; transform: scale(1.09); }
    100%  { opacity: 0; transform: scale(1.09); }
}

/* Mobile animation: 11 slides × 7s each = 77s total */
.mobile-bg .hero-slide { animation-duration: 77s; }
.mobile-bg .m-slide-1  { animation-name: slideShowMobile; animation-delay: 0s; }
.mobile-bg .m-slide-2  { animation-name: slideShowMobile; animation-delay: 7s; }
.mobile-bg .m-slide-3  { animation-name: slideShowMobile; animation-delay: 14s; }
.mobile-bg .m-slide-4  { animation-name: slideShowMobile; animation-delay: 21s; }
.mobile-bg .m-slide-5  { animation-name: slideShowMobile; animation-delay: 28s; }
.mobile-bg .m-slide-6  { animation-name: slideShowMobile; animation-delay: 35s; }
.mobile-bg .m-slide-7  { animation-name: slideShowMobile; animation-delay: 42s; }
.mobile-bg .m-slide-8  { animation-name: slideShowMobile; animation-delay: 49s; }
.mobile-bg .m-slide-9  { animation-name: slideShowMobile; animation-delay: 56s; }
.mobile-bg .m-slide-10 { animation-name: slideShowMobile; animation-delay: 63s; }
.mobile-bg .m-slide-11 { animation-name: slideShowMobile; animation-delay: 70s; }

@keyframes slideShowMobile {
    0%    { opacity: 0; transform: scale(1); }
    1%    { opacity: 1; transform: scale(1.01); }
    8%    { opacity: 1; transform: scale(1.07); }
    9.1%  { opacity: 0; transform: scale(1.09); }
    100%  { opacity: 0; transform: scale(1.09); }
}

/* Dropdown nav menu */
.mobile-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 8, 7, 0.97);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0;
    border-top: 1px solid rgba(206, 170, 123, 0.2);
    text-align: left;
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(206, 170, 123, 0.4) transparent;
}
.mobile-nav-menu::-webkit-scrollbar {
    width: 4px;
}
.mobile-nav-menu::-webkit-scrollbar-track {
    background: transparent;
}
.mobile-nav-menu::-webkit-scrollbar-thumb {
    background-color: rgba(206, 170, 123, 0.4);
    border-radius: 2px;
}
.mobile-nav-menu.open {
    display: flex;
}
.mobile-nav-menu a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.3s;
    flex-shrink: 0;
}
.mobile-nav-menu a:last-child {
    border-bottom: none;
}
.mobile-nav-menu a:hover {
    color: var(--accent-gold);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 8, 7, 0.5);
    z-index: -1;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 3rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    min-height: 1.2em;
}

/* Typewriter cursor */
.typewriter-text::after {
    content: '|';
    color: var(--accent-gold);
    animation: blink 0.8s step-end infinite;
    font-style: normal;
}

.typewriter-text.done::after {
    display: none;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Premium thin-bordered hero buttons */
.btn-solid {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    border-radius: 2px;
    transition: all 0.35s ease;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(206, 170, 123, 0.6);
    color: var(--accent-gold);
}

.btn-solid:hover {
    background: rgba(206, 170, 123, 0.08);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}

/* Solid gold fill variant (primary action) */
.btn-solid.primary {
    background-color: var(--accent-gold);
    color: var(--bg-darker);
}

.btn-solid.primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(194, 160, 119, 0), rgba(194, 160, 119, 1));
}

.scroll-indicator span {
    font-size: 0.65rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Story Section */
.story {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.story-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.story-text {
    padding-left: 10rem;
    max-width: 600px;
}

.story-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.story-text p {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
    font-size: 1rem;
}

.btn-text {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-gold);
}

.story-image {
    height: 700px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dishes Section */
.dishes {
    padding: 8rem 4rem;
    background-color: var(--bg-darker);
}

.dishes-header {
    text-align: center;
    margin-bottom: 6rem;
}

.dishes-header h2 {
    font-size: 3.5rem;
}

.dishes-grid {
    max-width: 1400px;
    margin: 0 auto 6rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.dish-num {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 2rem;
}

.dish-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.dish-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.dishes-images {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dishes-images img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Premium Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content.dark-theme {
    background-color: #0c0c0c;
    margin: auto;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    color: #fff;
    transform: translateY(20px);
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-gold);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-logo {
    display: flex;
    justify-content: center;
}

.modal-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.modal-divider .ornament {
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    position: relative;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-top: 1rem;
    color: #fff;
}

.premium-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group-premium.full-width {
    grid-column: 1 / -1;
}

.premium-form .form-group-premium {
    margin-bottom: 0;
}

.premium-form label {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.premium-form .label-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 2px solid #d35400;
    margin-right: 8px;
    transform: rotate(45deg);
}

.dark-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
    appearance: none;
}

select.dark-input {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23999%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

.dark-input:focus {
    outline: none;
    border-color: #d35400;
}

.btn-orange {
    width: 100%;
    padding: 1rem;
    background-color: #d35400;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.btn-orange:hover {
    background-color: #e65100;
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    padding: 6rem 4rem 2rem;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5rem;
    margin-bottom: 5rem;
}

.footer-col-center {
    text-align: center;
}

.footer-col-center.border-sides {
    border-left: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.footer-col-center h5 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-col-center .big-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-col-center p:not(.big-text) {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.9rem;
}

.link-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.link-text:hover {
    color: var(--accent-gold);
}

.footer-middle {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-info .desc {
    margin-top: 2rem;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-links h5 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-links p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.8;
}

.mt-2 {
    margin-top: 1.5rem;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.socials a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 300;
}

.bottom-links {
    display: flex;
    gap: 2rem;
}

.bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: var(--accent-gold);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .story-text {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    .dishes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    .mobile-nav-menu {
        padding: 1rem 2rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }
    .mobile-actions.left {
        flex: 1;
        justify-content: flex-start;
    }
    .mobile-actions.right {
        flex: 1;
        justify-content: flex-end;
    }
    .logo-container {
        flex: 1;
        justify-content: center;
    }
    .nav-container {
        padding: 0 1rem;
    }
    .hero {
        padding-top: 0;
    }
    .desktop-bg {
        display: none;
    }
    .mobile-bg {
        display: block;
    }
    /* Zoom out outdoor slide on mobile and center the shop front */
    .m-slide-1, .m-slide-3 {
        background-position: center center;
        background-size: 170%;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    .hero-buttons {
        max-width: 300px;
    }
    .btn-solid {
        padding: 0.8rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 3px;
    }
    .story, .dishes, .booking {
        padding: 4rem 1.5rem;
    }
    .story-text {
        padding-left: 0;
        padding-right: 0;
    }
    .story-text h2, .dishes-header h2, .booking-container h2 {
        font-size: 2.5rem;
    }
    .story-image {
        height: 400px;
    }
    .dishes-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .dishes-images {
        grid-template-columns: 1fr;
    }
    .dishes-images img {
        height: 350px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-col-center.border-sides {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 3rem 0;
    }
    .footer-middle {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    footer {
        padding: 4rem 1.5rem 2rem;
    }
}

/* ===== MENU VIEWER MODAL ===== */
.menu-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: stretch;
    justify-content: center;
}

.menu-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.menu-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 4, 3, 0.95);
    backdrop-filter: blur(8px);
}

.menu-modal-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh; /* dynamic viewport height - accounts for mobile browser chrome */
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
}

.menu-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(206, 170, 123, 0.2);
    background: rgba(10, 8, 7, 0.9);
    flex-shrink: 0;
}

.menu-modal-title {
    display: flex;
    flex-direction: column;
}

.menu-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-main);
    letter-spacing: 3px;
}

.menu-subtitle {
    font-size: 0.6rem;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.menu-page-counter {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.menu-close-btn {
    background: transparent;
    border: 1px solid rgba(206, 170, 123, 0.3);
    color: var(--accent-gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.menu-close-btn:hover {
    background: rgba(206, 170, 123, 0.15);
    border-color: var(--accent-gold);
}

.menu-pages-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: #111;
    min-height: 0; /* critical: allows flex child to shrink below content size */
}

.menu-page {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow-y: auto;
    padding: 1rem;
}

.menu-page.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-page img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.menu-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    border-top: 1px solid rgba(206, 170, 123, 0.2);
    background: rgba(10, 8, 7, 0.9);
    flex-shrink: 0;
}

.menu-nav-btn {
    background: transparent;
    border: 1px solid rgba(206, 170, 123, 0.4);
    color: var(--accent-gold);
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    font-family: var(--font-body);
}

.menu-nav-btn:hover {
    background: rgba(206, 170, 123, 0.1);
    border-color: var(--accent-gold);
}

.menu-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.menu-thumbnails {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.menu-thumb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(206, 170, 123, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(206, 170, 123, 0.2);
}

.menu-thumb-dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
}

.menu-thumb-dot:hover {
    background: rgba(206, 170, 123, 0.7);
}

@media (max-width: 768px) {
    .menu-modal-header { padding: 0.8rem 1rem; }
    .menu-modal-footer { padding: 0.6rem 1rem; }
    .menu-nav-btn { padding: 0.4rem 0.8rem; font-size: 0.7rem; }
    .menu-page { padding: 0.5rem; }
}
