/* ============================================================
   Shernath Bapu of Triloknath Ashram
   Design tokens — v3: simple, single-accent
   ============================================================ */

:root {
  --white:  #FFFFFF;
  --cream:  #F6F3ED;
  --ink:    #262220;
  --muted:  #6E655C;
  --accent: #8C3F2D;
  --accent-deep: #6B2E20;
  --accent-tint: #EFDCD1;
  --border: #E4DED4;

  --font-display: "Merriweather", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  --measure: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--accent-deep);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.05rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; max-width: var(--measure); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1080px, 92%); margin-inline: auto; }

.section { padding: 4rem 0; }
.section-cream { background: var(--cream); }

.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); }

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

.btn {
  display: inline-block;
  padding: 0.8em 1.8em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-solid { background: var(--accent); color: var(--white); }
.btn-solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

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

.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-bar { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; gap: 1.5rem; }
.brand { display: flex; flex-direction: column; line-height: 1.2; max-width: 300px; }
.brand-name { font-family: var(--font-display); font-size: clamp(1rem, 1.8vw, 1.3rem); color: var(--accent-deep); font-weight: 700; }
.brand-sub { font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.8rem; margin: 0; padding: 0; }
.main-nav a { font-size: 0.96rem; color: var(--ink); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent-deep); }

.header-contact { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { font-size: 0.9rem; color: var(--muted); white-space: nowrap; }

.nav-toggle { display: none; background: none; border: 1px solid var(--ink); border-radius: 4px; width: 42px; height: 38px; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }

/* ---------- Hero (simple split) ---------- */

.hero { padding: 3.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero-eyebrow { color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.8rem; }
.hero p.lede { font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero-media img { border-radius: 6px; }

/* ---------- Simple page intro (no image) ---------- */

.page-intro { padding: 3.5rem 0 1rem; }
.page-intro .hero-eyebrow { margin-bottom: 0.8rem; }
.page-intro p.lede { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }

/* ---------- Split content (image + text) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.8rem; align-items: center; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
.split-media img { border-radius: 6px; }

/* ---------- Daily rhythm (simple vertical list) ---------- */

.rhythm-list { list-style: none; margin: 0; padding: 0; }
.rhythm-item { display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.rhythm-item:first-child { border-top: 1px solid var(--border); }
.rhythm-time { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1.05rem; }
.rhythm-item h4 { font-family: var(--font-body); font-weight: 600; color: var(--ink); margin: 0 0 0.2em; font-size: 1rem; }
.rhythm-item p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Feature / values grid (simple bordered cards) ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.8rem 1.7rem; }
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- Testimonial (simple centered) ---------- */

.testimonial { max-width: 700px; margin-inline: auto; text-align: center; }
.testimonial blockquote { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--accent-deep); margin: 0 0 0.8rem; }
.testimonial cite { font-style: normal; font-size: 0.9rem; color: var(--muted); }

/* ---------- Room cards ---------- */

.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.room-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.room-media img { border-radius: 0; }
.room-tag { display: inline-block; background: var(--accent-tint); color: var(--accent-deep); font-size: 0.78rem; font-weight: 600; padding: 0.3em 0.8em; border-radius: 4px; margin-bottom: 0.6rem; }
.room-body { padding: 1.5rem 1.6rem 1.7rem; }
.room-specs { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 0 0 0.9rem; font-size: 0.86rem; color: var(--muted); }
.room-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent-deep); margin: 0.2rem 0 1rem; }
.room-price small { font-family: var(--font-body); font-size: 0.82rem; color: var(--muted); font-weight: 400; }

/* ---------- Amenities (simple two-column list) ---------- */

.amenity-list { columns: 2; column-gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.amenity-list li { break-inside: avoid; padding: 0.8rem 0; border-bottom: 1px solid var(--border); font-size: 0.97rem; }
.amenity-list li strong { color: var(--accent-deep); display: block; font-size: 1rem; }

/* ---------- Gallery (simple uniform grid) ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- FAQ (SEO) ---------- */

.faq-list { list-style: none; margin: 0; padding: 0; }
.faq-item { padding: 1.3rem 0; border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.faq-item p { margin: 0; font-size: 0.96rem; color: var(--muted); }

/* ---------- Contact (simple two-column, no map) ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
.contact-detail { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-detail:first-child { padding-top: 0; }
.contact-detail h4 { margin: 0 0 0.25rem; font-size: 0.98rem; color: var(--accent-deep); }
.contact-detail p { margin: 0; color: var(--muted); }

.form-field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.88rem; color: var(--muted); }
.form-field input, .form-field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.75em 0.9em;
  border: 1px solid var(--border); border-radius: 4px; background: var(--white); color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 120px; }

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

.cta-band { background: var(--accent); color: var(--white); padding: 3rem 0; }
.cta-band h2 { color: var(--white); margin-bottom: 0.2rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

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

.site-footer { background: var(--accent-deep); color: rgba(255,255,255,0.82); padding: 3.2rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,0.18); }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55rem; font-size: 0.93rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); margin-bottom: 0.6rem; }
.footer-bottom { padding-top: 1.5rem; font-size: 0.84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

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

@media (max-width: 880px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split .split-media { order: -1 !important; }
  .card-grid { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }

  .main-nav { position: fixed; inset: 0 0 0 30%; background: var(--white); flex-direction: column; align-items: flex-start; padding: 6rem 2rem 2rem; gap: 2rem; transform: translateX(100%); transition: transform 0.25s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 1.4rem; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
