/* Cozy Grove Coffee — base styles */

:root {
  --bg: #faf6f0;
  --surface: #fffdfa;
  --ink: #2e2620;
  --muted: #6b5d4f;
  --brand: #6f4e37;        /* coffee brown */
  --brand-dark: #4a3526;
  --accent: #c4843c;       /* caramel */
  --leaf: #5b7553;         /* grove green */
  --border: #e7ddd0;
  --shadow: 0 8px 30px rgba(74, 53, 38, 0.08);
  --radius: 14px;
  --maxw: 1080px;
  --font-body: "Georgia", "Times New Roman", serif;
  --font-head: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}

a { color: var(--brand); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand-dark);
  text-decoration: none;
}

.brand .mark { font-size: 1.5rem; }

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--brand-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: transform 0.05s ease, background 0.2s ease;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn:active { transform: translateY(1px); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(46, 38, 32, 0.55), rgba(46, 38, 32, 0.55)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.hero .container {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--brand-dark);
  background: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin: 0 0 1.25rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 38rem;
  margin: 0 auto 2rem;
  color: #f3e9dd;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-ghost { color: #fff; border-color: #fff; }
.hero-actions .btn-ghost:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.5rem; }
.section-head p { color: var(--muted); margin: 0; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Feature cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

/* ---------- Menu ---------- */
.menu-group { margin-bottom: 2.5rem; }
.menu-group h3 {
  font-size: 1.4rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.menu-item .name { font-weight: 700; font-family: var(--font-head); font-size: 1rem; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted var(--border); transform: translateY(-4px); }
.menu-item .price { color: var(--brand); font-weight: 700; font-family: var(--font-head); }
.menu-item .desc { display: block; color: var(--muted); font-size: 0.9rem; }

/* ---------- About / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { margin-top: 0; }

/* ---------- Contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 0.4rem 0; display: flex; gap: 0.6rem; }
.info-list .label { font-family: var(--font-head); font-weight: 700; min-width: 5.5rem; color: var(--brand-dark); }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.hours td:last-child { text-align: right; color: var(--muted); }

.map-embed {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- CTA banner ---------- */
.cta {
  background: var(--brand);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
}
.cta h2 { color: #fff; margin: 0 0 0.75rem; }
.cta p { color: #f3e9dd; margin: 0 0 1.5rem; }
.cta .btn-ghost { color: #fff; border-color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: #e7ddd0;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.site-footer h4 { font-family: var(--font-head); color: #fff; margin: 0 0 0.6rem; }
.site-footer a { color: #e7ddd0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.2rem 0; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #c9bba9;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
  .split { grid-template-columns: 1fr; }
  .split.reverse > div:first-child { order: 2; }
}
