/* ============================================================
   OMBANGLES — festive Indian bridal theme
   Palette drawn from the product photos: maroon, emerald green,
   marigold/saffron, gold, with pearl/cream and blush accents.
   ============================================================ */

/* ---------- Self-hosted fonts (CSP: font-src 'self') ---------- */
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('/fonts/PlayfairDisplay-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('/fonts/PlayfairDisplay-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 300;
  font-display: swap; src: url('/fonts/Poppins-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('/fonts/Poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('/fonts/Poppins-500.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  --maroon:      #7a1226;
  --maroon-deep: #560b1a;
  --green:       #14532d;
  --green-deep:  #0e3d21;
  --gold:        #c9a227;
  --gold-soft:   #e6c65c;
  --saffron:     #e5811a;
  --cream:       #fbf5ea;
  --cream-2:     #f4e9d6;
  --blush:       #f7e8dd;
  --ink:         #2c1a1d;
  --ink-soft:    #5d4a4d;
  --line:        rgba(122,18,38,.14);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1140px;
  --radius: 16px;
  --shadow: 0 18px 40px -22px rgba(86,11,26,.45);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background-color: var(--cream);
  /* subtle bandhani-style dot texture */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(201,162,39,.12) 1px, transparent 0);
  background-size: 22px 22px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: .01em; }

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body); font-weight: 500;
  text-transform: uppercase; letter-spacing: .22em;
  font-size: .74rem; color: var(--saffron); margin: 0 0 .8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  letter-spacing: .02em;
  padding: .85em 1.7em; border-radius: 999px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--cream);
  border: 1px solid transparent;
  box-shadow: 0 10px 22px -12px rgba(86,11,26,.7);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(86,11,26,.75); }
.btn-ghost {
  background: transparent; color: var(--maroon);
  border-color: var(--gold);
}
.btn-ghost:hover { background: rgba(201,162,39,.12); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1em 2.1em; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251,245,234,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--maroon);
}
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .18em; font-size: 1.15rem; color: var(--maroon);
}
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { font-weight: 400; font-size: .95rem; color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--maroon); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(229,129,26,.22), transparent 60%),
    linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 55%, var(--green-deep) 130%);
  color: var(--cream);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(230,198,92,.16) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero-copy .eyebrow { color: var(--gold-soft); }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero .lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  max-width: 34ch; color: rgba(251,245,234,.9); margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero .btn-ghost { color: var(--cream); border-color: var(--gold-soft); }
.hero .btn-ghost:hover { background: rgba(230,198,92,.16); }

.hero-media { position: relative; justify-self: center; }
.hero-media img {
  width: min(360px, 78vw); aspect-ratio: 3 / 4; object-fit: cover;
  object-position: center; border-radius: var(--radius);
  border: 3px solid rgba(230,198,92,.55);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.65);
}
.hero-badge {
  position: absolute; left: -14px; bottom: 22px;
  background: var(--gold); color: var(--maroon-deep);
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .5em 1em; border-radius: 999px;
  box-shadow: var(--shadow);
}

/* ---------- Divider motif ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 auto 1.6rem; color: var(--gold); }
.divider::before, .divider::after {
  content: ""; height: 1px; width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider span { font-size: 1.1rem; }
.divider--light { color: var(--gold-soft); }
.divider--light::before { background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.divider--light::after  { background: linear-gradient(90deg, var(--gold-soft), transparent); }

/* ---------- Intro ---------- */
.intro { padding: clamp(3rem, 6vw, 5rem) 0 1rem; text-align: center; }
.intro-text {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.5;
  color: var(--maroon); max-width: 40ch; margin: 0 auto 2.6rem;
}
.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  max-width: 820px; margin-inline: auto;
}
.features li {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: 1.4rem 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 26px -22px rgba(86,11,26,.4);
}
.features strong { font-family: var(--font-display); font-size: 1.08rem; color: var(--green); }
.features li { font-size: .9rem; color: var(--ink-soft); }
.feat-ic { color: var(--saffron); font-size: 1.1rem; }

/* ---------- Collections ---------- */
.collections { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-head { text-align: center; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--maroon); }

.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem;
}
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(86,11,26,.5); }
.product-media { position: relative; background: var(--cream-2); }
.product-media > img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%;
}
.product-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; background: var(--cream-2); }
/* These two are promo graphics with baked-in text — show them in full (no crop),
   and override the parent .product-media > img cover/aspect rules. */
.product-media.duo img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 10px; }

.product-body { padding: 1.6rem 1.7rem 1.9rem; }
.product-body h3 {
  font-size: 1.5rem; color: var(--maroon); margin-bottom: .7rem;
  position: relative; padding-bottom: .7rem;
}
.product-body h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 46px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
}
.product-body p { margin: 0 0 1rem; color: var(--ink-soft); font-size: .96rem; }
.quote {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  color: var(--green); font-size: 1.02rem; line-height: 1.5;
  border-left: 3px solid var(--gold); padding-left: 1rem; margin: 0 !important;
}
.product--duo { grid-column: 1 / -1; }

/* ---------- Contact ---------- */
.contact {
  text-align: center; color: var(--cream);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(900px 400px at 15% 120%, rgba(20,83,45,.5), transparent 60%),
    linear-gradient(140deg, var(--maroon-deep), var(--maroon));
}
.contact h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .8rem; }
.contact p { max-width: 46ch; margin: 0 auto 2rem; color: rgba(251,245,234,.9); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.contact .btn { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--maroon-deep); font-weight: 600; }
.contact .btn:hover { filter: brightness(1.05); }
.contact .btn-ghost { background: transparent; color: var(--cream); border-color: var(--gold-soft); }
.contact .btn-ghost:hover { background: rgba(230,198,92,.16); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); text-align: center; padding: 2.6rem 0; }
.footer-inner .brand-name { color: var(--gold-soft); display: block; margin-bottom: .5rem; }
.site-footer p { margin: .2rem 0; font-size: .9rem; color: rgba(251,245,234,.75); }
.site-footer .fine { font-size: .8rem; color: rgba(251,245,234,.5); margin-top: .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.4rem; }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { order: -1; }
  .grid { grid-template-columns: 1fr; }
  .product--duo { grid-column: auto; }
}
@media (max-width: 560px) {
  .site-nav { gap: .9rem; }
  .site-nav a:not(.btn) { display: none; }
  .features { grid-template-columns: 1fr; }
  /* stack the two promo images on phones so they never crowd each other */
  .product-media.duo { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .product { transition: none; }
}
