/* ===== Bella Forno — Rustic Theme (Playfair + Lora) ===== */
:root {
  --cream: #FAF7F2;
  --paper: #FFFBF5;
  --text: #2A2A2A;
  --muted: #6B7280;
  --gold: #C6922A;
  --crimson: #8B1E2D;
  --line: #EDE6DA;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Lora", Georgia, serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: #1F1B16;
}

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 20px;
}

/* ---------- HEADER ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 2px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1F1B16;
  position: relative;
}
.brand-line {
  font-family: "Playfair Display";
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .1em;
}
.brand-dot {
  color: var(--gold);
  font-size: 26px;
  margin-inline: 6px;
}
.brand-sub {
  position: absolute;
  left: 0;
  top: 30px;
  font-size: 11px;
  letter-spacing: .14em;
  color: #7C6E59;
}
.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav a {
  color: #3F3B36;
  text-decoration: none;
  font-weight: 700;
  font-family: "Lora", serif;
}
.nav a.active { color: #a06432; }

.btn {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: .7rem 1rem;
  box-shadow: var(--shadow);
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: "Playfair Display";
}
.btn:hover { opacity: .95; }
.btn--small { font-size: .9rem; }

/* ---------- HERO ---------- */
.hero-restaurant {
  background-image:
    linear-gradient(180deg, rgba(255, 251, 245, 0.164), rgba(255, 251, 245, 0.411)),
    url('hero.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding: 84px 0 72px; }
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}
.hero-restaurant h1 { font-size: 46px; margin: 0 0 10px; }
.hero-restaurant p { color: #3F3B36; margin: 0 0 16px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.btn--ghost {
  background: var(--crimson);
  color: #ffffff;
  border: 2px solid #8B1E2D;
}

/* ---------- SPECIALS ---------- */
section { padding: 40px 0; }
h2 { font-size: 30px; margin: 0 0 12px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.grid { display: grid; gap: 16px; }
.specials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price { color: var(--crimson); font-weight: 800; font-family: "Playfair Display"; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.list { margin: 0; padding-left: 18px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- MENU ---------- */
.menu-page h1 { margin: 18px 0 4px; }
.menu-section { margin: 26px 0; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.menu-item h3 { margin: 0; }
.menu-item p { margin: 0; color: #6B6B6B; }

/* ---------- ORDER PAGE ---------- */
.order-page::before {
  content: '';
  display: block;
  height: 180px;
  margin: 10px 0 18px;
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.164), rgba(250, 247, 242, 0.493)),
    url('ingredients.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 20px;
  margin: 16px 0 30px;
}
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.order-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.order-item h3 { margin: 0; }
.order-item p { margin: 0; color: #6B6B6B; }
.order-item .add {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.order-item button {
  background: #1F1B16;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .45rem .7rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "Playfair Display";
}
.order-item button:hover { opacity: .95; }

.cart {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
  height: fit-content;
}
.cart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 6px;
}
.qty-controls { display: flex; gap: 6px; align-items: center; }
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #D7CBB7;
  background: #fff;
  cursor: pointer;
}
.remove {
  border: none;
  background: transparent;
  color: #8B1E2D;
  cursor: pointer;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 12px;
  font-weight: 800;
  font-family: "Playfair Display";
}
.checkout { display: grid; gap: 10px; }
.checkout label span {
  display: block;
  font-size: .9rem;
  color: #7C6E59;
  margin-bottom: 4px;
}
.checkout input, .checkout textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #D7CBB7;
  font: inherit;
  background: #fff;
}
.checkout .btn { width: 100%; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 18px 0;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-inner { padding: 72px 0 56px; }
  .hero-left { align-items: center; text-align: center; }
  .specials-grid, .about-grid, .menu-grid, .order-layout, .order-grid {
    grid-template-columns: 1fr;
  }
}

