/* ============================================================
   Evde Baklava Ustasi — Mutfak & Baklava Temasi
   Sicak tonlar, yemek dokusu, katmanli gorunumler
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --clr-bg:          #faf4eb;
  --clr-bg-warm:     #f3e8d2;
  --clr-bg-card:     #fffdf9;
  --clr-honey:       #c0882a;
  --clr-honey-light: #ddb254;
  --clr-honey-dark:  #8e6215;
  --clr-caramel:     #6b3e1f;
  --clr-caramel-lt:  #8c5a32;
  --clr-pistachio:   #5a7a3a;
  --clr-pistachio-dk:#3e5726;
  --clr-walnut:      #4a2e18;
  --clr-walnut-lt:   #6d4830;
  --clr-cinnamon:    #8b4c2a;
  --clr-flour:       #f5efe5;
  --clr-text:        #3a2512;
  --clr-text-mid:    #6b5440;
  --clr-text-soft:   #8c7a68;
  --clr-white:       #ffffff;
  --clr-border:      #ddd0bb;
  --clr-danger:      #b83030;
  --clr-success:     #4a7a3a;

  --ff-body:    'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --ff-heading: Georgia, 'Times New Roman', Times, serif;

  --shadow-xs:  0 1px 2px rgba(58,37,18,0.08);
  --shadow-sm:  0 2px 6px rgba(58,37,18,0.10);
  --shadow-md:  0 4px 16px rgba(58,37,18,0.12);
  --shadow-lg:  0 8px 32px rgba(58,37,18,0.15);

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --ease: 0.25s ease;
  --max-w: 1100px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.72;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* subtle baking-paper texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.025;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 28px,
      var(--clr-honey) 28px, var(--clr-honey) 29px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 28px,
      var(--clr-honey) 28px, var(--clr-honey) 29px
    );
}

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

a {
  color: var(--clr-cinnamon);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
a:hover { color: var(--clr-honey-dark); }
a:focus-visible {
  outline: 3px solid var(--clr-honey);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--clr-walnut);
  color: var(--clr-white);
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }

/* ============================================================
   HEADER  — warm wood / pastry counter vibe
   ============================================================ */
.site-header {
  background: linear-gradient(160deg, var(--clr-walnut) 0%, var(--clr-caramel) 60%, var(--clr-cinnamon) 100%);
  color: var(--clr-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 12px rgba(58,37,18,0.25);
}

/* thin golden "syrup stripe" under header */
.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-honey-dark), var(--clr-honey-light), var(--clr-honey-dark));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--clr-white);
  text-decoration: none;
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.logo:hover { color: var(--clr-honey-light); }

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-honey);
  color: var(--clr-walnut);
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(221,178,84,0.3);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 3px rgba(221,178,84,0.2); }
  50%      { box-shadow: 0 0 0 7px rgba(221,178,84,0.05); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-icon { animation: none !important; }
}

/* --- Nav --- */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--clr-honey);
  color: var(--clr-white);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: var(--ease);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hamburger { top: 50%; margin-top: -1px; }
.hamburger::before { content: ''; top: -7px; left: 0; transform: none; }
.hamburger::after  { content: ''; top:  7px; left: 0; transform: none; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a,
.dropdown-toggle {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.nav-list a:hover,
.nav-list a[aria-current="page"],
.dropdown-toggle:hover {
  background: rgba(255,255,255,0.12);
  color: var(--clr-honey-light);
}
.nav-list a:focus-visible,
.dropdown-toggle:focus-visible {
  outline: 2px solid var(--clr-honey-light);
  outline-offset: 2px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.dropdown-toggle span {
  display: inline-block;
  transition: transform var(--ease);
}
.dropdown-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--clr-white);
  min-width: 230px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 100;
  border: 1px solid var(--clr-border);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s;
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--clr-text);
  font-size: 0.88rem;
  border-radius: 0;
}
.dropdown-menu a:hover {
  background: var(--clr-flour);
  color: var(--clr-cinnamon);
}

@media (prefers-reduced-motion: reduce) {
  .dropdown-menu { transition: none !important; }
}

/* block body scroll when mobile nav is open */
body.nav-open { overflow: hidden; }

/* --- Mobile Nav --- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--clr-walnut);
    padding: 0;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }
  .main-nav.is-open {
    max-height: calc(100vh - 60px);
    padding: 0.75rem;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a,
  .dropdown-toggle {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    display: block;
    width: 100%;
    text-align: left;
  }
  .has-dropdown { position: static; }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.15);
    border: none;
    border-radius: 0;
    padding: 0;
    /* Reset desktop visibility/opacity transitions */
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    /* Mobile smooth transition via max-height */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .has-dropdown .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    max-height: 500px;
  }
  .has-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    max-height: 0;
  }
  .dropdown-menu a { color: var(--clr-white); padding-left: 2rem; }
  .dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--clr-honey-light); }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .main-nav,
  .dropdown-menu { transition: none !important; }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs { padding: 1rem 0 0; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: var(--clr-text-soft);
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.4rem;
  color: var(--clr-border);
}
.breadcrumbs a { color: var(--clr-cinnamon); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--clr-text); font-weight: 600; }

/* ============================================================
   MAIN
   ============================================================ */
main { flex: 1; padding: 2rem 0 3rem; }
main:has(> .page-hero-mini:first-child),
main:has(> .hero:first-child) {
  padding-top: 0;
}

/* ============================================================
   TYPOGRAPHY — warm culinary feel
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  color: var(--clr-walnut);
  line-height: 1.3;
}

h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.8rem;
}
/* honey drip underline */
h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--clr-honey), var(--clr-honey-light) 60%, transparent);
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  margin: 2.2rem 0 0.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px dashed var(--clr-border);
}

h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  margin: 1.5rem 0 0.5rem;
  color: var(--clr-caramel);
}

p  { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: 0.4rem; }

/* ============================================================
   HERO — bakery warmth
   ============================================================ */
.hero {
  background:
    radial-gradient(ellipse at 30% 90%, rgba(192,136,42,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(139,76,42,0.15) 0%, transparent 50%),
    linear-gradient(170deg, var(--clr-walnut) 0%, var(--clr-caramel) 55%, var(--clr-cinnamon) 100%);
  color: var(--clr-white);
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* faint diamond lattice (baklava pattern) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient( 60deg, var(--clr-honey-light) 0px, var(--clr-honey-light) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(-60deg, var(--clr-honey-light) 0px, var(--clr-honey-light) 1px, transparent 1px, transparent 30px);
}

.hero h1 {
  color: var(--clr-white);
  font-size: clamp(2rem, 5vw, 2.9rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(58,37,18,0.25);
}
.hero h1::after {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--clr-honey-light), transparent);
  width: 120px;
}
.hero p {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 1.8rem;
  opacity: 0.93;
}

.hero-cta {
  display: inline-block;
  background: var(--clr-honey);
  color: var(--clr-walnut);
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 14px rgba(192,136,42,0.35);
}
.hero-cta:hover {
  background: var(--clr-honey-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,136,42,0.40);
  color: var(--clr-walnut);
}
.hero-cta:focus-visible {
  outline: 3px solid var(--clr-white);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) { .hero-cta:hover { transform: none; } }

/* ============================================================
   PAGE HERO MINI (inner pages)
   ============================================================ */
.page-hero-mini {
  background:
    radial-gradient(ellipse at 25% 80%, rgba(192,136,42,0.15) 0%, transparent 55%),
    linear-gradient(160deg, var(--clr-walnut) 0%, var(--clr-caramel) 100%);
  color: var(--clr-white);
  padding: 2.2rem 1.25rem 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient( 60deg, var(--clr-honey-light) 0px, var(--clr-honey-light) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(-60deg, var(--clr-honey-light) 0px, var(--clr-honey-light) 1px, transparent 1px, transparent 24px);
}
.page-hero-mini h1 { color: var(--clr-white); margin-bottom: 0.5rem; }
.page-hero-mini h1::after {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--clr-honey-light), transparent);
  width: 100px;
}
.page-hero-mini p { opacity: 0.88; max-width: 580px; margin: 0 auto; }

/* ============================================================
   CARD TILES — recipe-card look
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.4rem;
  margin: 2rem 0;
}

.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem 1.3rem;
  transition: box-shadow var(--ease), transform var(--ease);
  position: relative;
  overflow: hidden;
}

/* warm top-edge accent like a recipe card tab */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-honey), var(--clr-cinnamon));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

.card h3 {
  margin-top: 0.25rem;
  color: var(--clr-caramel);
  font-size: 1.1rem;
}
.card p {
  color: var(--clr-text-mid);
  font-size: 0.93rem;
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--clr-honey-dark);
  text-decoration: none;
  background: var(--clr-flour);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  transition: background var(--ease), color var(--ease);
}
.card-link:hover {
  background: var(--clr-honey);
  color: var(--clr-white);
  border-color: var(--clr-honey);
}
.card-link::after { content: ' \00BB'; }

/* ============================================================
   CALLOUT BLOCKS — kitchen notes style
   ============================================================ */
.callout {
  border-left: 5px solid;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
  position: relative;
}
.callout-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.callout p:last-child { margin-bottom: 0; }

.callout-tip {
  background: #f0f6ec;
  border-color: var(--clr-pistachio);
}
.callout-tip .callout-title { color: var(--clr-pistachio); }

.callout-warning {
  background: #fef8ec;
  border-color: var(--clr-honey);
}
.callout-warning .callout-title { color: var(--clr-honey-dark); }

.callout-danger {
  background: #fceded;
  border-color: var(--clr-danger);
}
.callout-danger .callout-title { color: var(--clr-danger); }

.callout-note {
  background: #f5f0e6;
  border-color: var(--clr-caramel-lt);
}
.callout-note .callout-title { color: var(--clr-caramel); }

/* ============================================================
   CONTENT IMAGE — side-by-side with text on desktop
   ============================================================ */
@media (min-width: 700px) {
  section:has(> .content-image) {
    display: grid;
    grid-template-columns: 1fr 42%;
    column-gap: 1.5rem;
  }
  section:has(> .content-image) > * {
    grid-column: 1;
  }
  section:has(> .content-image) > .content-image {
    grid-column: 2;
    grid-row: 1 / span 20;
    margin: 0;
    align-self: start;
  }
}

.content-image {
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--clr-bg-warm);
}
.content-image img { width: 100%; height: auto; }
.content-image figcaption {
  text-align: center;
  font-size: 0.84rem;
  color: var(--clr-text-soft);
  padding: 0.55rem 0.75rem;
  background: var(--clr-flour);
  font-style: italic;
}

/* ============================================================
   STEPS LIST — numbered baking steps
   ============================================================ */
.steps-list {
  counter-reset: bake-step;
  list-style: none;
  margin-left: 0;
  padding: 0;
}
.steps-list li {
  counter-increment: bake-step;
  padding: 1.1rem 1.1rem 1.1rem 3.8rem;
  margin-bottom: 0.85rem;
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  position: relative;
  transition: border-color var(--ease);
}
.steps-list li:hover { border-color: var(--clr-honey); }

.steps-list li::before {
  content: counter(bake-step);
  position: absolute;
  left: 0.85rem;
  top: 1rem;
  width: 2.1rem;
  height: 2.1rem;
  background: linear-gradient(135deg, var(--clr-honey), var(--clr-cinnamon));
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: var(--shadow-xs);
}

/* ============================================================
   TABLE — ingredient table look
   ============================================================ */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}
.content-table th,
.content-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--clr-bg-warm);
}
.content-table th {
  background: linear-gradient(135deg, var(--clr-caramel), var(--clr-cinnamon));
  color: var(--clr-white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.content-table tbody tr:nth-child(even) td { background: var(--clr-flour); }
.content-table tbody tr:hover td { background: var(--clr-bg-warm); }

/* ============================================================
   FAQ — folded recipe notes
   ============================================================ */
.faq-section { margin: 2rem 0; }

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: var(--clr-bg-card);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--clr-walnut);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--ease);
  font-family: inherit;
}
.faq-question:hover { background: var(--clr-flour); }
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--clr-honey);
  font-weight: 700;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
  width: 30px;
  height: 30px;
  line-height: 27px;
  text-align: center;
  background: var(--clr-flour);
  box-shadow: inset 0 0 0 2px var(--clr-honey);
  border: none;
  border-radius: 50%;
}
.faq-question[aria-expanded="true"]::after {
  content: '\2212';
  background: var(--clr-honey);
  color: var(--clr-white);
  box-shadow: inset 0 0 0 2px var(--clr-honey);
}
.faq-answer {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.is-open {
  max-height: 500px;
  padding: 0 1.2rem 1rem;
}
@media (prefers-reduced-motion: reduce) { .faq-answer { transition: none; } }

/* ============================================================
   CONTACT FORM — warm paper form
   ============================================================ */
.contact-form {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}
/* decorative top-left corner fold */
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--clr-bg) 50%, var(--clr-border) 50%);
  border-radius: 0 0 var(--radius-sm) 0;
}

.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--clr-walnut);
  font-size: 0.93rem;
}
.form-group .required-star { color: var(--clr-danger); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--clr-text);
  background: var(--clr-flour);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-honey);
  box-shadow: 0 0 0 3px rgba(192,136,42,0.15);
  outline: none;
  background: var(--clr-white);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input.is-error,
.form-group textarea.is-error { border-color: var(--clr-danger); }

.form-error-text {
  color: var(--clr-danger);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.form-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
}
.form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px; height: 18px;
  accent-color: var(--clr-pistachio);
  flex-shrink: 0;
}

.btn-submit {
  display: inline-block;
  background: linear-gradient(135deg, var(--clr-caramel), var(--clr-cinnamon));
  color: var(--clr-white);
  border: none;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--ease), transform var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-submit:focus-visible { outline: 3px solid var(--clr-honey); outline-offset: 2px; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn-submit:hover { transform: none; } }

.form-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-weight: 600;
  display: none;
}
.form-message.success {
  background: #f0f6ec;
  color: var(--clr-success);
  border: 1px solid var(--clr-success);
  display: block;
}
.form-message.error {
  background: #fceded;
  color: var(--clr-danger);
  border: 1px solid var(--clr-danger);
  display: block;
}

/* --- Honeypot --- */
.hp-field {
  position: absolute;
  left: -9999px; top: -9999px;
  opacity: 0; height: 0; width: 0;
  overflow: hidden;
}

/* --- Contact Info Box --- */
.contact-info-box {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}
.contact-info-box h2 { margin-top: 0; border-bottom: none; }

.contact-info-list {
  list-style: none;
  margin: 0; padding: 0;
}
.contact-info-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--clr-bg-warm);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list strong {
  min-width: 80px;
  color: var(--clr-caramel);
}

/* ============================================================
   FOOTER — dark pastry counter
   ============================================================ */
.site-footer {
  background: linear-gradient(160deg, var(--clr-walnut) 0%, #2c1a0e 100%);
  color: rgba(255,255,255,0.82);
  padding: 3rem 0 0;
  margin-top: auto;
  position: relative;
}
/* golden top-edge (syrup drip) */
.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-honey-dark), var(--clr-honey-light), var(--clr-honey-dark));
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 0 1.25rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
  color: var(--clr-honey-light);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--clr-honey-light); text-decoration: underline; }

.footer-bottom {
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.allergen-notice {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  opacity: 0.65;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--clr-white);
  border-top: 3px solid var(--clr-honey);
  box-shadow: 0 -4px 20px rgba(58,37,18,0.18);
  z-index: 9000;
  padding: 1.25rem;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }

.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner-inner p {
  flex: 1 1 300px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--clr-text);
}

.cookie-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  font-family: inherit;
}
.cookie-btn:focus-visible { outline: 3px solid var(--clr-honey); outline-offset: 2px; }

.cookie-btn-accept {
  background: var(--clr-pistachio);
  color: var(--clr-white);
}
.cookie-btn-accept:hover { background: var(--clr-pistachio-dk); }

.cookie-btn-reject {
  background: var(--clr-caramel);
  color: var(--clr-white);
}
.cookie-btn-reject:hover { background: var(--clr-walnut); }

.cookie-btn-settings {
  background: var(--clr-flour);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}
.cookie-btn-settings:hover { background: var(--clr-bg-warm); }

/* ============================================================
   COOKIE SETTINGS MODAL
   ============================================================ */
.cookie-settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58,37,18,0.5);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-settings-modal {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.cookie-settings-modal h2 {
  margin: 0 0 0.75rem;
  border-bottom: none;
  color: var(--clr-walnut);
}

.cookie-category {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--clr-bg-warm);
}
.cookie-category label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.cookie-category input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--clr-pistachio); }
.cookie-category p { font-size: 0.85rem; color: var(--clr-text-soft); margin: 0.25rem 0 0 1.65rem; }

.cookie-settings-buttons { display: flex; gap: 0.75rem; margin-top: 1.25rem; }

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-content h2 { font-size: 1.25rem; margin-top: 2rem; }
.policy-content h3 { font-size: 1.05rem; }
.policy-content ul { margin-bottom: 1rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* internal links box — recipe notebook feel */
.internal-links {
  background: var(--clr-flour);
  border: 1px dashed var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.internal-links h3 {
  margin-top: 0;
  font-size: 0.95rem;
  color: var(--clr-caramel);
}
.internal-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.internal-links li {
  margin-bottom: 0.3rem;
}
.internal-links a {
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--ease), color var(--ease), padding-left var(--ease);
}
.internal-links a:hover {
  background: var(--clr-bg-warm);
  color: var(--clr-honey-dark);
  padding-left: 1.1rem;
}

/* cookie prefs button */
.btn-cookie-change {
  display: inline-block;
  background: var(--clr-honey);
  color: var(--clr-walnut);
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease);
  margin: 1rem 0;
  font-family: inherit;
}
.btn-cookie-change:hover { background: var(--clr-honey-light); }
.btn-cookie-change:focus-visible { outline: 3px solid var(--clr-caramel); outline-offset: 2px; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .cookie-settings-overlay,
  .nav-toggle { display: none !important; }
  body { background: white; color: black; }
  a { text-decoration: underline; }
}
