@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Oswald:wght@400;600;700&family=Bowlby+One+SC&display=swap');

:root {
    --color-primary: #602834;       /* Deep Crimson Maroon */
    --color-primary-rgb: 96, 40, 52;
    --color-primary-light: #7A1C2E;
    --color-primary-dark: #481D26;
    
    --color-secondary: #C59B27;     /* Liquid Royal Gold */
    --color-secondary-rgb: 197, 155, 39;
    --color-secondary-light: #E5B842;
    --color-secondary-dark: #A37E1E;
    
    --color-accent: #D4AF37;        /* Brilliant Gold */
    --color-accent-rgb: 212, 175, 55;
    
    --color-bg: #FDFBF7;            /* Warm Royal Cream */
    --color-bg-alt: #F8F5EE;        /* Soft Pearl */
    --color-card: #FFFFFF;          /* Crisp Snow Alabaster */
    --color-card-border: rgba(197, 155, 39, 0.22); /* Liquid Gold Hairline Border */
    --color-text: #1E1B18;          /* Espresso Charcoal */
    --color-text-muted: #55504A;    /* Warm Charcoal Grey */
    --color-cream-dark: #EAE5D8;
    
    --font-headings: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    --font-prices: 'Oswald', sans-serif;
    
    --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Variables */
html.dark-theme, body.dark-theme {
    --color-primary: #D4AF37;       /* Royal Brilliant Gold as Primary */
    --color-primary-rgb: 212, 175, 55;
    --color-primary-light: #FFE082; /* Muted amber gold */
    --color-primary-dark: #A37E1E;
    
    --color-secondary: #C59B27;     /* Royal Gold */
    --color-secondary-rgb: 197, 155, 39;
    --color-secondary-light: #E5B842;
    --color-secondary-dark: #8A6811;
    
    --color-accent: #FFE082;        /* Bright Amber Gold */
    --color-accent-rgb: 255, 224, 130;
    
    --color-bg: #0F0E0C;            /* Luxury Charcoal Black */
    --color-bg-alt: #161513;        /* Secondary Dark Charcoal */
    --color-card: #1C1916;          /* Dark card body */
    --color-card-border: rgba(197, 155, 39, 0.18);
    --color-text: #F8F5EE;          /* Creamy white text */
    --color-text-muted: #A8A397;    /* Muted warm grey */
    --color-cream-dark: #221F1C;    /* Dark cream alternative border */
}

/* Smooth transitions for theme changes on key structural elements */
body, section, nav, footer, div.card, .gallery-item, .dish-grid-card, .btn-gold-pill, .btn-tab-filter, input, select, textarea, .nav-dropdown-content, #mobile-drawer, #flipbook-wrapper {
    transition: background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                color 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Keyframe Reveal Animations */
@keyframes revealLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-left {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal-right {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal-left.animated {
    animation: revealLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-right.animated {
    animation: revealRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Reset & Scroll settings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-secondary) var(--color-bg-alt);
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: auto; /* Managed by Lenis scroll engine */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

::selection {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--color-text);
    letter-spacing: 0.06em;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #FFE082 0%, #C59B27 50%, #8A6811 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-maroon-gradient {
    background: linear-gradient(135deg, #7A1C2E 0%, #602834 60%, #481D26 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Noise & Radial gradients overlays */
.noise-overlay {
    display: none;
}

.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FDFBF7; /* Pure clean background with no radial shades/gradients */
    z-index: -10;
    pointer-events: none;
}

/* Liquid preloader styles */
.preloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 1s ease;
}

.preloader-logo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 25px;
}

.preloader-logo-bg {
    width: 100%;
    height: 100%;
    background: url('../assets/logo.png') no-repeat center/contain;
    opacity: 0.18;
    filter: grayscale(100%) brightness(0.7);
    will-change: transform;
    transition: all 0.3s ease;
}

/* Preloader Logo Base Layer (Gray + Low Opacity) */
.preloader-logo-base {
    filter: grayscale(100%) brightness(0.7); /* லோகோவை Gray நிறமாக மாற்றும் */
    opacity: 0.18;                          /* Opacity-ஐக் குறைத்து லேசாகக் காட்டும் */
    transition: all 0.3s ease;
}



.preloader-progress-bar {
    width: 160px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.preloader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FFE082, #F5D688);
    transition: width 0.1s linear;
}

.preloader-text {
    margin-top: 15px;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #55504a;
    font-weight: 600;
}

/* Glassmorphism & Micro-Surfaces styling */
.glass-panel {
    background: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-card-border);
}

.luxury-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    box-shadow: 0 10px 30px rgba(96, 40, 52, 0.02), 0 1px 3px rgba(197, 155, 39, 0.03);
    transition: var(--transition-premium);
    will-change: transform, opacity;
}

.luxury-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(96, 40, 52, 0.06), 0 0 25px rgba(197, 155, 39, 0.12);
}

/* Floating custom badges */
.badge-swiggy {
    background-color: #FC8019;
    color: #FFFFFF !important;
    font-family: var(--font-headings);
    border: 1px solid rgba(252, 128, 25, 0.3);
}

.badge-zomato {
    background-color: #E23744;
    color: #FFFFFF !important;
    font-family: var(--font-headings);
    border: 1px solid rgba(226, 55, 68, 0.3);
}

/* Interactive Dropdowns */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 10px 30px rgba(96, 40, 52, 0.08);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    min-width: 180px;
    overflow: hidden;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: flex;
}

/* Buttons System */
.btn-gold-pill {
    position: relative;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #A37E1E 100%);
    color: #FFFFFF !important;
    font-family: var(--font-headings);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-premium);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-gold-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 155, 39, 0.35);
    border-color: var(--color-accent);
}

.btn-maroon-pill {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, #481D26 100%);
    color: #FFFFFF !important;
    font-family: var(--font-headings);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(197, 155, 39, 0.2);
    transition: var(--transition-premium);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(96, 40, 52, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-maroon-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 40, 52, 0.3);
    border-color: var(--color-accent);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-primary) !important;
    font-family: var(--font-headings);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1.5px solid var(--color-secondary);
    transition: var(--transition-premium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background: rgba(197, 155, 39, 0.08);
    transform: translateY(-2px);
}

/* Active Nav Links */
.nav-link.active {
    color: var(--color-primary) !important;
}
.nav-link.active::after {
    width: 100% !important;
}

/* 3D Perspective Card elements */
.luxury-card-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

/* Dual Reveal headings line styling */
.heading-line-reveal {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.heading-line-reveal::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(96, 40, 52, 0.16);
}

.heading-line-reveal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 35%;
    width: 30%;
    height: 2.5px;
    background: var(--color-secondary);
    transition: var(--transition-premium);
}

.scroll-reveal:hover .heading-line-reveal::after {
    left: 10%;
    width: 80%;
}

/* Animations Keyframes */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(1.5deg); }
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes steamFloat {
    0% { transform: translateY(0) scaleX(1); opacity: 0; }
    15% { opacity: 0.25; }
    50% { transform: translateY(-30px) scaleX(1.2); opacity: 0.15; filter: blur(1.5px); }
    100% { transform: translateY(-60px) scaleX(1.5); opacity: 0; filter: blur(3px); }
}

@keyframes royalGlow {
    0%, 100% { opacity: 0.45; transform: scale(0.95); }
    50% { opacity: 0.8; transform: scale(1.04); }
}

@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.animate-float {
    animation: heroFloat 6s ease-in-out infinite;
}

.animate-float-hero {
    animation: heroFloat 6s ease-in-out infinite;
}

.animate-spin-slow {
    animation: rotateRing 28s linear infinite;
}

.animate-rotate-ring {
    animation: rotateRing 25s linear infinite;
}

.animated-glow-aura {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 155, 39, 0.18) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: royalGlow 8s ease-in-out infinite;
}

/* Steam particle structure */
.steam-container {
    position: absolute;
    top: 5%;
    left: 20%;
    width: 60%;
    height: 40%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.75;
}

.steam-vapor {
    position: absolute;
    bottom: 10%;
    width: 2px;
    height: 30px;
    background: linear-gradient(to top, transparent, rgba(197, 155, 39, 0.25), transparent);
    opacity: 0;
    filter: blur(1px);
}
.steam-vapor:nth-child(1) { left: 33%; animation: steamFloat 3.8s infinite 0.3s; }
.steam-vapor:nth-child(2) { left: 52%; animation: steamFloat 3.2s infinite 1.2s; }
.steam-vapor:nth-child(3) { left: 71%; animation: steamFloat 4.2s infinite 0s; }

/* Image scaling transition */
.menu-card-img-container {
    position: relative;
    overflow: hidden;
}

.menu-card-img-container img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover .menu-card-img-container img {
    transform: scale(1.08) rotate(1deg);
}

/* Lightbox Modal overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 27, 24, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    border: 1px solid var(--color-secondary);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #FFFFFF;
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition-premium);
}

.lightbox-close:hover {
    color: var(--color-secondary);
    transform: rotate(90deg);
}

/* Timeline trackers */
.timeline-track {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(197, 155, 39, 0.2);
}

.timeline-step {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-indicator {
    position: absolute;
    left: calc(-2rem - 9px);
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-secondary);
    box-shadow: 0 0 10px rgba(197, 155, 39, 0.4);
    transition: var(--transition-premium);
}

.timeline-step:hover .timeline-indicator {
    background: var(--color-secondary);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(197, 155, 39, 0.7);
}

/* Chat Assistant panel */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-trigger {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #481D26 100%);
    border: 1.5px solid var(--color-secondary);
    box-shadow: 0 8px 30px rgba(96, 40, 52, 0.3), 0 0 10px rgba(197, 155, 39, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFFFFF;
    transition: var(--transition-premium);
    animation: heroFloat 4s ease-in-out infinite;
}

.chat-trigger:hover {
    transform: scale(1.08) rotate(5deg);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    height: 460px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.85);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: var(--transition-premium);
    background: #FFFFFF;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 15px 45px rgba(96, 40, 52, 0.15);
}

.chat-window.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #481D26 100%);
    border-bottom: 1px solid var(--color-secondary);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #FDFBF7;
}

.chat-msg {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.4;
}

.chat-msg.bot {
    background: #FFFFFF;
    border: 1px solid rgba(197, 155, 39, 0.12);
    color: var(--color-text);
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.chat-msg.user {
    background: var(--color-primary);
    color: #FFFFFF;
    align-self: flex-end;
    border-top-right-radius: 2px;
    border: 1px solid rgba(197, 155, 39, 0.2);
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.chat-opt-btn {
    background: rgba(197, 155, 39, 0.05);
    border: 1px solid rgba(197, 155, 39, 0.2);
    color: var(--color-primary);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.76rem;
    cursor: pointer;
    transition: var(--transition-premium);
    font-weight: 500;
}

.chat-opt-btn:hover {
    background: var(--color-secondary);
    color: #FFFFFF;
}

#spice-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -5;
    pointer-events: none;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
    cursor: pointer;
    transition: var(--transition-premium);
    animation: heroFloat 5s ease-in-out infinite 0.5s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08) rotate(-10deg);
    background-color: #20ba5a;
}

/* Luxury ticker marquee */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
    border-top: 1px solid rgba(197, 155, 39, 0.18);
    border-bottom: 1px solid rgba(197, 155, 39, 0.18);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(96, 40, 52, 0.02);
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 2.5rem;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
}

.ticker-item::after {
    content: "✦";
    margin-left: 2.5rem;
    color: var(--color-secondary);
}

/* Dynamic Spice meters */
.spice-meter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(96, 40, 52, 0.15);
    display: inline-block;
    margin-right: 4px;
}
.spice-meter-dot.active {
    background-color: #E74C3C;
    box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
}

.btn-tab-filter {
    background: transparent;
    border-bottom: 2px solid transparent;
    transition: var(--transition-premium);
}
.btn-tab-filter.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-secondary);
    font-weight: 700;
}

/* Ken Burns Crossfade Background Slider */
.hero-bg-slider {
    position: absolute;
    top: 68px; /* Offset for mobile navbar */
    left: 0;
    width: 100%;
    height: calc(100% - 68px);
    z-index: 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-bg-slider {
        top: 80px; /* Offset for desktop navbar */
        height: calc(100% - 80px);
    }
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    transform: scale(1.05);
    will-change: transform, opacity;
}

.hero-bg-slide.active {
    opacity: 1.0;
    animation: kenBurnsZoom 18s infinite alternate ease-in-out;
}

/* Dynamic Dark overlay over background image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 14, 12, 0.85) 0%, rgba(15, 14, 12, 0.4) 60%, rgba(15, 14, 12, 0.1) 100%);
    z-index: 5;
    transition: background-color 0.5s ease;
    pointer-events: none;
}

body.dark-theme .hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.2) 100%);
}

@media (max-width: 1023px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(15, 14, 12, 0.85) 0%, rgba(15, 14, 12, 0.55) 50%, rgba(15, 14, 12, 0.85) 100%) !important;
    }
    body.dark-theme .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%) !important;
    }
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.18); }
}

#navbar-header {
    background: linear-gradient(to right, rgba(113, 18, 10, 0.96), rgba(224, 19, 0, 0.96)) !important;
    border-bottom-color: transparent;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar-header.scrolled {
    background: linear-gradient(to right, rgba(113, 18, 10, 0.96), rgba(224, 19, 0, 0.96)) !important;
    border-bottom-color: rgba(197, 155, 39, 0.25) !important;
}

/* Infinite Reviews Marquee Scroll */
.reviews-marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.reviews-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: reviewsMarqueeScroll 45s linear infinite;
}

/* Pause scroll on hover */
.reviews-marquee-container:hover .reviews-marquee-track {
    animation-play-state: paused;
}

@keyframes reviewsMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.reviews-marquee-card {
    width: 380px;
    flex-shrink: 0;
    transition: var(--transition-premium);
}

/* Mobile adjustments for reviews and videos */
@media (max-width: 767px) {
    .scrollbar-none::-webkit-scrollbar {
        display: none;
    }
    .scrollbar-none {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .reviews-marquee-card {
        width: 300px;
    }
}

/* ==========================================
   3D FLIPBOOK INTERACTIVE MENU
   ========================================== */
#flipbook-wrapper {
    perspective: 2200px;
    background: #110e0c; /* dark luxury leather color backing */
    box-shadow: 0 30px 70px rgba(26, 12, 16, 0.35);
    transition: all 0.5s ease;
}

#flipbook {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    position: relative;
}

.book-sheet {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 5;
    pointer-events: none; /* enable events only on active sheet pages */
}

/* Enable pointer events only on sheet pages */
.book-sheet .book-page {
    pointer-events: auto;
}

.book-page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    box-sizing: border-box;
}

.front-page {
    z-index: 2;
    transform: rotateY(0deg);
}

.back-page {
    z-index: 1;
    transform: rotateY(180deg);
}

/* Left side pages shadow and curve gradient overlay */
.book-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.12) 0%, transparent 8%, transparent 92%, rgba(0,0,0,0.08) 100%);
    pointer-events: none;
    z-index: 10;
}

.back-page::after {
    background: linear-gradient(to left, rgba(0,0,0,0.12) 0%, transparent 8%, transparent 92%, rgba(0,0,0,0.08) 100%);
}

/* Mobile responsive slider behavior */
@media (max-width: 767px) {
    .book-spine-line, .book-spine-shadow, #flipbook {
        display: none !important;
    }
    #flipbook-mobile-slider {
        display: block !important;
    }
    #flipbook-wrapper {
        aspect-ratio: 3/4.2 !important; /* vertical page aspect ratio */
        max-width: 420px !important;
        background: #eae5d8 !important;
        border-color: #C59B27 !important;
    }
}

.book-cover-board {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    background: linear-gradient(135deg, #2D0B12 0%, #150205 100%);
    border: 3px double rgba(197, 155, 39, 0.4);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Behind sheets */
    padding: 20px;
    text-align: center;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.6);
}

.book-cover-board-left {
    left: 0;
    border-radius: 12px 0 0 12px;
    border-right: none;
}

.book-cover-board-right {
    right: 0;
    border-radius: 0 12px 12px 0;
    border-left: none;
}

/* Mobile Drawer Overlay and Links Styling */
#mobile-drawer {
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#mobile-drawer.active {
    transform: translateX(0) !important;
}

.mobile-drawer-link {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
    color: var(--color-secondary) !important;
    padding-left: 8px;
    border-bottom-color: var(--color-secondary);
}

/* Global Mobile Navigation Hamburger Button */
#menu-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#menu-hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFE082;
}

#menu-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #FFE082; /* Glistening Gold lines for maximum contrast */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}