/* ===================================================================
   Sankara Stays — shared stylesheet
   =================================================================== */

:root {
  --bg: #1f2c1e;
  --bg-alt: #182418;
  --bg-dark: #141c13;
  --bg-darker: #101810;
  --text: #e7e2d3;
  --text-light: #f4f0e4;
  --text-lighter: #f7f3e8;
  --text-body: #cdd6c4;
  --text-muted: #a9b79f;
  --text-faint: #6f7c67;
  --accent: #d9b46a;
  --border: rgba(217, 180, 106, .2);
  --border-strong: rgba(217, 180, 106, .35);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Karla', sans-serif;
}

html {
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  width: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: inherit; }

.eyebrow {
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 16px 34px;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--small {
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  padding: 11px 24px;
}

.btn--outline {
  color: var(--accent);
  border: 1px solid var(--border-strong);
  padding: 13px 28px;
  font-size: 13px;
}

.sk-pad { padding-left: 64px; padding-right: 64px; }

/* -------------------- HEADER / NAV -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text-light);
}

.back-home {
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-body);
}

.nav__links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.nav__links a {
  text-decoration: none;
  color: var(--text-body);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 22px;
  flex: none;
}

.mobile-menu {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 8px 24px 16px;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu a {
  color: var(--text-body);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(217, 180, 106, .1);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
}

.mobile-menu a:last-child { border-bottom: none; }

/* -------------------- HERO -------------------- */

.hero {
  position: relative;
  height: 82vh;
  min-height: 520px;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.is-active { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 18, .35), rgba(20, 28, 18, .85));
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.hero__content h1 {
  font-family: var(--font-serif);
  font-size: 68px;
  line-height: 1.15;
  color: var(--text-lighter);
  font-weight: 600;
  max-width: 960px;
  margin: 0;
}

.hero__content p {
  font-size: 16px;
  color: var(--text-body);
  margin-top: 22px;
  max-width: 600px;
  line-height: 1.7;
  letter-spacing: .02em;
}

.hero__content .btn { margin-top: 36px; }

/* -------------------- SECTION HELPERS -------------------- */

.sk-sec { padding-top: 100px; padding-bottom: 100px; }

.section-intro {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}

.section-intro h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

.section-intro p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  margin-top: 22px;
}

/* -------------------- WELCOME -------------------- */

.welcome {
  padding: 100px 64px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.welcome h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

.welcome p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-body);
  margin-top: 28px;
  text-align: left;
}

/* -------------------- GALLERY -------------------- */

.gallery { padding: 0 64px 100px; }

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

.gallery__item {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------- AMENITIES -------------------- */

.amenities { padding: 90px 64px; background: var(--bg-alt); }

.amenities__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.amenities__grid li {
  padding: 26px 18px;
  text-align: center;
  border: 1px solid var(--border);
  font-size: 14px;
}

.amenities__icon {
  display: block;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--accent);
}

/* -------------------- AYURVEDA -------------------- */

.ayurveda { padding: 110px 64px; }

.ayurveda__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-body);
}

/* -------------------- LOCATION / MAP -------------------- */

.location {
  padding: 0 64px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.location__map {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.location__map iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 340px;
}

.location__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location__info h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 14px;
}

.location__info p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
}

/* -------------------- TESTIMONIALS -------------------- */

.testimonials { padding: 0 64px 110px; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 28px;
  margin: 0;
}

.testimonial .stars {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: .15em;
  margin-bottom: 16px;
}

.testimonial p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

.testimonial cite {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
}

/* -------------------- FAQ (details/summary, no JS) -------------------- */

.faq { padding: 0 64px 110px; max-width: 820px; margin: 0 auto; }

.faq__list { border-top: none; }

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  color: var(--text-light);
  font-weight: 600;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  flex: none;
}

.faq__item[open] summary::after { content: '\2212'; }

.faq__item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  padding: 0 4px 22px;
  max-width: 700px;
  margin: 0;
}

.faq__more { text-align: center; margin-top: 36px; }

/* -------------------- FAQ page specific: categories + groups -------------------- */

.faq-hero {
  padding: 80px 64px 50px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.faq-hero h1 {
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

.faq-hero p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-top: 20px;
}

.faq-hero a { color: var(--accent); }

.faq-categories {
  padding: 0 64px 40px;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.faq-categories a {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-body);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.faq-group {
  margin-bottom: 52px;
}

.faq-group h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 6px;
}

/* -------------------- CTA -------------------- */

.cta {
  padding: 100px 64px;
  text-align: center;
  background: var(--bg-dark);
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--text-lighter);
  margin-bottom: 18px;
}

.cta p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 34px;
}

/* -------------------- FOOTER -------------------- */

.site-footer {
  padding: 56px 64px;
  background: var(--bg-darker);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-size: 14px;
}

.site-footer__brand { flex: 1.3 1 240px; }

.site-footer__brand .brand-name {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--text-light);
  margin-bottom: 10px;
  display: block;
}

.site-footer__brand p {
  line-height: 1.7;
  margin: 0;
}

.site-footer__contact {
  flex: 1 1 180px;
  font-style: normal;
}

.site-footer__contact .label {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: .08em;
  font-size: 12px;
  text-transform: uppercase;
  display: block;
}

.site-footer__contact p {
  line-height: 2;
  margin: 0;
}

.site-footer__bottom {
  flex: 1 0 100%;
  border-top: 1px solid rgba(217, 180, 106, .15);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-faint);
}

.site-footer--simple {
  padding: 36px 64px;
  background: var(--bg-darker);
  color: var(--text-faint);
  text-align: center;
  font-size: 12px;
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 860px) {
  .nav__links { display: none; }
  .menu-toggle { display: flex; }
  .hero__content h1 { font-size: 40px; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .location,
  .ayurveda__stats { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .gallery__grid { display: flex; flex-direction: column; }
  .gallery__grid .gallery__item { aspect-ratio: 16 / 10; }
  .site-footer > div { flex-basis: 100%; }
  .sk-pad,
  .site-header__inner,
  .welcome,
  .gallery,
  .amenities,
  .ayurveda,
  .location,
  .testimonials,
  .faq,
  .cta,
  .site-footer,
  .site-footer--simple,
  .faq-hero,
  .faq-categories { padding-left: 24px !important; padding-right: 24px !important; }
  .sk-sec,
  .welcome,
  .amenities,
  .ayurveda,
  .cta { padding-top: 60px !important; padding-bottom: 60px !important; }
  .faq-hero h1 { font-size: 34px !important; }
}

@media (max-width: 560px) {
  .amenities__grid { grid-template-columns: 1fr; }
  .hero__content h1 { font-size: 32px; }
  .sk-sec,
  .welcome,
  .amenities,
  .ayurveda,
  .cta { padding-top: 44px !important; padding-bottom: 44px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}
