/* ===========================
   MOMS MADE — Main Stylesheet
   =========================== */

:root {
  --saffron:   #E8A020;
  --maroon:    #8B1A1A;
  --cream:     #FDF6E3;
  --brown:     #5C3A1E;
  --charcoal:  #2C1810;
  --warm-grey: #8C7B6B;
  --white:     #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', 'Helvetica Neue', sans-serif;

  --radius: 12px;
  --shadow: 0 4px 24px rgba(44, 24, 16, 0.10);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.15);

  --max-width: 1100px;
  --nav-h: 72px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* UTILITIES */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}
h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 8px;
}
p { color: #5a3e30; margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--maroon);
  color: var(--cream);
  border-color: var(--maroon);
}
.btn--primary:hover {
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--nav {
  background: var(--saffron);
  color: var(--charcoal);
  padding: 10px 22px;
  font-size: 13px;
}
.btn--nav:hover {
  background: var(--maroon);
  color: var(--cream);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(253, 246, 227, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 160, 32, 0.2);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img { height: 48px; width: auto; }
.nav__links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brown);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--maroon); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #3a0a0a 0%, #5C3A1E 45%, #8B1A1A 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(232,160,32,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232,160,32,0.08) 0%, transparent 50%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8a020' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 24px;
}
.hero__logo {
  width: 220px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
}
.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-style: italic;
  color: var(--saffron);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(253, 246, 227, 0.85);
  margin-bottom: 36px;
  font-weight: 300;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(232,160,32,0.6);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== STORY ===== */
.story { background: var(--cream); }
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story__text p { font-size: 1.05rem; line-height: 1.8; }
.story__image-wrap { display: flex; justify-content: center; }
.story__image-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f5e6c8 0%, #e8d5a3 100%);
  border: 2px solid rgba(232,160,32,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.story__image-frame::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border: 1px dashed rgba(139,26,26,0.25);
  border-radius: 8px;
  pointer-events: none;
}
.story__image-placeholder {
  text-align: center;
  color: var(--warm-grey);
}
.story__image-placeholder span { font-size: 4rem; display: block; margin-bottom: 12px; }
.story__image-placeholder p { font-family: var(--font-serif); font-style: italic; color: var(--warm-grey); }

/* ===== PRODUCTS ===== */
.products {
  background: var(--maroon);
  color: var(--cream);
}
.products .section-label { color: var(--saffron); }
.products h2 { color: var(--cream); }
.section-intro {
  font-size: 1.05rem;
  color: rgba(253,246,227,0.75);
  max-width: 580px;
  margin-bottom: 48px;
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: rgba(253,246,227,0.06);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, background 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  background: rgba(253,246,227,0.10);
}
.product-card__icon { font-size: 2.2rem; margin-bottom: 16px; }
.product-card h3 { color: var(--cream); margin-bottom: 10px; }
.product-card p { color: rgba(253,246,227,0.72); font-size: 0.95rem; margin-bottom: 16px; }
.product-card__tag {
  display: inline-block;
  background: rgba(232,160,32,0.15);
  color: var(--saffron);
  border: 1px solid rgba(232,160,32,0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ===== WHY ===== */
.why { background: #faf3e0; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.why__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.why__item:hover { transform: translateY(-4px); }
.why__icon { font-size: 2rem; margin-bottom: 14px; }
.why__item p { font-size: 0.95rem; color: var(--warm-grey); }

/* ===== ORDER ===== */
.order {
  background: linear-gradient(160deg, #3a0a0a 0%, #5C3A1E 100%);
}
.order .section-label { color: var(--saffron); }
.order h2 { color: var(--cream); }
.order__inner { max-width: 680px; margin: 0 auto; text-align: center; }
.order__inner p { color: rgba(253,246,227,0.75); margin-bottom: 40px; }
.order__form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.order__form input,
.order__form textarea {
  width: 100%;
  background: rgba(253,246,227,0.08);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}
.order__form input::placeholder,
.order__form textarea::placeholder { color: rgba(253,246,227,0.4); }
.order__form input:focus,
.order__form textarea:focus { border-color: var(--saffron); }
.order__form .btn { width: 100%; text-align: center; border: none; font-size: 15px; }
.form-note { text-align: center; font-size: 13px; color: rgba(253,246,227,0.4); margin-top: 12px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  padding: 48px 0;
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer__logo { height: 72px; width: auto; opacity: 0.9; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer__links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--cream); }
.footer__copy { font-size: 13px; color: var(--warm-grey); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 2px solid rgba(232,160,32,0.2);
    box-shadow: var(--shadow);
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(232,160,32,0.1);
  }
  .nav__toggle { display: flex; }

  .story__grid { grid-template-columns: 1fr; gap: 40px; }
  .story__image-wrap { order: -1; }
  .story__image-frame { max-width: 300px; }

  .form-row { grid-template-columns: 1fr; }

  .hero__logo { width: 170px; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.8rem; }
  .products__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
}
