/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0f3d1c;
  --green-800: #1a5c2a;
  --green-700: #227a38;
  --green-600: #2d9d4a;
  --green-500: #4aad66;
  --green-100: #d4e8d8;
  --green-50:  #eaf5ec;
  --cream:     #F5F2EB;
  --cream-light:#FAF8F4;
  --white:     #ffffff;
  --black:     #0d1f12;
  --gray-900:  #1a2e22;
  --gray-700:  #3d5a47;
  --gray-500:  #6b8a74;
  --gray-300:  #b8c9bc;
  --gray-100:  #e8efea;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15,61,28,.08), 0 1px 2px rgba(15,61,28,.06);
  --shadow-md: 0 4px 16px rgba(15,61,28,.1), 0 2px 6px rgba(15,61,28,.06);
  --shadow-lg: 0 12px 40px rgba(15,61,28,.12), 0 4px 12px rgba(15,61,28,.06);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Typography ─── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-900);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .9375rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-800);
  color: var(--white);
  border: 2px solid var(--green-800);
}
.btn--primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--green-800);
  border: 2px solid var(--green-800);
}
.btn--outline:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--green-800);
  color: var(--white);
  padding: .625rem 1.25rem;
  font-size: .875rem;
}
.btn--nav:hover { background: var(--green-700); }

.btn--full { width: 100%; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245,242,235,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green-800);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--green-100);
  border-radius: 50%;
}
.logo-mark::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 10px;
  width: 8px;
  height: 14px;
  background: var(--green-500);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--green-900);
}

/* Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-menu li a {
  padding: .5rem .875rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-menu li a:hover {
  color: var(--green-800);
  background: var(--green-50);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero ─── */
.hero {
  padding-top: 72px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 6rem;
}

.hero-content { max-width: 540px; }

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-900);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
}
.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--green-700);
  flex-shrink: 0;
}

/* Hero image grid */
.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .875rem;
  grid-template-areas:
    "large small"
    "large accent";
}
.hero-img { overflow: hidden; border-radius: var(--radius-lg); }
.hero-img--large {
  grid-area: large;
  aspect-ratio: 3/4;
}
.hero-img--small {
  grid-area: small;
  aspect-ratio: 1/1;
}
.hero-img--accent {
  grid-area: accent;
  aspect-ratio: 1/1;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.hero-img:hover img { transform: scale(1.04); }

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ─── Section base ─── */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header .section-title { margin-bottom: .75rem; }

/* ─── Products ─── */
.products { background: var(--cream-light); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--green-800);
  color: var(--white);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3125rem .625rem;
  border-radius: 50px;
}

.product-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.product-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: .5rem;
}
.product-card-body p {
  font-size: .9375rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* ─── Bakery & Deli ─── */
.bakery-deli { background: var(--cream); }

.bakery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bakery-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 7/9;
}
.bakery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bakery-content .section-body { margin-top: 1rem; }

.bakery-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.bakery-feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  background: var(--green-50);
  border-radius: var(--radius);
}
.feature-icon {
  width: 22px;
  height: 22px;
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: 2px;
}
.bakery-feature span {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-900);
  line-height: 1.4;
}

/* ─── About ─── */
.about { background: var(--green-900); color: var(--white); }
.about .section-eyebrow { color: var(--green-500); }
.about .section-title { color: var(--white); }
.about .section-body { color: rgba(255,255,255,.75); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
  grid-template-areas:
    "main secondary"
    "main secondary";
}
.about-img { overflow: hidden; border-radius: var(--radius-lg); }
.about-img--main {
  grid-area: main;
  aspect-ratio: 5/6;
}
.about-img--secondary {
  grid-area: secondary;
  aspect-ratio: 4/3;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.about-img:hover img { transform: scale(1.04); }

/* ─── Visit ─── */
.visit { background: var(--cream-light); }

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.visit-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.visit-icon {
  width: 24px;
  height: 24px;
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: 3px;
}
.visit-detail strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.visit-detail p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.visit-detail a {
  color: var(--green-700);
  transition: color var(--transition);
}
.visit-detail a:hover { color: var(--green-900); }

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}
.visit-map iframe { width: 100%; height: 100%; }

/* ─── Contact ─── */
.contact { background: var(--cream); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-top: 2rem;
}

.contact-quick-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  background: var(--green-50);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--green-800);
  transition: var(--transition);
}
.contact-quick-link:hover {
  background: var(--green-100);
  transform: translateX(4px);
}
.contact-quick-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: .375rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--gray-900);
  background: var(--cream-light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-700);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,92,42,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}
.form-group textarea { resize: vertical; }

.form-note {
  font-size: .8125rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: .75rem;
}

.form-success {
  text-align: center;
  padding: 2rem;
}
.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--green-600);
  margin: 0 auto 1rem;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: .5rem;
}
.form-success p {
  color: var(--gray-700);
  font-size: .9375rem;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  margin-top: .875rem;
  font-size: .9375rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-links a {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  padding: .375rem 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: .25rem; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .9375rem;
}
.footer-contact a {
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

/* ─── Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid { gap: 2rem; }
  .hero-image-grid { gap: .75rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(245,242,235,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: .25rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu li a {
    display: block;
    padding: .75rem 1rem;
    font-size: 1rem;
  }
  .btn--nav { width: 100%; text-align: center; }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 2.5rem 0 4rem;
  }
  .hero-content { max-width: 100%; }
  .hero-image-grid {
    grid-template-areas:
      "large"
      "small"
      "accent";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .hero-img--large { grid-area: large; aspect-ratio: 4/3; }
  .hero-img--small { grid-area: small; aspect-ratio: 1/1; }
  .hero-img--accent { grid-area: accent; aspect-ratio: 1/1; }

  .products-grid { grid-template-columns: 1fr; }

  .bakery-grid,
  .about-grid,
  .visit-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .bakery-image { aspect-ratio: 4/3; }
  .about-images { grid-template-areas: "main" "secondary"; }
  .about-img--main { aspect-ratio: 4/3; }
  .bakery-features { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { text-align: left; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: .75rem; }
  .contact-form-wrapper { padding: 1.5rem; }
}
