/* ===========================================================
   Benital — A Private Mountain & Hill Retreat in Uttarakhand
   Earthy / rustic mountain theme
   =========================================================== */

:root {
  --forest: #2f3b2a;
  --forest-dark: #212b1d;
  --bark: #6b4a34;
  --bark-dark: #4a3324;
  --sand: #f6efe2;
  --sand-deep: #ece1cc;
  --cream: #fffaf1;
  --terracotta: #bc6a35;
  --terracotta-light: #d98a4f;
  --ink: #2a251e;
  --ink-soft: #574e40;
  --whatsapp: #3fae53;
  --shadow: 0 12px 32px rgba(33, 27, 17, 0.18);
  --radius: 14px;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--forest-dark);
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-call {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(188, 106, 53, 0.35);
}

.btn-call:hover {
  background: var(--terracotta-light);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(63, 174, 83, 0.32);
}

.btn-whatsapp:hover {
  background: #47c25d;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--cream);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-decoration: none;
}

.brand .mark {
  width: 34px;
  height: 34px;
}

.site-header.scrolled {
  background: rgba(246, 239, 226, 0.96);
  box-shadow: 0 4px 18px rgba(33, 27, 17, 0.12);
  padding: 12px 0;
  backdrop-filter: blur(6px);
}

.site-header.scrolled .brand {
  color: var(--forest-dark);
}

.site-header.scrolled .nav a {
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav a:hover {
  color: var(--terracotta-light);
}

.nav .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: background 0.2s ease;
}

.site-header.scrolled .nav-toggle span {
  background: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(33, 27, 17, 0.55) 0%, rgba(33, 27, 17, 0.25) 38%, rgba(24, 20, 13, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 90px;
}

.hero-content .eyebrow {
  color: var(--cream);
  background: rgba(24, 20, 13, 0.45);
  border: 1px solid rgba(255, 250, 241, 0.35);
  padding: 7px 16px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero p.lede {
  color: rgba(255, 250, 241, 0.92);
  font-size: 1.2rem;
  max-width: 620px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 250, 241, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: rgba(255, 250, 241, 0.55);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- Section shell ---------- */

section {
  padding: 96px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

/* ---------- About ---------- */

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.about-copy p {
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.fact {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 20px 22px;
  border-left: 4px solid var(--terracotta);
}

.fact .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 6px;
  font-weight: 700;
}

.fact .value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--forest-dark);
}

.about-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media .frame-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(33, 27, 17, 0.55);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

/* ---------- Gallery ---------- */

.gallery-section {
  background: var(--sand-deep);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 2px solid var(--forest);
  background: transparent;
  color: var(--forest-dark);
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--forest);
  color: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: var(--forest-dark);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.08);
}

.gallery-item .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 20, 13, 0.28);
  pointer-events: none;
}

.gallery-item .play-badge svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.gallery-item[data-type="video"]::after {
  content: "";
}

.gallery-load-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 10, 0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 88vh;
}

.lightbox-inner img,
.lightbox-inner video {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto;
}

.lightbox-caption {
  color: var(--sand);
  text-align: center;
  margin-top: 14px;
  font-size: 0.92rem;
  opacity: 0.85;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--cream);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-close {
  top: -18px;
  right: -18px;
}

.lightbox-prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 20px;
  height: 20px;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--forest-dark);
  color: var(--sand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(188, 106, 53, 0.18), transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(63, 174, 83, 0.12), transparent 45%);
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact .eyebrow {
  color: var(--terracotta-light);
}

.contact h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact p.lede {
  color: rgba(246, 239, 226, 0.82);
  margin: 0 auto 40px;
}

.contact-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(246, 239, 226, 0.06);
  border: 1px solid rgba(246, 239, 226, 0.14);
  border-radius: 20px;
  padding: 40px 48px;
}

.contact-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--cream);
}

.contact-role {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-top: -12px;
}

.contact-phone {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-dark);
  color: rgba(246, 239, 226, 0.65);
  padding: 28px 0;
  border-top: 1px solid rgba(246, 239, 226, 0.12);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.site-footer a {
  color: rgba(246, 239, 226, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--terracotta-light);
}

.site-footer .container.footer-credit {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(246, 239, 226, 0.1);
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ---------- Sticky mobile contact bar ---------- */

.mobile-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px;
  background: var(--cream);
  box-shadow: 0 -6px 20px rgba(33, 27, 17, 0.15);
}

.mobile-contact-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 13px 12px;
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    color: var(--ink);
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: block;
    z-index: 110;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .lightbox-close {
    top: 4px;
    right: 4px;
  }

  .contact-card {
    padding: 30px 26px;
  }

  .mobile-contact-bar {
    display: flex;
  }

  body {
    padding-bottom: 74px;
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }
}
