/* =====================================================================
   Malgudi - All Day South Indian
   Theme: deep banana-leaf green + terracotta orange + warm cream,
   inspired by the brand logo and the food photography.
   ===================================================================== */

:root {
    --green:        #14492f;
    --green-deep:   #0f3a25;
    --green-soft:   #1d5b3a;
    --orange:       #e2592a;
    --orange-deep:  #c8451b;
    --gold:         #c98a2b;
    --cream:        #faf4e9;
    --cream-2:      #f3e9d6;
    --ink:          #21281f;
    --ink-soft:     #4c5347;
    --line:         rgba(33, 40, 31, 0.12);
    --white:        #ffffff;

    --serif: "Fraunces", Georgia, serif;
    --sans:  "DM Sans", system-ui, -apple-system, sans-serif;

    --maxw: 1180px;
    --r:    18px;
    --shadow: 0 24px 60px -28px rgba(15, 58, 37, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--orange);
    margin: 0 0 14px;
}
.eyebrow.light { color: #f0c79c; }

.section-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    color: var(--green);
}
.section-title.light { color: var(--cream); }
.section-lead { max-width: 560px; color: var(--ink-soft); margin: 0 auto; }

/* =========================== BUTTONS =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 14px 30px -12px rgba(226,89,42,.7); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost.dark { color: var(--green); border-color: var(--green); }
.btn-ghost.dark:hover { background: rgba(20,73,47,.08); }
.btn-dark { background: var(--green); color: var(--cream); }
.btn-dark:hover { background: var(--green-deep); }
.btn-block { width: 100%; }

/* =========================== NAV =========================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 244, 233, 0.0);
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    padding: 10px 0;
}
.nav.scrolled {
    background: rgba(250, 244, 233, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.nav-logo img { height: 40px; width: auto; background: var(--green); padding: 6px 10px; border-radius: 10px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--cream);
    position: relative;
    transition: color .2s;
}
.nav.scrolled .nav-links a { color: var(--green); }
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px;
    width: 0; height: 2px; background: var(--orange); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--orange);
    color: #fff;
    padding: 11px 22px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--orange-deep); transform: translateY(-2px); }
.nav-burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--cream); transition: .3s; }
.nav.scrolled .nav-burger span { background: var(--green); }

/* =========================== HERO =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(15,58,37,.55) 0%, rgba(15,58,37,.25) 35%, rgba(15,58,37,.75) 100%),
        radial-gradient(120% 90% at 20% 30%, rgba(15,58,37,.35), transparent 60%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
    color: var(--cream);
}
.hero-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.015em;
    margin: 0 0 20px;
    max-width: 16ch;
}
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; color: #f2ecdd; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; letter-spacing: .04em; color: #e9e0cd; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* =========================== MARQUEE =========================== */
.marquee { background: var(--green); color: var(--cream); overflow: hidden; padding: 16px 0; }
.marquee-track {
    display: flex; align-items: center; gap: 24px;
    white-space: nowrap;
    font-family: var(--serif);
    font-size: 1.3rem;
    width: max-content;
    animation: marquee 26s linear infinite;
}
.marquee-track span { opacity: .92; }
.m-dot { color: var(--orange); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================== ABOUT =========================== */
.about { padding: 110px 24px; max-width: var(--maxw); margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-imgs { position: relative; min-height: 460px; }
.about-img-1 {
    width: 78%; border-radius: var(--r); box-shadow: var(--shadow);
    aspect-ratio: 4/3; object-fit: cover;
}
.about-img-2 {
    position: absolute; right: 0; bottom: -10px;
    width: 46%; border-radius: var(--r);
    border: 6px solid var(--cream);
    box-shadow: var(--shadow);
    aspect-ratio: 3/4; object-fit: cover;
}
.about-text p { color: var(--ink-soft); margin: 0 0 16px; }
.about-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
    font-size: 0.82rem; font-weight: 600;
    padding: 8px 16px; border-radius: 100px;
    background: var(--cream-2); color: var(--green);
    border: 1px solid var(--line);
}

/* =========================== MENU =========================== */
.menu { padding: 100px 24px; background: var(--cream-2); }
.menu-head { max-width: var(--maxw); margin: 0 auto 54px; text-align: center; }
.menu-grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.dish {
    background: var(--white);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 18px 40px -30px rgba(15,58,37,.5);
    transition: transform .3s ease, box-shadow .3s ease;
}
.dish:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(15,58,37,.55); }
.dish-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dish:hover .dish-media img { transform: scale(1.06); }
.dish-tag {
    position: absolute; top: 14px; left: 14px;
    background: rgba(20,73,47,.92); color: var(--cream);
    font-size: 0.72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 100px;
}
.dish-body { padding: 22px 22px 26px; }
.dish-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.dish-row h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin: 0; color: var(--green); }
.dish-price { font-weight: 600; color: var(--orange); white-space: nowrap; }
.dish-body p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.menu-note { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin: 44px 0 0; }

/* =========================== GALLERY =========================== */
.gallery { padding: 100px 24px; max-width: var(--maxw); margin: 0 auto; }
.gallery-strip {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 44px;
}
.gallery-item { border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.07); }

/* =========================== RESERVE =========================== */
.reserve {
    background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
    padding: 110px 24px;
    color: var(--cream);
}
.reserve-grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start;
}
.reserve-lead { color: #e7ddc9; max-width: 42ch; }
.reserve-points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.reserve-points li { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
.reserve-points strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); }
.reserve-points span { color: var(--cream); }

.reserve-form {
    background: var(--cream);
    color: var(--ink);
    border-radius: 22px;
    padding: 34px;
    box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reserve-form label { font-size: 0.8rem; font-weight: 600; color: var(--green); margin-bottom: 7px; letter-spacing: .02em; }
.opt { color: var(--ink-soft); font-weight: 400; text-transform: none; letter-spacing: 0; }
.reserve-form input,
.reserve-form select,
.reserve-form textarea {
    font-family: var(--sans);
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.reserve-form input:focus,
.reserve-form select:focus,
.reserve-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(226,89,42,.15);
}
.reserve-form textarea { resize: vertical; }
.reserve-fineprint { font-size: 0.78rem; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }
.form-msg { margin-top: 16px; font-size: 0.92rem; font-weight: 500; border-radius: 12px; padding: 0; }
.form-msg.show { padding: 14px 16px; }
.form-msg.ok { background: rgba(20,73,47,.1); color: var(--green); }
.form-msg.err { background: rgba(200,69,27,.1); color: var(--orange-deep); }

/* =========================== INSTAGRAM =========================== */
.insta { padding: 100px 24px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.insta .menu-head { margin-bottom: 40px; }
.insta .btn { margin-top: 8px; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insta-item:hover img { transform: scale(1.08); }
.insta-icon {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #fff; background: rgba(20,73,47,.0); opacity: 0; transition: .3s;
}
.insta-item:hover .insta-icon { opacity: 1; background: rgba(20,73,47,.55); }

/* =========================== VISIT =========================== */
.visit { padding: 100px 24px; background: var(--cream-2); }
.visit-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: stretch; }
.visit-block { margin-bottom: 22px; }
.visit-block h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); margin: 0 0 6px; }
.visit-block p { margin: 0; color: var(--ink-soft); }
.visit-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.visit-map { border-radius: var(--r); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.visit-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* =========================== FOOTER =========================== */
.footer { background: var(--green-deep); color: var(--cream); padding: 70px 24px 28px; }
.footer-inner {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px;
}
.footer-logo { height: 42px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { color: #cdd8cc; max-width: 38ch; font-size: 0.92rem; }
.footer-col h5 { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin: 0 0 16px; color: var(--cream); }
.footer-col a, .footer-col p { display: block; color: #cdd8cc; font-size: 0.92rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-addr { line-height: 1.5; }
.footer-bar {
    max-width: var(--maxw); margin: 40px auto 0; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    font-size: 0.82rem; color: #aeb9ad;
}
.footer-credit a { color: var(--orange); }

/* =========================== REVEAL =========================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   GATE SCREENS (lock + terms)
   ===================================================================== */
.gate-body {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(120% 120% at 50% 0%, var(--green-soft) 0%, var(--green) 45%, var(--green-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    position: relative;
    overflow-x: hidden;
}
.gate-grain {
    position: fixed; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 4px 4px;
}
.gate-wrap { width: 100%; max-width: 520px; padding: 40px 22px; text-align: center; position: relative; z-index: 1; }
.gate-card {
    background: rgba(250,244,233,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 26px;
    padding: 46px 38px 40px;
    backdrop-filter: blur(8px);
    box-shadow: 0 40px 90px -40px rgba(0,0,0,.6);
}
.gate-mark { width: 120px; height: auto; border-radius: 18px; margin: 0 auto 22px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); display: block; }
.gate-kicker { text-transform: uppercase; letter-spacing: .26em; font-size: 0.7rem; font-weight: 600; color: #f0c79c; margin: 0 0 10px; }
.gate-title { font-family: var(--serif); font-weight: 600; font-size: 2.1rem; margin: 0 0 12px; }
.gate-sub { color: #e7ddc9; font-size: 0.98rem; margin: 0 auto 26px; max-width: 40ch; }
.gate-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.gate-label { font-size: 0.78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f0c79c; }
.gate-input {
    font-family: var(--sans);
    font-size: 1.05rem;
    letter-spacing: .04em;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1.5px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}
.gate-input::placeholder { color: rgba(255,255,255,.5); }
.gate-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(226,89,42,.25); }
.gate-btn {
    margin-top: 6px;
    font-family: var(--sans); font-weight: 600; font-size: 1rem;
    padding: 15px 22px; border: 0; border-radius: 100px; cursor: pointer;
    background: var(--orange); color: #fff;
    transition: background .2s, transform .2s;
}
.gate-btn:hover { background: var(--orange-deep); transform: translateY(-2px); }
.gate-foot { margin: 24px 0 0; font-size: 0.8rem; color: #c7d2c6; }
.gate-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.gate-contact .gate-foot { margin: 0 0 8px; }
.gate-contact-email { margin: 0; font-size: 0.92rem; font-weight: 600; }
.gate-contact-email a { color: var(--cream); text-decoration: none; }
.gate-contact-email a:hover { color: #f0c79c; text-decoration: underline; }
.gate-credit { margin-top: 26px; font-size: 0.78rem; color: #b9c4b8; letter-spacing: .04em; line-height: 1.6; }
.gate-credit a { color: var(--cream); font-weight: 600; text-decoration: none; }
.gate-credit a:hover { color: #f0c79c; text-decoration: underline; }
.gate-alert {
    background: rgba(226,89,42,.18);
    border: 1px solid rgba(226,89,42,.5);
    color: #ffd9c8;
    padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 0.9rem;
}

/* ---- Terms ---- */
.terms-body { align-items: flex-start; }
.terms-wrap { width: 100%; max-width: 760px; padding: 48px 22px; position: relative; z-index: 1; }
.terms-card {
    background: var(--cream);
    color: var(--ink);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 40px 90px -40px rgba(0,0,0,.6);
}
.terms-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.terms-mark { width: 58px; height: 58px; border-radius: 14px; flex: none; }
.terms-head .gate-kicker { color: var(--orange); margin-bottom: 6px; }
.terms-title { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; margin: 0; color: var(--green); line-height: 1.15; }
.terms-intro { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 20px; }
.terms-scroll {
    max-height: 320px; overflow-y: auto;
    border: 1px solid var(--line); border-radius: 16px;
    padding: 22px 24px; background: #fff;
    text-align: left;
}
.terms-scroll h2 { font-family: var(--serif); font-size: 1.08rem; color: var(--green); margin: 20px 0 8px; }
.terms-scroll h2:first-child { margin-top: 0; }
.terms-scroll p { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 6px; }
.terms-scroll a { color: var(--orange); font-weight: 600; }
.terms-form { margin-top: 22px; }
.terms-check { display: flex; align-items: flex-start; gap: 12px; text-align: left; font-size: 0.92rem; color: var(--ink); margin-bottom: 18px; cursor: pointer; }
.terms-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.terms-form .gate-btn { width: 100%; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
    .about-grid, .reserve-grid, .visit-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-imgs { min-height: 380px; max-width: 460px; }
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .gallery-strip, .insta-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column; gap: 18px;
        position: absolute; top: 64px; left: 16px; right: 16px;
        background: var(--cream); padding: 24px; border-radius: 18px;
        box-shadow: var(--shadow);
    }
    .nav-links.open a { color: var(--green); }
    .nav-cta { display: none; }
    .menu-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bar { flex-direction: column; }
    .terms-card, .reserve-form, .gate-card { padding: 26px 20px; }
    .gallery-strip, .insta-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; }
}
