/* 
  Splendor Resort & Restaurant - Premium CSS 
  Mobile-first, Responsive, and Animated
*/

:root {
    /* Color Palette - Updated to match Logo (Emerald/Dark Green & Gold) */
    --primary: #0a4d3c; /* Deeper, more sophisticated Emerald */
    --primary-light: #126e57;
    --accent: #c5a028; /* Slightly more muted, elegant Gold */
    --accent-light: #e5c158;
    --secondary: #121212; /* Richer Black */
    --white: #ffffff;
    --cream: #f9fbf9; /* Lighter, cleaner cream */
    --light-gray: #f0f2f0;
    --dark-gray: #2c2c2c;
    --text-muted: #666666;
    --overlay: rgba(0, 0, 0, 0.5);
    --glass: rgba(255, 255, 255, 0.85);
    
    /* Typography — unified font stack for all scripts */
    --font-unified: 'Vrdznagir', 'Playfair Display', serif;
    --font-heading: 'Vrdznagir', 'Playfair Display', serif;
    --font-body:    'Vrdznagir', 'Playfair Display', serif;
    --font-menu:    'Vrdznagir', 'Playfair Display', serif;
    --font-hero:    'Vrdznagir', 'Playfair Display', serif;
    --font-vrdznagir: 'Vrdznagir', 'Playfair Display', serif;
    
    /* Spacing */
    --padding-mobile: clamp(1.5rem, 5vw, 4rem);
    --section-padding: clamp(80px, 12vh, 140px) 0;
    --container-width: 1300px;
    
    /* Transitions */
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Preloader - Sliding Panels Emerald */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    overflow: hidden;
    pointer-events: none;
}

.preloader-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: var(--primary);
    will-change: transform;
}

.preloader-left  { left: 0; }
.preloader-right { right: 0; }

.preloader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.preloader-text {
    font-family: 'Vrdznagir', 'Playfair Display', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    display: block;
    letter-spacing: 0.12em;
    will-change: transform, opacity;
}

body.loaded .preloader-logo {
    opacity: 0;
    transition: opacity 0.15s ease;
}

body.loaded #preloader .preloader-left {
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1) 0.05s;
}

body.loaded #preloader .preloader-right {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1) 0.05s;
}

body.loaded #preloader {
    visibility: hidden;
    transition: visibility 0s 0.5s;
}

/* Hover Animations - Border Reveal Gold */
.offering-card, .menu-item, .timeline-content, .faq-item, .contact-info, .contact-map {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.offering-card:hover, .menu-item:hover, .timeline-content:hover, .faq-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* Specific Border Reveal for Cards */
.offering-card::before, .menu-item::before, .timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.4s ease;
}

.offering-card:hover::before, .menu-item:hover::before, .timeline-content:hover::before {
    width: 100%;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overscroll-behavior: none;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 1.5rem; font-weight: 700; }
h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 600; }

p {
    margin-bottom: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-weight: 400;
    letter-spacing: 0.01em;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section.bg-light {
    background-color: var(--cream);
}

.wave-bg {
    position: relative;
    overflow: hidden;
}

.wave-bg .waves-canvas {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.wave-bg > * {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 25px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--accent);
}

.section-header p {
    font-family: var(--font-menu);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    font-size: 0.85rem;
    min-width: 44px;
    min-height: 44px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 77, 60, 0.2);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.4rem;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 77, 60, 0.2);
}


.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.mobile-lang-switcher { display: none; }

/* Header & Navigation — transparent overlay */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* gradient so nav text stays readable over any hero image */
header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.52) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s ease;
}

header.scrolled::before {
    opacity: 0;
}

header.scrolled {
    background: rgba(15, 30, 17, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* container override — keep max-width so content stays centered */
header .container {
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border-radius: 0;
    height: 80px;
    padding: 0 1.5rem;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    gap: 1px;
}

a.brand-wordmark {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
    display: block;
    transition: color 0.3s ease;
}

.brand-sub {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.7);
    text-transform: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

a.brand-wordmark:hover,
a.brand-wordmark:hover .brand-sub {
    color: var(--accent-light);
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    height: 36px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 10px rgba(197,160,40,0.35);
    line-height: 1;
}

.header-cta-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(197,160,40,0.5);
}

.desktop-nav ul {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.desktop-nav a {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

header.scrolled .desktop-nav a {
    color: rgba(255,255,255,0.85);
}

.desktop-nav a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.lang-switcher {
    display: flex;
    gap: 0.3rem;
    padding: 3px;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.25);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    padding: 3px 10px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease;
    line-height: 1;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: var(--accent);
    color: #0a0a0a;
}

.desktop-nav a {
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.desktop-nav a.active {
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    text-align: left;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.spyur.am/images/additional_info_0/3468/3468_9.jpg?_=1772970613');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 0 0 clamp(1.5rem, 7vw, 6rem);
    background: none;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    text-align: left;
}

.hero-content h1 {
    font-family: 'Vrdznagir', 'Playfair Display', serif;
    font-weight: 400;
    font-size: clamp(3rem, 7.5vw, 7.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.6rem;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Eyebrow "SPLENDOR RESORT" span — small uppercase above headline */
.hero-content h1 span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.13em;
    text-transform: uppercase;
    letter-spacing: 0.45em;
    font-weight: 600;
    margin-bottom: 0.9em;
    color: var(--accent-light);
    opacity: 0.9;
}

/* Italic accent on last word */
.hero-content h1 .hero-accent {
    font-style: italic;
    font-weight: 300;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: clamp(0.6rem, 1.1vw, 0.72rem);
    margin-bottom: 2.4rem;
    max-width: 380px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.75;
    line-height: 1.9;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Light frosted pill CTA for hero */
.hero-ctas .btn-secondary {
    background: rgba(247, 245, 240, 0.92);
    color: var(--secondary);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.4rem;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 600;
    font-family: var(--font-body);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-ctas .btn-secondary:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    background: #fff;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .hero {
        justify-content: flex-start;
    }
    .hero-content {
        padding: 0 0 0 clamp(1.25rem, 5vw, 2.5rem);
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: clamp(2.6rem, 11vw, 4.5rem);
    }
    .hero-content h1 span {
        font-size: 0.12em;
        letter-spacing: 0.35em;
    }
    .hero-content p {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
        margin-bottom: 2rem;
    }
    .hero-rays {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-left: 1.25rem;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--accent);
    border: 4px solid var(--white);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

.timeline-content {
    padding: 40px;
    background-color: var(--white);
    position: relative;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
}

.timeline-content h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.timeline-side-img {
    position: absolute;
    top: 20px;
    width: 400px;
    height: 250px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transition: var(--transition-slow);
    z-index: 0;
}

.timeline-item:nth-child(odd) .timeline-side-img {
    left: calc(100% + 20px);
}

.timeline-item:nth-child(even) .timeline-side-img {
    right: calc(100% + 20px);
}

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

.timeline-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.timeline-item:hover .timeline-side-img {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 40px 80px rgba(10, 77, 60, 0.15);
}

.timeline-item:hover .timeline-side-img img, .timeline-item:hover .timeline-side-img .timeline-video {
    transform: scale(1.15);
}

@media (max-width: 1200px) {
    .timeline-side-img {
        width: 150px;
        height: 120px;
    }
}

@media (max-width: 992px) {
    .timeline-side-img {
        display: none; /* Hide side images on tablet/mobile to avoid overlap */
    }
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 23px !important;
        right: auto;
    }
}

/* Offerings Grid */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offering-card {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--light-gray);
    transition: box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.4s ease;
    cursor: default;
}

.offering-card:hover {
    box-shadow: 0 35px 80px rgba(15,23,42,0.18), 0 0 0 1px rgba(197,160,40,0.18);
}

.offering-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.offering-card-body {
    padding: 24px 28px 30px;
    text-align: center;
}

.offering-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: rgba(10, 77, 60, 0.04);
    border: 1px solid rgba(10, 77, 60, 0.16);
    color: var(--primary);
}

.offering-badge i {
    font-size: 0.85rem;
}

.offering-card-text {
    margin-top: 16px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.offering-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: var(--primary);
    color: #fff;
    border: 1px solid transparent;
}

.offering-card-btn i {
    font-size: 0.85rem;
}

.offering-card-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}


.offering-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
}

.offering-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 50%;
    z-index: -1;
    top: -5px;
    right: -15px;
}

/* ── Menu Section — Split Layout ── */
.menu-section-split {
    overflow: hidden;
    position: relative;
}

.menu-split-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 760px;
}

.menu-split-content {
    padding: 80px 64px 80px 80px;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.menu-split-image {
    position: relative;
    overflow: hidden;
}

.menu-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.1s linear;
    transform-origin: center center;
}

.menu-split-title {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    line-height: 1.0;
    letter-spacing: 0.03em;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .menu-split-content {
        padding: 70px 48px 70px 60px;
    }
    .menu-split-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 1024px) {
    .menu-split-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .menu-split-content {
        padding: 60px 40px;
        overflow: visible;
    }
    .menu-split-title {
        font-size: 3.2rem;
    }
    .menu-split-image {
        height: 480px;
        order: -1;
    }
    .menu-grid {
        overflow-y: visible;
        flex: none;
    }
}

@media (max-width: 768px) {
    .menu-split-content {
        padding: 50px 24px;
    }
    .menu-split-title {
        font-size: 2.6rem;
    }
    .menu-split-image {
        height: 360px;
    }
}

/* Legacy (unused now but kept for compatibility) */
.menu-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
    gap: 40px;
    align-items: stretch;
}

.menu-visual {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    background-color: #05020f;
    height: 600px;
}

.menu-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-panel {
    border-radius: 32px;
    padding: 30px 30px 26px;
    background:
        radial-gradient(circle at top left, rgba(197, 160, 40, 0.16), transparent 55%),
        radial-gradient(circle at bottom right, rgba(10, 77, 60, 0.16), transparent 60%);
    background-color: var(--cream);
    border: 1px solid rgba(240, 242, 240, 1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
    color: var(--secondary);
    height: 600px;
}

@media (max-width: 1024px) {
    .menu-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .menu-visual {
        height: 420px;
    }
    .menu-panel {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .menu-layout {
        gap: 20px;
    }
    .menu-visual {
        height: 380px;
        border-radius: 20px;
    }
    .menu-panel {
        padding: 24px 20px;
        border-radius: 20px;
        height: 380px;
    }
    .menu-panel-title {
        font-size: 1.4rem;
    }
}

.menu-panel-header {
    margin-bottom: 18px;
}

.menu-panel-overline {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.menu-panel-title {
    font-size: 1.9rem;
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.menu-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    padding: 6px;
    border-radius: 999px;
    background-color: rgba(197, 160, 40, 0.1);
    border: 1px solid rgba(197, 160, 40, 0.25);
}

.menu-tab-btn {
    padding: 9px 22px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .menu-tabs {
        gap: 8px;
        padding: 4px;
        margin-bottom: 2rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .menu-tab-btn {
        padding: 7px 14px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

.menu-tab-btn.active, .menu-tab-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    transform: translateY(-1px);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
    overflow: visible;
}

.menu-item {
    background: transparent;
    padding: 12px 4px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: none;
    overflow: visible;
}

@media (max-width: 768px) {
    .menu-item {
        padding: 10px 2px;
    }
    .menu-item h4 {
        font-size: 0.9rem !important;
    }
    .menu-item-price {
        font-size: 0.8rem;
    }
    .menu-item-desc {
        font-size: 0.75rem;
    }
    border: none;
    border-bottom: 1px solid rgba(51, 65, 85, 0.85);
    position: relative;
}

.menu-item:hover {
    transform: translateY(-1px);
    box-shadow: none;
    border-color: rgba(229, 193, 88, 0.7);
}

.menu-item-info {
    flex: 1;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.menu-item-header h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 1px;
}

.menu-item-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1rem;
    font-family: var(--font-body);
}

.menu-item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-family: var(--font-menu);
}

/* Reservation Section */
/* ── Scroll Snap ── */
html {
    scroll-snap-type: y proximity;
}

.snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* ── Offering Split Layout ── */
.offering-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    overflow: hidden;
}

.offering-split-image {
    overflow: hidden;
    position: relative;
}

.offering-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.offering-split:hover .offering-split-image img {
    transform: scale(1.04);
}

.offering-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 80px 72px;
    background: var(--cream);
}

.offering-split--reverse .offering-split-content {
    padding: 80px 72px 80px 80px;
    background: var(--secondary);
}

.offering-split--reverse .offering-split-content .offering-badge {
    background: rgba(197,160,40,0.15);
    border-color: rgba(197,160,40,0.4);
    color: var(--accent-light);
}

.offering-split--reverse .offering-split-content .offering-badge i {
    color: var(--accent-light);
}

.offering-split-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    line-height: 1.05;
    letter-spacing: 0.03em;
    font-weight: 400;
    color: var(--primary);
    margin: 20px 0 16px;
}

.offering-split--reverse .offering-split-title {
    color: var(--white);
}

.offering-split-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 440px;
}

.offering-split--reverse .offering-split-text {
    color: rgba(255,255,255,0.7);
}

@media (max-width: 1024px) {
    .offering-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    .offering-split-image {
        height: 50vh;
    }
    .offering-split-content {
        padding: 60px 40px;
    }
    .offering-split--reverse .offering-split-content {
        padding: 60px 40px;
    }
    .offering-split--reverse .offering-split-image {
        order: -1;
    }
    .offering-split-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .offering-split-image {
        height: 40vh;
    }
    .offering-split-content {
        padding: 48px 24px;
    }
    .offering-split--reverse .offering-split-content {
        padding: 48px 24px;
    }
    .offering-split-title {
        font-size: 2rem;
    }
}

/* ── Reservation Full Width ── */
.reservation-fullpage {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reservation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--white);
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.reservation-info {
    padding: 80px;
    background-image: linear-gradient(rgba(5, 4, 3, 0.93), rgba(5, 4, 3, 0.93)), url('https://www.spyur.am/images/additional_info_0/3468/3468_4.JPG?_=1772970613');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.reservation-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.reservation-info p {
    font-family: var(--font-menu);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .reservation-info {
        padding: 60px;
    }
    .reservation-info h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    .reservation-info p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .reservation-info {
        padding: 40px 24px;
    }
    .reservation-info h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    .reservation-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

.res-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.res-contact-item i {
    color: var(--accent-light);
    font-size: 1.4rem;
}

.reservation-form-container {
    padding: 60px 72px;
    background: #201c17;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .reservation-form-container {
        padding: 32px 24px;
    }
    background-color: var(--white);
    color: var(--dark-gray);
}

.reservation-form-header {
    margin-bottom: 24px;
}

.reservation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background-color: rgba(197,160,40,0.08);
    border: 1px solid rgba(197,160,40,0.3);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}

.reservation-badge i {
    font-size: 0.85rem;
}

.reservation-subcopy {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}

.reservation-photo {
    margin-top: 18px;
    margin-bottom: 28px;
    height: 170px;
    border-radius: 24px;
    background-image: url('images/600318286_852947377483927_1524664029694317867_n..jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

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

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.45);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    border-radius: 0;
    font-family: inherit;
    font-size: 1.1rem;
    transition: var(--transition);
    background: transparent;
    color: var(--white);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.25);
}

.form-group select option {
    background: #1a1612;
    color: var(--white);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.time-picker-24 {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.time-picker-24 select {
    width: auto !important;
    flex: 1;
}

.time-picker-sep {
    color: rgba(255,255,255,0.45);
    font-size: 1.1rem;
    line-height: 1;
    padding-bottom: 18px; /* align with select bottom border */
    flex: 0 0 auto;
}

/* Beauty modal (replaces JS alerts) */
.beauty-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.beauty-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.beauty-modal {
    width: min(640px, 100%);
    border-radius: 18px;
    background: rgba(18,18,18,0.92);
    border: 1px solid rgba(229,193,88,0.25);
    box-shadow: 0 26px 90px rgba(0,0,0,0.45);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.beauty-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(229,193,88,0.22), transparent 45%),
                radial-gradient(circle at 80% 100%, rgba(10,77,60,0.35), transparent 50%);
    pointer-events: none;
}

.beauty-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 1;
}

.beauty-modal-close:hover {
    transform: scale(1.05);
    background: rgba(0,0,0,0.35);
}

.beauty-modal-title {
    margin: 0;
    padding: 26px 56px 0 26px;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--accent-light);
    position: relative;
    z-index: 1;
}

.beauty-modal-message {
    margin: 12px 26px 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.beauty-modal-actions {
    position: relative;
    z-index: 1;
    padding: 22px 26px 26px;
    display: flex;
    justify-content: center;
}

/* Gallery - Auto Slider */
.gallery-slider-section {
    overflow: hidden;
    padding-bottom: 60px;
}

@keyframes gallery-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-scroll-container {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.gallery-scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: gallery-scroll 20s linear infinite;
}

.gallery-scroll-track:hover {
    animation-play-state: paused;
}

.gallery-slide-item {
    flex-shrink: 0;
    width: 280px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-slide-item:hover {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.gallery-slide-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-slide-item {
        width: 200px;
        height: 230px;
    }
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-map.aos-init,
.contact-map.aos-animate {
    opacity: 1 !important;
    transform: none !important;
}

.contact-map iframe {
    display: block;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-brand p {
    font-family: var(--font-menu);
    font-style: italic;
    font-size: 1.2rem;
    opacity: 0.7;
}

.footer-links h4 {
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--accent-light);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    opacity: 0.6;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-light);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-credit {
    text-transform: none;
    letter-spacing: 0;
    margin-top: 12px;
    font-size: 1.15rem; /* make credit line more prominent */
}

.footer-credit-link {
    color: var(--accent-light);
    font-weight: 700;
    text-decoration: none;
}

.footer-credit-link:hover {
    opacity: 0.95;
}

/* Mobile Menu Overlay — FOGG slide-from-right style */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: right 0.5s ease, opacity 0.5s ease;
}

.mobile-menu-overlay.active {
    right: 0;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.mobile-menu-close span {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.mobile-menu-close span:first-child { transform: rotate(45deg); }
.mobile-menu-close span:last-child  { transform: rotate(-45deg); }

.mobile-menu-close:hover {
    background: rgba(0,0,0,0.6);
    transform: scale(1.08);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 1.8rem 0;
    opacity: 0;
    transform: translateY(12px);
}

.mobile-nav-links a {
    color: rgba(255,255,255,0.9);
    font-size: 1.6rem;
    font-family: var(--font-heading);
    transition: color 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--accent);
}

.mobile-menu-overlay.active .mobile-nav-links li {
    animation: mobileItemIn 0.4s ease forwards;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) { animation-delay: 0.10s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) { animation-delay: 0.20s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(6) { animation-delay: 0.30s; }

@keyframes mobileItemIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .header-actions .btn,
    .header-cta-btn,
    .lang-switcher {
        display: none;
    }

    header {
        top: 0;
        width: 100%;
    }

    .header-container {
        position: relative;
        padding: 0 1.2rem;
        height: 64px;
        justify-content: flex-end;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .mobile-lang-switcher {
        display: flex;
        justify-content: center;
        gap: 0.4rem;
        padding: 3px;
        border-radius: 999px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.2);
        margin-top: 2rem;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .reservation-wrapper, .contact-grid {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .reservation-info, .reservation-form-container {
        padding: 30px;
        overflow: visible;
    }

    .reservation-fullpage {
        height: auto;
        overflow: visible;
    }

    .reservation-wrapper {
        height: auto;
        overflow: visible;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-item-header {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}

/* Fix for horizontal overflow */
* {
    max-width: 100%;
}

/* Generic card styles for "blog" style card example */
.bg-neutral-primary-soft {
    background-color: var(--white);
}

.border-default {
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.rounded-base {
    border-radius: 24px;
}

.rounded-t-base {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.shadow-xs {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.text-heading {
    color: var(--secondary);
    font-family: var(--font-heading);
}

.bg-brand-softer {
    background-color: rgba(10, 77, 60, 0.04);
}

.border-brand-subtle {
    border-color: rgba(10, 77, 60, 0.2);
}

.text-fg-brand-strong {
    color: var(--primary);
}

.bg-brand {
    background-color: var(--primary);
}

.bg-brand-strong {
    background-color: var(--primary-light);
}

.focus\:ring-brand-medium:focus {
    box-shadow: 0 0 0 3px rgba(10, 77, 60, 0.35);
}

.bg-brand:hover {
    background-color: var(--primary-light);
}

.bg-brand:hover,
.bg-brand-strong:hover {
    transform: translateY(-1px);
}


/* ====================================================
   SPLENDOR — ENHANCED ELEGANCE & BACKGROUND ANIMATIONS
   ==================================================== */

/* Hero — Light Rays */
.hero-rays {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translateX(-50%);
    background: conic-gradient(
        from 180deg at 50% 10%,
        transparent 0deg,
        rgba(255, 255, 255, 0.025) 3deg,
        transparent 7deg,
        transparent 16deg,
        rgba(255, 255, 255, 0.018) 19deg,
        transparent 23deg,
        transparent 36deg,
        rgba(255, 255, 255, 0.022) 39deg,
        transparent 43deg,
        transparent 58deg,
        rgba(255, 255, 255, 0.015) 61deg,
        transparent 65deg
    );
    z-index: 0;
    animation: raysRotate 70s linear infinite;
    pointer-events: none;
}

@keyframes raysRotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to   { transform: translateX(-50%) rotate(360deg); }
}

/* Hero — Bottom vignette / ambient gold glow */
.hero-vignette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 45%;
    background: radial-gradient(ellipse at bottom, rgba(197, 160, 40, 0.14), transparent 70%);
    z-index: 0;
    animation: heroBottomGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroBottomGlow {
    0%   { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
    100% { opacity: 1;   transform: translateX(-50%) scaleX(1.2); }
}

/* Hero content — ensure it sits above rays */
.hero-content {
    position: relative;
    z-index: 2;
}

/* shimmer disabled (no card) */
.hero-content::before {
    display: none;
}
.__hero-content-shimmer-disabled::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 33px;
    background: linear-gradient(
        var(--hero-border-angle, 135deg),
        rgba(197, 160, 40, 0.6) 0%,
        rgba(229, 193, 88, 0.2) 25%,
        transparent 50%,
        rgba(10, 77, 60, 0.4) 75%,
        rgba(197, 160, 40, 0.3) 100%
    );
    z-index: -1;
    animation: heroBorderSweep 8s linear infinite;
}

@keyframes heroBorderSweep {
    0%   { background: linear-gradient(135deg, rgba(197,160,40,0.55) 0%, rgba(229,193,88,0.1) 30%, transparent 50%, rgba(10,77,60,0.35) 80%, rgba(197,160,40,0.2) 100%); opacity: 0.6; }
    25%  { background: linear-gradient(225deg, rgba(197,160,40,0.55) 0%, rgba(229,193,88,0.1) 30%, transparent 50%, rgba(10,77,60,0.35) 80%, rgba(197,160,40,0.2) 100%); opacity: 0.9; }
    50%  { background: linear-gradient(315deg, rgba(197,160,40,0.55) 0%, rgba(229,193,88,0.1) 30%, transparent 50%, rgba(10,77,60,0.35) 80%, rgba(197,160,40,0.2) 100%); opacity: 0.6; }
    75%  { background: linear-gradient(45deg,  rgba(197,160,40,0.55) 0%, rgba(229,193,88,0.1) 30%, transparent 50%, rgba(10,77,60,0.35) 80%, rgba(197,160,40,0.2) 100%); opacity: 0.9; }
    100% { background: linear-gradient(135deg, rgba(197,160,40,0.55) 0%, rgba(229,193,88,0.1) 30%, transparent 50%, rgba(10,77,60,0.35) 80%, rgba(197,160,40,0.2) 100%); opacity: 0.6; }
}

/* Hero content — ambient glow pulse */
@keyframes contentAmbientGlow {
    0%   { box-shadow: 0 26px 80px rgba(0,0,0,0.55), 0 0  0px rgba(197,160,40,0.0), inset 0 1px 0 rgba(255,255,255,0.08); }
    50%  { box-shadow: 0 26px 80px rgba(0,0,0,0.55), 0 0 60px rgba(197,160,40,0.14), inset 0 1px 0 rgba(255,255,255,0.16); }
    100% { box-shadow: 0 26px 80px rgba(0,0,0,0.55), 0 0 20px rgba(10,77,60,0.18),   inset 0 1px 0 rgba(255,255,255,0.08); }
}

.hero-content {
    animation: none; /* card removed, no glow needed */
    /* contentAmbientGlow 9s ease-in-out infinite; */
}

/* Hero brand span — gold glow pulse (no dimension changes) */
.hero-content h1 span {
    animation: brandGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes brandGlowPulse {
    0%   { text-shadow: 0 0 0px rgba(229,193,88,0); opacity: 0.85; color: var(--accent-light); }
    100% { text-shadow: 0 0 22px rgba(229,193,88,0.55), 0 0 40px rgba(229,193,88,0.2); opacity: 1; color: #ffe7a0; }
}

/* Hero scroll indicator — glow */
.hero-scroll-indicator {
    color: rgba(255,255,255,0.9);
    filter: drop-shadow(0 0 8px rgba(197,160,40,0.55));
}


/* ── Section heading — gold shimmer sweep ── */
.section-header h2 {
    background-image: linear-gradient(
        110deg,
        var(--dark-gray) 0%,
        var(--dark-gray) 34%,
        rgba(197, 160, 40, 0.88) 48%,
        var(--dark-gray) 62%,
        var(--dark-gray) 100%
    );
    background-size: 280% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: headingGoldSweep 9s ease-in-out infinite;
}

@keyframes headingGoldSweep {
    0%, 35%  { background-position: 130% center; }
    65%, 100%{ background-position: -80% center; }
}

/* ── Section heading underline — pulse ── */
.section-header h2::after {
    animation: underlinePulse 4.5s ease-in-out infinite;
}

@keyframes underlinePulse {
    0%,  100% { width: 80px;  box-shadow: none; }
    50%        { width: 120px; box-shadow: 0 0 12px rgba(197,160,40,0.5); }
}

/* ── Pulsing timeline dots ── */
.timeline-dot {
    animation: dotPulse 2.8s ease-in-out infinite;
}

@keyframes dotPulse {
    0%   { box-shadow: 0 0 0  0   rgba(197,160,40,0.75), 0 0 0 4px #fff; }
    70%  { box-shadow: 0 0 0 12px rgba(197,160,40,0),    0 0 0 4px #fff; }
    100% { box-shadow: 0 0 0  0   rgba(197,160,40,0),    0 0 0 4px #fff; }
}

/* ── Offerings — subtle dot grid pattern ── */
#offerings {
    position: relative;
}

#offerings::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(197,160,40,0.045) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
    z-index: 0;
    animation: gridShift 40s linear infinite;
}

@keyframes gridShift {
    from { background-position: 0 0; }
    to   { background-position: 38px 38px; }
}

/* ── Offering card — enhanced hover glow ── */
.offering-card:hover {
    box-shadow:
        0 35px 80px rgba(15,23,42,0.18),
        0 0 0 1px rgba(197,160,40,0.22),
        0 0 48px rgba(197,160,40,0.09);
}

/* ── Reservation — ambient orb on info panel ── */
.reservation-info {
    position: relative;
    overflow: hidden;
}

.reservation-info::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -35%;
    width: 75%;
    height: 75%;
    background: radial-gradient(ellipse, rgba(197,160,40,0.14), transparent 60%);
    animation: resOrb 9s ease-in-out infinite alternate;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes resOrb {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
    100% { transform: translate(-8%, 10%) scale(1.25); opacity: 1; }
}

/* ── Social links — glow on hover ── */
.social-links a {
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 8px 22px rgba(10,77,60,0.35), 0 0 18px rgba(197,160,40,0.2);
}

/* ── Footer — nebula background ── */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 65%, rgba(197,160,40,0.045), transparent),
        radial-gradient(ellipse 55% 65% at 85% 25%, rgba(18,110,87,0.055), transparent),
        radial-gradient(ellipse 40% 30% at 50% 95%, rgba(197,160,40,0.03), transparent);
    animation: footerNebula 14s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

@keyframes footerNebula {
    0%   { opacity: 0.55; transform: scale(1); }
    100% { opacity: 1;    transform: scale(1.06); }
}

/* ── History section ambient orbs ── */
#history {
    position: relative;
}

#history::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 45%;
    height: 55%;
    background: radial-gradient(ellipse, rgba(197,160,40,0.055), transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    animation: historyOrb 18s ease-in-out infinite alternate;
}

@keyframes historyOrb {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(4%, -8%) scale(1.15); opacity: 1; }
}

/* ── Menu section orb ── */
#menu {
    position: relative;
}

#menu::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -8%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(10,77,60,0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    animation: menuOrb 22s ease-in-out infinite alternate;
}

@keyframes menuOrb {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(-6%, 5%) scale(1.1); opacity: 1; }
}

/* ── Preloader — smooth fade in (GPU-only: opacity + transform) ── */
.preloader-text {
    animation: preloaderFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(16px);
}

@keyframes preloaderFadeIn {
    0%   { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── Menu tab active — glow ── */
.menu-tab-btn.active {
    box-shadow: 0 4px 18px rgba(10,77,60,0.32);
}

/* ── FAQ item hover — green tint ── */
.faq-question:hover {
    color: var(--primary);
    padding-left: 6px;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

/* ── Contact section — subtle orb ── */
#contact {
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(10,77,60,0.04), transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: contactGlow 12s ease-in-out infinite alternate;
}

@keyframes contactGlow {
    0%   { transform: translate(-50%,-50%) scale(1);    opacity: 0.5; }
    100% { transform: translate(-50%,-50%) scale(1.18); opacity: 1; }
}

/* =============================================
   STATS BAND
   ============================================= */
.stats-band {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: var(--secondary);
}

.stats-band-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(197,160,40,0.07), transparent),
        radial-gradient(ellipse 50% 70% at 80% 50%, rgba(18,110,87,0.07), transparent);
    animation: statsBandGlow 10s ease-in-out infinite alternate;
}

@keyframes statsBandGlow {
    0%   { opacity: 0.6; }
    100% { opacity: 1; }
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-block {
    text-align: center;
    padding: 20px 56px;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-block:hover {
    transform: translateY(-4px);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    line-height: 1;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    display: inline-block;
    transition: color 0.3s;
}

.stat-block:hover .stat-num {
    color: var(--accent-light);
}

.stat-sfx {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    opacity: 0.7;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.45);
    margin-top: 10px;
}

.stat-sep {
    color: var(--accent);
    font-size: 1rem;
    opacity: 0.3;
    padding: 0 8px;
    user-select: none;
}

.stat-num.popped {
    animation: statPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes statPop {
    0%   { transform: scale(0.85); }
    100% { transform: scale(1); }
}

@media (max-width: 600px) {
    .stats-row { gap: 10px; }
    .stat-block { padding: 16px 24px; }
    .stat-sep { display: none; }
}

/* =============================================
   MENU ORNAMENT
   ============================================= */
.menu-ornament {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 8px;
}

.ornament-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,160,40,0.45), transparent);
}

.ornament-icon {
    color: var(--accent);
    font-size: 0.9rem;
    opacity: 0.65;
    animation: utensil-spin 12s linear infinite;
}

@keyframes utensil-spin {
    0%, 90%  { transform: rotate(0deg); }
    95%      { transform: rotate(15deg); }
    100%     { transform: rotate(0deg); }
}

.menu-tagline {
    font-family: var(--font-menu);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 4px 0 18px;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* ── Menu item — dot leader & chef badge ── */
.menu-item-header {
    position: relative;
}

.menu-item-header::after {
    content: '· · · · · · · · · · · · · · · ·';
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(197,160,40,0.2);
    font-size: 0.6rem;
    letter-spacing: 2px;
    overflow: hidden;
    pointer-events: none;
}

.menu-item-price {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.menu-item:hover .menu-item-price {
    transform: scale(1.08);
    text-shadow: 0 0 12px rgba(197,160,40,0.5);
}

.chef-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(197,160,40,0.15), rgba(197,160,40,0.08));
    border: 1px solid rgba(197,160,40,0.3);
    color: var(--accent);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 999px;
    margin-left: 8px;
    vertical-align: middle;
    animation: chefBadgePulse 3s ease-in-out infinite;
}

@keyframes chefBadgePulse {
    0%, 100% { box-shadow: 0 0  0px rgba(197,160,40,0); }
    50%       { box-shadow: 0 0 10px rgba(197,160,40,0.3); }
}

/* ── Menu visual — parallax container ── */
.menu-visual {
    overflow: hidden;
}

.menu-visual img {
    transition: transform 0.1s linear;
    transform-origin: center center;
}

/* =============================================
   RESERVATION ENHANCEMENTS
   ============================================= */

/* Floating sparks */
.floating-spark {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-light);
    pointer-events: none;
    animation: sparkRise linear infinite;
    box-shadow: 0 0 6px rgba(229,193,88,0.9), 0 0 12px rgba(229,193,88,0.4);
}

@keyframes sparkRise {
    0%   { transform: translateY(0) translateX(0) scale(1);    opacity: 0; }
    12%  { opacity: 0.85; }
    80%  { opacity: 0.25; }
    100% { transform: translateY(-210px) translateX(var(--drift, 15px)) scale(0.2); opacity: 0; }
}

/* Reservation quote */
.res-quote {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
    position: relative;
}

.res-quote .fa-quote-left {
    font-size: 1.8rem;
    color: var(--accent-light);
    opacity: 0.55;
    display: block;
    margin-bottom: 10px;
}

.res-quote p {
    font-family: var(--font-menu);
    font-style: italic;
    font-size: 1.05rem;
    opacity: 0.72;
    margin: 0;
    line-height: 1.6;
}

/* Amenities chips */
.res-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.amenity-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.65);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.04);
}

.amenity-chip i {
    color: var(--accent-light);
    font-size: 0.75rem;
}

.amenity-chip:hover {
    border-color: rgba(229,193,88,0.4);
    color: rgba(255,255,255,0.9);
    background: rgba(229,193,88,0.08);
}

/* Clock icon in res-contact */
.res-contact-item {
    transition: opacity 0.3s;
}

/* Enhanced form group — animated focus line */
.form-group {
    position: relative;
}

.form-group input::after,
.form-group select::after {
    content: '';
}

.form-group input:focus,
.form-group select:focus {
    border-bottom-color: transparent;
    background: transparent;
}

.form-group {
    position: relative;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.form-group:focus-within::after {
    width: 100%;
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: 1px solid rgba(197,160,40,0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 28px rgba(10,77,60,0.35);
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#back-to-top:hover {
    transform: translateY(-5px) scale(1.08);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    box-shadow: 0 14px 35px rgba(10,77,60,0.4), 0 0 22px rgba(197,160,40,0.25);
    border-color: rgba(197,160,40,0.5);
}

@media (max-width: 768px) {
    #back-to-top { bottom: 24px; right: 24px; width: 44px; height: 44px; }
}

/* =============================================
   SECTION ORNAMENTAL DIVIDER (reusable)
   ============================================= */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0;
    max-width: 260px;
    margin: 0 auto 3rem;
}

.section-divider .div-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.45;
}

.section-divider .div-diamond {
    width: 7px;
    height: 7px;
    background: var(--accent);
    transform: rotate(45deg);
    flex-shrink: 0;
    animation: diamondPulse 3s ease-in-out infinite;
}

@keyframes diamondPulse {
    0%, 100% { box-shadow: 0 0  0px rgba(197,160,40,0); opacity: 1; }
    50%       { box-shadow: 0 0 10px rgba(197,160,40,0.6); opacity: 0.75; }
}

/* ── Section header enhanced font ── */
.section-header p {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* ── Menu panel footer quote ── */
.menu-footer-quote {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(10,77,60,0.1);
    text-align: center;
    font-family: var(--font-menu);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.menu-footer-quote i {
    color: var(--accent);
    font-size: 0.8rem;
    margin: 0 6px;
}

/* ── Enhanced menu-tab active gradient ── */
.menu-tab-btn.active {
    background: linear-gradient(135deg, rgba(197,160,40,0.18) 0%, rgba(197,160,40,0.08) 100%);
    box-shadow: 0 4px 18px rgba(197,160,40,0.15), 0 0 0 1px rgba(197,160,40,0.25);
}

/* ── Reservation form button shimmer ── */
.btn-primary {
    overflow: hidden;
}

/* Already handled above but ensure the submit btn has consistent look */
#res-form .btn-primary {
    font-family: var(--font-body);
    letter-spacing: 3px;
    margin-top: 10px;
}

/* =============================================
   SCROLL STACK — HISTORY SECTION
   ============================================= */
.scroll-stack-wrapper {
    position: relative;
}

.scroll-stack-card {
    will-change: transform;
    transform-origin: top center;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    position: relative;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
    margin-bottom: 100px;
    transition: transform 0.12s linear;
}

.scroll-stack-card:last-of-type {
    margin-bottom: 0;
}

/* ── Card themes ── */
.hc-dark  { background: var(--secondary); }
.hc-light { background: #f4ede0; }
.hc-deep  { background: linear-gradient(135deg, #0d3526 0%, #0a4d3c 100%); }
.hc-gold  { background: linear-gradient(135deg, #1a2e22 0%, #2e4730 40%, #3a2a08 100%); }

/* ── Inner layout ── */
.hc-inner {
    display: flex;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hc-text {
    flex: 1;
    padding: 52px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.hc-media {
    width: 42%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hc-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

/* ── Media overlay — feather into card bg ── */
.hc-dark .hc-media-overlay  { background: linear-gradient(to right, #0a4d3c 0%, transparent 55%); }
.hc-light .hc-media-overlay { background: linear-gradient(to right, #f4ede0 0%, transparent 55%); }
.hc-deep .hc-media-overlay  { background: linear-gradient(to right, #0d3526 0%, transparent 55%); }
.hc-gold .hc-media-overlay  { background: linear-gradient(to right, #1a2e22 0%, transparent 55%); }

.hc-dark.hc-reverse  .hc-media-overlay { background: linear-gradient(to left, #0a4d3c 0%, transparent 55%); }
.hc-light.hc-reverse .hc-media-overlay { background: linear-gradient(to left, #f4ede0 0%, transparent 55%); }
.hc-gold.hc-reverse  .hc-media-overlay { background: linear-gradient(to left, #1a2e22 0%, transparent 55%); }

.hc-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ── Reverse layout ── */
.hc-reverse .hc-inner { flex-direction: row-reverse; }

/* ── Typography ── */
.hc-chapter-num {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.85;
}

.hc-year-tag {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -1px;
}

.hc-text h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.hc-text p {
    font-size: 0.96rem;
    line-height: 1.75;
    max-width: 400px;
    margin: 0;
}

.hc-dark  .hc-text h3,
.hc-deep  .hc-text h3,
.hc-gold  .hc-text h3 { color: #fff; }
.hc-light .hc-text h3  { color: var(--dark-gray); }

.hc-dark  .hc-text p,
.hc-deep  .hc-text p,
.hc-gold  .hc-text p  { color: rgba(255,255,255,0.72); }
.hc-light .hc-text p   { color: var(--text-muted); }
.hc-light .hc-chapter-num { color: var(--primary); opacity: 0.7; }

/* ── Ghost year ── */
.hc-year-ghost {
    position: absolute;
    font-family: var(--font-heading);
    font-size: clamp(9rem, 20vw, 20rem);
    font-weight: 900;
    line-height: 1;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    opacity: 0.042;
    color: var(--accent);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.hc-light .hc-year-ghost { color: var(--primary); opacity: 0.055; }
.hc-reverse .hc-year-ghost { left: auto; right: -15px; }

/* ── End spacer ── */
.scroll-stack-end {
    height: 55vh;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .scroll-stack-card { height: auto; min-height: 420px; }
    .hc-inner { flex-direction: column !important; }
    .hc-text { padding: 36px 28px; gap: 10px; }
    .hc-media { width: 100%; height: 180px; flex-shrink: 0; }
    .hc-dark  .hc-media-overlay,
    .hc-light .hc-media-overlay,
    .hc-deep  .hc-media-overlay,
    .hc-gold  .hc-media-overlay,
    .hc-dark.hc-reverse  .hc-media-overlay,
    .hc-light.hc-reverse .hc-media-overlay,
    .hc-gold.hc-reverse  .hc-media-overlay {
        background: linear-gradient(to top, var(--card-mob-bg, #0a4d3c) 0%, transparent 60%);
    }
    .hc-year-ghost { font-size: 7rem; }
    .scroll-stack-end { height: 30vh; }
}

/* ── Menu split — dark background styling ── */
.menu-split-content .menu-panel-overline {
    margin-bottom: 12px;
    color: var(--accent);
}

.menu-split-content .menu-ornament {
    margin: 18px 0 10px;
}

.menu-split-content .menu-ornament .ornament-icon {
    color: var(--accent);
    opacity: 0.7;
}

.menu-split-content .menu-tagline {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.6);
}

.menu-split-content .menu-tabs {
    margin-bottom: 1.8rem;
}

.menu-split-content .menu-tab-btn {
    color: rgba(255, 255, 255, 0.7);
}

.menu-split-content .menu-tab-btn.active {
    color: var(--white);
    background: rgba(197, 160, 40, 0.2);
    border-color: rgba(197, 160, 40, 0.3);
}

.menu-split-content .menu-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.menu-split-content .menu-item-header h4 {
    color: var(--white);
}

.menu-split-content .menu-item-price {
    color: var(--accent);
}

.menu-split-content .menu-item-desc {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Image overlay — subtle dark vignette on right edge */
.menu-split-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.18) 0%, transparent 30%);
    pointer-events: none;
}


/* ── Smoothness & Performance ───────────────────────── */
.snap-section {
    will-change: transform;
}

.gallery-slide-item,
.offering-card,
.menu-item {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
    /* Disable parallax shift on mobile to save compositing cost */
    .menu-split-image img {
        transform: none !important;
        transition: none !important;
    }
    /* Lighter hover animations on mobile */
    .offering-card:hover,
    .menu-item:hover {
        transform: none !important;
    }
}
