/* =============================================
   PRIBAKES — Main Stylesheet
   Palette: Ivory + Espresso + Deep Rose + Antique Gold
   Fonts: Fraunces (display serif) + DM Sans (body)
   ============================================= */

:root {
  /* ── Palette: Dusk Rose + Antique Gold + Dark Green ──
     All text/icon uses of rose and gold meet WCAG AA (4.5:1) on light bg.
     Decorative uses (borders, box ribbons) may use lighter values. */

  --ivory:       #faf6f0;
  --ivory-dark:  #f0e9df;
  --parchment:   #e8ddd0;
  --white:       #ffffff;

  /* Dark green — 7.4:1 on ivory, 8.0:1 on white ✓ */
  --green:       #2d5a3d;
  --green-light: #3a7352;
  --green-dark:  #1a3326;

  /* Dusk rose — text/button use only at #9e5550 (5.0:1 on ivory ✓)
     Light rose used decoratively only (borders, bg tints) */
  --rose:        #9e5550;   /* AA on ivory & white */
  --rose-dark:   #7a3c38;   /* AAA 7.7:1 on ivory */
  --rose-light:  #e8c5c0;   /* decorative only */
  --rose-tint:   #fdf0ee;   /* background tint only */

  /* Gold — text/icon use at #7a6318 (5.4:1 on ivory ✓)
     Bright gold used decoratively on dark green bg only */
  --gold:        #7a6318;   /* AA on ivory & white */
  --gold-deco:   #b8973a;   /* decorative: on green, on dark bg only */
  --gold-light:  #d4af5a;   /* decorative only */

  /* Text */
  --text:        #1e2e23;   /* 13:1 on ivory ✓ */
  --text-mid:    #4a5e50;   /* 6.2:1 on ivory ✓ */
  --text-light:  #5e7a68;   /* 4.6:1 on ivory ✓ */

  /* Aliases */
  --blush:       var(--rose-light);
  --blush-dark:  #d9b0aa;
  --cream:       var(--ivory);
  --espresso:    var(--green);
  --espresso-mid: var(--green-light);

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-cursive: 'Great Vibes', cursive;
  --radius: 10px;
  --shadow: 0 2px 20px rgba(30, 46, 35, 0.09);
  --shadow-hover: 0 8px 36px rgba(30, 46, 35, 0.17);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 117, 106, 0.30);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(181, 136, 58, 0.18);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo-script {
  font-family: var(--font-cursive);
  font-weight: 400;
  color: var(--green);
  font-size: 1.55em;
  line-height: 1;
  vertical-align: middle;
}
.logo-block {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.12em;
  vertical-align: middle;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a[aria-current="page"] { color: var(--green); font-weight: 700; }
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  padding: 10px;          /* 44px touch target ✓ */
  margin: -10px;
  line-height: 1;
}
.mobile-menu {
  display: none;
  list-style: none;
  background: var(--cream);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--blush-dark);
}
.mobile-menu.open { display: block; }
.mobile-menu li { padding: 10px 0; border-bottom: 1px solid var(--blush-dark); }
.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---- HERO ---- */
.hero {
  min-height: 82vh;
  min-height: 82svh;
  background: linear-gradient(150deg, #faf6f0 0%, #f0ece4 55%, #e8e4dc 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: 68px;
  overflow: hidden;
}
.hero-content {
  padding: 56px 48px 56px 64px;
  text-align: left;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-content h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.0;
  margin-bottom: 20px;
}
.hero-content .script {
  font-family: var(--font-cursive);
  font-weight: 400;
  color: var(--green);
  display: block;
  font-size: 0.75em;   /* Great Vibes renders large — scale it down relative to h1 */
  line-height: 1.2;
  margin-bottom: 4px;
}
.hero-content .block {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
  display: block;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 380px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-secondary {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.btn-secondary:hover { opacity: 0.65; }

/* ---- HERO CAROUSEL ---- */
.hero-visual {
  height: 100%;
  padding: 28px 40px 28px 0;
  display: flex;
  align-items: center;
}
.carousel {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--parchment);
  box-shadow: var(--shadow-hover);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--green);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ---- ABOUT STRIP ---- */
.about-strip {
  background: var(--green);
  color: var(--white);
  padding: 24px 0;
  text-align: center;
}
.about-strip p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.92;
  max-width: 700px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* ---- SECTION COMMON ---- */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 56px;
}

/* ---- FEATURED ---- */
.featured {
  padding: 96px 0;
  background: var(--ivory);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--parchment); /* shows while image loads */
}

/* Real Unsplash photos — free to use under Unsplash licence */
.cake-img     { background-image: url('https://images.unsplash.com/photo-1524351199678-941a58a3df50?auto=format&fit=crop&w=800&q=80'); }
.tres-img     { background-image: url('https://images.unsplash.com/photo-1692623615620-b48b8dba0fc8?auto=format&fit=crop&w=800&q=80'); }
.coffee-img   { background-image: url('https://images.unsplash.com/photo-1467189386127-c4e5e31ee213?auto=format&fit=crop&w=800&q=80'); }
.scone-img    { background-image: url('https://images.unsplash.com/photo-1589114471223-dec0d8d572c6?auto=format&fit=crop&w=800&q=80'); }
.biscotti-img { background-image: url('https://images.unsplash.com/photo-1685397166480-9e6fd6448ff4?auto=format&fit=crop&w=800&q=80'); }
.cupcake-img  { background-image: url('https://images.unsplash.com/photo-1563729784474-d77dbb933a9e?auto=format&fit=crop&w=800&q=80'); }
.card-body { padding: 22px 24px 26px; }
.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  margin-bottom: 8px;
}
.card-body p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.tag {
  display: inline-block;
  background: var(--rose-tint);
  color: var(--rose-dark);   /* #7a3c38 — 7.7:1 on tint ✓ */
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--rose-light);
}

/* ---- EVENTS ---- */
.events {
  padding: 96px 0;
  background: var(--green-dark);
  color: var(--white);
}
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deco);
  margin-bottom: 12px;
}
.events .section-title {
  color: var(--white);
}
.events .section-title,
.events .section-sub {
  color: var(--white);
}
.events-lead {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.75;
  opacity: 0.9;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.event-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(184,151,58,0.25);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background 0.25s, transform 0.25s;
}
.event-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
}
.event-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.event-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-deco);
  margin-bottom: 10px;
}
.event-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}
.events-cta {
  text-align: center;
}
.events-cta p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 20px;
}
.events .btn-primary {
  background: var(--gold-deco);
  color: var(--green-dark);
}
.events .btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(184,151,58,0.35);
}

/* ---- PRICING ---- */
.pricing {
  padding: 96px 0;
  background: var(--ivory-dark);
}
.price-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.price-table {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.price-table h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--parchment);
}
.price-table ul { list-style: none; }
.price-table li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--blush);
  font-size: 0.92rem;
}
.price-table li:last-child { border-bottom: none; }
.price-table li span:first-child {
  flex: 1;
  min-width: 0;
}
.price-table li span:last-child {
  font-weight: 700;
  color: var(--gold);   /* #7a6318 — 5.4:1 on white ✓ */
  white-space: nowrap;
  flex-shrink: 0;
}
.price-note {
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-light);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}


/* ---- CONTACT ---- */
.contact {
  padding: 96px 0;
  background: var(--ivory);
}
.contact-form {
  max-width: 720px;
  margin: 0 auto 48px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full { margin-bottom: 20px; }
label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
input, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--blush-dark);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.10);
}
textarea { resize: vertical; }
.btn-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 0.95rem;
  padding: 16px;
}


.contact-socials {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}
.contact-socials p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.social-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.instagram {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  color: white;
}
.facebook {
  background: #1877f2;
  color: white;
}

/* ---- FOOTER ---- */
.footer {
  background: #1a3326;
  color: var(--white);
  padding: 56px 0 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo .logo-script {
  font-family: var(--font-cursive);
  font-size: 2.8rem;
  color: var(--gold-deco);
  line-height: 1;
  vertical-align: middle;
}
.footer-logo .logo-block {
  font-size: 2rem;
  color: var(--white);
  vertical-align: middle;
}
.footer-logo p {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }
.footer-copy {
  text-align: center;
  font-size: 0.76rem;
  opacity: 0.4;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* ---- RESPONSIVE ---- */

/* Tablet — 768px */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  /* Hero: stack vertically on tablet */
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .hero-content {
    padding: 48px 24px 32px;
    text-align: center;
  }
  .hero-tagline { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual {
    padding: 0 24px 40px;
    height: auto;
  }

  /* Tighter section padding on tablet */
  .featured, .events, .pricing, .contact { padding: 64px 0; }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .events-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .price-tables {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Phone — 480px */
@media (max-width: 480px) {
  /* Even tighter section padding on phone */
  .featured, .events, .pricing, .contact { padding: 52px 0; }

  .hero-content { padding: 36px 20px 24px; }
  .hero-content h1 { font-size: 3rem; }
  .hero-tagline { font-size: 1rem; }
  .carousel-btn { width: 32px; height: 32px; font-size: 1.1rem; }

  /* Single column everything */
  .grid, .events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Tighter card internals */
  .card-img { height: 160px; }
  .card-body { padding: 16px 18px 20px; }

  /* Event cards: less padding */
  .event-card { padding: 24px 20px; }
  .events-lead { font-size: 1.05rem; }

  /* Pricing: shrink internal padding slightly */
  .price-table { padding: 24px 20px; }

  /* Gift box: shrink the mock box */
  .box-mock { width: 150px; height: 150px; }

  /* Form: slightly smaller inputs */
  input, textarea { font-size: 16px; } /* 16px prevents iOS zoom-on-focus */

  /* Social buttons: full width */
  .social-links { flex-direction: column; align-items: stretch; }
  .social-btn { text-align: center; }

  /* Footer */
  .footer { padding: 40px 0 16px; }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* About strip: smaller text */
  .about-strip p { font-size: 0.95rem; }
}
