/* ==========================================================================
   Patna City Marriage Hall — DESIGN 3: Minimalist Premium
   Philosophy: clarity, hierarchy, restraint. Typography is the hero.
   Monochrome + one accent. No gradients, no decoration, no clutter.
   ========================================================================== */

:root {
  --white: #ffffff;
  --soft: #fafafa;
  --gray-1: #f5f5f7;
  --gray-2: #d2d2d7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --accent: #8e2f45;          /* the single accent — buttons, links, hover only */
  --accent-dark: #6f2436;
  --font: "Inter Tight", "Segoe UI", -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --bar-h: 62px;
}

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

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

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (max-width: 899px) {
  body { padding-bottom: var(--bar-h); }
}

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

.wrap { width: min(1080px, 88%); margin-inline: auto; }
.wrap-text { width: min(720px, 88%); margin-inline: auto; }

section { padding: clamp(90px, 13vw, 180px) 0; }

/* --- Typography scale ------------------------------------------------------ */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; color: var(--ink); }

.display {
  font-size: clamp(2.6rem, 7vw, 5rem);
}
.headline {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.statement {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.sub {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.micro {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* --- Buttons & links -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 980px;               /* pill — the only curve in the design */
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.quiet {
  background: transparent;
  color: var(--accent);
}
.btn.quiet:hover { background: var(--accent); color: var(--white); }
.btn.on-photo {
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
  color: var(--ink);
}
.btn.on-photo:hover { background: var(--white); color: var(--accent); }

.tlink {
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.tlink::after { content: "→"; transition: transform 0.3s var(--ease); }
.tlink:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Navigation — pure, borderless
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease);
}
.nav .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav .logo {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.4s;
}
.nav .links { display: none; }
.nav .nav-call {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.4s;
}
.nav.solid {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 13px 0;
}
.nav.solid .logo { color: var(--ink); }
.nav.solid .nav-call { color: var(--accent); }
@media (min-width: 900px) {
  .nav .links { display: flex; gap: 30px; }
  .nav .links a {
    font-size: 0.86rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
  }
  .nav .links a:hover { color: var(--white); }
  .nav.solid .links a { color: var(--ink-2); }
  .nav.solid .links a:hover { color: var(--accent); }
}

/* ==========================================================================
   Hero — calm and confident
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
  padding: 0;
}
.hero .media, .hero .media img, .hero .media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero .media video { display: none; }
@media (min-width: 900px) {
  .hero .media video { display: block; }
  .hero .media img.m-only { display: none; }
}
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.2) 100%);
}
.hero .inner {
  position: relative;
  z-index: 2;
  padding: 140px 24px clamp(64px, 11vh, 120px);
  max-width: 820px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  text-wrap: balance;
}
.hero .sub {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.85);
}
.hero .sub strong { color: var(--white); font-weight: 600; display: block; margin-bottom: 4px; font-size: 1.1em; }
.hero .cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ==========================================================================
   About — pure typography
   ========================================================================== */
.about { text-align: center; background: var(--white); }
.about .display { text-wrap: balance; }
.about .display .dim { color: var(--gray-2); }
.about .sub { margin: 28px auto 0; max-width: 44ch; }

/* ==========================================================================
   Editorial gallery — one huge, two small, alternating
   ========================================================================== */
.gallery { padding-top: 0; }
.g-item { margin-bottom: 16px; overflow: hidden; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
}
.g-item.in img { transform: scale(1); }
.g-full { aspect-ratio: 16 / 9; }
.g-pair {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
.g-pair .g-item { margin-bottom: 0; aspect-ratio: 4 / 5; }
@media (min-width: 720px) {
  .g-pair { grid-template-columns: 1fr 1fr; }
  .g-pair.uneven { grid-template-columns: 1.35fr 1fr; }
}
.g-caption {
  margin: 12px 4px 60px;
  font-size: 0.85rem;
  color: var(--ink-2);
}

/* ==========================================================================
   Marriage hall — full-width photo statements
   ========================================================================== */
.photo-statement {
  position: relative;
  height: clamp(440px, 84vh, 760px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.photo-statement img {
  position: absolute; inset: 0;
  width: 100%; height: 112%;
  object-fit: cover;
  will-change: transform;
}
.photo-statement .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 55%);
}
.photo-statement .txt {
  position: relative;
  z-index: 2;
  width: min(1080px, 88%);
  margin-inline: auto;
  padding-bottom: clamp(44px, 7vh, 80px);
}
.photo-statement .txt h3 {
  color: var(--white);
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  max-width: 18ch;
}
.photo-statement .txt p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  max-width: 44ch;
}
.hall-intro { text-align: center; }
.hall-intro .sub { margin: 24px auto 0; max-width: 46ch; }
.hall-cta { text-align: center; padding: clamp(60px, 9vw, 110px) 0; }
.hall-cta .statement { max-width: 22ch; margin-inline: auto; }
.hall-cta .cta { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Guest rooms — minimal
   ========================================================================== */
.rooms { background: var(--gray-1); }
.rooms .head { text-align: center; margin-bottom: clamp(44px, 6vw, 70px); }
.rooms .head .sub { margin: 20px auto 0; max-width: 52ch; }
.rooms .trio {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .rooms .trio { grid-template-columns: repeat(3, 1fr); } }
.rooms .trio figure { overflow: hidden; margin: 0; aspect-ratio: 4 / 5; }
.rooms .trio img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.rooms .trio figure:hover img { transform: scale(1.03); }
.rooms .cta {
  margin-top: clamp(40px, 6vw, 60px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.rooms .fine { text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--ink-2); }

/* ==========================================================================
   Facilities — words, air
   ========================================================================== */
.facilities { text-align: center; }
.fac-grid {
  margin-top: clamp(50px, 7vw, 80px);
  display: grid;
  gap: 44px 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .fac-grid { grid-template-columns: repeat(4, 1fr); } }
.fac {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.fac svg { width: 30px; height: 30px; color: var(--ink); stroke-width: 1.4; }
.fac span { font-size: 0.95rem; font-weight: 500; }
.fac small { font-size: 0.8rem; color: var(--ink-2); margin-top: -8px; }

/* ==========================================================================
   Events — typographic index
   ========================================================================== */
.events { background: var(--ink); color: var(--white); }
.events .micro { color: rgba(255, 255, 255, 0.5); }
.events h2 { color: var(--white); }
.ev-index { margin-top: clamp(44px, 6vw, 70px); }
.ev-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: padding-left 0.35s var(--ease);
}
.ev-row:first-child { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ev-row .name { font-size: clamp(1.3rem, 3.2vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.ev-row .hint {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
  white-space: nowrap;
}
.ev-row:hover { padding-left: 14px; }
.ev-row:hover .hint { color: var(--white); }
.events .foot { margin-top: 44px; text-align: center; }
.events .foot .btn { background: var(--white); border-color: var(--white); color: var(--ink); }
.events .foot .btn:hover { background: transparent; color: var(--white); }

/* ==========================================================================
   Reviews — quiet quotes
   ========================================================================== */
.reviews { text-align: center; }
.review-rail {
  margin-top: clamp(44px, 6vw, 70px);
  display: grid;
  gap: 56px;
  max-width: 720px;
  margin-inline: auto;
}
.review blockquote {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}
.review .who { margin-top: 16px; font-size: 0.85rem; color: var(--ink-2); }
.reviews .more { margin-top: 50px; }

/* ==========================================================================
   Location + contact
   ========================================================================== */
.place { background: var(--gray-1); }
.place .head { text-align: center; }
.place .head .sub { margin-top: 18px; }
.place .map-shell {
  margin-top: clamp(44px, 6vw, 70px);
  overflow: hidden;
}
.place iframe {
  width: 100%;
  height: clamp(380px, 56vh, 560px);
  border: 0;
  display: block;
  filter: grayscale(1) contrast(1.02);
  transition: filter 0.8s var(--ease);
}
.place .map-shell:hover iframe { filter: grayscale(0); }
.place .cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.contact { text-align: center; }
.contact .big-tel {
  display: inline-block;
  margin-top: 30px;
  font-size: clamp(1.9rem, 5.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.3s;
}
.contact .big-tel:hover { color: var(--accent); }
.contact .rows {
  margin: clamp(44px, 6vw, 64px) auto 0;
  max-width: 620px;
  text-align: left;
}
.contact .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--gray-2);
  font-size: 0.96rem;
}
.contact .row .k { color: var(--ink-2); }
.contact .row .v { text-align: right; font-weight: 500; }
.contact .row .v a { color: var(--accent); }
.contact .row .v a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --- House rules — clean card ------------------------------------------------ */
.rules-card {
  margin: clamp(70px, 10vw, 110px) auto 0;
  max-width: 720px;
  background: var(--gray-1);
  padding: clamp(36px, 5vw, 56px);
  text-align: left;
}
.rules-card .micro { color: var(--ink-2); }
.rules-card ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.rules-card li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink);
}
.rules-card li::before {
  content: "·";
  font-weight: 700;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

/* ==========================================================================
   Footer — almost silent
   ========================================================================== */
.footer {
  padding: 60px 0 40px;
  background: var(--white);
  border-top: 1px solid var(--gray-1);
  font-size: 0.85rem;
  color: var(--ink-2);
}
.footer .top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 34px;
}
.footer .logo { font-weight: 600; font-size: 1rem; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a:hover { color: var(--accent); }
.footer .base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--gray-1);
}

/* ==========================================================================
   Sticky mobile bar — Call · WhatsApp · Directions · Book Visit
   ========================================================================== */
.bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  height: var(--bar-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--gray-1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
}
.bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--ink);
}
.bar a svg { width: 20px; height: 20px; stroke-width: 1.6; }
.bar a.accent { color: var(--accent); }
@media (min-width: 900px) { .bar { display: none; } }

/* ==========================================================================
   Motion — barely there
   ========================================================================== */
.fx {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.fx.in { opacity: 1; transform: none; }
.fx.d1 { transition-delay: 0.12s; }
.fx.d2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .fx, .g-item img { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
