/* =========================================================
   TRUE COOKIES — Design tokens
   Edit the values below to change colors/fonts sitewide.
   ========================================================= */
:root {
  --burgundy: #7B2D3E;
  --burgundy-dark: #5C1F2C;
  --powder-blue: #A9CBDA;
  --powder-blue-soft: #DCEBF1;
  --cream: #FBF3E6;
  --cream-deep: #F3E6D2;
  --soft-yellow: #F3D588;
  --ink: #3B2A28;
  --ink-soft: #6b5652;
  --white: #FFFDF9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: "Caveat", cursive;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 12px 30px -12px rgba(123, 45, 62, 0.25);
  --shadow-card: 0 6px 18px -8px rgba(59, 42, 40, 0.18);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--burgundy); text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--burgundy);
  display: inline-block;
  margin-bottom: 0.15em;
  transform: rotate(-2deg);
}

/* Skip link for keyboard/screen reader users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--burgundy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 243, 230, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(123, 45, 62, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--burgundy);
  font-weight: 600;
}
.logo svg { width: 34px; height: 34px; }
.logo-img { height: 72px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 700;
}
.nav-links a {
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--burgundy); border-color: var(--soft-yellow); }

.nav-cta {
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
}
.nav-cta:hover { background: var(--burgundy-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--burgundy);
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
    box-shadow: var(--shadow-card);
  }
  .nav-links.open { display: flex; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--burgundy); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--burgundy-dark); }
.btn-secondary { background: var(--white); color: var(--burgundy); border-color: var(--burgundy); }
.btn-secondary:hover { background: var(--powder-blue-soft); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero .slogan {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--burgundy);
  margin: 6px 0 20px;
  transform: rotate(-1deg);
  display: block;
}
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.hero-photo-stack {
  position: relative;
  height: 420px;
}
.hero-photo-stack .photo-placeholder {
  position: absolute;
  box-shadow: var(--shadow-soft);
}
.hero-photo-stack .ph-1 { width: 68%; height: 78%; top: 0; right: 0; z-index: 2; }
.hero-photo-stack .ph-2 { width: 52%; height: 46%; bottom: 0; left: 0; z-index: 3; background: var(--soft-yellow); }
.hero-photo-stack .ph-badge {
  position: absolute;
  bottom: 18px;
  right: -14px;
  background: var(--soft-yellow);
  color: var(--burgundy);
  font-family: var(--font-script);
  font-size: 1.3rem;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(8deg);
  box-shadow: var(--shadow-card);
  z-index: 4;
  padding: 10px;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-stack { height: 320px; margin-top: 20px; }
}

/* =========================================================
   PHOTO PLACEHOLDER (swap these for <img> tags with real photos)
   ========================================================= */
.photo-placeholder {
  background: linear-gradient(135deg, var(--powder-blue-soft), var(--cream-deep));
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--burgundy);
  text-align: center;
  padding: 20px;
  min-height: 200px;
  border: 2px dashed rgba(123,45,62,0.25);
}
.photo-placeholder svg { width: 42px; height: 42px; opacity: 0.6; }
.photo-placeholder span { font-size: 0.9rem; font-weight: 700; opacity: 0.75; max-width: 180px; }

/* =========================================================
   SCALLOPED DIVIDER — the "cookie edge" signature motif
   ========================================================= */
.scallop {
  width: 100%;
  height: 26px;
  display: block;
  line-height: 0;
}
.scallop svg { width: 100%; height: 100%; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 72px 0; }
.section-alt { background: var(--powder-blue-soft); }
.section-burgundy { background: var(--burgundy); color: var(--white); }
.section-burgundy h2, .section-burgundy h3 { color: var(--white); }
.section-burgundy p { color: rgba(255,255,255,0.85); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card .badge {
  display: inline-block;
  background: var(--soft-yellow);
  color: var(--burgundy);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Menu items */
.menu-category { margin-bottom: 56px; }
.menu-category h3 {
  border-bottom: 2px solid var(--soft-yellow);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(123,45,62,0.18);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-weight: 800; color: var(--ink); }
.menu-item-desc { color: var(--ink-soft); font-size: 0.92rem; margin-top: 2px; }
.menu-item-price { font-weight: 800; color: var(--burgundy); white-space: nowrap; font-family: var(--font-display); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid .photo-placeholder { min-height: 220px; }
.gallery-grid .tall { grid-row: span 2; min-height: 460px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid .tall { min-height: 220px; grid-row: span 1; } }

.gallery-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 220px;
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-photo.tall { grid-row: span 2; min-height: 460px; }
@media (max-width: 900px) { .gallery-photo.tall { min-height: 220px; grid-row: span 1; } }

/* Small photo card used in "behind the scenes" strips */
.mini-photo { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-photo-caption { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin-top: 8px; font-weight: 700; }

/* Steps (custom orders) */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--soft-yellow);
  color: var(--burgundy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}

/* Forms */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; color: var(--ink); font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--powder-blue);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--soft-yellow);
  outline-offset: 1px;
  border-color: var(--burgundy);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }
.form-status { margin-top: 16px; font-weight: 700; }
.form-status.success { color: #2f6b3a; }
.form-status.error { color: var(--burgundy); }

/* Info blocks: contact page (location/social/payment) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 12px; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { text-align: center; padding: 30px 20px; }
.info-card svg { width: 34px; height: 34px; color: var(--burgundy); margin-bottom: 10px; }
.social-row { display: flex; gap: 14px; justify-content: center; margin-top: 10px; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--powder-blue-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--burgundy);
}
.social-row a:hover { background: var(--soft-yellow); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 0 24px;
}
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--soft-yellow); font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(251,243,230,0.6);
  text-align: center;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }


/* =========================================================
   POLISH ADDITIONS
   ========================================================= */
/* Hero photo collage (real photos) */
.hero-photo-stack .hero-img { position: absolute; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.hero-photo-stack .hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-stack .hero-img-1 { width: 62%; height: 90%; top: 0; right: 0; z-index: 2; }
.hero-photo-stack .hero-img-2 { width: 50%; height: 46%; bottom: 0; left: 0; z-index: 3; border: 6px solid var(--cream); }

/* Clickable cards */
a.card-link { display: block; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
a.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
a.card-link h3 { color: var(--burgundy); }

/* Uniform gallery grid + lightbox */
.gallery-grid.uniform { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.uniform .gallery-photo { aspect-ratio: 1 / 1; min-height: 0; cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.gallery-grid.uniform .gallery-photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
@media (max-width: 560px) { .gallery-grid.uniform { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.lightbox { position: fixed; inset: 0; background: rgba(59, 42, 40, 0.92); display: none; align-items: center; justify-content: center; z-index: 300; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 14px; right: 20px; background: none; border: none; color: var(--white); font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* Gentle fade-in as sections scroll into view */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible { outline: 3px solid var(--soft-yellow); outline-offset: 3px; border-radius: 6px; }

/* Even photo heights on the home page cards */
a.card-link .gallery-photo { height: 240px; }


/* Social icons in the footer */
.footer-social { justify-content: flex-start; margin-top: 14px; }
.site-footer .social-row a { color: var(--burgundy); }
.site-footer .social-row a:hover { background: var(--soft-yellow); }


/* Two-card info row (Contact page) */
.info-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .info-grid.two { grid-template-columns: 1fr; } }
.info-card .btn { margin-top: 6px; }

/* Icons inside buttons on info cards: small, and same color as the button text */
.info-card .btn svg { width: 20px; height: 20px; margin: 0; color: inherit; }

/* Contact: three-up cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.email-text { font-size: 0.88rem; white-space: nowrap; }
.info-card .btn { max-width: 100%; }

/* Flavor ideas */
.flavor-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin: 0 auto; }
.flavor-chip { background: #FFFDF9; border: 2px solid var(--powder-blue); color: var(--burgundy); font-weight: 700; padding: 10px 18px; border-radius: 999px; box-shadow: 0 2px 8px rgba(123,45,62,0.08); }
