/* Global Styles & Variables */
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --accent-gold: #d4af37;
    --accent-gold-hover: #b8962e;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --nav-height: 80px;
    --nav-height-scrolled: 64px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    /* Fallback; overridden at runtime by JS with the real urgency-bar height
       (it can wrap to 2 lines on narrow screens, so a hardcoded px is unsafe). */
    --urgency-height: 34px;
    /* Total space fixed bars occupy above the page content: urgency bar + nav.
       Used to push hero/page content clear of both, instead of only the
       urgency bar (which used to let the fixed nav overlap the hero). */
    --header-offset: calc(var(--urgency-height) + var(--nav-height));
    /* iOS/Android safe-area insets, 0 on devices without a notch/gesture bar */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Accessible keyboard focus states (mouse/touch clicks don't trigger :focus-visible) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.tilt-card:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Navigation */
nav {
    height: var(--nav-height);
    width: 100%;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    /* iOS notch / Android status bar clearance — eats into the fixed height
       via border-box rather than adding to it, so --nav-height stays accurate */
    padding-top: var(--safe-top);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    height: var(--nav-height-scrolled);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    gap: 12px;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 4.2vw, 1.8rem);
    font-weight: 700;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a.active {
    color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 10px;
    margin: -10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    /* was "fixed" — causes scroll jank on mobile Safari/Chrome; scroll is the safe default */
    background-attachment: scroll;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.3s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 35px;
    min-height: 52px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.showcase-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.68);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
    padding: 20px;
}

.showcase-overlay h3,
.showcase-overlay p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.booking-form {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 480px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Floating WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 999;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    /* Shorter fixed header on phones/tablets — also shrinks --header-offset
       automatically everywhere it's used (hero padding, nav top, etc). */
    :root {
        --nav-height: 64px;
        --nav-height-scrolled: 56px;
    }

    /* Mobile nav dropdown: JS toggles the `.open` class on #navbar .nav-links */
    #navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(212, 175, 55, 0.15);
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        padding: 10px 20px 20px;
        z-index: 1000;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
        max-height: 70vh;
        overflow-y: auto;
    }

    #navbar .nav-links.open {
        display: flex;
    }

    #navbar .nav-links a {
        padding: 14px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 1rem;
        width: 100%;
    }

    #navbar .nav-links a:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Eyebrow labels — small uppercase kicker text above a section's real
   heading. Plain <p>, not a heading level, so it never breaks the
   h1→h2→h3 document outline (screen readers navigate by heading level). */
.eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-gold);
    display: block;
}

/* Badges */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.06);
}

.badge-pill i {
    font-size: 0.9rem;
}

/* States Marquee (South India coverage) */
.states-marquee-wrap {
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    background: var(--secondary-bg);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.states-marquee-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: marqueeScroll 28s linear infinite;
    will-change: transform;
}

.states-marquee-wrap:hover .states-marquee-track {
    animation-play-state: paused;
}

.state-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 14px 28px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.state-chip i {
    color: var(--accent-gold);
}

.state-chip:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-4px) scale(1.03);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .states-marquee-track {
        animation-duration: 18s;
    }
}

/* Menu Page */
.menu-item-card {
    background: var(--secondary-bg);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.menu-item-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.menu-item-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-card .menu-item-body {
    padding: 20px;
}

.menu-item-card h4 {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 6px;
}

.menu-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-veg { background: rgba(46, 204, 113, 0.15); color: #2ecc71; border: 1px solid #2ecc71; }
.tag-nonveg { background: rgba(231, 76, 60, 0.15); color: #e74c3c; border: 1px solid #e74c3c; }

.menu-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Sub-page hero spacer (about/gallery/contact/menu) — these pages keep the
   nav permanently in its shorter "scrolled" state, so clear that height
   (plus the safe-area inset) instead of a hardcoded 80px. */
.page-hero {
    margin-top: calc(var(--nav-height-scrolled) + var(--safe-top) + 20px);
}

/* Founder Story (about.html) */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.founder-title {
    font-size: 3rem;
    margin: 20px 0;
}

@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .founder-title {
        font-size: 2rem;
    }
}

/* ============ Homepage Redesign ============ */

/* Urgency Bar — fixed single-line height at every breakpoint; the promo
   message truncates with an ellipsis instead of wrapping, so the bar's
   height (and therefore --urgency-height / header-offset) never changes. */
.urgency-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: linear-gradient(90deg, #7a1f1f, #b8962e);
    color: #fff;
    font-size: 0.8rem;
    padding: 8px 0;
    padding-top: calc(8px + var(--safe-top));
    display: flex;
    align-items: center;
}

.urgency-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    width: 100%;
}

.urgency-message {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
}

.urgency-inner i {
    margin-right: 6px;
}

.urgency-cta {
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
}

body.home nav#navbar {
    /* Set at runtime by JS to the urgency bar's real offsetHeight. */
    top: var(--urgency-height);
}

body.home .hero {
    margin-top: 0;
    /* Clears BOTH the urgency bar and the fixed nav (previously only the
       urgency bar was accounted for, so the nav visually overlapped the
       first ~80px of hero content/heading). */
    padding-top: calc(var(--header-offset) + 40px);
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .nav-cta { display: none; }
}

@media (max-width: 480px) {
    .urgency-bar { padding: 6px 0; padding-top: calc(6px + var(--safe-top)); }
    .urgency-inner { font-size: 0.68rem; gap: 10px; }
}

@media (max-width: 360px) {
    /* At the narrowest widths, drop the promo copy entirely and keep only
       the tap-to-call CTA — guarantees zero wrap/overflow risk. */
    .urgency-message { display: none; }
    .urgency-inner { justify-content: center; }
}

/* Hero Parallax */
.hero-parallax {
    position: relative;
    background: none;
    overflow: hidden;
}

/* Hero background slider — 3 stacked <img> crossfading in place (no
   horizontal movement). Each becomes .active in turn (JS in main.js);
   opacity transition does the fade, the animation below does a slow,
   subtle Ken Burns zoom for the duration the slide is visible. */
.hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.3s ease;
    will-change: opacity, transform;
    /* No layout shift: these are always absolutely positioned at the hero's
       full size, so swapping the active slide never resizes the box. */
}

.hero-slide.active {
    opacity: 1;
    animation: heroSlideKenBurns 9s ease-in-out forwards;
}

@keyframes heroSlideKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.04); }
}

/* Premium left-to-right overlay so left-aligned hero text always stays
   readable, regardless of which of the 3 photos is showing. */
.hero-overlay {
    position: absolute;
    inset: 0;
    /* Darker on the left where the marketing content sits, so text stays
       readable no matter which of the 3 photos (or which part of it) is
       showing there. */
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.62) 35%,
        rgba(0, 0, 0, 0.28) 68%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
}

@media (max-width: 1024px) {
    /* Content is centered (not left-aligned) below desktop, so a uniform
       dark wash reads better than a strong left/right split. */
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.5) 45%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }

    /* All 3 hero photos hold their subject (buffet spread, flowers,
       chandeliers) in the right ~60% of the frame — the left third is
       empty wall/negative space reserved for the desktop left-aligned
       text. On a narrow, tall mobile crop, centering the crop on the
       image midpoint (the default) lands mostly on that empty wall.
       Shifting the focal point right keeps the actual food/decor in
       frame instead. */
    .hero-slide {
        object-position: 78% 45%;
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    bottom: -20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.55);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    to {
        transform: translateY(-110vh) translateX(20px);
        opacity: 0;
    }
}

/* Brand heading — "Sangameshwar Catering". Fluid: phones (1.9rem) through
   tablets (~3.2rem @1024px) to desktop (3.8rem @1400px+). Kept a touch
   smaller than the old single-line hero title since it now sits above four
   more lines of content that all need to fit above the fold. */
.hero-brand {
    font-size: clamp(1.9rem, 0.2vw + 1.15rem, 3.8rem);
    line-height: 1.15;
    margin-bottom: 10px;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.gold-shimmer {
    background: linear-gradient(90deg, #d4af37 0%, #fff2c4 25%, #d4af37 50%, #fff2c4 75%, #d4af37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 0.35vw + 0.9rem, 1.5rem);
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-desc {
    font-size: clamp(0.9rem, 0.3vw + 0.8rem, 1.05rem);
    line-height: 1.6;
    color: #f0f0f0;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-event-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    list-style: none;
    margin-bottom: 22px;
    padding: 0;
}

.hero-event-list li {
    font-size: clamp(0.85rem, 0.25vw + 0.78rem, 1rem);
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    position: relative;
    padding-left: 16px;
}

.hero-event-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.hero-event-list li:first-child {
    padding-left: 0;
}

.hero-event-list li:first-child::before {
    content: none;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 30px;
}

.hero-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}

.hero-cta-row .btn,
.hero-cta-row .btn-whatsapp {
    min-width: 200px;
}

.btn-glow {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0.6);
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 35px;
    min-height: 52px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    z-index: 2;
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 8px;
    border-radius: 3px;
    background: var(--accent-gold);
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: 8px; opacity: 1; }
    70% { opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* Scroll reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--d, 0s);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Trust Strip */
.trust-strip {
    background: var(--secondary-bg);
    padding: 35px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--accent-gold);
}

.stat-card p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* 3D Tilt Cards */
.tilt-card {
    perspective: 1000px;
    background: transparent;
    border: none;
    padding: 0;
}

.tilt-inner {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.15s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    height: 100%;
}

.tilt-card:hover .tilt-inner {
    border-color: var(--accent-gold);
    box-shadow: 0 25px 40px rgba(0,0,0,0.5);
}

.tilt-inner i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    transform: translateZ(30px);
}

.tilt-inner h3, .tilt-inner p {
    transform: translateZ(20px);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: translateZ(20px);
}

.card-link i {
    font-size: 0.85rem;
    margin: 0;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.process-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.25);
    margin-bottom: 10px;
}

/* Testimonial Slider */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.t-quote {
    font-style: italic;
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.testimonial-slide h4 {
    color: var(--accent-gold);
}

.testimonial-slide span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(212, 175, 55, 0.25);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots button.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-muted);
    padding-bottom: 22px;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1408, #0a0a0a 60%);
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.final-cta-inner h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.final-cta-inner p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.1rem;
}

/* Sticky Mobile CTA Bar */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 998;
    /* iPhone home-indicator / Android gesture-bar clearance */
    padding-bottom: var(--safe-bottom);
}

.mobile-cta-bar a {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-size: 0.8rem;
    color: var(--text-white);
    border-right: 1px solid rgba(255,255,255,0.08);
}

.mobile-cta-bar a i {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.mobile-cta-primary {
    background: var(--accent-gold);
    color: #000 !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
    }
    .whatsapp-btn {
        bottom: calc(80px + var(--safe-bottom));
    }
    body {
        padding-bottom: calc(56px + var(--safe-bottom));
    }
    /* Hero has a lot of stacked marketing content (brand, tagline, desc,
       event list, trust row, 3 CTAs) to fit a fixed 100vh on phones without
       clipping/overlap — let it size to its content instead of forcing
       everything into the viewport, with tightened spacing throughout. */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 40px 0 50px;
    }
    .hero-content {
        width: 100%;
    }
    .scroll-indicator {
        display: none;
    }
    .hero-brand {
        margin-bottom: 8px;
    }
    .hero-tagline {
        margin-bottom: 10px;
    }
    .hero-desc {
        margin-bottom: 6px;
    }
    .hero-event-list {
        margin-bottom: 16px;
    }
    .hero-trust-row {
        margin-bottom: 20px;
    }
    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 20px;
    }
    .hero-cta-row .btn,
    .hero-cta-row .btn-whatsapp {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .trust-grid {
        justify-content: center;
        text-align: center;
    }
    .testimonial-slider {
        padding: 0 10px;
    }
    .t-quote {
        font-size: 1.15rem;
    }
    .final-cta-inner h2 {
        font-size: 2rem;
    }
    .process-grid {
        gap: 30px;
    }
}

/* Desktop hero: left-aligned content (still vertically centered via the
   .hero flex container), matches a premium editorial catering-brand look
   instead of the centered mobile layout. */
@media (min-width: 1025px) {
    .hero-parallax .container {
        text-align: left;
    }
    .hero-content {
        max-width: 620px;
    }
    .hero-brand,
    .hero-desc {
        margin-left: 0;
        margin-right: auto;
        text-align: left;
    }
    .hero-event-list,
    .hero-trust-row,
    .hero-cta-row,
    .badge-row {
        justify-content: flex-start;
    }
}

/* Tablets (portrait/landscape) */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-padding {
        padding: 70px 0;
    }
    .contact-container {
        gap: 30px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .testimonial-slider {
        max-width: 90%;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }
    .section-padding {
        padding: 60px 0;
    }
    .hero-tagline {
        font-size: 1rem;
    }
    .hero-desc {
        font-size: 0.85rem;
    }
    .hero-trust-pill {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .stat-card h3 {
        font-size: 2.2rem;
    }
    .t-quote {
        font-size: 1rem;
    }
    .final-cta-inner h2 {
        font-size: 1.6rem;
    }
    .mobile-cta-bar a {
        font-size: 0.7rem;
        padding: 10px 0;
    }
    .mobile-cta-bar a i {
        font-size: 1rem;
    }
    .urgency-inner span {
        display: block;
    }
}

/* Respect users who've asked for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    html {
        scroll-behavior: auto;
    }
    .hero-slide {
        animation: none !important;
        transition: none !important;
        transform: scale(1) !important;
    }
    .hero-slide.active {
        opacity: 1;
    }
    .hero-particles {
        display: none;
    }
    .states-marquee-track {
        animation: none;
    }
    .gold-shimmer {
        animation: none;
        background-position: 0 center;
    }
    .btn-glow {
        animation: none;
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    }
    .reveal-up {
        opacity: 1;
        transform: none;
    }
    .tilt-inner {
        transition: none;
        transform: none !important;
    }
    .scroll-indicator span {
        animation: none;
        top: 8px;
    }
}

/* Admin Styles */
.admin-dashboard {
    padding-top: 120px;
}

.inquiry-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.inquiry-table th, 
.inquiry-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.inquiry-table th {
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.status-new { background: #e74c3c; }
.status-contacted { background: #f1c40f; color: #000; }
.status-completed { background: #2ecc71; }

.admin-stat-card {
    background: var(--secondary-bg);
    padding: 14px 18px;
    border-radius: 4px;
    border-top: 2px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-stat-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.inquiry-action-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.inquiry-call-btn { background: var(--accent-gold); color: #000; }
.inquiry-whatsapp-btn { background: #25d366; color: #fff; }

@media (max-width: 768px) {
    .admin-dashboard {
        padding-top: 100px;
    }
    .inquiry-table th,
    .inquiry-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
}
