/* ============================================================
   HOTEL DEMO TEMPLATE — "Krrish style"
   Design language taken from the Hotel Krrish reference:
   near-black header/footer, gold logo + nav, rust-orange
   accents, Playfair Display headings, Montserrat body,
   white panels, Ken Burns hero slideshow, scroll fade-ins.
   Flaws NOT copied: no typos, no overlapping cards,
   no fake chef, no dead booking button.
   ============================================================ */

:root {
  --black: #121212;
  --charcoal: #1d1d1d;
  --gold: #c9a227;
  --gold-light: #d4af37;
  --gold-soft: #e8d9a0;
  --rust: #d67f53;
  --rust-dark: #b96a42;
  --cream: #faf7f1;
  --white: #ffffff;
  --grey: #5a5a5a;
  --grey-light: #e9e6df;
  --green-wa: #25d366;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
/* Warm placeholder tone while a photo is still loading, so a slow
   connection shows a soft panel instead of a white hole. */
.room-photo img, .gallery-grid img, .about-photo img,
.events-photo img, .dining-photo img { background: #e9e2d5; }
a { color: inherit; text-decoration: none; }
section { padding: 72px 5%; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--black); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
}
.lead { font-size: 1.08rem; color: var(--grey); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p:last-child { color: var(--grey); margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201, 162, 39, 0.45); }
.btn-outline { border-color: var(--gold-light); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); transform: translateY(-2px); }
.btn-outline-dark { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: 0.78rem; }
.btn-large { width: 100%; padding: 16px; font-size: 0.95rem; }
.btn-whatsapp { background: var(--green-wa); color: #fff; }
.btn-whatsapp:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-whatsapp.disabled { background: #9aa0a6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.96);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45); }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  line-height: 1.1;
  white-space: nowrap;
}
.logo span {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #bdbdbd;
  margin-top: 3px;
}
#main-nav { display: flex; gap: 22px; margin-left: auto; }
#main-nav a {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
#main-nav a:hover { color: var(--white); border-color: var(--gold); }
#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.7rem;
  cursor: pointer;
  margin-left: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; animation: kenburns 6s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(20, 14, 8, 0.55), rgba(20, 14, 8, 0.35) 45%, rgba(20, 14, 8, 0.62));
}
.hero-content { position: relative; z-index: 2; padding: 120px 5% 60px; max-width: 900px; }
.hero-eyebrow {
  color: var(--gold-soft);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: 0.08em;
  margin: 12px 0 16px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.hero-tagline { color: #f0ead8; font-size: clamp(1rem, 2.4vw, 1.25rem); margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 10px; }
.hero-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: transparent; cursor: pointer; padding: 0;
  transition: background 0.3s;
}
.hero-dot.active { background: var(--gold-light); }

/* ---------- Booking bar ---------- */
.booking-bar {
  padding: 0 5%;
  margin-top: -46px;
  position: relative;
  z-index: 5;
}
.booking-bar-form {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 18px;
  align-items: end;
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfcbc2;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
}
.field input:focus, .field select:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---------- Tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}
.tile {
  text-align: center;
  padding: 34px 20px;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile-icon { font-size: 2.1rem; display: block; margin-bottom: 12px; }
.tile h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tile p { color: var(--grey); font-size: 0.93rem; }

/* ---------- About / split sections ---------- */
.about, .events, .dining {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.about-photo img, .events-photo img, .dining-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-text h2, .events-text h2, .dining-text h2 { margin-bottom: 14px; }
.about-text p, .events-text p, .dining-text p { color: var(--grey); margin-bottom: 14px; }
.check-list { list-style: none; margin: 18px 0 26px; }
.check-list li { padding: 6px 0 6px 30px; position: relative; color: var(--charcoal); }
.check-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 6px;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Rooms ---------- */
.rooms { background: var(--cream); }
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1280px;
  margin: 0 auto;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.room-photo { position: relative; overflow: hidden; }
.room-photo img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s; }
.room-card:hover .room-photo img { transform: scale(1.06); }
.room-price {
  position: absolute;
  right: 14px; bottom: 14px;
  background: rgba(18, 18, 18, 0.88);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 6px;
}
.room-price small { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; color: #ddd; }
.room-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 1.45rem; margin-bottom: 8px; }
.room-body > p { color: var(--grey); font-size: 0.94rem; margin-bottom: 14px; }
.room-body ul { list-style: none; margin-bottom: 20px; }
.room-body li { font-size: 0.9rem; color: var(--grey); padding: 3px 0 3px 22px; position: relative; }
.room-body li::before { content: "\2713"; position: absolute; left: 0; color: var(--rust); font-weight: 700; }
.room-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Events / dining ---------- */
.events { background: var(--black); color: #eee; max-width: none; }
.events .eyebrow { color: var(--gold-light); }
.events h2 { color: var(--white); }
.events p { color: #c9c9c9; }
.events .events-text, .events .events-photo { max-width: 600px; }
.events .events-text { justify-self: end; }
.dining { background: var(--cream); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}
.gallery-grid img {
  width: 100%; height: 230px; object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s, box-shadow 0.4s;
}
.gallery-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow); }

/* ---------- Amenities ---------- */
.amenities { background: var(--cream); }
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.amenity {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 18px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 18px 22px;
  background: var(--white);
}
.faq-list summary {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--rust); font-size: 1.3rem; }
.faq-list details[open ] summary::after { content: "–"; }
.faq-list p { color: var(--grey); margin-top: 10px; font-size: 0.95rem; }

/* ---------- Booking form ---------- */
.booking { background: var(--cream); }
.booking-form {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.field-wide { grid-column: span 2; }
.form-error {
  color: #b3261e;
  background: #fdecea;
  border: 1px solid #f5c6c2;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.booking-summary {
  max-width: 860px;
  margin: 26px auto 0;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 34px;
}
.booking-summary h3 { font-size: 1.5rem; margin-bottom: 16px; }
.booking-summary dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  row-gap: 8px;
  margin-bottom: 16px;
}
.booking-summary dt { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey); }
.booking-summary dd { font-size: 0.98rem; }
.summary-price { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; }
.summary-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.summary-note { color: var(--grey); font-size: 0.88rem; margin-top: 14px; }

/* ---------- Testimonial ---------- */
.testimonial { background: var(--black); text-align: center; }
.testimonial blockquote { max-width: 720px; margin: 0 auto; color: #eee; }
.testimonial blockquote > p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 26px;
}
.testimonial footer { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
}
.testimonial footer strong { color: var(--white); }
.testimonial footer small { color: #bdbdbd; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: #c9c9c9; padding: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 5% 40px;
}
.footer-logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-light); margin-bottom: 12px; }
.footer-col h4 { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { margin-bottom: 14px; font-size: 0.94rem; }
.footer-bottom {
  border-top: 1px solid #2c2c2c;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-bottom a { color: var(--gold-light); }
#whatsapp-float[hidden] { display: none; }
#whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-wa);
  color: #fff;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s;
}
#whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Hero content animates on load (CSS keyframes, never gated on
   IntersectionObserver — above-fold content must not depend on it). */
.hero-content .hero-eyebrow,
.hero-content h1,
.hero-content .hero-tagline,
.hero-content .hero-cta { animation: heroFadeUp 0.9s ease both; }
.hero-content h1 { animation-delay: 0.15s; }
.hero-content .hero-tagline { animation-delay: 0.3s; }
.hero-content .hero-cta { animation-delay: 0.45s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  #main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 12px 5% 20px;
    gap: 4px;
  }
  #main-nav.open { display: flex; }
  #main-nav a { padding: 10px 0; border-bottom: 1px solid #2c2c2c; }
  #menu-toggle { display: block; }
  .header-inner .btn-small { display: none; }
  .booking-bar-form { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .about, .events, .dining { grid-template-columns: 1fr; gap: 34px; }
  .about-photo img, .events-photo img, .dining-photo img { height: 320px; }
  .events .events-text { justify-self: stretch; }
  .room-grid { grid-template-columns: 1fr; max-width: 520px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  section { padding: 54px 5%; }
  .booking-bar-form { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: span 1; }
  .booking-summary dl { grid-template-columns: 1fr; row-gap: 2px; }
  .booking-summary dd { margin-bottom: 8px; }
  .hero-content h1 { letter-spacing: 0.04em; }
  .booking-form { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
