/* ===== DESIGN TOKENS ===== */
:root {
    --gold: #c9a84c;
    --gold-light: #dfc373;
    --gold-dark: #a68832;
    --gold-glow: rgba(201, 168, 76, 0.15);
    --burgundy: #5c1a1b;
    --burgundy-deep: #3d0f10;
    --cream: #f5efe0;
    --cream-muted: #e8dfc8;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1c1c1c;
    --text-primary: #f0ead6;
    --text-secondary: #a09882;
    --text-muted: #6b6355;
    --border: rgba(201, 168, 76, 0.12);
    --border-strong: rgba(201, 168, 76, 0.25);
    --red-dot: #c0392b;
    --green-dot: #27ae60;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    --font-hindi: 'Noto Sans Devanagari', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== CUSTOM SCROLLBAR ===== */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #0a0a0a;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a68832, #c9a84c, #dfc373, #c9a84c, #a68832);
    border-radius: 10px;
    border: 2px solid #0a0a0a;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c9a84c, #dfc373, #f0e0a0, #dfc373, #c9a84c);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner { text-align: center; }

.preloader-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 160px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 2px;
    animation: preloaderFill 1.5s var(--ease-out) forwards;
}

@keyframes preloaderFill {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.97); }
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s var(--ease-out);
}

#navbar.scrolled .nav-logo img {
    height: 40px;
    width: 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

/* ===== HERO ===== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.75) 0%,
        rgba(10, 10, 10, 0.85) 40%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 6s ease-in-out infinite;
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.6; transform: translateY(-30px) scale(1); }
    100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 24px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    margin-bottom: 8px;
    margin-left: 24px; /* Compensate for letter-spacing offset to keep it truly centered */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, var(--cream) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleIn 1.5s var(--ease-out) 0.5s both;
}

.hero-title-sub {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 16px;
    text-transform: uppercase;
    margin-bottom: 40px;
    margin-left: 16px; /* Compensate for letter-spacing offset */
    animation: fadeUp 1s var(--ease-out) 0.9s both;
}

@keyframes heroTitleIn {
    from { opacity: 0; transform: translateY(20px); letter-spacing: 16px; }
    to { opacity: 1; transform: translateY(0); letter-spacing: 24px; }
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--cream-muted);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeUp 1s var(--ease-out) 1.1s both;
}

.hero-divider,
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-ornament {
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.8;
    letter-spacing: 1px;
    animation: fadeUp 1s var(--ease-out) 1.3s both;
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: 16px 40px;
    transition: all 0.4s var(--ease-out);
    animation: fadeUp 1s var(--ease-out) 1.5s both;
}

.hero-cta:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 0.8s var(--ease-out) 1.5s both;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

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

/* ===== SECTIONS COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-divider { margin-bottom: 0; }

/* ===== ABOUT ===== */
#about {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-lead {
    font-size: 1.35rem !important;
    color: var(--cream) !important;
    font-weight: 500;
}

.about-highlight {
    font-style: italic;
    color: var(--gold) !important;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
    margin: 28px 0 !important;
}

.about-signature {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.signature-label {
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold) !important;
    margin-bottom: 8px !important;
}

.signature-names {
    display: flex;
    gap: 16px;
    align-items: center;
}

.signature-names span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--cream);
}

.signature-sep { color: var(--text-muted); }

.about-hindi .hindi-text {
    font-family: var(--font-hindi);
    font-size: 1.05rem;
    line-height: 2;
}

/* ===== GALLERY STRIP ===== */
.gallery-strip {
    padding: 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.gallery-scroll {
    display: flex;
    animation: galleryScroll 30s linear infinite;
}

.gallery-item {
    flex: 0 0 400px;
    height: 280px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(0.9);
    transition: all 0.6s var(--ease-out);
}

.gallery-item:hover img {
    filter: brightness(0.9) saturate(1.1);
    transform: scale(1.05);
}

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

/* ===== MENU ===== */
#menu {
    padding: 120px 0;
    background: var(--bg-primary);
}

.menu-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.filter-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.filter-btn.active {
    color: var(--bg-primary);
    background: var(--gold);
    border-color: var(--gold);
}

.menu-category {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    animation: fadeUp 0.5s var(--ease-out) both;
}

.menu-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-category.hidden {
    display: none;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid currentColor;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: var(--red-dot); }
.dot-green { background: var(--green-dot); }

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 40px;
}

.menu-item {
    display: flex;
    align-items: baseline;
    padding: 12px 0;
    transition: all 0.3s;
}

.menu-item:hover {
    padding-left: 8px;
}

.menu-item:hover .item-name {
    color: var(--gold);
}

.item-name {
    font-family: var(--font-accent);
    font-size: 1.08rem;
    color: var(--cream);
    white-space: nowrap;
    transition: color 0.3s;
}

.item-dots {
    flex: 1;
    margin: 0 12px;
    border-bottom: 1px dotted var(--border-strong);
    min-width: 20px;
    align-self: center;
    margin-bottom: 4px;
}

.item-price {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    white-space: nowrap;
}

.item-price::before {
    content: '\20B9';
    margin-right: 2px;
    font-size: 0.9em;
}

.menu-note {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ===== SPECIALS ===== */
#specials {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

#specials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.special-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.special-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
}

.special-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.special-card:hover::before { transform: scaleX(1); }

.special-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(201, 168, 76, 0.02));
}

.special-card.featured::before { transform: scaleX(1); }

.special-badge {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.special-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 12px;
}

.special-desc {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.special-price {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
}

.special-price::before {
    content: '\20B9';
    font-size: 0.82em;
    margin-right: 2px;
}

.specials-note {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    padding: 20px;
    border: 1px solid var(--border);
    background: rgba(201, 168, 76, 0.03);
}

/* ===== FOOTER ===== */
#contact {
    padding: 80px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 2px;
}

.footer-info {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .specials-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-grid { gap: 4px 24px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
    }

    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1rem; letter-spacing: 4px; }
    .nav-toggle { display: flex; z-index: 1001; }

    .hero-title {
        font-size: clamp(1.8rem, 6.5vw, 2.5rem);
        letter-spacing: 6px;
        margin-left: 6px;
        white-space: nowrap;
    }
    
    .hero-title-sub {
        font-size: 0.7rem;
        letter-spacing: 10px;
        margin-left: 10px;
    }

    .hero-tagline { font-size: 1rem; }
    .hero-subtitle { font-size: 1rem; }

    .section-header h2 { font-size: 2.2rem; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu-grid { grid-template-columns: 1fr; }
    .menu-filters { gap: 6px; }
    .filter-btn { padding: 8px 14px; font-size: 0.65rem; }

    .specials-grid { grid-template-columns: 1fr; }

    .gallery-item { flex: 0 0 280px; height: 200px; }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-info { gap: 40px; }

    #about, #menu, #specials { padding: 80px 0; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
        letter-spacing: 3px;
        margin-left: 3px;
        white-space: nowrap;
    }
    .hero-title-sub {
        font-size: 0.6rem;
        letter-spacing: 6px;
        margin-left: 6px;
    }
    .hero-cta { padding: 14px 36px; font-size: 0.7rem; }
    .section-header h2 { font-size: 1.8rem; }
    .category-title { font-size: 1.25rem; }
    .item-name { font-size: 0.95rem; }
    .gallery-item { flex: 0 0 220px; height: 160px; }
    .footer-info { flex-direction: column; gap: 32px; }
}
