/* ============================================================
   Mangaldeep Nadodi Wale — Stylesheet
   Cloth merchant since 1985 | WhatsApp API approval website
   Mobile-first responsive. No external dependencies.
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --maroon:      #5c1a2a;
  --maroon-dark: #43121e;
  --maroon-light:#7a2439;
  --gold:        #c9a227;
  --gold-soft:   #f3e5c0;
  --ink:         #2b2b2b;
  --muted:       #6b6b6b;
  --bg:          #faf7f2;
  --card:        #ffffff;
  --line:        #e8e0d4;
  --wa:          #25d366;
  --wa-dark:     #1eb95a;
  --shadow:      0 10px 30px rgba(92, 26, 42, 0.10);
  --radius:      14px;
  --font:        "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--card);
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 46px; height: 46px; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.15rem; color: var(--maroon); letter-spacing: 0.5px; }
.logo-text em { font-style: normal; font-size: 0.8rem; color: var(--muted); }

.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--maroon); text-decoration: none; }
.nav a.nav-cta {
  background: var(--maroon); color: #fff; padding: 9px 18px; border-radius: 40px;
  font-weight: 600;
}
.nav a.nav-cta:hover { background: var(--maroon-light); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 3px; background: var(--maroon); margin: 5px 0; border-radius: 3px; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(67, 18, 30, 0.78), rgba(67, 18, 30, 0.78)),
    url("../images/hero.svg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px 90px;
}
.hero-eyebrow {
  display: inline-block; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; font-size: 0.85rem;
  border: 1px solid rgba(201,162,39,.55); padding: 6px 16px; border-radius: 40px; margin-bottom: 20px;
}
.hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 14px; letter-spacing: 0.5px; }
.hero-sub { font-size: 1.2rem; max-width: 640px; margin: 0 auto 34px; opacity: 0.94; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-wa  { background: var(--wa);   color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 10px 24px rgba(37,211,102,.45); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.75); }
.btn-outline:hover { background: #fff; color: var(--maroon); border-color: #fff; }

/* Trust badges */
.trust-badges { display: flex; gap: 14px 28px; justify-content: center; flex-wrap: wrap; font-size: 0.95rem; }
.trust-badges li { display: inline-flex; align-items: center; gap: 8px; }
.trust-badges span { color: var(--gold); font-weight: 800; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: 2rem; color: var(--maroon); text-align: center; margin-bottom: 6px; }
.section-title span { color: var(--gold); }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 44px; font-size: 1.05rem; }
.center { text-align: center; margin-top: 30px; }
.center-note { text-align: center; color: var(--muted); margin-top: 28px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: center; }
.about-text p { margin-bottom: 16px; color: #444; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-facts li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; box-shadow: var(--shadow);
}
.about-facts span { display: block; font-size: 1.7rem; font-weight: 800; color: var(--maroon); }
.about-facts li { color: var(--muted); font-size: 0.92rem; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.cards { grid-template-columns: repeat(3, 1fr); }
.grid.features { grid-template-columns: repeat(3, 1fr); }
.grid.reviews { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { color: var(--maroon); margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: #555; font-size: 0.95rem; }

.feature { background: var(--bg); border-left: 4px solid var(--gold); padding: 18px 20px; border-radius: 10px; }
.feature strong { color: var(--maroon); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.feature p { color: #555; font-size: 0.93rem; }

.review {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; font-style: normal;
}
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: #444; margin-bottom: 14px; }
.review footer { color: var(--muted); font-size: 0.9rem; }

/* ---------- Hours ---------- */
.hours-table { width: 100%; max-width: 560px; margin: 0 auto; border-collapse: collapse; }
.hours-table td { padding: 16px 20px; border: 1px solid var(--line); background: var(--card); }
.hours-table tr td:first-child { font-weight: 600; color: var(--maroon); width: 60%; }
.hours-table tr:nth-child(even) td { background: var(--bg); }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: stretch; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 300px; }
.map iframe { display: block; }
.address-box {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; justify-content: center;
}
.address-box p { margin-bottom: 12px; color: #444; }
.address-box p strong { color: var(--maroon); font-size: 1.1rem; }
.address-box a { color: var(--maroon); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: var(--card); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 22px; font-size: 1rem; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font);
}
.faq-q:hover { background: var(--bg); }
.faq-icon { font-size: 1.4rem; color: var(--maroon); font-weight: 400; line-height: 1; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: #555; font-size: 0.96rem; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.contact-card h3 { color: var(--maroon); margin-bottom: 12px; font-size: 1.05rem; }
.contact-card p { color: #555; font-size: 0.95rem; margin-bottom: 6px; }
.contact-card a { font-weight: 600; }
.social-links a { margin: 0 4px; }

/* ---------- Footer ---------- */
footer { background: var(--maroon-dark); color: #e9d9c9; margin-top: 40px; }
footer .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding-top: 50px; padding-bottom: 40px;
}
.footer-col h4 { color: var(--gold); margin-bottom: 14px; font-size: 1rem; letter-spacing: 1px; }
.footer-col p { font-size: 0.92rem; margin-bottom: 8px; }
.footer-col a { display: block; color: #e9d9c9; font-size: 0.92rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 18px 0; font-size: 0.85rem; color: #cbb9a8; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 26px; z-index: 99;
  background: var(--wa); color: #fff; width: 60px; height: 60px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  animation: pulse 2s infinite;
}
.wa-float:hover { background: var(--wa-dark); transform: scale(1.06); text-decoration: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Back to top */
.to-top {
  position: fixed; right: 30px; bottom: 100px; z-index: 98;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--maroon); color: #fff; font-size: 1.2rem;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 60px auto 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; }
.legal h1 { color: var(--maroon); font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 30px; font-size: 0.9rem; }
.legal h2 { color: var(--maroon); font-size: 1.25rem; margin: 26px 0 10px; }
.legal h3 { color: var(--maroon); font-size: 1.1rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #444; margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 24px; margin-bottom: 12px; }
.legal a { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid.cards, .grid.features, .grid.reviews, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  footer .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 90px 16px 70px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-sub { font-size: 1.05rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.6rem; }

  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--card); flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; gap: 4px; box-shadow: 0 12px 20px rgba(0,0,0,.12);
    transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { display: block; padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { text-align: center; border: 0; margin-top: 10px; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .grid.cards, .grid.features, .grid.reviews, .contact-grid { grid-template-columns: 1fr; }
  footer .container { grid-template-columns: 1fr; }
  .legal { padding: 28px 22px; margin: 30px auto; }
}
