/* ============================================================
   SERENE MOM STUDIO — style.css
   Mobile-first · No frameworks · Optimized for moms on phones
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --beige:        #F5EFE6;
  --beige-dark:   #EDE3D5;
  --white:        #FFFFFF;
  --brown:        #8E7C6E;
  --brown-dark:   #6B5C50;
  --green:        #A3B18A;
  --green-dark:   #7A9162;
  --text:         #4A3F36;
  --text-light:   #8E7C6E;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Lato', system-ui, sans-serif;

  --radius:       12px;
  --shadow:       0 4px 24px rgba(142, 124, 110, 0.12);
  --shadow-lg:    0 10px 40px rgba(142, 124, 110, 0.18);
  --transition:   0.2s ease;

  /* Nav height — used for scroll padding */
  --nav-h:        68px;
}

/* ── Base ───────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* space for sticky nav */
  padding-top: var(--nav-h);
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Typography helpers ─────────────────────────────────────── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ────────────────────────────────────────────────── */
/* Base — generous tap target (min 48px tall) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122,145,98,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  padding: 10px 22px;
  min-height: 42px;
  font-size: 0.8rem;
}
.btn--nav:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn--large  { padding: 16px 42px; font-size: 1rem; }
.btn--xl     { padding: 18px 48px; font-size: 1.05rem; min-height: 58px; }
.btn--full   { width: 100%; }

.btn--muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c0b8b0;
  border: 2px dashed #ddd;
  cursor: default;
  align-self: flex-start;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(142,124,110,0.12);
  z-index: 100;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(142,124,110,0.12); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--beige) 0%, #ede3d5 100%);
  padding: 72px 0 64px;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 4.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* ── TRUST STRIP ────────────────────────────────────────────── */
.trust {
  background: var(--brown-dark);
  padding: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.trust__inner {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.trust__inner span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  padding: 4px 0;
}

/* ── PRODUCTS SECTION ───────────────────────────────────────── */
.products {
  padding: 72px 0 80px;
  background: var(--white);
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* ── Card base ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid rgba(142,124,110,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--live:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image-link { display: block; }

/* Card body */
.card__body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.3;
}
.card__benefit {
  font-size: 0.93rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.65;
}
.card__body > .btn { align-self: stretch; text-align: center; }

/* ── Carousel ───────────────────────────────────────────────── */
.card__carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
}
.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.carousel__track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(245,239,230,0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  color: var(--brown-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
/* Always show on touch devices */
@media (hover: none) { .carousel__btn { opacity: 0.8; } }
.card__carousel:hover .carousel__btn { opacity: 1; }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel__btn:hover { background: var(--beige); }

.carousel__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(142,124,110,0.25);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel__dot--active {
  background: var(--white);
  transform: scale(1.35);
}

/* ── Coming Soon card ───────────────────────────────────────── */
.card--coming-soon {
  border-style: dashed;
  border-color: rgba(163,177,138,0.4);
  box-shadow: none;
  background: linear-gradient(160deg, #faf7f3 0%, var(--white) 100%);
}
.card__cs-image {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5efe6 0%, #ede8e1 100%);
}
.card__cs-icon { font-size: 3rem; opacity: 0.5; }

.card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(163,177,138,0.15);
  border: 1px solid rgba(163,177,138,0.35);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.about {
  padding: 80px 0;
  background: var(--white);
}
.about__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.about__logo {
  margin: 0 auto 28px;
  width: 90px;
}
.about__logo img { width: 100%; border-radius: 50%; }
.about__inner .section-title { margin-bottom: 28px; }
.about__inner p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.about__sign {
  font-size: 1rem;
  color: var(--brown-dark);
  margin-top: 32px;
}
.about__sign em {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--beige);
  padding: 48px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(142,124,110,0.15);
}
.footer__logo {
  margin: 0 auto 14px;
  border-radius: 50%;
}
.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin-bottom: 24px;
}
.footer__nav a {
  font-size: 0.85rem;
  color: var(--brown);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--green-dark); }
.footer__nav span { color: var(--text-light); line-height: 44px; }
.footer__copy { font-size: 0.75rem; color: var(--text-light); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (min-width: 600px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .card__body > .btn { align-self: flex-start; }
}
