/* ==========================================================================
   Massage At Door Step — Hyderabad
   Main stylesheet
   ========================================================================== */

:root {
  --forest: #0f2e25;
  --forest-2: #143a2e;
  --gold: #c9a227;
  --gold-light: #e6c65c;
  --cream: #f7f3ea;
  --sand: #efe7d7;
  --ink: #16211d;
  --body: #4a5854;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(15, 46, 37, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(15, 46, 37, 0.45);
  --max: 1180px;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--forest); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p + p { margin-top: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--forest); color: #d8e4de; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .7rem;
}
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #1d1a08; box-shadow: var(--shadow-soft); }
.btn-gold:hover { background: var(--gold-light); color: #1d1a08; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--forest); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest);
  color: #cfded7;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; }
.topbar a { color: #cfded7; }
.topbar a:hover { color: var(--gold-light); }
.topbar .tb-group { display: flex; flex-wrap: wrap; gap: 8px 20px; min-width: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(247, 243, 234, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,46,37,.09);
}
.site-header.scrolled { box-shadow: 0 8px 26px -22px rgba(15,46,37,.9); }
.nav-wrap {
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  align-items: center; gap: 16px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  background: var(--forest); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
}
.brand-text { min-width: 0; }
.brand-text strong {
  display: block; font-family: var(--font-head); font-size: 1.32rem;
  color: var(--ink); line-height: 1.1; white-space: nowrap;
}
.brand-text span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(15,46,37,.2);
  border-radius: 10px; padding: 9px 11px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--forest); margin: 4px 0; transition: .3s; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; list-style: none; }
.nav > li > a {
  display: block; padding: 10px 13px; font-size: .93rem; font-weight: 500;
  color: var(--ink); border-radius: 8px;
}
.nav > li > a:hover, .nav > li > a.active { color: var(--gold); }
.nav .has-sub > a::after { content: "▾"; margin-left: 6px; font-size: .7rem; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s ease; list-style: none;
}
.has-sub:hover .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 14px; border-radius: 8px; font-size: .9rem; }
.submenu a:hover { background: var(--sand); color: var(--forest); }
.nav-cta { margin-left: 10px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(520px, 82vh, 760px); overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center;
  transition: opacity 1.4s ease, transform 7s ease;
  transform: scale(1.06);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(9,28,22,.92) 6%, rgba(9,28,22,.7) 46%, rgba(9,28,22,.35) 100%);
}
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 720px; color: #eef5f1;
}
.hero-inner h1 { color: #fff; }
.hero-inner h1 em { color: var(--gold-light); font-style: italic; }
.hero-inner p { margin-top: 18px; font-size: 1.06rem; color: #d5e2dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-dots { position: absolute; z-index: 3; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dots button {
  width: 34px; height: 4px; border: 0; border-radius: 4px; cursor: pointer;
  background: rgba(255,255,255,.35);
}
.hero-dots button.active { background: var(--gold); }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative; padding: 96px 0 82px; text-align: center; color: #fff;
  background: linear-gradient(rgba(9,28,22,.86), rgba(9,28,22,.86)) center/cover;
}
.page-banner h1 { color: #fff; }
.crumbs { margin-top: 12px; font-size: .88rem; color: #cbd9d3; }
.crumbs a { color: var(--gold-light); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(15,46,37,.07);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { height: 220px; object-fit: cover; width: 100%; }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; }
.card-body .more { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--gold); font-size: .92rem; }

.feature {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid rgba(15,46,37,.08); box-shadow: var(--shadow-soft);
}
.feature .ico { font-size: 1.6rem; margin-bottom: 10px; }
.section-dark .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #cfded7; box-shadow: none; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 46px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.prose h2 { margin: 34px 0 12px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul, .prose ol { margin: 12px 0 12px 22px; }
.prose li { margin-bottom: 8px; }
.prose p { margin-bottom: 14px; }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 20px; text-align: center; }
.stat-strip .num { font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat-strip small { display: block; margin-top: 6px; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }

/* ---------- Testimonials marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: scroll-x 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 60s; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tcard {
  width: 340px; flex-shrink: 0; background: #fff; border-radius: var(--radius);
  padding: 26px; border: 1px solid rgba(15,46,37,.08); box-shadow: var(--shadow-soft);
}
.tcard .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.tcard .who { margin-top: 14px; font-weight: 600; color: var(--ink); }
.tcard .who small { display: block; font-weight: 400; color: var(--body); }

.gcard { width: 320px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.gcard img { height: 220px; object-fit: cover; }

/* ---------- Gallery grid ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 18px; }
.gallery-grid figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.gallery-grid img { height: 260px; width: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(9,28,22,.85)); color: #fff; font-size: .9rem;
}

/* ---------- FAQ ---------- */
.faq { border: 1px solid rgba(15,46,37,.1); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 22px 20px; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 34px; align-items: start; }
.form-card { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(15,46,37,.07); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; font-family: inherit; font-size: .95rem;
  border: 1px solid rgba(15,46,37,.18); background: #fcfbf7; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; margin-top: 10px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; display: none; font-size: .92rem; }
.form-msg.ok { display: block; background: #e6f4ec; color: #16603c; }
.form-msg.err { display: block; background: #fbe9e7; color: #8c2f22; }

.info-list { list-style: none; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed rgba(15,46,37,.16); }
.info-list .ico { font-size: 1.2rem; }
.info-list strong { display: block; color: var(--ink); }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); line-height: 0; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: #d8e4de; text-align: center; padding: 66px 0; }
.cta-band h2 { color: #fff; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #0b241c; color: #a9bcb4; padding: 62px 0 0; font-size: .93rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #a9bcb4; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 34px; }
.footer-bottom {
  margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .85rem;
}

/* ---------- Floating buttons ---------- */
.floaters { position: fixed; right: 16px; bottom: 18px; z-index: 950; display: flex; flex-direction: column; gap: 12px; }
.floaters a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); position: relative;
}
.float-wa { background: #25d366; }
.float-call { background: var(--forest); animation: pulse 2.4s infinite; }
.floaters a svg { width: 26px; height: 26px; fill: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,162,39,.55); } 70% { box-shadow: 0 0 0 16px rgba(201,162,39,0); } 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); } }

.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  /* backdrop-filter on the header creates a containing block that traps the
     fixed mobile panel — disable it so the drawer covers the full screen */
  .site-header { backdrop-filter: none; background: #f7f3ea; z-index: 1001; }
  .nav-toggle { display: block; position: relative; z-index: 1002; background: #fff; }
  .nav-toggle span { transition: transform .3s ease, opacity .2s ease; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Dim the page behind the open menu so it reads clearly */
  body.nav-open::before {
    content: ""; position: fixed; inset: 0; z-index: 999;
    background: rgba(15, 46, 37, .55); backdrop-filter: blur(2px);
  }
  body.nav-open { overflow: hidden; }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 88px 18px 30px; transform: translateX(105%); transition: transform .35s ease;
    box-shadow: -18px 0 40px -18px rgba(15, 46, 37, .55);
    overflow-y: auto; overscroll-behavior: contain;
    z-index: 1000; opacity: 1; backdrop-filter: none;
  }
  .nav.open { transform: none; }
  .nav > li { border-bottom: 1px solid rgba(15,46,37,.09); }
  .nav > li > a {
    padding: 15px 12px; border-radius: 0; font-size: 1rem; font-weight: 600;
    color: var(--ink); background: #fff;
  }
  .nav > li > a.active { color: var(--gold); }
  .nav .has-sub > a::after { float: right; font-size: .9rem; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; display: none; padding: 4px 0 10px 14px; background: #fbf8f2;
  }
  .submenu a { padding: 11px 12px; font-size: .95rem; color: var(--ink); }
  .has-sub.open .submenu { display: block; }
  .has-sub.open > a::after { transform: rotate(180deg); display: inline-block; }
  .nav-cta { margin: 18px 0 0; justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 58px 0; }
  .topbar { font-size: .78rem; }
  .hero { height: 76vh; min-height: 480px; }
  .card img { height: 200px; }
  .floaters { bottom: 74px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 949; background: #fff; box-shadow: 0 -6px 20px -12px rgba(0,0,0,.4);
  }
  .mobile-bar a { padding: 14px; text-align: center; font-weight: 600; font-size: .9rem; }
  .mobile-bar a:first-child { background: var(--forest); color: #fff; }
  .mobile-bar a:last-child { background: var(--gold); color: #1d1a08; }
  .site-footer { padding-bottom: 56px; }
}
