/* =========================================================
   Hotel Nikunj — Design tokens
   Palette drawn from Madhubani (Mithila) folk painting:
   deep wine wall, sindoor red, turmeric gold, ivory paper, teal ink
   ========================================================= */
:root{
  --maroon:        #4C1224;
  --maroon-deep:   #33081A;
  --sindoor:       #A32638;
  --gold:          #C9A44A;
  --gold-light:    #E9CD8C;
  --ivory:         #FBF3E6;
  --ivory-2:       #F3E7D3;
  --teal:          #0E4F52;
  --ink:           #241016;
  --text-soft:     #6E5A55;

  --display: 'Marcellus', serif;
  --subhead: 'Cormorant Garamond', serif;
  --body:    'Jost', sans-serif;

  --container: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(.22,.68,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-weight:400; }
p{ margin:0; }

::selection{ background:var(--gold); color:var(--maroon-deep); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

/* =========================================================
   Preloader
   ========================================================= */
#preloader{
  position:fixed; inset:0; z-index:9999;
  background:var(--maroon-deep);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
#preloader.done{ opacity:0; visibility:hidden; }
.loader-mark{ color:var(--gold); animation:spin 2.2s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* =========================================================
   Utility
   ========================================================= */
.eyebrow{
  font-family:var(--subhead);
  font-style:italic;
  font-size:1.05rem;
  letter-spacing:.06em;
  color:var(--sindoor);
  margin:0 0 .6rem;
}
.eyebrow-light{ color:var(--gold-light); }

.section-title{
  font-family:var(--display);
  font-size:clamp(1.9rem, 3.4vw, 2.9rem);
  line-height:1.18;
  color:var(--maroon-deep);
  letter-spacing:.01em;
}
.section-title-light{ color:var(--ivory); }

.section-note{
  font-family:var(--subhead);
  font-size:1.2rem;
  color:var(--text-soft);
  max-width:46ch;
  margin-top:.9rem;
}
.section-note-light{ color:#E8D9CE; }

.section-head{
  max-width:680px;
  margin:0 auto 3.2rem;
  text-align:center;
}
.section-head .section-note{ margin-left:auto; margin-right:auto; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.95rem 2.1rem;
  font-family:var(--body);
  font-size:.86rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover{ transform:translateY(-2px); }
.btn-solid{ background:var(--sindoor); color:var(--ivory); }
.btn-solid:hover{ background:var(--maroon-deep); }
.btn-outline{ border-color:rgba(251,243,230,.6); color:var(--ivory); }
.btn-outline:hover{ background:rgba(251,243,230,.12); }
.btn-outline-dark{ border-color:var(--maroon); color:var(--maroon); }
.btn-outline-dark:hover{ background:var(--maroon); color:var(--ivory); }
.btn-ghost{ border-color:var(--gold); color:var(--maroon-deep); padding:.65rem 1.5rem; }
.btn-ghost:hover{ background:var(--maroon-deep); color:var(--gold-light); }

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

/* =========================================================
   "Tap to light up" interaction — room / banquet / gallery photos
   sit dim like a room with the lights off; hover or tap turns
   the light on with a warm lamp-glow and a quick filament flicker.
   ========================================================= */
.light-toggle{ position:relative; cursor:pointer; }
.light-toggle img{
  filter:brightness(.52) saturate(.82) contrast(1.02);
  transition:filter 1s var(--ease);
}
.light-toggle::before{
  content:'';
  position:absolute; inset:0; z-index:1;
  background:radial-gradient(circle at 50% 38%, rgba(233,205,140,.65) 0%, rgba(233,205,140,.18) 38%, transparent 70%);
  mix-blend-mode:screen;
  opacity:0;
  transition:opacity 1s var(--ease);
  pointer-events:none;
}
.light-toggle:hover img,
.light-toggle:focus-visible img,
.light-toggle.lit img{ filter:brightness(1) saturate(1) contrast(1); }
.light-toggle:hover::before,
.light-toggle:focus-visible::before,
.light-toggle.lit::before{ opacity:1; }
.light-toggle.flicker::before{ animation:bulbFlicker .6s steps(1,end); }
@keyframes bulbFlicker{
  0%{ opacity:0; } 12%{ opacity:.85; } 24%{ opacity:.1; }
  38%{ opacity:1; } 50%{ opacity:.2; } 70%{ opacity:1; } 100%{ opacity:1; }
}

.light-cue{
  position:absolute; top:14px; right:14px; z-index:2;
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(20,4,11,.55);
  border:1px solid rgba(233,205,140,.55);
  color:var(--gold-light);
  opacity:.85;
  transition:background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .3s var(--ease);
  pointer-events:none;
}
.light-cue svg{ width:16px; height:16px; }
.light-toggle:hover .light-cue,
.light-toggle:focus-visible .light-cue,
.light-toggle.lit .light-cue{
  background:var(--gold-light); color:var(--maroon-deep);
  box-shadow:0 0 18px 4px rgba(233,205,140,.75);
  transform:scale(1.08);
}

/* =========================================================
   Topbar + Header
   ========================================================= */
.topbar{
  background:var(--maroon-deep);
  color:var(--gold-light);
  font-size:.78rem;
  letter-spacing:.04em;
}
.topbar-inner{
  max-width:var(--container); margin:0 auto;
  display:flex; justify-content:space-between; align-items:center;
  padding:.5rem 1.6rem;
}
.topbar-phone{ display:flex; align-items:center; gap:.4rem; color:var(--ivory); }
.topbar-phone svg{ width:12px; height:12px; }

.site-header{
  position:sticky; top:0; z-index:500;
  background:rgba(51,8,26,.92);
  box-shadow:0 4px 18px rgba(0,0,0,.18);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:background .4s var(--ease), box-shadow .4s var(--ease), padding .3s;
}
.site-header.scrolled{
  background:rgba(51,8,26,.97);
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.nav-inner{
  max-width:var(--container); margin:0 auto;
  display:flex; align-items:center; gap:2rem;
  padding:1.1rem 1.6rem;
}
.brand{ display:flex; align-items:center; gap:.65rem; margin-right:auto; }
.brand-mark{
  width:38px; height:38px; border:1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); color:var(--gold-light); font-size:1.1rem;
}
.brand-text{
  font-family:var(--display); color:var(--ivory);
  font-size:1.25rem; letter-spacing:.02em;
}
.brand-text em{ font-style:normal; color:var(--gold-light); margin-left:.3em; }

.nav-links{ display:flex; gap:2rem; }
.nav-links a{
  font-size:.82rem; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ivory-2);
  position:relative; padding-bottom:4px;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold); transition:width .35s var(--ease);
}
.nav-links a:hover::after{ width:100%; }
.nav-cta{ white-space:nowrap; }

.hamburger{
  display:none; flex-direction:column; gap:5px;
  background:none; border:0; cursor:pointer; padding:6px;
}
.hamburger span{ width:24px; height:1.5px; background:var(--ivory); transition:transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;
  height:100vh; min-height:640px;
  display:flex; align-items:flex-end;
  overflow:hidden;
  color:var(--ivory);
}
.hero-media{ position:absolute; inset:0; }
.hero-media img{
  width:100%; height:100%; object-fit:cover;
  transform:scale(1.08);
  animation:heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom{ to{ transform:scale(1); } }
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, rgba(20,4,11,.92) 0%, rgba(20,4,11,.55) 42%, rgba(20,4,11,.35) 68%, rgba(20,4,11,.55) 100%);
}
.hero-frame{ position:absolute; inset:18px; border:1px solid rgba(233,205,140,.55); pointer-events:none; z-index:2; }
.corner{ position:absolute; width:34px; height:34px; color:var(--gold-light); opacity:.9; }
.corner-tl{ top:-1px; left:-1px; }
.corner-tr{ top:-1px; right:-1px; transform:scaleX(-1); }
.corner-bl{ bottom:-1px; left:-1px; transform:scaleY(-1); }
.corner-br{ bottom:-1px; right:-1px; transform:scale(-1); }

.hero-content{
  position:relative; z-index:3;
  max-width:var(--container); margin:0 auto;
  padding:0 1.8rem 6.2rem;
  width:100%;
}
.hero-content .eyebrow{ color:var(--gold-light); font-size:1rem; }
.hero-title{
  font-family:var(--display);
  font-size:clamp(3.4rem, 9vw, 7.2rem);
  line-height:.95;
  display:flex; flex-direction:column;
  margin-bottom:1.3rem;
}
.hero-title span{ display:block; }
.hero-title-em{ color:var(--gold-light); margin-left:clamp(1.5rem,6vw,4.5rem); }
.hero-sub{
  font-family:var(--subhead); font-style:italic;
  font-size:clamp(1.05rem,1.6vw,1.4rem);
  max-width:44ch; color:#EDE0D6;
  margin-bottom:2.3rem;
}
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

.scroll-cue{
  position:absolute; right:2.4rem; bottom:2.2rem; z-index:3;
  width:1px; height:70px; background:rgba(233,205,140,.4);
}
.scroll-cue span{
  position:absolute; top:0; left:-2px; width:5px; height:5px; border-radius:50%;
  background:var(--gold-light);
  animation:cue 2.4s var(--ease) infinite;
}
@keyframes cue{ 0%{ top:0; opacity:0; } 20%{ opacity:1; } 100%{ top:100%; opacity:0; } }

/* =========================================================
   Amenity ticker strip
   ========================================================= */
.strip{
  background:var(--sindoor);
  color:var(--ivory);
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.15);
  border-bottom:1px solid rgba(255,255,255,.15);
}
.strip-track{ display:flex; width:max-content; animation:ticker 28s linear infinite; }
.strip:hover .strip-track{ animation-play-state:paused; }
.strip-set{ display:flex; align-items:center; white-space:nowrap; }
.strip-set span{
  font-family:var(--display); font-size:1.05rem; letter-spacing:.03em;
  padding:.85rem 1.4rem;
}
.strip-set i{ font-style:normal; color:var(--gold-light); font-size:.8rem; }
@keyframes ticker{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* =========================================================
   Madhubani motif divider
   ========================================================= */
.motif-divider{ background:var(--ivory); color:var(--sindoor); padding:.6rem 0; }
.motif-divider-dark{ background:var(--maroon-deep); color:var(--gold); }
.motif-row{ display:block; width:100%; height:26px; }

/* =========================================================
   About
   ========================================================= */
.about{ padding:6.5rem 1.8rem; max-width:var(--container); margin:0 auto; }
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:4.5rem; align-items:center; }
.about-copy p{ font-size:1.02rem; line-height:1.85; color:var(--text-soft); margin-top:1.1rem; }
.about-tags{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.8rem; }
.about-tags span{
  font-size:.76rem; letter-spacing:.05em; text-transform:uppercase;
  border:1px solid var(--gold); color:var(--maroon-deep);
  padding:.5rem 1rem; border-radius:20px;
}
.about-collage{ position:relative; height:480px; }
.about-collage img{ position:absolute; object-fit:cover; box-shadow:0 20px 40px rgba(51,8,26,.25); }
.collage-a{ width:68%; height:72%; top:0; left:0; z-index:2; }
.collage-b{ width:58%; height:52%; bottom:0; right:0; z-index:1; border:6px solid var(--ivory); }
.collage-motif{ position:absolute; width:64px; height:64px; color:var(--gold); top:44%; left:58%; z-index:3; background:var(--ivory); border-radius:50%; padding:14px; box-shadow:0 8px 20px rgba(51,8,26,.2); }

/* =========================================================
   Rooms
   ========================================================= */
.rooms{ background:var(--ivory-2); padding:6.5rem 1.8rem; }
.room-grid{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:2.4rem;
}
.room-card{ background:var(--ivory); box-shadow:0 18px 40px rgba(51,8,26,.09); }
.room-media{ height:320px; overflow:hidden; position:relative; }
.room-media img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.room-card:hover .room-media img{ transform:scale(1.06); }
.room-body{ padding:2rem 2.2rem 2.3rem; }
.room-body h3{ font-family:var(--display); font-size:1.6rem; color:var(--maroon-deep); }
.room-body p{ color:var(--text-soft); margin-top:.6rem; line-height:1.7; }
.room-feats{ display:flex; flex-wrap:wrap; gap:.6rem 1.1rem; margin-top:1.2rem; }
.room-feats li{ font-size:.82rem; color:var(--maroon-deep); position:relative; padding-left:1rem; }
.room-feats li::before{ content:''; position:absolute; left:0; top:.5em; width:5px; height:5px; background:var(--sindoor); border-radius:50%; }
.rooms-cta{ text-align:center; margin-top:3rem; }

/* =========================================================
   Banquet
   ========================================================= */
.banquet{ background:var(--maroon-deep); padding:6.5rem 1.8rem 5.5rem; position:relative; }
.banquet::before{
  content:''; position:absolute; inset:0; opacity:.06; pointer-events:none;
  background-image:radial-gradient(circle, var(--gold) 1px, transparent 1.4px);
  background-size:26px 26px;
}
.banquet-intro{ max-width:680px; margin:0 auto 3.4rem; text-align:center; position:relative; }
.banquet-gallery{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr); grid-template-rows:auto auto; gap:1.1rem;
  position:relative;
}
.b-item{ margin:0; position:relative; overflow:hidden; }
.b-item img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.b-item:hover img{ transform:scale(1.07); }
.b-item-large{ grid-column:span 2; grid-row:span 2; }
.b-item:not(.b-item-large){ height:100%; min-height:220px; }
.b-item-large{ min-height:462px; }
.b-item figcaption{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:1.1rem 1.3rem;
  font-family:var(--subhead); font-style:italic; font-size:1rem;
  color:var(--ivory);
  background:linear-gradient(0deg, rgba(20,4,11,.85), transparent);
}
.banquet-facts{
  max-width:var(--container); margin:3rem auto 0;
  display:flex; flex-wrap:wrap; justify-content:center; gap:0;
  border-top:1px solid rgba(233,205,140,.25);
}
.banquet-facts div{
  flex:1 1 150px; text-align:center; padding:1.6rem 1rem;
  border-right:1px solid rgba(233,205,140,.25);
}
.banquet-facts div:last-child{ border-right:none; }
.banquet-facts span{
  font-family:var(--display); color:var(--gold-light); font-size:1.05rem; letter-spacing:.03em;
}

/* =========================================================
   Amenities
   ========================================================= */
.amenities{ padding:6.5rem 1.8rem; max-width:var(--container); margin:0 auto; }
.amenity-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2.6rem 2rem; }
.amenity{ text-align:center; padding:1rem; }
.amenity svg{ width:38px; height:38px; color:var(--sindoor); margin-bottom:1rem; }
.amenity h4{ font-family:var(--display); font-size:1.15rem; color:var(--maroon-deep); margin-bottom:.4rem; }
.amenity p{ color:var(--text-soft); font-size:.92rem; line-height:1.6; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery{ background:var(--ivory-2); padding:6.5rem 1.8rem; }
.gallery-grid{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem;
}
.g-item{ overflow:hidden; height:280px; position:relative; }
.g-item img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease), filter .5s; filter:saturate(.92); }
.g-item:hover img{ transform:scale(1.08); filter:saturate(1.05); }

/* =========================================================
   Contact
   ========================================================= */
.contact{ padding:6.5rem 1.8rem; max-width:var(--container); margin:0 auto; }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:stretch; }
.contact-copy .section-note{ margin-bottom:0; }
.contact-list{ margin:2rem 0; display:flex; flex-direction:column; gap:1rem; }
.contact-list li{ display:flex; align-items:center; gap:.9rem; font-size:1rem; color:var(--maroon-deep); }
.contact-list svg{ width:19px; height:19px; color:var(--sindoor); flex:none; }
.contact-cta{ display:flex; gap:1rem; flex-wrap:wrap; }
.contact-map{ min-height:340px; box-shadow:0 18px 40px rgba(51,8,26,.12); }
.contact-map iframe{ width:100%; height:100%; min-height:340px; border:0; filter:sepia(.08) saturate(1.05); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background:var(--maroon-deep); color:var(--ivory-2); }
.footer-inner{
  max-width:var(--container); margin:0 auto;
  padding:3.6rem 1.8rem 2.4rem;
  display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:2rem;
}
.footer-brand .brand-text{ font-size:1.3rem; }
.footer-brand p{ margin-top:.8rem; color:#C9B6AC; font-size:.88rem; }
.footer-links{ display:flex; flex-direction:column; gap:.7rem; }
.footer-links a{ font-size:.9rem; color:var(--ivory-2); }
.footer-links a:hover{ color:var(--gold-light); }
.footer-contact a{ font-family:var(--display); font-size:1.15rem; color:var(--gold-light); }
.footer-contact p{ margin-top:.7rem; font-family:var(--subhead); font-style:italic; color:#C9B6AC; }
.footer-bottom{
  border-top:1px solid rgba(233,205,140,.15);
  text-align:center; padding:1.2rem; font-size:.8rem; color:#B49F94;
}

/* =========================================================
   Floating call button
   ========================================================= */
.fab{
  position:fixed; right:1.6rem; bottom:1.6rem; z-index:400;
  width:56px; height:56px; border-radius:50%;
  background:var(--sindoor); color:var(--ivory);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(163,38,56,.45);
  animation:pulse 2.6s ease-in-out infinite;
}
.fab svg{ width:22px; height:22px; }
@keyframes pulse{ 0%,100%{ box-shadow:0 10px 26px rgba(163,38,56,.45); } 50%{ box-shadow:0 10px 32px rgba(163,38,56,.7); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1024px){
  .about-grid{ grid-template-columns:1fr; }
  .about-collage{ height:380px; order:-1; }
  .amenity-grid{ grid-template-columns:repeat(2,1fr); }
  .banquet-gallery{ grid-template-columns:repeat(2,1fr); }
  .b-item-large{ grid-column:span 2; min-height:320px; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width:800px){
  .topbar-inner{ font-size:.7rem; }
  .nav-links, .nav-cta{ display:none; }
  .hamburger{ display:flex; }
  .site-header.menu-open{ background:rgba(51,8,26,.97); }
  .nav-links.open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:rgba(51,8,26,.98); padding:1rem 1.8rem 1.6rem;
  }
  .nav-links.open li{ border-bottom:1px solid rgba(233,205,140,.12); }
  .nav-links.open a{ display:block; padding:1rem 0; }
  .hero-content{ padding-bottom:4rem; }
  .room-grid{ grid-template-columns:1fr; }
  .amenity-grid{ grid-template-columns:1fr 1fr; }
  .banquet-gallery{ grid-template-columns:1fr; }
  .b-item-large{ grid-column:span 1; min-height:280px; }
  .b-item:not(.b-item-large){ min-height:220px; }
  .gallery-grid{ grid-template-columns:1fr 1fr; }
  .footer-inner{ grid-template-columns:1fr; text-align:center; }
  .footer-links{ align-items:center; }
  .contact-list li{ justify-content:center; }
  .contact-cta{ justify-content:center; }
}

@media (max-width:480px){
  .hero-title{ font-size:clamp(2.6rem,14vw,3.4rem); }
  .hero-title-em{ margin-left:1.2rem; }
  .gallery-grid{ grid-template-columns:1fr; }
  .amenity-grid{ grid-template-columns:1fr; }
}
