/* ===========================
   THE LOAF HOUSE — Stylesheet
   =========================== */

:root {
  --cream:      #F5F0E8;
  --warm-white: #FDFAF5;
  --charcoal:   #1C1C1C;
  --charcoal-mid: #3A3A3A;
  --terracotta: #C26A3E;
  --terracotta-light: #D4845A;
  --olive:      #6B7455;
  --border:     #E0D9CE;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--primary {
  background: var(--terracotta);
  color: #fff;
}
.btn--primary:hover { background: var(--terracotta-light); }
.btn--small {
  padding: 10px 20px;
  font-size: 13px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 4px;
}
.btn--small:hover { background: var(--charcoal-mid); }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal-mid);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--terracotta); }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img { filter: brightness(0.55); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28,28,28,0.5) 0%, rgba(28,28,28,0.1) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 0 60px;
  color: #fff;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__title em { font-style: italic; color: #F0C89A; }
.hero__sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

/* SECTIONS */
.section { padding: 100px 0; }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 16px;
  color: var(--charcoal-mid);
  max-width: 520px;
  margin-bottom: 60px;
}

/* BREAD GRID */
.bread { background: var(--cream); }
.bread .container { text-align: center; }
.bread .section__sub { margin: 0 auto 60px; }
.bread__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
}
.bread__card {
  background: var(--warm-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bread__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.bread__img-wrap {
  height: 280px;
  background: #D9D2C5;
  overflow: hidden;
}
.bread__info {
  padding: 28px;
}
.bread__info h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}
.bread__info p {
  font-size: 15px;
  color: var(--charcoal-mid);
  margin-bottom: 16px;
}
.bread__sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--charcoal-mid);
}

/* ORDER */
.order { background: var(--warm-white); }
.order__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.order__text p { font-size: 16px; color: var(--charcoal-mid); margin-bottom: 24px; }
.order__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--charcoal-mid);
}
.shop-placeholder {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 36px;
  text-align: center;
}
.shop-placeholder p {
  font-size: 16px;
  color: var(--charcoal-mid);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* ABOUT */
.about { background: var(--charcoal); color: #fff; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__img-wrap {
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background: #3A3A3A;
}
.about .section__title { color: #fff; }
.about__text p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* FOOTER */
.footer {
  background: #111;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 60px 24px;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}
.footer__tagline {
  font-size: 14px;
  margin-bottom: 24px;
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  font-size: 14px;
}
.footer__links a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 12px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav__links { display: none; }
  .hero__content { padding: 0 24px; }
  .bread__grid { grid-template-columns: 1fr; }
  .order__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__img-wrap { height: 300px; }
  .section { padding: 72px 0; }
}
