/* ==========================================================================
   Veronica's Sweetcakes — Marshfield, MA
   Palette: blush rose + deep wine + warm gold on ivory cream
   Fonts: Cormorant Garamond (headings), Parisienne (script accent), Jost (body)
   ========================================================================== */

:root {
  --wine: #6d2136;
  --wine-dark: #4a1626;
  --blush: #f3d7de;
  --blush-light: #fbeef1;
  --gold: #c79a4b;
  --gold-light: #e3c583;
  --cream: #fdf8f3;
  --ink: #3a2a2f;
  --ink-soft: #6b5459;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 1.05rem;
  line-height: 1.7;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  color: var(--wine-dark);
}

.script-accent {
  font-family: 'Parisienne', cursive;
  font-weight: 400;
  line-height: 1;
}

.section-eyebrow {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wine);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 0.4rem;
}

.section-pad {
  padding: 5.5rem 0;
}

.bg-blush { background: var(--blush-light); }
.bg-wine { background: var(--wine); }
.bg-cream { background: var(--cream); }

.divider-flourish {
  width: 90px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1.75rem;
  border-radius: 3px;
}
.text-start .divider-flourish { margin-left: 0; }

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: rgba(74, 22, 38, 0.97);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  transition: padding 0.2s ease;
}
.navbar-brand-name {
  font-family: 'Parisienne', cursive;
  font-size: 1.9rem;
  color: #fff !important;
  line-height: 1;
}
.navbar-wfw .nav-link {
  color: #f3e4e8 !important;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}
.navbar-wfw .nav-link:hover { color: var(--gold-light) !important; }
.btn-navbar-cta {
  background: var(--gold);
  color: var(--wine-dark) !important;
  border-radius: 30px;
  padding: 0.4rem 1.2rem !important;
  font-weight: 600;
  margin-left: 0.5rem;
  white-space: nowrap;
}
@media (min-width: 1200px) and (max-width: 1300px) {
  .navbar-wfw .nav-link { padding-left: 0.6rem !important; padding-right: 0.6rem !important; font-size: 0.86rem; }
}
.btn-navbar-cta:hover { background: var(--gold-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 30%/cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(74,22,38,0.45) 0%, rgba(74,22,38,0.10) 100%),
    linear-gradient(to bottom, rgba(74,22,38,0.38) 0%, rgba(109,33,54,0.18) 45%, rgba(74,22,38,0.55) 100%),
    linear-gradient(135deg, rgba(199,154,75,0.22), rgba(109,33,54,0.28));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(74,22,38,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 18px;
}
.hero-eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  font-family: 'Parisienne', cursive;
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  color: #fff;
  line-height: 1.05;
  margin: 0.3rem 0 0.6rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: #fdf1f4;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
  margin-bottom: 1.75rem;
}
.hero-tagline {
  font-size: 0.95rem;
  color: #f3e4e8;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}
.btn-gold {
  background: var(--gold);
  border: none;
  color: var(--wine-dark);
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  transition: all 0.2s ease;
}
.btn-gold:hover { background: var(--gold-light); color: var(--wine-dark); transform: translateY(-1px); }
.btn-outline-cream {
  border: 1.5px solid #fdf8f3;
  color: #fdf8f3;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  transition: all 0.2s ease;
}
.btn-outline-cream:hover { background: #fdf8f3; color: var(--wine-dark); }

/* ---------- About ---------- */
.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--wine);
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}
.award-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--blush);
  border-radius: 30px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wine);
  box-shadow: 0 3px 10px rgba(109,33,54,0.08);
}
.award-chip i { color: var(--gold); }
.award-chip img { height: 32px; width: auto; }

/* ---------- Cakes cards ---------- */
.cake-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(74,22,38,0.09);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cake-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(74,22,38,0.16); }
.cake-card img { height: 240px; width: 100%; object-fit: cover; }
.cake-card .cake-card-body { padding: 1.5rem; }
.cake-card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blush);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--wine);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.tag-chip {
  display: inline-block;
  background: var(--blush-light);
  border: 1px solid var(--blush);
  color: var(--wine);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.82rem;
  margin: 0.2rem 0.25rem 0.2rem 0;
}

/* ---------- Flavors & Pricing ---------- */
.nav-pills-wfw .nav-link {
  color: var(--wine);
  font-weight: 600;
  border-radius: 30px;
  padding: 0.55rem 1.4rem;
  margin: 0.25rem;
  border: 1px solid var(--blush);
}
.nav-pills-wfw .nav-link.active {
  background: var(--wine);
  color: #fff;
}
.flavor-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--wine);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.flavor-tag {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--gold-light);
  color: var(--ink);
  border-radius: 20px;
  padding: 0.3rem 0.95rem;
  font-size: 0.88rem;
  margin: 0.2rem 0.3rem 0.2rem 0;
}
.table-wfw {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.88rem;
}
.table-wfw thead th {
  background: var(--wine);
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  vertical-align: middle;
}
.table-wfw td { vertical-align: middle; white-space: nowrap; }
.table-wfw tbody tr:nth-child(even) { background: var(--blush-light); }
.table-responsive-wfw { border-radius: 12px; box-shadow: 0 6px 20px rgba(74,22,38,0.08); }

.grand-finale-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  border-top: 4px solid var(--gold);
  box-shadow: 0 8px 24px rgba(74,22,38,0.08);
}

.platter-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 6px 18px rgba(74,22,38,0.08);
  transition: transform 0.2s ease;
}
.platter-card:hover { transform: translateY(-4px); }
.platter-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}
.platter-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--wine);
}
.platter-note {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-weight: 600;
}

.artwork-note {
  background: var(--wine);
  color: #fdf1f4;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(74,22,38,0.85), transparent);
  color: #fff;
  font-size: 0.78rem;
  padding: 1.5rem 0.75rem 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- Reviews ---------- */
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 8px 22px rgba(74,22,38,0.08);
  position: relative;
}
.review-card i.bi-star-fill { color: var(--gold); font-size: 0.85rem; }
.review-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0.75rem 0 1rem;
}
.review-name {
  font-weight: 600;
  color: var(--wine);
  font-size: 0.9rem;
}

/* ---------- Location ---------- */
.info-icon-row {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 6px 18px rgba(74,22,38,0.07);
}
.info-icon-row i {
  font-size: 1.6rem;
  color: var(--wine);
  margin-bottom: 0.6rem;
}
.map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74,22,38,0.15);
  border: 6px solid #fff;
}
.order-policy-box {
  background: var(--blush-light);
  border: 1px solid var(--blush);
  border-radius: 16px;
  padding: 1.75rem;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--wine-dark);
  color: #f3e4e8;
  padding: 3.5rem 0 1.5rem;
}
footer.site-footer h5 {
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
}
footer.site-footer a {
  color: #e3c9cf;
  text-decoration: none;
}
footer.site-footer a:hover { color: var(--gold-light); }
.footer-logo-chip {
  display: inline-block;
  background: #fdf8f3;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-family: 'Parisienne', cursive;
  font-size: 1.6rem;
  color: var(--wine-dark);
}
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff !important;
  margin-right: 0.5rem;
}
.social-icon:hover { background: var(--gold); color: var(--wine-dark) !important; }
.powered-by {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}
.powered-by a { color: var(--gold-light); font-weight: 600; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  .section-pad { padding: 3.5rem 0; }
  .hero-content { padding: 1.75rem 1.25rem; }
  .cake-card img { height: 200px; }
  .hero-eyebrow { letter-spacing: 0.12em; font-size: 0.72rem; }
}
