/* ═══════════════════════════════════════════════════════════
   POLLY'S PLACE — styles.css
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --amber:    #F4A200;
  --amber-lt: #FFD166;
  --green:    #1B4332;
  --green-md: #2D6A4F;
  --green-lt: #52B788;
  --coral:    #E85D26;
  --cream:    #FFF8F0;
  --cream-dk: #FFF0DC;
  --ink:      #1A1208;
  --muted:    #6B5740;
  --white:    #FFFFFF;
  --shadow:   0 8px 32px rgba(26,18,8,.13);
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--ink); overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
.tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 10px;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-heading em { font-style: italic; color: var(--amber); }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: var(--coral); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-md); }

/* ─── SCROLL ANIMATION ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,248,240,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244,162,0,.18);
  padding: 16px 0;
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(26,18,8,.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: var(--green);
  line-height: 1;
}
.nav-brand span { color: var(--amber); }

.nav-links {
  display: flex; gap: 32px; list-style: none;
  font-size: .9rem; font-weight: 500;
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--amber); }

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

/* Hidden on mobile until hamburger is clicked */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--green); border-radius: 2px; transition: .3s;
}

/* Mobile dropdown — absolute so it drops below the fixed nav bar
   without floating over unrelated content */
@media (max-width: 900px) {
  #navbar .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(244,162,0,.2);
    box-shadow: 0 8px 24px rgba(26,18,8,.08);
    z-index: 98;
  }
  #navbar .nav-links.mobile-open { display: flex; }

  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
#home {
  min-height: 100vh;
  background: linear-gradient(135deg, #FFF3C4 0%, var(--cream) 55%, #D8F3DC 100%);
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: .22;
  pointer-events: none;
}
.blob-1 { width: 520px; height: 520px; background: var(--amber-lt); top: -120px; right: -100px; animation: drift 9s ease-in-out infinite; }
.blob-2 { width: 360px; height: 360px; background: var(--green-lt); bottom: -80px; left: -80px;  animation: drift 11s ease-in-out infinite reverse; }
@keyframes drift {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50%      { transform: translate(18px,22px) rotate(6deg); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,162,0,.15);
  border: 1px solid rgba(244,162,0,.4);
  padding: 6px 16px; border-radius: 50px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 20px;
}
.hero-eyebrow::before { content: '🌿'; font-size: 1rem; }

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1; color: var(--green); margin-bottom: 20px;
}
h1 em { font-style: italic; color: var(--amber); }
.hero-sub { font-size: 1.05rem; line-height: 1.7; color: var(--muted); max-width: 480px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }

/* Circle container — clips everything to a circle and adds the
   amber glow. The gradient ring stays visible as a border even
   when images are showing, blending them into the background. */
.hero-circle {
  position: relative;
  width: 420px; height: 420px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 6px rgba(244,162,0,.35),
    0 0 0 12px rgba(244,162,0,.15),
    0 20px 60px rgba(244,162,0,.4);
  background: radial-gradient(circle at 40% 40%, var(--amber-lt) 0%, var(--amber) 70%);
  flex-shrink: 0;
}

/* Each slide — absolutely stacked, crossfade in/out */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* Radial mask blends the very edge of each photo into the
     circle boundary so there's no hard pixelated cutoff */
  -webkit-mask-image: radial-gradient(circle, black 68%, transparent 100%);
  mask-image:         radial-gradient(circle, black 68%, transparent 100%);
}
.hero-slide.active { opacity: 1; }

/* Fallback text shown only when no images have loaded yet */
.hero-circle-text {
  position: relative;
  z-index: 1;
  font-family: 'Dancing Script', cursive;
  font-size: 3.2rem; color: var(--white);
  text-align: center; line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,.2); padding: 20px;
  pointer-events: none;
  transition: opacity .5s;
}
/* Hide fallback text once images start cycling */
.hero-circle.images-loaded .hero-circle-text { opacity: 0; }

/* Dot indicators below the circle */
.hero-circle-dots {
  position: absolute;
  bottom: -28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
.hero-circle-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(244,162,0,.35);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.hero-circle-dot.active {
  background: var(--amber);
  transform: scale(1.3);
}
.hero-pill {
  position: absolute; background: var(--white);
  border-radius: 50px; padding: 10px 18px;
  display: flex; align-items: center;
  box-shadow: var(--shadow);
  font-size: .82rem; font-weight: 600;
}
.pill-1 { top: 40px;  right: -20px; }
.pill-2 { bottom: 80px; left: -30px; }
.pill-3 { bottom: 10px; right: 30px; }

/* Benefit pills row under hero subheading */
.hero-benefits {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.benefit-pill {
  background: rgba(27,67,50,.08);
  border: 1px solid rgba(27,67,50,.15);
  color: var(--green);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .78rem; font-weight: 600;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT — text wraps around floated right image
   ═══════════════════════════════════════════════════════════ */
#about { padding: 100px 0 60px; background: var(--white); }

/* Single content block — tag, heading, floated image, then paragraphs */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}
.about-content .tag { margin-bottom: 8px; }
.about-content .section-heading { margin-bottom: 20px; }
.about-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 16px;
}
/* Clear floats after the content block */
.about-content::after { content: ''; display: table; clear: both; }

/* Image card — floated right, text wraps around its left side */
.about-card {
  float: right;
  width: 340px;
  margin: 8px 0 28px 40px; /* top right bottom left */
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--amber);
  box-shadow:
    0 0 0 6px rgba(244,162,0,.12),
    var(--shadow);
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
}

/* Fallback watermark */
.about-card-text {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Dancing Script', cursive;
  font-size: 4rem; color: var(--amber);
  opacity: .35; line-height: 1; text-align: center;
  min-height: 300px; padding: 20px;
}

/* ─── BENEFITS STRIP ──────────────────────────────────────── */
.benefits-strip {
  margin-top: 64px;
  padding: 48px 0 12px;
  border-top: 1px solid rgba(244,162,0,.2);
}
.benefits-strip-label {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 32px;
  letter-spacing: .01em;
}
.benefits-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Base card — taller without icon, centered text fills the space */
.benefit-card {
  border-radius: 18px;
  padding: 28px 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: transform .2s, box-shadow .2s;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(26,18,8,.15);
}

/* Individual card colors */
.bc-teal        { background: linear-gradient(145deg, #C7F2EE, #27A99A); }
.bc-teal        .benefit-card-text { color: #0F5E58; }
.bc-coral       { background: linear-gradient(145deg, #FFE0D4, #E85D26); }
.bc-coral       .benefit-card-text { color: #7a1e00; }
.bc-green       { background: linear-gradient(145deg, #D8F3DC, #52B788); }
.bc-green       .benefit-card-text { color: #1B4332; }
.bc-pink        { background: linear-gradient(145deg, #FCE4EC, #E91E63); }
.bc-pink        .benefit-card-text { color: #880E4F; }
.bc-amber       { background: linear-gradient(145deg, #FFF3C4, #F4A200); }
.bc-amber       .benefit-card-text { color: #7a4f00; }
.bc-purple      { background: linear-gradient(145deg, #EDE7F6, #9575CD); }
.bc-purple      .benefit-card-text { color: #311B92; }
.bc-sky         { background: linear-gradient(145deg, #E1F5FE, #0288D1); }
.bc-sky         .benefit-card-text { color: #01305e; }
.bc-lime        { background: linear-gradient(145deg, #F9FBE7, #AFB42B); }
.bc-lime        .benefit-card-text { color: #524900; }
.bc-green-dark  { background: linear-gradient(145deg, #2D6A4F, #1B4332); }
.bc-green-dark  .benefit-card-text { color: var(--white); }

.benefit-card-text {
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════
   SHOP — 2 rows × 4 columns
   ═══════════════════════════════════════════════════════════ */
#shop { padding: 100px 0; background: var(--cream); }
.shop-header { text-align: center; margin-bottom: 40px; }
.shop-header p { color: var(--muted); font-size: 1rem; max-width: 480px; margin: 16px auto 0; }

/* Category separator labels */
.product-category-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--green);
  margin-bottom: 6px;
}
.product-category-note {
  font-size: .85rem; color: var(--muted);
  margin-bottom: 20px; line-height: 1.5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,18,8,.07);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26,18,8,.13); }

/* 5:7 aspect ratio image area — contains the full image without cropping */
.product-img {
  position: relative;
  aspect-ratio: 5 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* show whole image, no cropping */
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}
.bg-green  { background: linear-gradient(145deg, #D8F3DC, #52B788); }
.bg-amber  { background: linear-gradient(145deg, #FFF3C4, #FFD166); }
.bg-coral  { background: linear-gradient(145deg, #FFE0D4, #E85D26); }
.bg-teal   { background: linear-gradient(145deg, #C7F2EE, #27A99A); }
.bg-purple { background: linear-gradient(145deg, #EDE7F6, #9575CD); }
.bg-pink   { background: linear-gradient(145deg, #FCE4EC, #E91E63); }
.bg-lime   { background: linear-gradient(145deg, #F9FBE7, #AFB42B); }
.bg-sky    { background: linear-gradient(145deg, #E1F5FE, #0288D1); }

.product-body {
  padding: 14px 18px 20px;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.product-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--green); margin-bottom: 2px;
}
.product-body .product-sub { font-size: .78rem; color: var(--muted); margin-bottom: 10px; }

.product-price-centered {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--amber);
  margin-top: auto;
  padding-top: 6px;
}

/* SVG icons — contact info and social buttons */
.info-icon svg { width: 22px; height: 22px; color: var(--amber-lt); }
.social-btn svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════════════════════
   CONNECT — redesigned
   ═══════════════════════════════════════════════════════════ */
#connect { padding: 100px 0; background: var(--green); position: relative; overflow: hidden; }
#connect::before {
  content: '';
  position: absolute; top: -30%; right: -8%;
  width: 480px; height: 480px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
#connect::after {
  content: '';
  position: absolute; bottom: -20%; left: -6%;
  width: 320px; height: 320px;
  background: rgba(244,162,0,.08);
  border-radius: 50%;
  pointer-events: none;
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

/* Left — how to order */
.connect-order h2 { color: var(--white); margin-bottom: 8px; }
.connect-order h2 em { color: var(--amber-lt); }
.connect-order .connect-sub { color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.7; margin-bottom: 36px; }
.order-steps { display: flex; flex-direction: column; gap: 20px; }
.order-step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--amber); color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-body h4 { color: var(--white); font-size: .95rem; font-weight: 600; margin-bottom: 3px; }
.step-body p  { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.6; }
.step-body a  { color: var(--amber-lt); text-decoration: none; }
.step-body a:hover { text-decoration: underline; }

/* Right — info card */
.connect-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(6px);
}
.connect-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--white);
  margin-bottom: 28px;
}
.connect-card-title span { color: var(--amber-lt); }

.info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 42px; height: 42px; border-radius: 14px;
  background: rgba(244,162,0,.2);
  border: 1px solid rgba(244,162,0,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.info-item h4 { color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600; margin-bottom: 3px; }
.info-item p  { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.6; margin: 0; }
.info-item a  { color: var(--amber-lt); text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

.divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 28px; }

.social-label { color: rgba(255,255,255,.5); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.social-row { display: flex; gap: 12px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.social-btn:hover { background: var(--amber); border-color: var(--amber); }
.social-handles {
  margin-top: 10px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  background: #0F2D1F;
  color: rgba(255,255,255,.6);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 28px; margin-bottom: 20px;
}
.footer-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem; color: var(--white);
}
.footer-brand span { color: var(--amber-lt); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--amber-lt); }
.footer-copy { font-size: .8rem; text-align: center; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-strip-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .connect-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-circle { width: 300px; height: 300px; }
  .hero-circle-text { font-size: 2.2rem; }
  /* Stack image above text on tablet */
  .about-card {
    float: none;
    width: 100%;
    margin: 0 0 28px 0;
  }
  .benefits-strip-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .benefit-card { padding: 18px 10px; }
}
@media (max-width: 600px) {
  .hero-buttons { flex-direction: column; }
  .pill-1, .pill-2, .pill-3 { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .benefits-strip-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .benefit-card { padding: 14px 6px; border-radius: 12px; min-height: 70px; }
  .benefit-card-text { font-size: .68rem; }
  .benefits-strip-label { font-size: 1.1rem; }
}
@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
  .blob-1, .blob-2 { animation: none; }
}
