/* ============================================================
   APNA ANGAN — brand stylesheet
   Palette: haldi gold, chocolate brown, mirchi red, warm paper
   Type:    Rozha One (display) + Mukta (body) — Indian Type Foundry
   ============================================================ */

:root {
  --gold:       #E8A02E;
  --gold-deep:  #C97F14;
  --gold-soft:  #F6D48E;
  --brown:      #3B2314;
  --brown-soft: #6B4A2E;
  --paper:      #FBF4E4;
  --card:       #FFFDF6;
  --mirchi:     #B4402A;
  --mirchi-dark:#93301D;
  --leaf:       #6E7F3E;
  --ring:       rgba(59, 35, 20, .14);
  --shadow:     0 10px 30px -12px rgba(59, 35, 20, .28);
  --radius:     18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Mukta", system-ui, sans-serif;
  background: var(--paper);
  color: var(--brown);
  font-size: 17px;
  line-height: 1.65;
}

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

h1, h2, h3, .display {
  font-family: "Rozha One", serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--brown);
}

.container { width: min(1120px, 92%); margin: 0 auto; }

:focus-visible {
  outline: 3px solid var(--mirchi);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- header + toran (signature) ---------- */

.site-header {
  background: linear-gradient(120deg, #F1AC38, #E39A22 55%, #D98F1B);
  position: relative;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px 0 26px;
}

.brand { text-decoration: none; display: flex; flex-direction: column; }
.brand-name {
  font-family: "Rozha One", serif;
  font-size: 1.9rem; color: var(--brown); letter-spacing: .01em;
}
.brand-tag {
  font-size: .82rem; color: #5C3A1A; font-style: italic;
  margin-top: -4px; letter-spacing: .02em;
}

.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  color: var(--brown); padding: 8px 14px; border-radius: 999px;
  transition: background .18s ease;
}
.nav a:hover { background: rgba(255, 253, 246, .5); }
.nav a[aria-current="page"] { background: var(--brown); color: var(--gold-soft); }

/* Toran: scalloped doorway hanging under the header */
.toran {
  display: block; width: 100%; height: 26px;
  background:
    radial-gradient(circle at 50% 0, var(--mirchi) 0 42%, transparent 43%) 0 0 / 36px 26px repeat-x,
    radial-gradient(circle at 50% 0, var(--gold-deep) 0 58%, transparent 59%) 18px 0 / 36px 26px repeat-x;
}

/* ---------- hero ---------- */

.hero { padding: 64px 0 72px; overflow: hidden; }

.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center;
}

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mirchi); margin-bottom: 14px;
}

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero h1 .hindi { display: block; color: var(--mirchi); }

.hero p.lead {
  margin: 18px 0 28px; font-size: 1.1rem; color: var(--brown-soft);
  max-width: 46ch;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--mirchi); color: #FFF6E8; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--mirchi-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--brown);
  border: 2px solid var(--brown); margin-left: 12px;
}
.btn-ghost:hover { background: var(--brown); color: var(--gold-soft); }

/* thali cluster: overlapping brass-rimmed circles */
.thali-cluster { position: relative; height: 420px; }
.thali {
  position: absolute; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--gold-deep);
  box-shadow: 0 0 0 4px var(--gold-soft), var(--shadow);
  background: var(--card);
}
.thali img { width: 100%; height: 100%; object-fit: cover; }
.thali-1 { width: 250px; height: 250px; top: 0; right: 30px; }
.thali-2 { width: 190px; height: 190px; bottom: 30px; right: 220px; }
.thali-3 { width: 150px; height: 150px; bottom: 0; right: 40px; }

/* ---------- trust strip ---------- */

.trust {
  background: var(--brown); color: var(--gold-soft);
  padding: 20px 0;
}
.trust-items {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.trust-items span { font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.trust-items b { color: #fff; font-weight: 700; }

/* ---------- sections ---------- */

.section { padding: 72px 0; }
.section-alt { background: #F5EAD2; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head .hindi-sub {
  color: var(--mirchi); font-weight: 600; margin-top: 4px; font-size: 1.05rem;
}

/* ---------- product cards ---------- */

.grid-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 26px;
}

.card {
  background: var(--card); border: 1px solid var(--ring);
  border-radius: var(--radius); padding: 22px 20px 20px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .photo {
  width: 158px; height: 158px; border-radius: 50%;
  border: 5px solid var(--gold-deep);
  box-shadow: 0 0 0 3px var(--gold-soft);
  overflow: hidden; margin-bottom: 16px; flex-shrink: 0;
}
.card .photo img { width: 100%; height: 100%; object-fit: cover; }

/* branded placeholder when no photo yet */
.card .photo.ph {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, #F6C86B, var(--gold) 70%);
}
.card .photo.ph span {
  font-family: "Rozha One", serif; font-size: 2rem; color: var(--brown);
  line-height: 1.25; padding: 0 12px;
}

.card h3 { font-size: 1.22rem; }
.card .hindi-name { color: var(--mirchi); font-weight: 600; font-size: .95rem; }
.card .desc {
  font-size: .9rem; color: var(--brown-soft);
  margin: 10px 0 14px; min-height: 3.6em;
}

/* size pills */
.sizes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.size-pill {
  font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer;
  padding: 6px 13px; border-radius: 999px;
  border: 1.5px solid var(--brown-soft); background: transparent; color: var(--brown);
  transition: all .14s ease;
}
.size-pill[aria-pressed="true"] {
  background: var(--brown); color: var(--gold-soft); border-color: var(--brown);
}

.price-line { font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; min-height: 1.5em; }
.price-line .ask { color: var(--brown-soft); font-weight: 600; font-size: .95rem; }

.btn-order {
  width: 100%; justify-content: center;
  background: var(--leaf); color: #FBF7E9;
}
.btn-order:hover { background: #59692F; transform: translateY(-2px); }

/* category anchor headers on products page */
.cat-block { padding-top: 26px; margin-top: 26px; }
.cat-head {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 3px solid var(--gold); padding-bottom: 8px; margin-bottom: 28px;
}
.cat-head h2 { font-size: 1.7rem; }
.cat-head .hindi-sub { color: var(--mirchi); font-weight: 600; }

.cat-nav {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 18px;
}
.cat-nav a {
  text-decoration: none; font-weight: 600; font-size: .9rem;
  background: var(--card); border: 1.5px solid var(--ring);
  padding: 8px 16px; border-radius: 999px; transition: all .15s ease;
}
.cat-nav a:hover { border-color: var(--brown); background: var(--brown); color: var(--gold-soft); }

/* ---------- story ---------- */

.story-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center;
}
.story-grid .thali-single {
  width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%;
  border: 8px solid var(--gold-deep); box-shadow: 0 0 0 5px var(--gold-soft), var(--shadow);
  overflow: hidden; margin: 0 auto;
}
.story-grid .thali-single img { width: 100%; height: 100%; object-fit: cover; }
.story-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.story-copy p { margin-bottom: 14px; color: var(--brown-soft); }
.story-copy .pull {
  font-family: "Rozha One", serif; font-size: 1.35rem; color: var(--mirchi);
  border-left: 4px solid var(--gold); padding-left: 16px; margin: 22px 0;
}

/* ---------- steps (how to order) ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: var(--card); border: 1px solid var(--ring);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--brown);
  font-family: "Rozha One", serif; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step .num.word {
  width: auto; min-width: 46px; padding: 4px 18px;
  border-radius: 999px; font-size: 1.05rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--brown-soft); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  background: var(--card); border: 1px solid var(--ring);
  border-radius: var(--radius); padding: 34px 30px;
}
.contact-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.contact-card p { color: var(--brown-soft); margin-bottom: 14px; }
.contact-card .big-number {
  font-family: "Rozha One", serif; font-size: 1.6rem; color: var(--brown);
  margin: 6px 0 18px; display: block; text-decoration: none;
}
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.badge {
  background: var(--gold-soft); color: var(--brown); font-weight: 700;
  font-size: .82rem; padding: 6px 14px; border-radius: 999px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, #F1AC38, #D98F1B);
  text-align: center; padding: 64px 0;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.cta-band p { color: #5C3A1A; margin-bottom: 26px; font-size: 1.08rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--brown); color: #D9C3A5;
  padding: 44px 0 30px; font-size: .95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; margin-bottom: 30px;
}
.site-footer h4 {
  font-family: "Rozha One", serif; color: var(--gold-soft);
  font-size: 1.15rem; margin-bottom: 10px; font-weight: 400;
}
.site-footer a { color: #EAD7B8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(234, 215, 184, .25);
  padding-top: 18px; text-align: center; font-size: .85rem; color: #B99C77;
}

/* floating WhatsApp button */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px -6px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- responsive ---------- */

/* tablets & foldables: shrink the thali cluster to fit the narrower column */
@media (max-width: 1060px) and (min-width: 881px) {
  .thali-cluster { height: 360px; }
  .thali-1 { width: 205px; height: 205px; top: 0; right: 10px; }
  .thali-2 { width: 150px; height: 150px; bottom: 36px; right: 180px; }
  .thali-3 { width: 120px; height: 120px; bottom: 0; right: 16px; }
}

@media (max-width: 880px) {
  body { font-size: 16px; }

  /* compact centered header */
  .header-inner {
    flex-direction: column; gap: 10px;
    padding: 14px 0 16px; text-align: center;
  }
  .brand { align-items: center; }
  .brand-name { font-size: 1.6rem; }
  .nav { justify-content: center; gap: 4px; }
  .nav a { font-size: .88rem; padding: 6px 12px; }

  /* hero: stacked, tighter, no overflow */
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.4rem); }
  .hero p.lead { font-size: 1rem; }
  .hero .btn { width: 100%; justify-content: center; }
  .btn-ghost { margin-left: 0; margin-top: 12px; }

  /* thali cluster: simple overlapping row instead of absolute positioning */
  .thali-cluster { height: auto; display: flex; justify-content: center; align-items: center; }
  .thali { position: static; flex-shrink: 0; }
  .thali-1 { width: 170px; height: 170px; z-index: 3; }
  .thali-2 { width: 135px; height: 135px; margin-left: -28px; z-index: 2; }
  .thali-3 { width: 110px; height: 110px; margin-left: -24px; z-index: 1; }

  /* trust strip: neat 2-column grid */
  .trust { padding: 16px 0; }
  .trust-items {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px 14px; text-align: center;
  }
  .trust-items span { font-size: .82rem; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .story-grid .thali-single { width: min(270px, 80%); }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .cta-band { padding: 48px 0; }
  .cta-band .btn { width: 100%; justify-content: center; }

  .cat-head { flex-wrap: wrap; gap: 6px; }
  .grid-products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* very small phones */
@media (max-width: 380px) {
  .thali-1 { width: 145px; height: 145px; }
  .thali-2 { width: 115px; height: 115px; }
  .thali-3 { width: 95px; height: 95px; }
  .grid-products { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .wa-float, .size-pill { transition: none; }
  .card:hover, .btn-primary:hover, .btn-order:hover, .wa-float:hover { transform: none; }
}
