/* ===================================================
   Min Lokal — Fitzroy Café
   Mobile-first, Scandi-minimal aesthetic
   =================================================== */

/* --- Reset & Base --------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:     #F8F6F0;
  --white:     #FDFCF9;
  --ink:       #1C1C1A;
  --ink-soft:  #4A4A46;
  --green:     #4A6741;
  --green-mid: #5C7A58;
  --terra:     #C07A52;
  --border:    #E2DDD4;
  --shadow:    rgba(28, 28, 26, 0.08);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --radius: 4px;
  --max-w: 1080px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography ----------------------------------- */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { color: var(--ink-soft); }

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
}

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

section { padding: 5rem 0; }

/* --- Buttons -------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover {
  background: #3a5432;
  transform: translateY(-1px);
}

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

/* --- Nav ----------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta {
  padding: 0.55rem 1.25rem;
  background: var(--green);
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #3a5432 !important; color: #fff !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.25rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-cta { padding: 0.65rem 1.5rem !important; }
}

/* --- Hero ----------------------------------------- */
.hero {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74, 103, 65, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

.hero-text .label { margin-bottom: 1rem; }
.hero-text h1 { margin-bottom: 1.25rem; color: var(--ink); }
.hero-text p { font-size: 1.1rem; margin-bottom: 2rem; max-width: 48ch; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px var(--shadow);
}

.hero-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.hero-card h3 { color: var(--ink); margin-bottom: 0.5rem; }
.hero-card p { font-size: 0.95rem; }

.hero-card-badge {
  position: absolute;
  bottom: -16px; left: 24px;
  background: var(--terra);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(192, 122, 82, 0.35);
}

/* --- Strip ---------------------------------------- */
.strip {
  background: var(--green);
  color: #fff;
  padding: 1.5rem 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 500;
}

.strip-item { display: flex; align-items: center; gap: 0.5rem; }
.strip-dot { opacity: 0.4; }

/* --- Menu Highlights ------------------------------ */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 540px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

.menu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--shadow);
}

.menu-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.menu-card h3 { color: var(--ink); margin-bottom: 0.5rem; }
.menu-card p { font-size: 0.9rem; }

/* --- About Section / Split ----------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .split.reverse .split-visual { order: -1; } }

.split-content .label { margin-bottom: 1rem; }
.split-content h2 { margin-bottom: 1.25rem; }
.split-content p { margin-bottom: 1rem; }
.split-content p:last-of-type { margin-bottom: 1.75rem; }

.split-visual-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.split-visual-block .big-text {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 6rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.split-visual-block p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --- Hours --------------------------------------- */
.hours-section { background: var(--white); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 600px) { .hours-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .hours-grid { grid-template-columns: repeat(3, 1fr); } }

.hours-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.hours-day {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.hours-time { font-size: 1.1rem; color: var(--green); font-weight: 600; }
.hours-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* --- Call to Action ------------------------------ */
.cta-section {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}
.cta-section .label { color: var(--terra); }
.cta-section h2 { color: var(--white); margin: 1rem 0 1.25rem; }
.cta-section p { color: rgba(253, 252, 249, 0.7); max-width: 52ch; margin: 0 auto 2.5rem; }
.cta-section .btn-outline { border-color: rgba(253,252,249,0.4); color: var(--white); }
.cta-section .btn-outline:hover { background: var(--white); color: var(--ink); }

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Contact Page --------------------------------- */
.contact-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.contact-hero .label { margin-bottom: 1rem; }
.contact-hero h1 { margin-bottom: 1rem; }
.contact-hero p { max-width: 52ch; font-size: 1.05rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding: 5rem 0;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info-block { display: flex; flex-direction: column; gap: 2rem; }

.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; color: var(--ink); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.25rem; }
.contact-detail-text span, .contact-detail-text a { color: var(--ink-soft); font-size: 0.95rem; }
.contact-detail-text a:hover { color: var(--green); text-decoration: underline; }

.map-embed {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 220px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--ink);
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.8rem; color: var(--ink-soft); }

/* About Page ---------------------------------------- */
.about-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
}
.about-hero .label { margin-bottom: 1rem; }
.about-hero h1 { margin-bottom: 1.25rem; }
.about-hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 600px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}
.value-card .icon { font-size: 1.75rem; margin-bottom: 0.75rem; line-height: 1; }
.value-card h3 { font-size: 1rem; color: var(--ink); margin-bottom: 0.35rem; }
.value-card p { font-size: 0.875rem; }

/* Team / Story */
.story-text p { margin-bottom: 1.25rem; max-width: 68ch; }
.story-text p:last-child { margin-bottom: 0; }

/* --- Footer -------------------------------------- */
footer {
  background: var(--ink);
  color: rgba(253, 252, 249, 0.6);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .nav-logo { color: var(--white); margin-bottom: 0.75rem; display: block; }
.footer-brand p { font-size: 0.875rem; max-width: 30ch; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,252,249,0.4);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253,252,249,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(253,252,249,0.4); }
.footer-bottom a:hover { color: var(--white); }

/* --- Hero Image ----------------------------------- */
.hero-img {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,20,18,0.78) 0%,
    rgba(20,20,18,0.55) 55%,
    rgba(20,20,18,0.25) 100%
  );
  z-index: 1;
}

.hero-img-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 6rem;
  max-width: 640px;
}

.hero-img-content .label { margin-bottom: 1rem; }

.hero-img-content h1 {
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-img-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 46ch;
}

.btn-hero-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

.hero-scroll-badge {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* --- Photo Trio ----------------------------------- */
.photo-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .photo-trio {
    grid-template-columns: 3fr 2fr;
    height: 480px;
  }
}

.photo-trio-main {
  overflow: hidden;
  border-radius: 10px;
  height: 300px;
}
@media (min-width: 768px) {
  .photo-trio-main { height: 100%; border-radius: 0; }
}

.photo-trio-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-trio-main:hover img { transform: scale(1.03); }

.photo-trio-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .photo-trio-side {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.photo-trio-side img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease;
}
.photo-trio-side img:hover { transform: scale(1.03); }

@media (min-width: 768px) {
  .photo-trio-side img { height: 100%; border-radius: 0; }
}

/* --- Menu Photo Split ----------------------------- */
.menu-photo-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .menu-photo-split { grid-template-columns: 1fr 1fr; }
}

.menu-photo-img {
  border-radius: 12px;
  overflow: hidden;
  height: 420px;
}
.menu-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-photo-img:hover img { transform: scale(1.03); }

.menu-photo-list { display: flex; flex-direction: column; gap: 1.75rem; }

.menu-item-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.menu-item-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.menu-item-row h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 0.25rem; }
.menu-item-row p { font-size: 0.875rem; }

/* --- About Image Stack ---------------------------- */
.about-img-stack {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 24px var(--shadow);
}

/* --- Utility -------------------------------------- */
.text-center { text-align: center; }
.section-header { margin-bottom: 3.5rem; }
.section-header .label { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { max-width: 52ch; }
.section-header.text-center p { margin: 0 auto; }

.divider {
  width: 48px; height: 3px;
  background: var(--terra);
  margin: 1.25rem 0;
  border-radius: 2px;
}
.text-center .divider { margin: 1.25rem auto; }

.mt-2 { margin-top: 2rem; }
.green { color: var(--green); }
