/* ── Shared stylesheet — The Brick Oven Bakery ─────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Inter:wght@400;500&display=swap');

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

:root {
  --cream:      #f5f0e8;
  --flour:      #f0ebe0;
  --brick:      #7a2020;
  --brick-deep: #5c1616;
  --charcoal:   #2c2420;
  --bark:       #6b5040;
  --muted-fg:   #7a6a58;
  --border:     #d8ccba;
  --card:       #faf6ef;
  --input:      #e8e0d0;

  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

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

/* ── Layout helpers ───────────────────────────────────────── */
.wrap    { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-sm { max-width: 900px;  margin: 0 auto; padding: 0 1.25rem; }
.wrap-xs { max-width: 720px;  margin: 0 auto; padding: 0 1.25rem; }

/* ── Eyebrow ──────────────────────────────────────────────── */
.eyebrow {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brick);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: 999px;
  font-size: .875rem; font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
  cursor: pointer; font-family: var(--font-sans);
}
.btn-primary { background: var(--brick); color: #faf6ef; }
.btn-primary:hover { background: var(--brick-deep); }
.btn-outline { background: var(--card); border-color: var(--border); color: var(--charcoal); }
.btn-outline:hover { background: var(--brick); color: #faf6ef; border-color: var(--brick); }
.btn-ghost { color: #faf6ef; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ── Site Header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 232, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-header .wrap { height: 5rem; } }

.logo { display: flex; align-items: center; text-decoration: none; color: inherit; }
.logo-img { height: 3rem; width: auto; display: block; }
@media (min-width: 1024px) { .logo-img { height: 3.5rem; } }
.logo-icon { display: none; }
.logo-name { display: none; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.site-nav > li { position: relative; }
.site-nav a { text-decoration: none; font-size: .875rem; color: rgba(44,36,32,.75); transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--brick); }
.site-nav .btn-order { padding: .5rem 1.25rem; border-radius: 999px; background: var(--brick); color: #faf6ef; font-weight: 500; }
.site-nav .btn-order:hover { background: var(--brick-deep); color: #faf6ef; }

/* ── Dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .875rem; color: rgba(44,36,32,.75);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); padding: 0;
  transition: color .2s;
}
.nav-dropdown-btn:hover, .nav-dropdown-btn.active { color: var(--brick); }
.nav-dropdown-btn svg { transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-btn svg,
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  min-width: 180px;
  padding: .75rem 0 .4rem;
  z-index: 100;
  /* invisible bridge fills the gap so mouse stays in hover zone */
  margin-top: 0;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -.75rem;
  left: 0;
  right: 0;
  height: .75rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: .6rem 1.1rem;
  font-size: .8125rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--flour); color: var(--brick); }
.nav-dropdown-menu a.active { color: var(--brick); font-weight: 500; }
.nav-dropdown-menu hr { border: none; border-top: 1px solid var(--border); margin: .3rem 0; }

/* ── Mobile nav ── */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; color: var(--charcoal); }
.mobile-nav { display: none; flex-direction: column; background: var(--cream); border-top: 1px solid var(--border); padding: 1rem 1.25rem; gap: .25rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: .75rem 0; border-bottom: 1px solid rgba(216,204,186,.5); text-decoration: none; color: var(--charcoal); font-size: 1rem; }
.mobile-nav .mobile-group-label { padding: .75rem 0 .25rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted-fg); border-bottom: none; }
.mobile-nav .mobile-sub { padding: .5rem 0 .5rem 1rem; font-size: .9375rem; border-bottom: 1px solid rgba(216,204,186,.35); }
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 1023px) {
  .site-nav { display: none; }
  .hamburger { display: block; }
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--flour);
  padding: 2.5rem 1.25rem;
  text-align: center;
  font-size: .85rem;
  color: var(--muted-fg);
}
.site-footer strong { font-family: var(--font-display); color: var(--charcoal); font-size: 1rem; }

/* ── Forms ────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--card);
  border: 1px solid var(--input);
  border-radius: .375rem;
  padding: .75rem 1rem;
  font-size: .875rem;
  font-family: var(--font-sans);
  color: var(--charcoal);
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(122,32,32,.15);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: 1.5rem;
}

/* ── Info block (icon + text) ─────────────────────────────── */
.info-block { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(122,32,32,.1); color: var(--brick);
  flex-shrink: 0; font-size: 1.1rem;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fade-up { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fade-up .7s cubic-bezier(.22,1,.36,1) both; }
