/* Magical Glow Skincare — v16 visual enhancement layer.
   Loads after each page's inline <style>. Keeps the brand green/gold palette
   and Cormorant Garamond + Poppins type; adds depth, hierarchy and polish.
   Spends its boldness on the hero; everything else stays quiet. */

/* ---------- Hero: premium layered depth (works with or without the video) ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 16% 12%, rgba(201,169,89,.20), transparent 46%),
    radial-gradient(130% 120% at 88% 90%, rgba(74,124,89,.50), transparent 52%),
    linear-gradient(155deg, #16301e 0%, #21482d 46%, #2d5a3d 100%);
  overflow: hidden;
}
.hero .hero-overlay {
  background: linear-gradient(180deg, rgba(9,22,14,.22) 0%, rgba(9,22,14,.34) 55%, rgba(9,22,14,.60) 100%);
}
.hero-content { padding: 44px 20px; }
.hero-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.34);
  letter-spacing: .22em;
  font-size: 11px;
  padding: 9px 20px;
}
.hero-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.9rem, 7vw, 4.7rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-content h1 span {
  color: var(--gold, #c9a959);
  font-style: italic;
  font-weight: 500;
}
.hero-content p {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  max-width: 42ch;
  margin: 0 auto 32px;
  color: rgba(255,255,255,.92);
}

/* ---------- Buttons: depth + motion ---------- */
.btn { transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.hero-btns { gap: 14px; }
.hero-btns .btn { padding: 16px 34px; border-radius: 40px; font-weight: 600; font-size: 15px; }
.hero-btns .btn-primary {
  background: linear-gradient(135deg, #2d5a3d, #4a7c59);
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(12,34,20,.45);
}
.hero-btns .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(12,34,20,.55), 0 0 0 2px rgba(201,169,89,.6); }
.hero-btns .btn-outline {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.6px solid rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
}
.hero-btns .btn-outline:hover { background: #fff; color: var(--primary, #2d5a3d); transform: translateY(-2px); }

/* Primary buttons elsewhere keep their brand green, gain subtle depth */
.btn-primary { box-shadow: 0 8px 22px rgba(45,90,61,.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(45,90,61,.3); }

/* ---------- Section headers: a quiet gold rule ---------- */
.section-header { margin-bottom: 36px; }
.section-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 600; }
.section-header h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--gold, #c9a959), rgba(201,169,89,.25));
  border-radius: 2px;
}

/* ---------- Cards: soft, layered, lift on hover ---------- */
.feature-card, .testimonial-card { transition: transform .3s ease, box-shadow .3s ease; }
.feature-card {
  background: #fff;
  border: 1px solid var(--border, #d4e5d8);
  border-radius: 18px;
  padding: 26px 20px;
  box-shadow: 0 6px 20px rgba(26,61,42,.05);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(26,61,42,.12); }
.feature-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  background: radial-gradient(circle at 30% 30%, #eaf3ec, #d4e7d9);
  font-size: 1.7rem;
  box-shadow: inset 0 0 0 1px rgba(45,90,61,.08);
}
.testimonial-card { background: #fff; border-radius: 18px; padding: 26px 22px; box-shadow: 0 8px 26px rgba(10,30,18,.28); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(10,30,18,.36); }
/* cards are now white on the green section — keep their text dark and readable */
.testimonial-card .testimonial-text { color: #333; }
.testimonial-card .author-name { color: var(--dark, #1a3d2a); }
.testimonial-card .author-location { color: var(--gray, #6b7280); }
.testimonial-stars { color: var(--gold, #c9a959); letter-spacing: 2px; }

/* Homepage category cards */
#homeCategories .cat-card { transition: transform .3s ease, box-shadow .3s ease; }
#homeCategories .cat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(26,61,42,.12); }

/* ---------- Announcement bar ---------- */
.announcement { letter-spacing: .04em; font-size: 12.5px; }

/* ---------- Newsletter: elevated card ---------- */
.newsletter { background: linear-gradient(180deg, #f5f9f6, #eaf3ec); }
.newsletter .container {
  background: #fff;
  max-width: 720px;
  margin: 0 auto;
  padding: 46px 28px;
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(26,61,42,.10);
  border: 1px solid var(--border, #d4e5d8);
}
.newsletter-btn { box-shadow: 0 8px 22px rgba(45,90,61,.22); transition: transform .25s ease, box-shadow .25s ease; }
.newsletter-btn:hover { transform: translateY(-2px); }

/* ---------- One orchestrated hero reveal on load ---------- */
@keyframes mgRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-badge { animation: mgRise .7s ease .05s both; }
.hero-content h1 { animation: mgRise .7s ease .16s both; }
.hero-content p { animation: mgRise .7s ease .28s both; }
.hero-btns { animation: mgRise .7s ease .40s both; }

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-content h1, .hero-content p, .hero-btns { animation: none; }
  .btn, .feature-card, .testimonial-card, #homeCategories .cat-card, .newsletter-btn { transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .hero { min-height: 78vh; }
  .newsletter .container { padding: 34px 20px; border-radius: 18px; }
}
