/* =========================================================
   MadCravery — Guilt-free Cravings, No Refined Sugar
   Stylesheet
   ========================================================= */

:root {
  --golden: #d4a017;
  --golden-dark: #b8860b;
  --saffron: #ff9933;
  --cream: #fff8e7;
  --cream-dark: #fbeed1;
  --maroon: #7a1f2b;
  --maroon-dark: #5c1620;
  --text: #4a2c2a;
  --text-light: #7a6a60;
  --white: #ffffff;
  --shadow: 0 6px 18px rgba(122, 31, 43, 0.12);
  --radius: 16px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Georgia", "Times New Roman", serif;
  margin: 0 0 0.5em;
  color: var(--maroon);
}

p { margin: 0 0 1em; }

a { text-decoration: none; color: inherit; }

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

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

.section { padding: 64px 0; }
.section--alt { background: var(--cream-dark); }

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--maroon);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--maroon-dark); }

.btn--gold {
  background: linear-gradient(135deg, var(--saffron), var(--golden));
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--gold:hover { filter: brightness(1.05); }

.btn--outline {
  background: transparent;
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn--outline:hover { background: var(--maroon); color: var(--white); }

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--whatsapp:hover { background: #1ebc59; }

.btn--block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(122, 31, 43, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--golden));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.brand__text h1 {
  font-size: 1.3rem;
  margin: 0;
  line-height: 1;
}

.brand__text span {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-weight: 600;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--maroon);
  border-color: var(--saffron);
}

.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px;
  height: 3px;
  background: var(--maroon);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid rgba(122, 31, 43, 0.08);
  }
  .nav__links.is-open { max-height: 360px; }
  .nav__links li { width: 100%; text-align: center; }
  .nav__links a { display: block; padding: 14px 0; }
  .nav__cta .btn span.btn-label-full { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at top right, var(--cream-dark), var(--cream));
  padding: 80px 0;
}

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

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
}

.hero__eyebrow {
  display: inline-block;
  background: var(--golden);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h2 {
  font-size: 2.6rem;
  line-height: 1.2;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero__art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hero__art .blob {
  aspect-ratio: 1;
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  box-shadow: var(--shadow);
}
.blob--1 { background: var(--saffron); }
.blob--2 { background: var(--golden); margin-top: 24px; }
.blob--3 { background: var(--maroon); color: var(--white); margin-top: -24px; }
.blob--4 { background: var(--cream-dark); }

/* ---------- Highlights / Why us ---------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .highlights { grid-template-columns: 1fr; } }

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.highlight-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.highlight-card h3 { font-size: 1.05rem; }
.highlight-card p { color: var(--text-light); font-size: 0.92rem; margin: 0; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 920px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.product-card:hover { transform: translateY(-4px); }

.product-card__media {
  height: 170px;
  background: linear-gradient(135deg, var(--saffron), var(--golden));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__body h3 { margin-bottom: 6px; font-size: 1.15rem; }
.product-card__body p { color: var(--text-light); font-size: 0.92rem; flex: 1; }

.product-card__price {
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 12px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card .stars { color: var(--golden); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: var(--text); }
.testimonial-card .author { font-weight: 700; color: var(--maroon); margin-top: 12px; }
.testimonial-card .author span { display: block; font-weight: 400; font-size: 0.82rem; color: var(--text-light); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin: 0 auto;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

.fssai-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream-dark);
  border: 1px dashed var(--golden-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--maroon);
}

/* ---------- Order page ---------- */
.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .order-steps { grid-template-columns: 1fr; } }

.order-step {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.order-step .step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(122, 31, 43, 0.2);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--saffron);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
}

.form-success {
  display: none;
  background: #e7f7ed;
  border: 1px solid #36a35d;
  color: #1f6b3a;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

/* ---------- Contact info ---------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .contact-info { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-info { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-info-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.contact-info-card a { color: var(--maroon); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 24px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 { color: var(--saffron); font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--saffron); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 200;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

.page-hero {
  background: var(--cream-dark);
  padding: 56px 0;
  text-align: center;
}
.page-hero p { color: var(--text-light); max-width: 560px; margin: 0 auto; }
