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

:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2B;
  --blush: #F5E6E0;
  --blush-light: #FBF7F5;
  --cream: #FFF9F6;
  --text: #2A1F22;
  --text-light: #6B5558;
  --text-muted: #9E8588;
  --line: rgba(123, 45, 59, 0.12);
  --line-strong: rgba(123, 45, 59, 0.25);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --nav-width: 240px;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: var(--burgundy);
  color: #fff;
}

.btn--primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(123, 45, 59, 0.3);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ── Side Navigation ──────────────────────────────────── */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--burgundy);
  border-bottom-color: var(--line-strong);
}

.nav-footer {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* ── Main Content ─────────────────────────────────────── */
.main-content {
  margin-left: var(--nav-width);
  min-height: 100vh;
}

.section {
  padding: 7rem 0;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 249, 246, 0.95) 0%,
    rgba(255, 249, 246, 0.85) 40%,
    rgba(255, 249, 246, 0.4) 70%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
  margin-left: calc(var(--nav-width) + 2rem);
  max-width: calc(1200px - var(--nav-width) - 4rem);
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--burgundy);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 480px;
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

/* ── About ────────────────────────────────────────────── */
.about {
  background: #fff;
  border-top: 1px solid var(--line);
}

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

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.9;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--burgundy);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Products ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

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

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 45, 59, 0.08);
  border-color: var(--line-strong);
}

.product-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.03);
}

.product-card-img {
  overflow: hidden;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  padding: 1.25rem 1.5rem 0.5rem;
  color: var(--text);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 0 1.5rem 1.5rem;
}

/* ── Bakery ───────────────────────────────────────────── */
.bakery {
  background: var(--blush);
}

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

.bakery-text p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.bakery-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.bakery-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.bakery-list li svg {
  color: var(--burgundy);
  flex-shrink: 0;
}

.bakery-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.bakery-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 2px;
}

.bakery-img-small img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
}

/* ── CTA ──────────────────────────────────────────────── */
.cta {
  background: var(--burgundy);
  color: #fff;
  text-align: center;
  padding: 6rem 0;
}

.cta .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.cta .section-title {
  color: #fff;
  margin-bottom: 1.25rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.9;
}

.cta-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: left;
}

.cta-info-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Contact ──────────────────────────────────────────── */
.contact {
  background: #fff;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-detail svg {
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-detail a {
  color: var(--burgundy);
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: var(--burgundy-dark);
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--blush-light);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--burgundy);
  background: rgba(123, 45, 59, 0.06);
  padding: 0.85rem 1rem;
  border-radius: 2px;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Mobile Menu Toggle ───────────────────────────────── */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle-line {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--burgundy);
  transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Scroll Animations ────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --nav-width: 200px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .side-nav {
    transform: translateX(-100%);
  }

  .side-nav.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .hero {
    align-items: flex-end;
  }

  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(255, 249, 246, 0.98) 0%,
      rgba(255, 249, 246, 0.85) 50%,
      rgba(255, 249, 246, 0.5) 80%,
      transparent 100%
    );
  }

  .hero-content {
    margin-left: 0;
    padding: 0 2rem 4rem;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .section {
    padding: 5rem 0;
  }

  .about-grid,
  .bakery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 300px;
  }

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

  .bakery-images {
    order: -1;
  }

  .bakery-img-main img {
    height: 280px;
  }

  .cta-info {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .about-stats {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-content {
    padding: 0 1.25rem 3rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}
