/* Roastery & Co — dark coffee design system (vanilla CSS port) */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --background: oklch(0.18 0.018 50);
  --foreground: oklch(0.95 0.015 80);
  --card: oklch(0.22 0.02 50);
  --primary: oklch(0.78 0.14 65);
  --primary-foreground: oklch(0.18 0.018 50);
  --secondary: oklch(0.28 0.025 55);
  --muted-foreground: oklch(0.7 0.025 70);
  --border: oklch(0.32 0.02 55);
  --input: oklch(0.28 0.02 55);

  --gradient-warm: linear-gradient(135deg, oklch(0.78 0.14 65), oklch(0.65 0.16 40));
  --gradient-overlay: linear-gradient(180deg, oklch(0.12 0.02 50 / 0.4) 0%, oklch(0.12 0.02 50 / 0.85) 100%);
  --shadow-warm: 0 20px 60px -20px oklch(0.5 0.18 50 / 0.5);

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 600;
}

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

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

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: oklch(0.22 0.02 50 / 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(0.95 0.015 80 / 0.08);
}
.header-inner {
  max-width: 80rem; margin: 0 auto; padding: 0 1rem;
  height: 4rem; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.brand .accent { color: var(--primary); }
.brand svg { color: var(--primary); width: 1.5rem; height: 1.5rem; transition: transform 0.3s; }
.brand:hover svg { transform: rotate(12deg); }

.nav { display: none; gap: 2rem; }
@media (min-width: 768px) { .nav { display: flex; align-items: center; } }
.nav a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active { font-weight: 500; }

.menu-toggle {
  display: block; background: none; border: none; color: var(--foreground); cursor: pointer; padding: 0.5rem;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none; border-top: 1px solid var(--border);
  background: oklch(0.22 0.02 50 / 0.95); backdrop-filter: blur(12px);
  padding: 1rem; flex-direction: column; gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.75rem; border-radius: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground);
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--secondary); color: var(--primary); }

/* ===== Parallax ===== */
.parallax {
  position: relative;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh;
  padding: 6rem 1rem 3rem;
}
.parallax.tall { min-height: 92vh; }
.parallax.short { min-height: 60vh; }
.parallax::before {
  content: ""; position: absolute; inset: 0; background: var(--gradient-overlay);
}
.parallax > * { position: relative; z-index: 1; }
@media (max-width: 768px) { .parallax { background-attachment: scroll; } }

/* ===== Typography helpers ===== */
.eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.4em;
  color: var(--primary); margin-bottom: 1rem;
}
.eyebrow.tight { letter-spacing: 0.3em; }

.text-gradient-warm {
  background: var(--gradient-warm);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem); line-height: 0.95; margin-bottom: 1.5rem; text-align: center;
}
.page-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); text-align: center;
}
.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem); text-align: center; margin-bottom: 3rem;
}

.lead {
  max-width: 36rem; margin: 0 auto 2rem; text-align: center;
  color: oklch(0.95 0.015 80 / 0.8); font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.875rem 1.75rem;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s, background 0.2s; border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary); color: var(--primary-foreground);
  box-shadow: var(--shadow-warm);
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  background: transparent; color: var(--foreground);
  border: 1px solid oklch(0.95 0.015 80 / 0.2);
}
.btn-outline:hover { background: oklch(0.95 0.015 80 / 0.05); }
.btn-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

/* ===== Cards ===== */
.glass-card {
  background: oklch(0.22 0.02 50 / 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid oklch(0.95 0.015 80 / 0.08);
  border-radius: 1rem; padding: 1.75rem;
}

.section { padding: 5rem 1rem; }
@media (min-width: 1024px) { .section { padding: 7rem 2rem; } }
.section .inner { max-width: 80rem; margin: 0 auto; }

.grid-3 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.icon-circle {
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: oklch(0.78 0.14 65 / 0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  color: var(--primary);
}
.feature-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.muted { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; }

/* CTA card */
.cta-card {
  max-width: 64rem; margin: 0 auto;
  border-radius: 1.5rem; padding: 3rem 1.5rem; text-align: center;
}
@media (min-width: 768px) { .cta-card { padding: 3.5rem; } }

/* About page */
.story { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; color: oklch(0.95 0.015 80 / 0.85); line-height: 1.7; }
.story p:first-child { font-size: 1.125rem; }
.stats { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { text-align: center; padding: 2rem; }
.stat-num { font-family: var(--font-display); font-size: 3rem; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }

/* Contact + Reservations forms */
.two-col { display: grid; gap: 3rem; max-width: 80rem; margin: 0 auto; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }

.info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row .icon-circle { width: 2.75rem; height: 2.75rem; margin: 0; flex-shrink: 0; }
.info-row p.label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); margin-bottom: 0.25rem; }
.info-row p.value { font-size: 0.875rem; line-height: 1.6; white-space: pre-line; }

.map { border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); height: 16rem; margin-top: 1.5rem; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.7); }

.form-card { padding: 2rem; border-radius: 1.5rem; }
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }
.form-card h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }

.form-grid { display: grid; gap: 1rem; }
.form-grid.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.form-input {
  width: 100%; background: var(--input); border: 1px solid var(--border);
  border-radius: 0.6rem; padding: 0.7rem 0.9rem; font-size: 0.9rem;
  color: var(--foreground); transition: border-color 0.2s; font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--primary); }
textarea.form-input { resize: none; }

/* Reviews */
.review {
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.3s;
}
.review:hover { transform: translateY(-4px); }
.review .quote-icon { color: oklch(0.78 0.14 65 / 0.6); }
.review p.text { font-size: 0.875rem; line-height: 1.6; flex: 1; }
.stars { display: flex; gap: 0.125rem; color: var(--primary); }
.review .who p:first-child { font-size: 0.875rem; font-weight: 600; }
.review .who p:last-child { font-size: 0.75rem; color: var(--muted-foreground); }

/* Success */
.success {
  text-align: center; padding: 2.5rem 0;
}
.success .check {
  width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 9999px;
  background: oklch(0.78 0.14 65 / 0.15); display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: oklch(0.22 0.02 50 / 0.4); margin-top: 6rem; }
.footer-inner {
  max-width: 80rem; margin: 0 auto; padding: 3rem 1rem;
  display: grid; gap: 2.5rem;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-inner h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-inner .muted { line-height: 1.7; max-width: 22rem; }
.socials { display: flex; gap: 0.75rem; }
.socials a {
  padding: 0.5rem; border-radius: 9999px; background: var(--secondary);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--primary); color: var(--primary-foreground); }
.copy { border-top: 1px solid var(--border); padding: 1.25rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

/* Spacing for fixed header */
main { padding-top: 0; }
