/* ==========================================================================
   MAHADEV EVENT — style.css
   Palette:  ink #241A17  maroon #6E1423  gold #C9A227  teal #0E3B39
             ivory #FBF3E7  sand #F1DFC6
   Type:     Display — Montserrat  |  Body — Nunito
   Signature motif: the "arch" (mandap/toran gate) used to frame photos,
   icons and to divide sections — a nod to the decorated entrance that
   opens every celebration.
   ========================================================================== */

:root{
  --ink:    #241A17;
  --maroon: #6E1423;
  --maroon-dark: #4E0E19;
  --gold:   #C9A227;
  --gold-light: #E4C158;
  --teal:   #0E3B39;
  --teal-dark: #092726;
  --ivory:  #FBF3E7;
  --sand:   #F1DFC6;
  --white:  #FFFFFF;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(36,26,23,0.08);
  --shadow-md: 0 12px 32px rgba(36,26,23,0.14);
  --shadow-gold: 0 10px 26px rgba(201,162,39,0.35);

  --container: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--maroon);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1{ font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3{ font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
p{ margin: 0 0 1em; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor: pointer; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family: var(--font-display);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--gold);
  margin-bottom: .75em;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 2px;
  background: var(--gold);
  display:inline-block;
}

.section{ padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--sand{ background: var(--sand); }
.section--teal{ background: var(--teal); color: var(--ivory); }
.section--teal h2, .section--teal h3{ color: var(--ivory); }
.section--maroon{ background: var(--maroon); color: var(--ivory); }
.section--maroon h2{ color: var(--ivory); }

.section-head{ max-width: 640px; margin: 0 0 clamp(2rem,5vw,3rem); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55em;
  padding: .95em 1.7em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight:600;
  font-size:.95rem;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-3px); }
.btn:focus-visible{ outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--gold{ background: var(--gold); color: var(--maroon-dark); box-shadow: var(--shadow-gold); }
.btn--gold:hover{ background: var(--gold-light); }
.btn--outline{ border-color: currentColor; color: inherit; background: transparent; }
.btn--outline:hover{ background: rgba(255,255,255,0.12); }
.btn--outline-dark{ border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn--outline-dark:hover{ background: var(--maroon); color: var(--ivory); }
.btn--sm{ padding: .6em 1.2em; font-size: .85rem; }
.btn svg{ width: 1.1em; height: 1.1em; flex-shrink:0; }

.cta-row{ display:flex; flex-wrap:wrap; gap: .9rem; }

/* ---------- arch motif ---------- */
.arch-frame{
  position: relative;
  border-radius: 50% 50% 8px 8px / 22% 22% 8px 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
.arch-frame img{ width:100%; height:100%; object-fit: cover; display:block; }

.arch-divider{
  width:100%; height: clamp(28px,5vw,54px);
  display:block;
  color: inherit;
}

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(251,243,231,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(110,20,35,0.12);
  transition: padding .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{ box-shadow: var(--shadow-sm); }
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
  transition: padding .3s ease;
}
.site-header.is-scrolled .container{ padding-top:.6rem; padding-bottom:.6rem; }

.brand{ display:flex; align-items:center; gap:.7rem; }
.brand img{ height: 44px; width:auto; }
.brand-text{ font-family: var(--font-display); font-weight:700; color: var(--maroon); line-height:1.1; }
.brand-text small{ display:block; font-family: var(--font-body); font-weight:600; font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color: var(--gold); margin-top:.2em; }

.main-nav ul{ display:flex; gap: clamp(1rem,2vw,2rem); align-items:center; }
.main-nav a:not(.btn){
  font-family: var(--font-display); font-weight:600; font-size:.92rem;
  color: var(--ink); position:relative; padding: .3em 0;
}
.main-nav a:not(.btn)::after{
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background: var(--gold); transition: width .25s ease;
}
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after{ width:100%; }
.main-nav a.is-active{ color: var(--maroon); }

.header-cta{ display:flex; align-items:center; gap:1.4rem; }
.header-phone{ display:flex; align-items:center; gap:.5em; font-family: var(--font-display); font-weight:700; color: var(--maroon); }
.header-phone svg{ width:1.15em; height:1.15em; color: var(--gold); }

.nav-toggle{
  display:none; background:none; border:none; padding:.4rem;
  flex-direction:column; gap:5px;
}
.nav-toggle span{ width:24px; height:2px; background: var(--maroon); display:block; transition: transform .25s ease, opacity .25s ease; }

@media (max-width: 900px){
  .main-nav{
    position:fixed; inset: 0 0 0 auto; width: min(78vw,320px); height:100vh;
    background: var(--ivory); box-shadow: -12px 0 30px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .35s ease;
    padding: 6rem 2rem 2rem; z-index: 99;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{ flex-direction:column; align-items:flex-start; gap: 1.6rem; }
  .nav-toggle{ display:flex; }
  .header-phone span{ display:none; }
}

.nav-scrim{
  position:fixed; inset:0; background:rgba(36,26,23,.45); z-index:98;
  opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.nav-scrim.is-visible{ opacity:1; pointer-events:auto; }

/* ---------- hero ---------- */
.hero{ padding: clamp(2.5rem,6vw,4.5rem) 0 clamp(3rem,7vw,5rem); position:relative; overflow:hidden; }
.hero .container{
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem,5vw,4rem);
  align-items:center;
}
.hero-copy .eyebrow{ }
.hero-copy p.lead{ font-size:1.1rem; max-width:46ch; color: var(--ink); opacity:.85; }
.hero-strip{
  margin-top: 2.2rem; padding-top:1.4rem; border-top:1px solid rgba(110,20,35,.15);
  display:flex; flex-wrap:wrap; gap: .5rem 1.4rem;
  font-family: var(--font-display); font-weight:600; font-size:.82rem; letter-spacing:.03em;
  color: var(--maroon); text-transform:uppercase;
}
.hero-strip span::before{ content:"✦"; color: var(--gold); margin-right:.5em; }

.hero-visual{ position:relative; }
.hero-visual .arch-frame{ aspect-ratio: 4/5; }
.hero-badge{
  position:absolute; left: -1.2rem; bottom: -1.2rem;
  background: var(--gold); color: var(--maroon-dark);
  border-radius: 50%; width: 118px; height:118px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; font-family: var(--font-display); font-weight:700;
  box-shadow: var(--shadow-md); border: 4px solid var(--ivory);
  line-height:1.1;
}
.hero-badge strong{ font-size:1.6rem; display:block; }
.hero-badge span{ font-size:.62rem; letter-spacing:.06em; text-transform:uppercase; font-weight:600; }

@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; max-width: 380px; margin: 0 auto; }
  .hero-badge{ width:92px; height:92px; left:-.6rem; bottom:-.6rem; }
  .hero-badge strong{ font-size:1.2rem; }
}

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.about-grid.is-flip{ grid-template-columns: 1.15fr 0.85fr; }
.about-grid .arch-frame{ aspect-ratio: 3/4; }
@media (max-width: 900px){ .about-grid{ grid-template-columns:1fr; } .about-grid .arch-frame{ max-width:340px; margin:0 auto; } }
.about-points{ display:grid; gap: 1.1rem; margin-top: 1.6rem; }
.about-point{ display:flex; gap: .9rem; align-items:flex-start; }
.about-point .ico{
  flex-shrink:0; width:38px; height:38px; border-radius:50%;
  background: var(--sand); color: var(--maroon);
  display:flex; align-items:center; justify-content:center;
}
.about-point .ico svg{ width:18px; height:18px; }
.about-point h4{ font-family:var(--font-display); font-size:1rem; margin:0 0 .2em; color: var(--maroon); font-weight:700; }
.about-point p{ margin:0; font-size:.94rem; opacity:.85; }

/* ---------- services ---------- */
.services-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 1050px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .services-grid{ grid-template-columns: 1fr; } }

.service-card{
  background: var(--white); border-radius: var(--radius);
  overflow:hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display:flex; flex-direction:column;
}
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card .thumb{
  aspect-ratio: 4/3; overflow:hidden; position:relative;
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  margin: 14px 14px 0;
}
.service-card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.service-card:hover .thumb img{ transform: scale(1.08); }
.service-card .body{ padding: 1.1rem 1.3rem 1.5rem; }
.service-card h3{ margin-bottom:.35em; }
.service-card p{ font-size: .9rem; opacity:.8; margin-bottom:0; }

/* ---------- why us ---------- */
.why-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 1.8rem; }
@media (max-width:900px){ .why-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:520px){ .why-grid{ grid-template-columns: 1fr; } }
.why-item{ text-align:center; padding: 0 .5rem; }
.why-item .ico{
  width:64px; height:64px; margin: 0 auto 1rem; border-radius:50%;
  background: rgba(201,162,39,0.14); color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(201,162,39,0.4);
}
.why-item .ico svg{ width:28px; height:28px; }
.why-item h3{ font-size:1.05rem; }
.why-item p{ font-size:.88rem; opacity:.75; margin:0; }

/* ---------- gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width:560px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
.gallery-item{
  position:relative; aspect-ratio:1/1; border-radius: 10px; overflow:hidden;
  cursor: zoom-in;
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.gallery-item:hover img{ transform: scale(1.12); }
.gallery-item::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(14,59,57,.55), transparent 55%);
  opacity:0; transition: opacity .3s ease;
}
.gallery-item:hover::after{ opacity:1; }

.lightbox{
  position:fixed; inset:0; background: rgba(20,12,10,.92); z-index: 200;
  display:none; align-items:center; justify-content:center; padding: 4vh 4vw;
}
.lightbox.is-open{ display:flex; }
.lightbox img{ max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close{
  position:absolute; top: 20px; right: 24px; background: var(--gold); color: var(--maroon-dark);
  border:none; width:42px; height:42px; border-radius:50%; font-size:1.3rem; line-height:1;
}

/* ---------- testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{
  background: var(--white); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); position:relative;
}
.testi-card .stars{ color: var(--gold); letter-spacing:.15em; margin-bottom:.7em; font-size:.95rem; }
.testi-card p{ font-size:.95rem; font-style:italic; opacity:.85; }
.testi-who{ display:flex; align-items:center; gap:.7rem; margin-top:1rem; }
.testi-who .dot{ width:38px;height:38px;border-radius:50%; background: var(--sand); color:var(--maroon); display:flex;align-items:center;justify-content:center; font-family:var(--font-display); font-weight:700; }
.testi-who strong{ font-family: var(--font-display); font-size:.9rem; display:block; }
.testi-who span{ font-size:.78rem; opacity:.65; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--gold);
  border-radius: 22px;
  padding: clamp(2.2rem,5vw,3.5rem);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap: 1.6rem;
  color: var(--maroon-dark);
}
.cta-band h2{ color: var(--maroon-dark); margin:0; }
.cta-band .btn--outline-dark{ border-color: var(--maroon-dark); color: var(--maroon-dark); }
.cta-band .btn--outline-dark:hover{ background: var(--maroon-dark); color: var(--ivory); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  background: rgba(255,255,255,0.06); border: 1px solid rgba(251,243,231,0.18);
  border-radius: var(--radius); padding: 1.6rem; display:flex; gap:1rem; align-items:flex-start;
  margin-bottom: 1rem;
}
.contact-card .ico{ width:42px;height:42px;border-radius:50%; background: var(--gold); color: var(--maroon-dark); display:flex;align-items:center;justify-content:center; flex-shrink:0; }
.contact-card .ico svg{ width:20px;height:20px; }
.contact-card h4{ margin:0 0 .2em; color: var(--ivory); font-family: var(--font-display); font-size: .95rem; }
.contact-card p, .contact-card a{ margin:0; font-size:.9rem; opacity:.85; }

.map-embed{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-md); margin-top:1.4rem; border: 3px solid rgba(251,243,231,0.25); }
.map-embed iframe{ width:100%; height: 260px; border:0; display:block; }

.form-card{
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: clamp(1.6rem,4vw,2.4rem); box-shadow: var(--shadow-md);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom: 1.1rem; }
.field label{ display:block; font-family: var(--font-display); font-weight:600; font-size:.82rem; margin-bottom:.4em; color: var(--maroon); }
.field input, .field select, .field textarea{
  width:100%; padding: .8em .9em; border-radius: 10px; border: 1.5px solid #E4D8C8;
  font-family: var(--font-body); font-size: .95rem; background: var(--ivory); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.25);
}
.field textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size: .82rem; opacity:.65; margin-top: .6rem; }
.form-success{ background:#E7F3E5; border:1px solid #B9DCB4; color:#2C5B27; padding: .9em 1.1em; border-radius:10px; margin-bottom:1.2rem; font-size:.92rem; }
.form-error{ background:#FBE7E7; border:1px solid #E3B0B0; color:#7A2222; padding: .9em 1.1em; border-radius:10px; margin-bottom:1.2rem; font-size:.92rem; }

/* ---------- footer ---------- */
.site-footer{ background: var(--teal-dark); color: rgba(251,243,231,0.85); padding: 3.5rem 0 1.4rem; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.4rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(251,243,231,0.12); }
@media (max-width:900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h4{ color: var(--gold-light); font-family: var(--font-display); font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:1rem; }
.footer-grid li{ margin-bottom:.6em; font-size:.9rem; }
.footer-grid a:hover{ color: var(--gold-light); }
.footer-brand p{ font-size:.88rem; opacity:.75; max-width: 30ch; }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:.8rem; padding-top: 1.4rem; font-size:.8rem; opacity:.65; }

/* ---------- floating whatsapp ---------- */
.float-wa{
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90;
  width: 58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.float-wa svg{ width:28px; height:28px; }
@keyframes wa-pulse{ 0%,100%{ box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5);} 50%{ box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 10px rgba(37,211,102,0);} }

/* ---------- scroll reveal ----------
   Fail-safe by default: .reveal elements are fully visible unless JS has
   confirmed it's running (html.js-ready). This means the site looks
   complete even if JavaScript is blocked, slow, or unsupported — the
   animation is a progressive enhancement, never a requirement. */
.reveal{ opacity:1; transform:none; }
.js-ready .reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js-ready .reveal.is-visible{ opacity:1; transform: translateY(0); }
.reveal-stagger.is-visible > *{ transition-delay: calc(var(--i,0) * 90ms); }

/* ---------- breadcrumb / page header (inner pages) ---------- */
.page-hero{
  background: var(--maroon); color: var(--ivory);
  padding: clamp(3.5rem,8vw,5.5rem) 0 clamp(2.5rem,6vw,3.5rem);
  text-align:center; position:relative;
}
.page-hero h1{ color: var(--ivory); margin-bottom:.3em; }
.page-hero .crumbs{ font-size:.85rem; opacity:.75; }
.page-hero .crumbs a:hover{ color: var(--gold-light); }

/* ---------- misc utility ---------- */
.text-center{ text-align:center; }
.mt-lg{ margin-top: clamp(2rem,5vw,3rem); }
.badge-pill{
  display:inline-block; background: rgba(201,162,39,0.15); color: var(--maroon);
  border: 1px solid rgba(201,162,39,0.5); padding: .3em .9em; border-radius:999px;
  font-size:.78rem; font-weight:700; font-family: var(--font-display); margin: 0 .3em .5em 0;
}
:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }
