/* ==========================================================================
   Triveraa Sonkupi Eco Resort — Luxury Layout
   Inspired by Postcard Hotels: centered logo in nav, refined serif, cream tones
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #1d2420;          /* soft black-green */
  --green: #2D5016;
  --green-dark: #1a330a;
  --gold: #b0894e;
  --gold-soft: #d9c198;
  --cream: #efe9de;
  --cream-deep: #e6dfcf;
  --paper: #fbf9f4;
  --white: #ffffff;
  --gray: #6b6b64;
  --line: #e2dccd;

  --font-head: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  --shadow-sm: 0 8px 24px rgba(28, 43, 26, 0.08);
  --shadow-md: 0 20px 45px rgba(28, 43, 26, 0.14);
  --radius: 12px;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.7rem;
  line-height: 1.12;
  max-width: 600px;
}
.section-title.center { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-solid { background: var(--green); color: var(--cream); }
.btn-solid:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-block { width: 100%; }

.play-cue {
  width: 24px; height: 24px; min-width: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center; justify-content: center;
}
.play-cue i { color: #fff; margin-left: 1px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header-top {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
  overflow: hidden;
}
.header-top-inner {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.header-top a { color: inherit; display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s; }
.header-top a:hover { color: #fff; }
.header-top i { font-size: 0.7rem; color: var(--gold-soft); }

.header.scrolled .header-top {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  padding-top: 12px;
  padding-bottom: 12px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled .nav-wrap { background: rgba(251,250,244,0.97); box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

.brand { display: inline-flex; align-items: center; padding: 4px 0; }
.brand img { max-height: 58px; width: auto; }
.brand:hover { opacity: 0.9; }

.nav ul { display: flex; gap: 30px; align-items: center; }
.nav-right { justify-content: flex-end; }

.nav ul { display: flex; gap: 26px; align-items: center; }
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }

.nav a {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav a:hover,
.nav a.active { color: var(--gold-soft); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }

.header.scrolled .nav a,
.header.scrolled .nav a:hover,
.header.scrolled .nav a.active { color: var(--green); }

.menu-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.3rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-shade { position: absolute; inset: 0; z-index: 1; }
.shade-1 { background: linear-gradient(to bottom, rgba(20,32,15,0.45), rgba(20,32,15,0.35)); }
.shade-2 { background: rgba(20,32,15,0.30); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
  margin-top: 60px;
}

.hero-badge {
  max-height: 150px;
  width: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45));
  animation: heroFloat 5s ease-in-out infinite;
  transition: transform 0.35s ease;
  will-change: transform;
}
.hero-badge:hover {
  transform: translateY(-8px) scale(1.06);
  animation-play-state: paused;
}
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-content h1 {
  font-family: var(--font-head);
  font-size: 4.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-content h1 span { font-style: normal; color: var(--gold-soft); }

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-buttons { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; margin-bottom: 70px; }
.about-title { font-size: 2.9rem; line-height: 1.12; margin-bottom: 20px; }
.about-title .leaf { color: var(--gold); margin-left: 6px; }
.about-copy p { color: var(--gray); margin-bottom: 14px; font-size: 0.98rem; }
.about-copy p.mb-extra { margin-bottom: 30px; }
.about-media { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; height: 430px; object-fit: cover; }
.play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-sm); transition: transform 0.3s ease; }
.about-media:hover .play-badge { transform: translate(-50%,-50%) scale(1.1); }

.highlights { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; border-top: 1px solid var(--gray); padding-top: 44px; }
.highlight { text-align: center; transition: transform 0.3s ease; }
.highlight:hover { transform: translateY(-4px); }
.highlight-icon { width: 48px; height: 48px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.highlight-icon i { font-size: 1.6rem; color: var(--gold); }
.h-name { font-size: 0.8rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: 0.04em; }
.h-desc { font-size: 0.72rem; color: var(--gray); line-height: 1.4; }

/* ---------- Overview ---------- */
.overview { background: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-copy p { color: var(--gray); margin: 18px 0 30px; font-size: 0.98rem; max-width: 380px; }
.overview-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card { background: var(--paper); border-radius: 14px; padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--gold-soft); }
.stat-num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 600; color: var(--green); display: block; line-height: 1; }
.stat-num .plus { font-size: 1.9rem; font-style: normal; }
.stat-lab { display: block; margin-top: 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gray); }

/* ---------- Scenic / Explore ---------- */
.scenic { background: var(--paper); }
.explore-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.explore-nav { display: flex; gap: 12px; }
.explore-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #dbd5c6; background: transparent; color: var(--gray); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.explore-arrow:hover { background: var(--green); color: #fff; border-color: var(--green); }
.explore-track { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none; }
.explore-track::-webkit-scrollbar { display: none; }
.explore-card { position: relative; flex: 0 0 auto; width: 210px; border-radius: 12px; box-shadow: var(--shadow-sm); cursor: pointer; margin: 0; overflow: hidden; }
.explore-media { position: relative; width: 210px; height: 160px; overflow: hidden; border-radius: 12px; }
.explore-card img { width: 210px; height: 160px; object-fit: cover; transition: transform 0.5s ease; }
.explore-card:hover img { transform: scale(1.05); }
.explore-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.45), transparent); }
.explore-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 14px; color: #fff; font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.explore-desc { padding: 12px 4px 6px; font-size: 0.85rem; line-height: 1.5; color: var(--gray); font-family: var(--font-head); }

/* ---------- Culture ---------- */
.culture { display: grid; grid-template-columns: 1fr 1fr; }
.culture-panel { position: relative; min-height: 500px; display: flex; align-items: flex-end; overflow: hidden; cursor: pointer; }
.culture-panel--dance { background: var(--ink); }
.culture-media { position: absolute; inset: 0; }
.culture-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.culture-panel:hover .culture-media img { transform: scale(1.06); }
.culture-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.2)); }
.culture-body { position: relative; z-index: 2; padding: 50px 48px; color: #fff; }
.culture-body .section-label { color: var(--gold-soft); }
.culture-body h2 { color: #fff; font-size: 2.4rem; margin-bottom: 14px; }
.culture-body p:not(.section-label) { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-bottom: 26px; max-width: 300px; font-weight: 300; }

/* ---------- Chhau Heritage ---------- */
.heritage { background: var(--cream-deep); }
.heritage-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.heritage-media { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.heritage-media img { width: 100%; height: 460px; object-fit: cover; transition: transform 0.6s ease; }
.heritage-media:hover img { transform: scale(1.04); }
.heritage-copy .section-label { color: var(--gold); }
.heritage-copy p:not(.section-label) { color: var(--gray); margin-bottom: 14px; font-size: 0.98rem; }
.heritage-copy p.mb-extra { margin-bottom: 30px; }

/* ---------- Menu ---------- */
.menu { background: var(--paper); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu-item { position: relative; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(28,36,32,0.06); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.menu-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.menu-img { position: relative; height: 180px; overflow: hidden; }
.menu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }
.menu-item:hover .menu-img img { transform: scale(1.18) translateY(-6px); }
.menu-emoji { font-size: 1.5rem; display: block; margin: 16px 20px 6px; }
.menu-item h3 { font-size: 1.18rem; margin-bottom: 6px; padding: 0 20px; }
.menu-item p { color: var(--gray); font-size: 0.88rem; font-weight: 300; padding: 0 20px 20px; }
.menu-tag { position: absolute; top: 14px; right: 14px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--green); padding: 5px 14px; border-radius: 50px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream-deep); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 16px; }
.g-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; margin: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item--big { grid-row: span 2; }
.g-item--tall { grid-row: span 2; }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); color: #fff; font-family: var(--font-head); font-size: 0.98rem; font-weight: 600; opacity: 0; transform: translateY(10px); transition: all 0.4s ease; }
.g-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Contact / Footer ---------- */
.contact { background: var(--ink); color: rgba(255,255,255,0.7); }
.contact-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding-top: 90px; padding-bottom: 60px; }
.contact-block { margin-bottom: 28px; }
.contact-block h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.contact-block ul li { margin-bottom: 10px; font-size: 0.88rem; display: flex; align-items: flex-start; gap: 10px; }
.contact-block ul li a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.contact-block ul li a:hover { color: var(--gold-soft); }
.contact-block ul li i { color: var(--gold-soft); margin-top: 5px; width: 14px; font-size: 0.8rem; }
.contact-social { display: flex; gap: 18px; margin-bottom: 34px; }
.contact-social a { color: rgba(255,255,255,0.6); font-size: 1.05rem; transition: color 0.3s; }
.contact-social a:hover { color: var(--gold-soft); }
.contact-form-box { background: var(--paper); border-radius: 16px; padding: 40px 36px; align-self: start; box-shadow: var(--shadow-md); }
.contact-form-box h3 { font-size: 1.8rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-box input, .contact-form-box textarea { width: 100%; padding: 14px 16px; margin-bottom: 14px; border: 1px solid #e0dacb; border-radius: 6px; font-family: var(--font-body); font-size: 0.92rem; background: #fff; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.contact-form-box input:focus, .contact-form-box textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,137,78,0.14); }
.contact-form-box textarea { resize: vertical; }
.contact-form-box .btn i { transition: transform 0.3s; }
.contact-form-box .btn:hover i { transform: translateX(4px); }
.contact-bottom { border-top: 1px solid rgba(255,255,255,0.1); max-width: 1240px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.contact-bottom .heart { color: var(--gold); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; z-index: 1500; box-shadow: 0 6px 24px rgba(37,211,102,0.4); transition: transform 0.3s ease; animation: pulse 2.5s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); } 50% { box-shadow: 0 6px 32px rgba(37,211,102,0.7); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile menu dropdown ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-wrap { position: relative; }
  .nav { display: none; }
  body.nav-open .nav { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(252,250,244,0.98); backdrop-filter: blur(10px); z-index: 999; align-items: center; justify-content: center; }
  body.nav-open .nav ul { flex-direction: column; gap: 8px; align-items: center; }
  body.nav-open .nav a { font-size: 1.05rem; color: var(--ink); padding: 8px 0; }
  body.nav-open .nav-spacer { display: none; }
  body.nav-open .menu-toggle { color: var(--ink); position: fixed; top: 20px; right: 24px; z-index: 1001; }
  .header-top { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section-title { font-size: 2.3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .highlights { grid-template-columns: repeat(3,1fr); row-gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .heritage-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-title { font-size: 2.4rem; }
  .hero-content h1 { font-size: 3.4rem; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 80px; }
  .section { padding: 72px 0; }
  .hero { min-height: 100vh; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-badge { max-height: 100px; }
  .hero-lead { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .section-title { font-size: 1.9rem; }
  .about-title { font-size: 2rem; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .overview-stats { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item--big { grid-column: auto; grid-row: span 1; }
  .g-item--tall { grid-row: span 1; }
  .culture { grid-template-columns: 1fr; }
  .culture-panel { min-height: 400px; }
  .culture-body { padding: 36px 30px; }
  .form-row { grid-template-columns: 1fr; }
}