/* BATCH — Casual Neighborhood Café & Bakery
   Warm, friendly, approachable */

:root {
  --bg: #faf7f2;
  --bg-card: #ffffff;
  --bg-warm: #f3ebe0;
  --text: #2c2416;
  --text-muted: #6b5e4e;
  --text-soft: #9a8b78;
  --accent: #c45c26;
  --accent-hover: #a84a1c;
  --green: #4a6b4a;
  --border: rgba(44, 36, 22, 0.1);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 4px 20px rgba(44, 36, 22, 0.06);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(44, 36, 22, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.header-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: white;
  border-radius: 50px;
  transition: background 0.25s;
}

.header-cta:hover {
  background: var(--accent-hover);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ========== HERO ========== */
.hero {
  padding: 8.5rem 0 4rem;
  text-align: center;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: white;
}

/* ========== SECTIONS ========== */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto;
}

/* ========== MENU HIGHLIGHTS ========== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.menu-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(44, 36, 22, 0.1);
}

.menu-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.menu-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.menu-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.menu-card-body .price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.menu-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== ABOUT / STORY ========== */
.story {
  background: var(--bg-warm);
}

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

.story-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.story-text h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1.1rem;
}

.story-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ========== HOURS / VISIT ========== */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.visit-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.visit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.visit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.hours-list {
  margin-top: 0.75rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hours-list li span:last-child {
  color: var(--text);
  font-weight: 500;
}

/* ========== CTA ========== */
.cta-section {
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--text);
  color: #e8e0d4;
  padding: 3.5rem 0 1.5rem;
}

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

.footer-brand .logo {
  color: #faf7f2;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #b0a090;
  line-height: 1.6;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #faf7f2;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #b0a090;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: #faf7f2;
}

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

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 8rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ========== MENU PAGE ========== */
.menu-category {
  margin-bottom: 3rem;
}

.menu-category h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--bg-warm);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1.5rem;
}

.menu-item-info h3 {
  font-size: 1.05rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.menu-item-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.menu-item .price {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  font-size: 1rem;
}

/* ========== MOBILE NAV ========== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background: white;
  z-index: 1500;
  padding: 5rem 1.75rem 2rem;
  transition: right 0.4s var(--ease);
  box-shadow: -4px 0 24px rgba(0,0,0,0.08);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .header-cta {
    display: none;
  }
  
  .story-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .hero {
    padding-top: 7rem;
  }
}
