/* =========================================================
   Oru Saree by Akshaya — stylesheet
   Palette:
     --ivory     #FFFCF6  (base background)
     --maroon    #7A1B3B  (primary accent — saree red)
     --maroon-dk #591229  (deep hover state)
     --gold      #B8863A  (secondary accent — antique gold)
     --blush     #F5E7DE  (soft section background)
     --ink       #2C2420  (text)
     --ink-soft  #6B5F55  (muted text)
   Type:
     Display — "Marcellus"  (headings, elegant, quiet capitals)
     Body    — "Jost"       (clean geometric sans, readable)
   ========================================================= */

:root {
  --ivory: #fffcf6;
  --maroon: #7a1b3b;
  --maroon-dk: #591229;
  --gold: #b8863a;
  --gold-soft: #d9b57a;
  --blush: #f5e7de;
  --ink: #2c2420;
  --ink-soft: #6b5f55;
  --line: #e7dcd0;
  --radius: 2px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Jost", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Marcellus", "Georgia", serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: 62ch; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Motif divider (drape line) ---------- */
.drape-rule {
  display: block;
  width: 100%;
  height: 14px;
  margin: 0 auto;
}
.drape-rule svg { width: 100%; height: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 246, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-family: "Marcellus", serif;
  font-size: 1.5rem;
  color: var(--maroon);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand span.by {
  font-family: "Jost", sans-serif;
  font-size: 0.62rem;
  color: var(--ink-soft);
  letter-spacing: 0.14em;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--maroon);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--maroon); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--maroon-dk); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dk); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb856; }
.btn-small { padding: 9px 16px; font-size: 0.82rem; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-figure {
  position: relative;
}
.hero-figure .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blush);
}
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .chip {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(89, 18, 41, 0.12);
}
.hero-figure .chip strong {
  display: block;
  font-family: "Marcellus", serif;
  color: var(--maroon);
  font-size: 1.4rem;
}
.hero-figure .chip span { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- Section scaffolding ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--blush); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head p { color: var(--ink-soft); margin: 0; }
.section-kicker {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Category strip ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  border: 1px solid var(--line);
  padding: 26px 20px;
  border-radius: var(--radius);
  text-align: left;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.category-card:hover { border-color: var(--maroon); transform: translateY(-3px); }
.category-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.category-card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-media {
  aspect-ratio: 3 / 4;
  background: var(--blush);
  overflow: hidden;
  position: relative;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-media img { transform: scale(1.045); }
.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--maroon);
  color: #fff;
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: var(--radius);
}
.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-body h3 { font-size: 1.05rem; margin-bottom: 0; }
.product-body .desc { font-size: 0.88rem; color: var(--ink-soft); margin: 0; flex: 1; }
.product-price { color: var(--maroon); font-family: "Marcellus", serif; font-size: 1.05rem; }
.product-price .note { font-size: 0.75rem; color: var(--ink-soft); font-family: "Jost", sans-serif; display: block; }

/* image fallback placeholder look */
.img-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, #f0e0d6 0 12px, #f5e7de 12px 24px);
  color: var(--maroon-dk);
  font-family: "Marcellus", serif;
  font-size: 0.95rem;
  padding: 18px;
}

/* ---------- How it works (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  border-top: 2px solid var(--maroon);
  padding-top: 16px;
}
.step .num {
  font-family: "Marcellus", serif;
  color: var(--gold);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
}
.testimonial p { font-style: italic; color: var(--ink); margin-bottom: 14px; }
.testimonial .who { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero .frame {
  aspect-ratio: 4/3;
  background: var(--blush);
  overflow: hidden;
  border-radius: var(--radius);
}
.about-hero .frame img { width: 100%; height: 100%; object-fit: cover; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.value-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card a.link { color: var(--maroon); }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--maroon); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--maroon);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #f2dfe4; margin: 0 auto 26px; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--maroon); }

/* ---------- Footer ---------- */
.site-footer {
  background: #211014;
  color: #e9dcd8;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer-grid .brand { color: #fff; }
.footer-grid .brand span.by { color: #c9a9ab; }
.footer-grid p { color: #c9b9b6; font-size: 0.9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #d9c8c5; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #9c8b88;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  padding: 52px 0 34px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.page-banner .breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.page-banner .breadcrumb a { color: var(--maroon); }

/* ---------- Filter row (products page) ---------- */
.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.filter-chip.active,
.filter-chip:hover { border-color: var(--maroon); color: var(--maroon); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.error-page .code {
  font-family: "Marcellus", serif;
  font-size: 5rem;
  color: var(--gold-soft);
  line-height: 1;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-soft); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; margin: 0 auto; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    transform: translateY(-140%);
    transition: transform 0.28s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .nav-links.open .nav-cta {
    display: inline-flex;
    margin-top: 10px;
    width: fit-content;
  }
  .nav-toggle { display: block; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero { padding: 40px 0 24px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-figure .chip { left: 0; bottom: -18px; padding: 12px 16px; }
}
