/* ============================================================
   Sheela Ashok Natyalaya — stylesheet
   Palette: temple gold on kasavu cream
   ============================================================ */

:root {
  --gold: #C9A227;
  --gold-soft: #E4D3A0;
  --gold-deep: #A9821A;
  --maroon: #6E1423;
  --maroon-soft: #8a2233;
  --cream: #FAF4E6;
  --warm-white: #FFFDF8;
  --ink: #2B2B2B;
  --ink-soft: #5b544a;
  --shadow: 0 18px 50px -24px rgba(46, 20, 8, .45);
  --shadow-sm: 0 8px 24px -14px rgba(46, 20, 8, .4);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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

img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }

h1,h2,h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: .01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tint { background: var(--warm-white); }

/* ---- decorative pieces ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 14px;
}
.lamp {
  display: block; width: 42px; height: 42px; margin: 0 auto 20px;
  color: var(--gold);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px,5vw,60px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--maroon); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 16px 0 0; }
.divider {
  width: 90px; height: 2px; margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 14px 30px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .25s var(--ease);
  letter-spacing: .02em;
}
.btn--gold { background: var(--gold); color: #3a2b06; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(250,244,230,.6); }
.btn--ghost:hover { background: rgba(250,244,230,.12); border-color: var(--cream); }
.btn--maroon { background: var(--maroon); color: var(--cream); }
.btn--maroon:hover { background: var(--maroon-soft); transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,244,230,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--gold-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--maroon); }
.brand__sub { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: .92rem; font-weight: 500; color: var(--ink); letter-spacing: .02em; transition: color .2s; }
.nav__links a:hover { color: var(--gold-deep); }
.nav__cta { padding: 10px 22px; font-size: .88rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--maroon); }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--gold-soft);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .nav__links.open { max-height: 460px; }
  .nav__links li { border-top: 1px solid var(--gold-soft); }
  .nav__links a { display: block; padding: 16px 24px; }
  .nav__links .nav__cta { margin: 14px 24px; text-align: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--cream); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(40,12,18,.42) 0%, rgba(40,12,18,.30) 40%, rgba(40,12,18,.72) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 40px 24px; max-width: 820px; }
.hero__eyebrow { color: var(--gold-soft); letter-spacing: .38em; }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero__sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--gold-soft); margin: 14px 0 34px; font-weight: 500;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; color: var(--gold-soft); opacity: .85; animation: bob 2.4s ease-in-out infinite; }
.hero__scroll svg { width: 26px; height: 26px; }
@keyframes bob { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(8px);} }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about__photo { position: relative; }
.about__photo img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about__photo::before {
  content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--gold-soft); border-radius: 10px; z-index: -1;
}
.about__body h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--maroon); margin-bottom: 20px; }
.about__body p { color: var(--ink-soft); font-size: 1.06rem; margin: 0 0 18px; }
.about__body .lead { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--ink); line-height: 1.4; }
.stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--gold-soft); }
.stat b { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--gold-deep); line-height: 1; }
.stat span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px){ .about__grid { grid-template-columns: 1fr; } .about__photo { max-width: 420px; margin: 0 auto; } }

/* ============================================================
   REPERTOIRE CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--cream); border: 1px solid var(--gold-soft); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 24px 24px 28px; }
.card__body h3 { font-size: 1.5rem; color: var(--maroon); margin-bottom: 8px; }
.card__body p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
@media (max-width: 820px){ .cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ============================================================
   GALLERY
   ============================================================ */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter {
  font-family: var(--sans); font-size: .86rem; font-weight: 500; letter-spacing: .04em;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-soft); border: 1.5px solid var(--gold-soft);
  transition: all .22s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter.active { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }

.grid { columns: 4 240px; column-gap: 16px; }
.grid__item {
  break-inside: avoid; margin-bottom: 16px; border-radius: 8px; overflow: hidden;
  cursor: pointer; position: relative; box-shadow: var(--shadow-sm);
  background: var(--warm-white); transition: transform .3s var(--ease);
}
.grid__item img { width: 100%; transition: transform .6s var(--ease), filter .3s; }
.grid__item:hover img { transform: scale(1.05); }
.grid__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(46,20,8,.55));
  opacity: 0; transition: opacity .3s;
}
.grid__item:hover::after { opacity: 1; }
.grid__cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-size: .82rem; font-weight: 500; opacity: 0; transform: translateY(6px);
  transition: all .3s; text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.grid__item:hover .grid__cap { opacity: 1; transform: translateY(0); }
.grid__item.hide { display: none; }

.gallery-more { text-align: center; margin-top: 46px; }

/* ---- lightbox ---- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(28,10,14,.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb__img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--gold-soft); font-family: var(--serif); font-style: italic; font-size: 1.1rem; padding: 0 20px; }
.lb__btn { position: absolute; background: rgba(250,244,230,.1); border: 1px solid rgba(250,244,230,.25); color: var(--cream); width: 48px; height: 48px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb__btn:hover { background: rgba(250,244,230,.24); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__close { top: 22px; right: 22px; }
.lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px){ .lb__prev{ left: 10px;} .lb__next{ right: 10px;} .lb__btn{ width:42px; height:42px;} }

/* ============================================================
   BOOKING
   ============================================================ */
.booking { background: var(--maroon); color: var(--cream); position: relative; overflow: hidden; }
.booking .section-head h2 { color: #fff; }
.booking .section-head p { color: var(--gold-soft); }
.booking .lamp { color: var(--gold-soft); }
.booking .eyebrow { color: var(--gold-soft); }
.booking__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.note-callout {
  border: 1px solid rgba(233,211,160,.4); background: rgba(250,244,230,.06);
  border-radius: 10px; padding: 20px 24px; margin: 0 0 36px;
  font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5;
  color: var(--gold-soft); text-align: center;
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid transparent; border-radius: 8px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.25);
}
.form__actions { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form__hint { font-size: .84rem; color: rgba(233,211,160,.75); margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
@media (max-width: 640px){ .form { grid-template-columns: 1fr; } }

/* success state */
.form-success { display: none; text-align: center; padding: 20px 10px; }
.form-success.show { display: block; animation: fade .5s var(--ease); }
.form-success .lamp { color: var(--gold-soft); width: 54px; height: 54px; }
.form-success h3 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.form-success p { color: var(--gold-soft); font-size: 1.12rem; max-width: 480px; margin: 0 auto; font-family: var(--serif); font-style: italic; }
@keyframes fade { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform:none;} }

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */
.contact { text-align: center; }
.contact__methods { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.contact__item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact__item svg { width: 26px; height: 26px; color: var(--gold-deep); }
.contact__item a, .contact__item span { color: var(--ink); font-size: 1.05rem; }
.contact__item small { color: var(--ink-soft); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.socials { display: flex; gap: 16px; justify-content: center; margin-top: 34px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--gold-soft); display: flex; align-items: center; justify-content: center; color: var(--maroon); transition: all .25s; }
.socials a:hover { background: var(--maroon); color: var(--cream); border-color: var(--maroon); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

.footer { background: #47101b; color: var(--gold-soft); text-align: center; padding: 44px 24px; }
.footer .lamp { color: var(--gold); width: 34px; height: 34px; margin-bottom: 14px; }
.footer__name { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); }
.footer__sub { font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin: 4px 0 18px; }
.footer p { font-size: .84rem; color: rgba(233,211,160,.7); margin: 4px 0; }
.footer a { color: var(--gold-soft); }

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

/* gallery page header */
.page-hero { background: var(--maroon); color: var(--cream); text-align: center; padding: clamp(70px,10vw,120px) 0 clamp(50px,7vw,80px); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { font-size: clamp(2.4rem,6vw,4rem); color: #fff; }
.page-hero p { color: var(--gold-soft); font-size: 1.1rem; margin-top: 14px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--gold-soft); font-size: .9rem; }
.back-link:hover { color: #fff; }
