/* -------------------------------------------------------------
   SYSTEM DESIGN: HẢI SẢN BÉ BIỂN (RED & BLACK THEME)
------------------------------------------------------------- */

:root {
    /* Color Palette (Lightened slightly for better readability and vibrant atmosphere) */
    --bg-main: #1d1d1d;       /* Lightened from #121212 for a brighter dark theme */
    --bg-section: #262626;    /* Lightened from #1a1a1a */
    --bg-card: #303030;       /* Lightened from #222222 */
    --bg-card-hover: #3a3a3a; /* Lightened from #2a2a2a */
    --border-color: #444444;  /* Lightened from #333333 */
    --border-hover: #ff3b4b;
    
    --primary-red: #ff3b4b;
    --secondary-red: #e60026;
    --light-red: #ff606d;
    --dark-red: #a31424;
    --glow-red: rgba(255, 59, 75, 0.4);
    --glow-red-heavy: rgba(255, 59, 75, 0.65);
    
    --text-pure: #ffffff;
    --text-body: #e6e6e6;
    --text-muted: #b0b0b0;    /* Lightened from #9a9a9a for improved contrast and legibility */
    --text-gold: #ffc107;
    
    /* Typography */
    --font-heading: 'Be Vietnam Pro', sans-serif;
    --font-nav: 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    
    /* Transitions & Layout constants */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s ease;
    --max-width: 1200px;
    --header-height: 80px;
    /* orbit(560px): center = right_edge - 560 + T + 280 = right_edge - 0
       → T = 280px; logo(160px) → logo_T = 160/2 = 80px */
    --radial-translate: translate(280px, -50%);
    --logo-translate: translate(80px, -50%);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    text-align: left;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-accent { color: var(--primary-red); }
.text-strong { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.section-padding { padding: 100px 0; }

.grid {
    display: grid;
    gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Common Section Headers */
.section-header {
    margin-bottom: 60px;
}
.sub-title {
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--text-pure);
    font-weight: 700;
    margin-bottom: 15px;
}
.section-title-left {
    font-family: var(--font-heading);
    font-size: 38px;
    color: var(--text-pure);
    font-weight: 700;
    margin-bottom: 15px;
}
.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 0 auto;
}
.divider-left {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), transparent);
    margin-bottom: 25px;
}
.paragraph {
    margin-bottom: 20px;
    color: var(--text-body);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--text-pure);
    border: 1px solid var(--primary-red);
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--light-red), var(--primary-red));
}

.btn-glow {
    box-shadow: 0 4px 15px var(--glow-red);
}
.btn-glow:hover {
    box-shadow: 0 6px 25px var(--glow-red-heavy);
}

.btn-outline {
    background: transparent;
    color: var(--text-pure);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--primary-red);
    box-shadow: 0 0 10px var(--glow-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* -------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(29, 29, 29, 0.85); /* Lightened base header backdrop */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(38, 38, 38, 0.95); /* Lightened scrolled header backdrop */
    border-bottom: 1px solid rgba(255, 59, 75, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-family: var(--font-nav);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(255, 42, 58, 0.2);
}
.logo-icon {
    color: var(--primary-red);
    font-size: 26px;
    filter: drop-shadow(0 0 6px var(--primary-red));
    transform: rotate(-15deg);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
    filter: drop-shadow(0 0 8px rgba(255, 59, 75, 0.15));
}

.main-header .logo-img {
    margin-left: -18px; /* Push logo closer to the left margin/edge */
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 59, 75, 0.4));
}

.main-header.scrolled .logo-img {
    height: 50px;
    margin-left: -14px; /* Adjust left margin when scrolled */
}

.footer-logo .logo-img {
    height: 70px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    margin-left: 45px; /* Pull the navigation menu closer to the logo */
}

.nav-link {
    font-family: var(--font-nav);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-body);
    padding: 8px 4px;
    position: relative;
}
.nav-link i {
    margin-right: 4px;
    font-size: 12px;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
}
.nav-link:hover i, .nav-link.active i {
    color: var(--primary-red);
    opacity: 1;
}

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

.btn-nav-book {
    padding: 10px 20px;
    font-size: 12px;
    margin-left: auto; /* Push the booking button to the far right of the nav-links flex container */
}

.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-pure);
    cursor: pointer;
}

/* -------------------------------------------------------------
   HERO SECTION
------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://toquoc.mediacdn.vn/280518851207290880/2023/2/20/a-1-16768576833112102460152.jpg') no-repeat center center/cover;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.65) 0%, rgba(18, 18, 18, 0.9) 100%),
                linear-gradient(90deg, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 0.3) 50%, rgba(18, 18, 18, 0.8) 100%);
    z-index: 1;
}

.hero-container-grid {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Balanced 50/50 split */
    gap: 50px;
    align-items: center;
    padding: 40px 0;
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
    max-width: 520px; /* Constrain content width to prevent overlap */
}

.hero-tagline {
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-red);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--glow-red);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 3.2vw, 40px);
    line-height: 1.15;
    color: var(--text-pure);
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.hero-description {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 40px;
    text-align: justify;
    text-align-last: left;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ---- Hero Radial: Circle from Top-Right Corner ---- */
.hero-radial {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: visible;
    animation: fadeInUp 1s ease forwards 0.3s;
    opacity: 0;
}

/* All rings share the same origin: centered vertically on the right */
.radial-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    right: 0;
    transform: var(--radial-translate);
    pointer-events: none;
    z-index: 1;
}

.radial-ring--1 {
    width: 420px;
    height: 420px;
    border: 2.5px solid rgba(184, 151, 90, 0.25);
    animation: arcPulse 3s ease-in-out infinite alternate;
}

.radial-ring--2 {
    width: 560px;
    height: 560px;
    border: 1.5px dashed rgba(184, 151, 90, 0.15);
    animation: ring2Anim 45s linear infinite;
}

.radial-ring--3 {
    width: 720px;
    height: 720px;
    border: 1px dotted rgba(184, 151, 90, 0.08);
    animation: ring3Anim 60s linear infinite;
}

/* Glow centered vertically on the right */
.radial-glow {
    position: absolute;
    top: 50%;
    right: 0;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    transform: var(--radial-translate);
    background: radial-gradient(circle, rgba(14, 116, 144, 0.2) 0%, rgba(184, 151, 90, 0.06) 45%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: glowBreath 4s ease-in-out infinite alternate;
}

/* ---- Central Logo Emblem ---- */
.radial-center-logo {
    position: absolute;
    top: 50%;
    right: 0;
    width: 160px;
    height: 160px;
    transform: var(--logo-translate);
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.radial-center-logo img {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 12px var(--glow-red-heavy));
    animation: emblemPulse 4s ease-in-out infinite alternate;
}

@keyframes emblemPulse {
    0% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 6px var(--glow-red));
    }
    100% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px var(--glow-red-heavy));
    }
}

/* ---- Orbiting Container & Items ---- */
.orbit-container {
    position: absolute;
    top: 50%;
    right: 0;
    width: 560px;
    height: 560px;
    transform: var(--radial-translate);
    animation: orbit 40s linear infinite;
    pointer-events: none;
    z-index: 5;
}

.orbit-item {
    position: absolute;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: counter-orbit 40s linear infinite;
}

.orbit-item--1 { top: -70px;  left: 210px; }
.orbit-item--2 { top: 12px;   left: 408px; }
.orbit-item--3 { top: 210px;  left: 490px; }
.orbit-item--4 { top: 408px;  left: 408px; }
.orbit-item--5 { top: 490px;  left: 210px; }
.orbit-item--6 { top: 408px;  left: 12px; }
.orbit-item--7 { top: 210px;  left: -70px; }
.orbit-item--8 { top: 12px;   left: 12px; }

/* ---- Satellite Thumbnails (now orbiting) ---- */
.radial-sat {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 6;
    border: 4px solid rgba(255, 59, 75, 0.35);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(255, 59, 75, 0.1);
    cursor: pointer;
    pointer-events: auto; /* Enable hover/click */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.4s ease;
    background-color: var(--bg-card);
}

.radial-sat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.radial-sat:hover {
    border-color: var(--primary-red);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.8),
        0 0 30px var(--glow-red-heavy);
    transform: scale(1.18);
}

.radial-sat:hover img {
    transform: scale(1.12);
}

/* Active Satellite Style matching current slide */
.radial-sat.active {
    border-color: var(--primary-red);
    box-shadow: 
        0 0 30px var(--glow-red-heavy), 
        0 0 15px var(--primary-red),
        0 15px 40px rgba(0, 0, 0, 0.8);
    transform: scale(1.12);
}

.radial-sat.active img {
    transform: scale(1.05);
}

.radial-sat.active:hover {
    transform: scale(1.22);
}


/* Scroll down mouse animation */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
}
.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.scroll-down span {
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--text-muted);
    border-right: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scrollScroll 2s infinite;
}
.scroll-down span:nth-child(2) {
    animation-delay: 0.2s;
}

/* -------------------------------------------------------------
   ABOUT US SECTION
------------------------------------------------------------- */
.about-section {
    background-color: var(--bg-section);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
    top: 10%;
    right: -50px;
    opacity: 0.2;
    pointer-events: none;
}

.about-text-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-pure);
    margin-bottom: 20px;
    line-height: 1.35;
}

.about-features {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 42, 58, 0.1);
    border: 1px solid rgba(255, 42, 58, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 42, 58, 0.05);
}

.feature-text h4 {
    color: var(--text-pure);
    font-family: var(--font-nav);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Creative image framing */
.about-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-border-glow {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.image-border-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 20px var(--primary-red);
}

.image-border-glow:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px var(--glow-red);
}

.image-border-glow:hover::before {
    opacity: 0.3;
}

.about-img {
    transition: var(--transition-slow);
}
.image-border-glow:hover .about-img {
    transform: scale(1.03);
}

/* -------------------------------------------------------------
   FEATURED DISHES SECTION
------------------------------------------------------------- */
.featured-section {
    background-color: var(--bg-main);
}

.featured-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.featured-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    padding: 20px 4px;
}

.featured-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.featured-scroll-inner {
    display: flex;
    gap: 30px;
    align-items: stretch; /* Stretch all cards to have the same height */
}

.featured-scroll-inner .dish-card {
    flex: 0 0 calc(25% - 22.5px); /* 4 items per viewport on desktop */
    min-width: 280px;
    scroll-snap-align: start;
}

/* Carousel Control Buttons */
.carousel-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 59, 75, 0.3);
    color: var(--text-pure);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.carousel-control-btn:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 0 15px var(--glow-red);
}

.carousel-control-btn.prev {
    left: -24px;
}

.carousel-control-btn.next {
    right: -24px;
}

.dish-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Height is set by flexbox stretch from the parent container */
    transition: var(--transition-normal);
}

.dish-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.dish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.dish-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-red);
    color: var(--text-pure);
    font-family: var(--font-nav);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.dish-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dish-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-gold);
    font-size: 13px;
    margin-bottom: 12px;
}
.dish-rating span {
    color: var(--text-muted);
    font-size: 12px;
    margin-left: 4px;
}

.dish-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-pure);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.dish-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.dish-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.btn-dish-order-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    background-color: rgba(255, 42, 58, 0.08);
    border: 1px solid rgba(255, 42, 58, 0.25);
    color: var(--primary-red);
    font-family: var(--font-nav);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
}

.btn-dish-order-full:hover {
    background-color: var(--primary-red);
    color: var(--text-pure);
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px var(--glow-red);
    transform: translateY(-2px);
}

/* Card Hover Animation */
.dish-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 30px var(--glow-red);
}

.dish-card:hover .dish-img {
    transform: scale(1.08);
}

/* -------------------------------------------------------------
   3D FLIPBOOK MENU
------------------------------------------------------------- */
.menu-section {
    background-color: var(--bg-section);
}

.book-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 0 auto;
    position: relative;
    width: 100%;
    max-width: 1350px; /* Expanded even more to fit larger book and avoid nav button overlap */
    min-height: 800px; /* Expanded height to fit 750px high book */
    padding: 0 24px;
    perspective: 2000px; /* Increased 3D depth perspective for larger size */
}

.book-cover {
    position: absolute;
    width: 1170px; /* 1120px open book + 50px margins */
    height: 790px; /* 750px pages + 40px margins */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1f1410 0%, #0d0806 100%); /* Rich deep mahogany leather cover */
    border: 5px solid #0d0806;
    border-radius: 16px;
    box-shadow: 
        0 30px 65px rgba(0, 0, 0, 0.95), /* Heavy realistic drop shadow */
        inset 0 0 50px rgba(0, 0, 0, 0.9), /* Leather texture shading */
        0 0 30px rgba(255, 59, 75, 0.1); /* Subtle theme glow behind binder */
    z-index: 1;
    overflow: hidden;
}

/* Inner gold/bronze stitching line inside the cover border */
.book-cover::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed rgba(163, 112, 76, 0.25); /* Luxury gold stitching */
    border-radius: 10px;
    pointer-events: none;
}

/* Vertical spine binder block in the center */
.book-cover-spine {
    position: absolute;
    width: 32px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #070403 0%, #150d0a 30%, #291b16 50%, #150d0a 70%, #070403 100%);
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    z-index: 2;
}

.book {
    position: absolute;
    width: 560px; /* Increased to fit even larger size */
    height: 750px; /* Increased to fit even larger size */
    z-index: 2; /* Placed on top of the cover background */
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform-origin: left center;
    left: 50%;
    top: calc(50% - 375px); /* Adjusted vertical centering (750 / 2 = 375) */
    /* Always open, centered on the spine */
    transform: translateX(0);
}

.book-page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.book-page.flipped {
    transform: rotateY(-180deg);
}

.page-front, .page-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.4);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-card);
}

.page-front {
    z-index: 2;
    border-radius: 0 8px 8px 0;
}

.page-back {
    z-index: 1;
    transform: rotateY(180deg);
    border-radius: 8px 0 0 8px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.4);
}

/* Spine shadow overlays for realistic crease */
.spine-shadow-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.spine-shadow-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Page Back/Next navigation buttons positioned absolutely at container edges */
.book-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(48, 48, 48, 0.9); /* Lightened nav button background */
    border: 1px solid var(--border-color);
    color: var(--text-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition-normal);
    z-index: 100; /* Overrides page stack */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.book-nav-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    box-shadow: 0 0 15px var(--glow-red-heavy);
    transform: translateY(-50%) scale(1.1); /* Prevents vertical centering desync on hover */
}

.menu-tip-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: -10px;
    font-style: italic;
}


/* Responsive scaling for book */
@media (max-width: 992px) {
    .book-container {
        transform: scale(0.8);
        min-height: 650px;
        margin-top: 20px;
    }
}
@media (max-width: 768px) {
    .book-container {
        transform: scale(0.6);
        min-height: 540px; /* Increased slightly to fit bottom buttons */
        margin-top: 0px;
    }
    .book-nav-btn {
        top: auto;
        bottom: -20px;
        transform: scale(1.3);
    }
    .prev-btn {
        left: calc(50% - 80px);
    }
    .next-btn {
        right: calc(50% - 80px);
    }
    .book-nav-btn:hover {
        transform: scale(1.4);
    }
}
@media (max-width: 500px) {
    .book-container {
        transform: scale(0.4);
        min-height: 380px; /* Increased to fit bottom buttons */
    }
    .book-nav-btn {
        bottom: -35px;
        transform: scale(1.8);
    }
    .prev-btn {
        left: calc(50% - 95px);
    }
    .next-btn {
        right: calc(50% - 95px);
    }
    .book-nav-btn:hover {
        transform: scale(2.0);
    }
}
@media (max-width: 380px) {
    .book-container {
        transform: scale(0.3);
        min-height: 310px; /* Increased to fit bottom buttons */
    }
    .book-nav-btn {
        bottom: -45px;
        transform: scale(2.2);
    }
    .prev-btn {
        left: calc(50% - 105px);
    }
    .next-btn {
        right: calc(50% - 105px);
    }
    .book-nav-btn:hover {
        transform: scale(2.4);
    }
}

/* Animations */
@keyframes pulseGlow {
    from {
        opacity: 0.6;
        text-shadow: 0 0 5px var(--primary-red);
    }
    to {
        opacity: 1;
        text-shadow: 0 0 15px var(--light-red);
    }
}

/* -------------------------------------------------------------
   TESTIMONIALS SECTION
------------------------------------------------------------- */
.testimonials-section {
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    opacity: 0.18;
    pointer-events: none;
}

/* Reviews Collage Grid Layout */
.reviews-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 30px;
    padding: 40px 0 65px 0;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.review-image-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                z-index 0.1s ease;
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.review-image-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Messy / staggered layout using nth-child */
.review-image-card:nth-child(1) {
    transform: rotate(-4.5deg) translateY(-20px) translateX(-6px);
}
.review-image-card:nth-child(2) {
    transform: rotate(3deg) translateY(15px) translateX(8px);
}
.review-image-card:nth-child(3) {
    transform: rotate(-2.5deg) translateY(-10px) translateX(-12px);
}
.review-image-card:nth-child(4) {
    transform: rotate(5deg) translateY(-25px) translateX(6px);
}
.review-image-card:nth-child(5) {
    transform: rotate(-3.5deg) translateY(18px) translateX(-8px);
}
.review-image-card:nth-child(6) {
    transform: rotate(2.5deg) translateY(-12px) translateX(10px);
}
.review-image-card:nth-child(7) {
    transform: rotate(-5deg) translateY(22px) translateX(-4px);
}
.review-image-card:nth-child(8) {
    transform: rotate(4deg) translateY(-18px) translateX(8px);
}

/* Hover effects */
.review-image-card:hover {
    transform: scale(1.05) rotate(0deg) translateY(0) !important;
    z-index: 5;
    box-shadow: 0 15px 35px rgba(255, 59, 75, 0.3);
}

/* Responsive styles for reviews collage */
@media (max-width: 1024px) {
    .reviews-collage {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }
}

@media (max-width: 576px) {
    .reviews-collage {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px 0;
    }
    
    .review-image-card {
        max-width: 340px;
        margin: 0 auto;
    }
    
    /* Reduce translation and rotation on mobile for better reading */
    .review-image-card:nth-child(n) {
        transform: rotate(0deg) translateY(0);
    }
    .review-image-card:nth-child(odd) {
        transform: rotate(-1deg) translateY(2px);
    }
    .review-image-card:nth-child(even) {
        transform: rotate(1deg) translateY(-2px);
    }
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    position: relative;
    transition: var(--transition-normal);
}

.review-quote {
    font-size: 38px;
    color: var(--primary-red);
    opacity: 0.15;
    position: absolute;
    top: 25px;
    left: 30px;
}

.review-text {
    font-size: 15px;
    color: var(--text-body);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.user-avatar-initial {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--text-pure);
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--glow-red);
}

.user-info .user-name {
    color: var(--text-pure);
    font-family: var(--font-nav);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.user-info .user-role {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.user-stars {
    color: var(--text-gold);
    font-size: 11px;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 25px var(--glow-red);
}

/* -------------------------------------------------------------
   CONTACT & RESERVATION SECTION
------------------------------------------------------------- */
.contact-section {
    background-color: var(--bg-section);
    position: relative;
}

.contact-info-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 4px;
    background-color: rgba(255, 42, 58, 0.08);
    border: 1px solid rgba(255, 42, 58, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--text-pure);
    font-family: var(--font-nav);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Styled Map */
.map-placeholder {
    margin-top: 40px;
    height: 280px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background-color: var(--bg-section);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition-normal);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(10%) invert(90%) hue-rotate(180deg);
    transition: filter 0.5s ease;
}

.map-placeholder:hover iframe {
    filter: none;
}

.map-placeholder:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px var(--glow-red-heavy);
}

/* Reservation Form Card */
.reservation-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.05), 0 0 30px rgba(184, 151, 90, 0.04);
    position: relative;
    overflow: hidden;
}

.reservation-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-red), var(--secondary-red));
}

.form-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-pure);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-nav);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-body);
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 4px;
    color: var(--primary-red);
    opacity: 0.8;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-pure);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text-pure);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 8px var(--glow-red);
    background-color: var(--bg-card);
}

/* Form date and time styles for dark theme */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
    filter: invert(1); /* Đổi màu icon lịch/đồng hồ sang màu trắng để nổi bật trên nền tối */
    transition: var(--transition-fast);
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* -------------------------------------------------------------
   FOOTER SECTION
------------------------------------------------------------- */
.footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

.footer-grid {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 50px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    font-size: 14px;
    transition: var(--transition-normal);
}

.social-links a:hover {
    border-color: var(--primary-red);
    background-color: var(--primary-red);
    color: var(--text-on-accent);
    box-shadow: 0 0 12px var(--glow-red-heavy);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-nav);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-pure);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--text-muted);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-menu a i {
    font-size: 10px;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--primary-red);
}

.footer-menu a:hover i {
    opacity: 1;
    transform: translateX(4px);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* -------------------------------------------------------------
   SUCCESS TOAST SYSTEM
------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: -450px; /* Hidden by default */
    z-index: 1100;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
    width: 90%;
}

.toast-container.active {
    right: 30px;
}

.toast-card {
    background-color: var(--bg-card);
    border: 1px solid var(--primary-red);
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--glow-red);
    display: flex;
    gap: 16px;
    position: relative;
}

.toast-icon {
    font-size: 28px;
    color: var(--primary-red);
    filter: drop-shadow(0 0 5px var(--primary-red));
}

.toast-message h4 {
    color: var(--text-pure);
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.toast-message p {
    font-size: 13px;
    color: var(--text-body);
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.toast-close:hover {
    color: var(--primary-red);
}

/* -------------------------------------------------------------
   KEYFRAME ANIMATIONS
------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollScroll {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(10px, 10px);
        opacity: 0;
    }
}

@keyframes redPulse {
    from {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--primary-red));
    }
    to {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px var(--light-red));
    }
}

@keyframes radarSweep {
    0% {
        transform: translate(-10%, -10%) rotate(0deg);
    }
    100% {
        transform: translate(-10%, -10%) rotate(360deg);
    }
}

/* Hero Radial Showcase Animations */
@keyframes orbit {
    0% {
        transform: var(--radial-translate) rotate(0deg);
    }
    100% {
        transform: var(--radial-translate) rotate(360deg);
    }
}

@keyframes counter-orbit {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes arcPulse {
    0% {
        transform: var(--radial-translate) scale(0.97);
        opacity: 0.6;
    }
    100% {
        transform: var(--radial-translate) scale(1.03);
        opacity: 0.95;
    }
}

@keyframes glowBreath {
    0% {
        transform: var(--radial-translate) scale(0.92);
        opacity: 0.12;
    }
    100% {
        transform: var(--radial-translate) scale(1.08);
        opacity: 0.28;
    }
}

@keyframes ring2Anim {
    0% {
        transform: var(--radial-translate) rotate(0deg) scale(0.98);
        opacity: 0.5;
    }
    50% {
        transform: var(--radial-translate) rotate(-180deg) scale(1.02);
        opacity: 0.8;
    }
    100% {
        transform: var(--radial-translate) rotate(-360deg) scale(0.98);
        opacity: 0.5;
    }
}

@keyframes ring3Anim {
    0% {
        transform: var(--radial-translate) rotate(0deg) scale(1.02);
        opacity: 0.4;
    }
    50% {
        transform: var(--radial-translate) rotate(180deg) scale(0.98);
        opacity: 0.7;
    }
    100% {
        transform: var(--radial-translate) rotate(360deg) scale(1.02);
        opacity: 0.4;
    }
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
------------------------------------------------------------- */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-scroll-inner .dish-card {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .carousel-control-btn.prev {
        left: -10px;
    }
    
    .carousel-control-btn.next {
        right: -10px;
    }
    
    /* Scale orbit system down on tablet */
    .hero-radial {
        transform: scale(0.82);
        transform-origin: center center;
        margin-top: -50px;
        margin-bottom: -50px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --radial-translate: translate(50%, -50%);
        --logo-translate: translate(50%, -50%);
    }
    
    .section-padding {
        padding: 70px 0;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 34px;
    }

    .section-title-left {
        font-size: 30px;
        text-align: center;
    }
    .divider-left {
        margin: 0 auto 25px auto;
        background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
        width: 80px;
    }
    
    .featured-scroll-inner .dish-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .carousel-control-btn {
        display: none;
    }
    .contact-details .paragraph {
        text-align: center;
    }

    /* Mobile hamburger navigation */
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-card);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px 30px;
        gap: 20px;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
        z-index: 999;
        flex: none; /* Reset desktop flex */
        margin-left: 0; /* Reset desktop margin */
        overflow-y: auto; /* Allow scrolling if screen is short/landscape */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 15px;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .nav-link::after {
        display: none;
    }

    .btn-nav-book {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }

    /* Hero section alignments & Rotating Showcase overrides */
    .hero-section {
        overflow: hidden;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
        padding: 20px 0 60px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .hero-description {
        font-size: 15px;
        margin: 0 auto 30px auto;
    }

    .hero-radial {
        height: 420px;
        margin: 0 auto;
        /* Scale the entire orbit system down — keeps all alignment intact */
        transform-origin: center center;
        transform: scale(0.68);
        margin-top: -60px;
        margin-bottom: -60px;
    }

    /* Center the orbit components on mobile */
    .hero-radial .radial-ring, 
    .hero-radial .radial-glow, 
    .hero-radial .radial-center-logo, 
    .hero-radial .orbit-container {
        right: 50% !important;
    }

    /* Update logo translate for mobile centering */
    .radial-center-logo {
        transform: var(--logo-translate) !important;
    }

    /* Menu layout */
    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-item-name {
        font-size: 17px;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reservation-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    .menu-tab-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .featured-scroll-inner .dish-card {
        flex: 0 0 85%;
    }
    .featured-scroll-inner {
        gap: 20px;
    }
    .featured-scroll-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Native-like bottom success toast on mobile */
    .toast-container {
        left: 5% !important;
        right: auto !important;
        bottom: 20px !important;
        width: 90% !important;
        transform: translateY(150px);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .toast-container.active {
        transform: translateY(0);
        left: 5% !important;
        right: auto !important;
    }
}

/* -------------------------------------------------------------
   MOBILE MENU GALLERY, LIGHTBOX, BACKDROP STYLES
   (Added for responsive enhancements)
------------------------------------------------------------- */

/* Page Zoom Button for Desktop */
.page-zoom-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(29, 29, 29, 0.9);
    border: 1px solid rgba(255, 59, 75, 0.3);
    color: var(--text-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    opacity: 0;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-front:hover .page-zoom-btn,
.page-back:hover .page-zoom-btn {
    opacity: 1;
}

.page-zoom-btn:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 0 15px var(--glow-red-heavy);
    transform: scale(1.1);
}

/* Adjust position for left page back side */
.page-back .page-zoom-btn {
    right: auto;
    left: 20px; /* Put zoom button on the outer left edge for flipped pages */
}

/* Navigation Backdrop */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998; /* Just behind active mobile nav-links (999) */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Menu Gallery (slider) */
.mobile-menu-gallery {
    display: none; /* Hidden on desktop */
    width: 100%;
    max-width: 450px;
    margin: 30px auto 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 5;
}

.mobile-menu-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    gap: 15px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
}

.mobile-menu-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.mobile-menu-page {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 560/750; /* Matches desktop page aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--bg-card);
    transition: transform 0.2s ease;
}

.mobile-menu-page:hover {
    transform: scale(1.01);
}

.mobile-menu-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-menu-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    box-shadow: 0 0 15px var(--glow-red-heavy);
    transform: scale(1.1);
}

#mobile-menu-counter {
    font-size: 14px;
    color: var(--text-body);
    font-family: var(--font-nav);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Menu Lightbox Zoom Modal */
.menu-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.menu-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border-color);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 45px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2002;
    transition: var(--transition-fast);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-pure);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 2001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-nav:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-pure);
    box-shadow: 0 0 20px var(--glow-red-heavy);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
    color: var(--text-muted);
    font-family: var(--font-nav);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Hide 3D Book on Mobile and Show Slider instead */
@media (max-width: 768px) {
    .menu-section .book-container {
        display: none !important;
    }
    .mobile-menu-gallery {
        display: block;
    }
    
    .lightbox-nav {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    .lightbox-nav.prev {
        left: 15px;
    }
    .lightbox-nav.next {
        right: 15px;
    }
}
