/* ===================================================================
   Sampradaya Wedding — Design 1: "Royal Heritage"
   Classic ornate maroon & gold, traditional Indian wedding aesthetic
   =================================================================== */

:root{
  --maroon-900:#46120b;
  --maroon-700:#6c1e13;
  --maroon-600:#812418;
  --gold-500:#cca63e;
  --gold-400:#e7c76e;
  --gold-100:#f6eacb;
  --gold-deep:#8b6f23;   /* 4.5:1 on cream - for gold TEXT, not decoration */
  --cream-50:#fdf8ef;
  --cream-100:#f8ecd8;
  --ink:#2c1810;
  --ink-soft:#5a4438;
  --radius-lg:18px;
  --radius-md:12px;
  --shadow-soft:0 20px 45px -20px rgba(70,18,11,.35);
  --ease:cubic-bezier(.22,.61,.36,1);
  --nav-h:158px;         /* unscrolled header height; JS refines it per page */
}
@media (max-width:991.98px){ :root{--nav-h:132px;} }
@media (max-width:575.98px){ :root{--nav-h:110px;} }

*{box-sizing:border-box;}

html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 14px);}

body{
  font-family:'Jost',sans-serif;
  color:var(--ink);
  background:var(--cream-50);
  font-size:16px;
  line-height:1.7;
  overflow-x:hidden;
}

h1,h2,h3,h4,h5,h6{
  font-family:'Playfair Display',serif;
  color:var(--maroon-900);
  font-weight:700;
  margin:0;
}

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

::selection{background:var(--gold-400);color:var(--maroon-900);}

/* ---------- Navbar ---------- */
/* Fixed, not sticky: the bar shrinks on scroll, and while it sat in the
   document flow that height change reflowed every section below it on each
   toggle — the page visibly jolted. Out of flow, the shrink costs nothing. */
.navbar.sticky-top{position:fixed;top:0;left:0;right:0;}
body{padding-top:var(--nav-h);}

.navbar{
  background:rgba(253,248,239,.92);
  backdrop-filter:blur(10px);
  padding:.45rem 0;
  border-bottom:1px solid rgba(204,166,62,.25);
  transition:box-shadow .3s var(--ease), padding .3s var(--ease);
}
.navbar.scrolled{
  padding:.3rem 0;
  box-shadow:0 8px 30px -12px rgba(70,18,11,.25);
}
.navbar-brand{display:flex;align-items:center;gap:.7rem;}
.brand-logo{
  width:130px;height:auto;flex:none;display:block;
  transition:width .3s var(--ease);
}
.navbar.scrolled .brand-logo{width:96px;}
.footer .brand-logo{width:148px;}
@media (max-width:991.98px){.brand-logo{width:104px;} .navbar.scrolled .brand-logo{width:82px;} .footer .brand-logo{width:124px;}}
/* The fixed bar overlays the page, so a long open menu must scroll itself. */
@media (max-width:991.98px){#navMenu{max-height:calc(100vh - var(--nav-h));overflow-y:auto;}}
/* The CTA used to be desktop-only; it now stacks under the links on mobile so
   both menus carry exactly the same items. */
@media (max-width:991.98px){
  .navbar .btn-royal-cta{display:inline-flex;margin:.35rem 1rem 1rem;}
}
@media (max-width:575.98px){.brand-logo{width:82px;} .navbar.scrolled .brand-logo{width:68px;} .footer .brand-logo{width:104px;}}

.navbar-nav .nav-link{
  color:var(--ink);
  font-weight:500;
  padding:.5rem 1rem !important;
  position:relative;
}
.navbar-nav .nav-link::after{
  content:'';
  position:absolute;
  left:1rem;right:1rem;bottom:.25rem;
  height:2px;background:var(--gold-500);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s var(--ease);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{transform:scaleX(1);}
.navbar-nav .nav-link.active{color:var(--maroon-700);}

.btn-royal-cta{
  background:var(--maroon-700);
  color:#fff !important;
  border-radius:999px;
  padding:.55rem 1.4rem;
  font-weight:600;
  border:1px solid var(--maroon-700);
  transition:all .25s var(--ease);
}
.btn-royal-cta:hover{background:var(--maroon-900);border-color:var(--maroon-900);}

.btn-royal-primary{
  background:var(--maroon-700);
  color:#fff;
  border:1px solid var(--maroon-700);
  border-radius:999px;
  padding:.75rem 1.8rem;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  transition:all .25s var(--ease);
}
.btn-royal-primary:hover{background:var(--maroon-900);border-color:var(--maroon-900);color:#fff;transform:translateY(-2px);box-shadow:var(--shadow-soft);}

.btn-royal-outline{
  background:transparent;
  color:var(--maroon-700);
  border:1.5px solid var(--maroon-700);
  border-radius:999px;
  padding:.7rem 1.7rem;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  transition:all .25s var(--ease);
}
.btn-royal-outline:hover{background:var(--maroon-700);color:#fff;transform:translateY(-2px);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:clamp(540px, 64vh, 700px);
  display:flex;flex-direction:column;justify-content:center;
  background:var(--maroon-900);
  overflow:hidden;
  isolation:isolate;
}
/* The banner is a real <img> rather than a CSS background so it can be
   responsive and act as the LCP element the browser preloads. */
.hero-bg{position:absolute;inset:0;z-index:0;}
.hero-bg img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 62%;      /* keeps the brass plates in frame */
}
/* The banner is bright cream and gold throughout, so headline text needs a
   scrim to sit on. Heaviest on the left where the copy is, clearing toward
   the right so the sweets stay visible. */
.hero-scrim{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(100deg,
      rgba(49,12,7,.82) 0%,
      rgba(58,15,8,.66) 30%,
      rgba(70,18,11,.28) 55%,
      rgba(70,18,11,.06) 100%),
    linear-gradient(to top, rgba(49,12,7,.42) 0%, transparent 30%);
}

.hero-content{position:relative;z-index:2;}
.hero-copy{max-width:560px;}

.eyebrow{
  display:flex;align-items:center;gap:.6rem;
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:1.25rem;
  color:var(--maroon-700);
  margin-bottom:1rem;
}
.eyebrow-line{width:36px;height:2px;background:var(--gold-500);display:inline-block;}
/* gold-400 measured only 3.9:1 against the brightest part of the banner, and
   the eyebrow is too small to qualify as large text — cream clears 4.5:1. */
.hero .eyebrow{color:var(--gold-100);text-shadow:0 1px 10px rgba(30,7,4,.6);}
.hero .eyebrow-line{background:var(--gold-400);}

.hero-title{
  font-size:clamp(2.1rem, 4vw, 3.1rem);
  line-height:1.2;
  margin-bottom:1.25rem;
}
.hero-title span{color:var(--maroon-700);font-style:italic;}
.hero .hero-title{
  color:#fff;
  text-shadow:0 2px 18px rgba(30,7,4,.55);
}
.hero .hero-title span{color:var(--gold-400);}

.hero-lead{
  color:var(--ink-soft);
  font-size:1.08rem;
  max-width:520px;
}
.hero .hero-lead{color:var(--gold-100);max-width:560px;}

.hero-lineage{
  display:flex;align-items:center;gap:.6rem;
  margin-left:auto;
  font-size:.78rem;line-height:1.45;
  color:var(--gold-100);opacity:.8;
}
.hero-lineage i{color:var(--gold-400);font-size:1.3rem;flex:none;}
.hero-lineage strong{font-family:'Playfair Display',serif;color:var(--gold-400);font-weight:600;font-size:.84rem;}

/* Stats sit on their own band along the foot of the banner. */
/* Sits below the hero now, so the banner is never covered by it. */
.hero-stats{
  padding:1.3rem 0;
  background:var(--maroon-900);
  border-bottom:1px solid rgba(204,166,62,.28);
}
.hero-trust{display:flex;gap:3rem;flex-wrap:wrap;align-items:center;}
.hero-trust > div{min-width:0;}
.hero-trust div{display:flex;flex-direction:column;}
.hero-trust strong{font-family:'Playfair Display',serif;font-size:1.7rem;color:var(--gold-400);line-height:1.2;}
.hero-trust span{font-size:.8rem;color:var(--gold-100);letter-spacing:.03em;opacity:.85;}

.btn-royal-gold{
  background:var(--gold-500);
  color:var(--maroon-900);
  border:1px solid var(--gold-400);
  border-radius:999px;
  padding:.75rem 1.8rem;
  font-weight:600;
  display:inline-flex;align-items:center;gap:.5rem;
  transition:all .25s var(--ease);
}
.btn-royal-gold:hover{background:var(--gold-400);color:var(--maroon-900);transform:translateY(-2px);box-shadow:0 18px 38px -18px rgba(0,0,0,.7);}

.btn-royal-ghost{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1.5px solid rgba(231,199,110,.75);
  border-radius:999px;
  padding:.7rem 1.7rem;
  font-weight:600;
  display:inline-flex;align-items:center;gap:.5rem;
  backdrop-filter:blur(4px);
  transition:all .25s var(--ease);
}
.btn-royal-ghost:hover{background:rgba(255,255,255,.16);color:#fff;border-color:var(--gold-400);transform:translateY(-2px);}

/* ---------- Section generic ---------- */
section{padding:5.5rem 0;}
.section-kicker{
  display:flex;align-items:center;gap:.6rem;
  font-family:'Cormorant Garamond',serif;
  font-style:italic;font-size:1.2rem;
  color:var(--maroon-700);
  margin-bottom:.6rem;
}
.section-kicker::before{content:'';width:28px;height:2px;background:var(--gold-500);display:inline-block;}
.section-title{font-size:clamp(1.7rem,3vw,2.3rem);margin-bottom:1rem;}
.section-text{color:var(--ink-soft);}

/* ---------- About ---------- */
.section-about{background:var(--cream-100);}
.about-image{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-soft);}
.about-image img{aspect-ratio:7/8;object-fit:cover;}
/* Per-image slots. The default 7/8 crop suits a portrait photo, but these two
   carry information edge to edge — a journey strip and a delivery map — so each
   keeps its own shape instead of being cut to fit. */
.about-image--tall{max-width:430px;margin-inline:auto;}
.about-image--tall img{aspect-ratio:800/1427;}
.about-image--wide img{aspect-ratio:16/9;}
.about-image-accent{
  position:absolute;
  bottom:-18px;right:-18px;
  width:90px;height:90px;
  border:3px solid var(--gold-500);
  border-radius:var(--radius-md);
  z-index:-1;
}
.pillar{
  background:#fff;
  border-radius:var(--radius-md);
  padding:1.5rem 1.2rem;
  height:100%;
  text-align:center;
  border:1px solid rgba(204,166,62,.25);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar:hover{transform:translateY(-6px);box-shadow:0 20px 35px -20px rgba(70,18,11,.3);}
.pillar i{font-size:1.7rem;color:var(--gold-500);margin-bottom:.6rem;display:block;}
.pillar h6{font-family:'Playfair Display',serif;color:var(--maroon-900);margin-bottom:.4rem;}
.pillar p{font-size:.85rem;color:var(--ink-soft);margin:0;}

/* ---------- Products ---------- */
.product-card{
  background:#fff;
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid rgba(204,166,62,.25);
  height:100%;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-soft);}
.product-media{aspect-ratio:1/1;overflow:hidden;}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease);}
.product-card:hover .product-media img{transform:scale(1.08);}
.product-body{padding:1.3rem;}
.product-body h5{font-size:1.1rem;margin-bottom:.4rem;}
.product-body p{font-size:.87rem;color:var(--ink-soft);margin-bottom:.8rem;}
.product-link{color:var(--maroon-700);font-weight:600;font-size:.9rem;display:inline-flex;align-items:center;gap:.3rem;}
.product-link:hover{color:var(--gold-deep);}

/* ---------- Occasions ---------- */
.section-occasions{
  background:linear-gradient(160deg, var(--maroon-900), var(--maroon-700));
  position:relative;
}
.occasion-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(204,166,62,.35);
  border-radius:var(--radius-md);
  padding:1.5rem 1rem;
  text-align:center;
  height:100%;
  transition:transform .3s var(--ease), background .3s var(--ease);
}
.occasion-card:hover{transform:translateY(-6px);background:rgba(204,166,62,.15);}
.occasion-card i{font-size:1.6rem;color:var(--gold-400);margin-bottom:.7rem;display:block;}
.occasion-card h6{font-family:'Playfair Display',serif;color:#fff;font-size:1rem;margin-bottom:.4rem;}
.occasion-card p{font-size:.78rem;color:rgba(255,255,255,.75);margin:0;}

/* ---------- Custom Orders ---------- */
.custom-banner{
  background:var(--cream-100);
  border-radius:var(--radius-lg);
  padding:3rem;
  border:1px solid rgba(204,166,62,.3);
}
.custom-list{list-style:none;padding:0;margin:1.2rem 0;}
.custom-list li{margin-bottom:.6rem;display:flex;align-items:flex-start;gap:.5rem;color:var(--ink-soft);}
.custom-list i{color:var(--gold-500);margin-top:.25rem;}
.custom-image{border-radius:var(--radius-lg);box-shadow:var(--shadow-soft);aspect-ratio:7/6;object-fit:cover;}
.custom-image--square{aspect-ratio:1/1;}

/* ---------- Gallery ---------- */
.gallery-item{
  position:relative;
  border-radius:var(--radius-md);
  overflow:hidden;
  aspect-ratio:1/1;
}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease);}
.gallery-item::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(to top, rgba(70,18,11,.75), transparent 55%);
}
.gallery-item span{
  position:absolute;left:1rem;bottom:.8rem;
  color:#fff;font-weight:600;font-size:.9rem;
  z-index:2;
}
.gallery-item:hover img{transform:scale(1.1);}

/* ---------- Testimonials ---------- */
.testimonial-card{
  max-width:680px;
  text-align:center;
  background:#fff;
  border-radius:var(--radius-lg);
  padding:3rem 2rem;
  border:1px solid rgba(204,166,62,.3);
}
.testimonial-card i{font-size:2rem;color:var(--gold-500);}
.testimonial-card p{font-family:'Cormorant Garamond',serif;font-size:1.35rem;font-style:italic;color:var(--ink);margin:1rem 0 1.5rem;}
.testimonial-card strong{display:block;font-family:'Playfair Display',serif;color:var(--maroon-900);}
.testimonial-card span{font-size:.85rem;color:var(--ink-soft);}
.carousel-control-prev,.carousel-control-next{width:auto;top:50%;transform:translateY(-50%);opacity:1;}
.carousel-control-prev{left:-10px;}
.carousel-control-next{right:-10px;}
.carousel-arrow{
  width:44px;height:44px;border-radius:50%;
  background:#fff;border:1px solid rgba(204,166,62,.4);
  display:flex;align-items:center;justify-content:center;
  color:var(--maroon-700);
  box-shadow:0 10px 25px -12px rgba(70,18,11,.3);
}
.carousel-indicators-custom{display:flex;justify-content:center;gap:.5rem;margin-top:2rem;}
.carousel-indicators-custom button{
  width:10px;height:10px;border-radius:50%;border:0;
  background:rgba(204,166,62,.4);padding:0;
}
.carousel-indicators-custom button.active{background:var(--maroon-700);}

/* ---------- Contact ---------- */
.section-contact{background:var(--cream-100);}
.contact-list{display:flex;flex-direction:column;gap:.8rem;}
.contact-row{
  display:flex;align-items:center;gap:1rem;
  background:#fff;
  border:1px solid rgba(204,166,62,.3);
  border-radius:var(--radius-md);
  padding:.9rem 1.1rem;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.contact-row:hover{transform:translateX(6px);box-shadow:0 12px 25px -15px rgba(70,18,11,.3);}
.contact-icon{
  width:44px;height:44px;border-radius:50%;
  background:var(--maroon-700);color:#fff;
  display:flex;align-items:center;justify-content:center;
  flex:none;font-size:1.1rem;
}
.contact-row strong{display:block;font-size:.95rem;color:var(--ink);}
.contact-row small{color:var(--ink-soft);}
.social-row{display:flex;align-items:center;gap:.9rem;font-size:.9rem;color:var(--ink-soft);}
.social-row a{
  width:38px;height:38px;border-radius:50%;
  border:1px solid var(--maroon-700);
  color:var(--maroon-700);
  display:inline-flex;align-items:center;justify-content:center;
  transition:all .25s var(--ease);
}
.social-row a:hover{background:var(--maroon-700);color:#fff;}

.enquiry-form{
  background:#fff;
  border-radius:var(--radius-lg);
  padding:2.2rem;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(204,166,62,.3);
}
.enquiry-form h5{color:var(--maroon-900);}
.form-label{font-weight:500;color:var(--ink);font-size:.9rem;}
.form-control,.form-select{
  border-radius:8px;
  border:1px solid #e3d5b8;
  padding:.65rem .9rem;
  font-size:.95rem;
}
.form-control:focus,.form-select:focus{
  border-color:var(--gold-500);
  box-shadow:0 0 0 .2rem rgba(204,166,62,.25);
}

/* ---------- Footer ---------- */
.footer{
  background:var(--maroon-900);
  color:rgba(255,255,255,.8);
  padding:4.5rem 0 0;
}
.footer .footer .footer-text{font-size:.9rem;max-width:320px;color:rgba(255,255,255,.65);}
.footer h6{color:#fff;font-family:'Playfair Display',serif;margin-bottom:1rem;}
.footer-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.6rem;font-size:.9rem;}
.footer-links a{color:rgba(255,255,255,.7);}
.footer-links a:hover{color:var(--gold-400);}
.footer hr{border-color:rgba(255,255,255,.15);margin-top:2.5rem;}
.footer .social-row a{border-color:rgba(255,255,255,.4);color:#fff;}
.footer .social-row a:hover{background:var(--gold-500);border-color:var(--gold-500);color:var(--maroon-900);}

/* ---------- Back to top ---------- */
.back-to-top{
  position:fixed;
  right:1.5rem;bottom:1.5rem;
  width:48px;height:48px;
  border-radius:50%;
  background:var(--maroon-700);
  color:#fff;border:none;
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
  box-shadow:0 15px 30px -12px rgba(70,18,11,.5);
  opacity:0;visibility:hidden;
  transform:translateY(10px);
  transition:all .3s var(--ease);
  z-index:999;
}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0);}
.back-to-top:hover{background:var(--maroon-900);}

/* ---------- Reveal animation ---------- */
[data-reveal]{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in-view{opacity:1;transform:translateY(0);}

@media (prefers-reduced-motion: reduce){
  [data-reveal]{opacity:1;transform:none;transition:none;}
  html{scroll-behavior:auto;}
}

/* ---------- Responsive ---------- */
@media (max-width:991.98px){
  .navbar-nav{gap:.2rem;padding:1rem 0;}
  section{padding:4rem 0;}
}
@media (max-width:767.98px){
  /* A 3:1 banner is a thin strip on a phone, so the hero gets a taller
     minimum and the scrim darkens evenly because copy now spans full width. */
  .hero{min-height:clamp(560px, 86vh, 680px);}
  .hero-bg img{object-position:center 58%;}
  .hero-scrim{
    background:
      linear-gradient(to bottom, rgba(49,12,7,.55) 0%, rgba(55,14,8,.68) 48%, rgba(40,10,6,.82) 100%);
  }
  .hero-content{padding-top:2.5rem;}
}
@media (max-width:575.98px){
  .hero-trust{gap:1.4rem 1.8rem;}
  .hero-trust strong{font-size:1.4rem;}
  .hero-lineage{margin-left:0;flex-basis:100%;font-size:.74rem;padding-top:.3rem;}
  .custom-banner{padding:1.75rem;}
}
