/* ============================================================
   Blumen Café Vienna — botanical brunch, light theme
   Fraunces (serif display) + Jost (sans text)
   ============================================================ */

:root {
  --paper:      #fbf6ee;   /* warm cream paper */
  --paper-2:    #f4ecdf;   /* slightly deeper cream */
  --surface:    #ffffff;
  --ink:        #2e3326;   /* deep olive-charcoal text */
  --ink-soft:   #5b6150;
  --muted:      #8c8b7c;
  --sage:       #7a8a5e;   /* primary fresh sage/olive */
  --sage-deep:  #5f6f47;
  --sage-tint:  #e7ecdb;
  --terra:      #c97b54;   /* warm terracotta accent */
  --blush:      #e6a98f;   /* soft blush */
  --line:       #e6ddcd;
  --shadow:     0 18px 50px -24px rgba(60, 55, 35, 0.45);
  --shadow-sm:  0 8px 24px -14px rgba(60, 55, 35, 0.4);

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-text:    "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1140px;
  --pad:  clamp(1.1rem, 4vw, 2.2rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-text);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

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

.section { padding: clamp(3.4rem, 8vw, 6.5rem) 0; }

.eyebrow {
  font-family: var(--ff-text);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin: 0 0 0.9rem;
}
.eyebrow-line { display: inline-flex; align-items: center; gap: 0.7rem; }
.eyebrow-line::before {
  content: ""; width: 28px; height: 1px; background: var(--terra); display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage-deep); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(60,55,35,0.55);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.nav a:hover { color: var(--sage-deep); }
.nav-cta {
  background: var(--terra);
  color: #fff !important;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 500;
}
.nav-cta:hover { background: #b3683f; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("/images/hero.jpg") center 30% / cover no-repeat;
  transform: scale(1.04);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(46,51,38,0.74) 0%, rgba(46,51,38,0.46) 46%, rgba(46,51,38,0.16) 100%),
    linear-gradient(0deg, rgba(46,51,38,0.55) 0%, rgba(46,51,38,0) 45%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 620px; color: #fff; }
.hero-copy .eyebrow { color: #f1e0d2; }
.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 11vw, 6.2rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero-lede {
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
  line-height: 1.55;
  color: #f3eee6;
  margin: 1.2rem 0 1.9rem;
  max-width: 40ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.hero-meta {
  margin-top: 1.7rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: #e9e1d6;
}

/* floral marquee */
.petals {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: var(--terra);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.7rem 0;
}
.petals-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  animation: drift 36s linear infinite;
  will-change: transform;
}
.petals-track span {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.petals-track .sep { font-style: normal; opacity: 0.8; font-size: 0.85rem; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.6rem, 5vw, 4rem);
  align-items: start;
}
.about-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.about-body .lead {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-family: var(--ff-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 1.2rem;
}
.about-body p { color: var(--ink-soft); margin: 0 0 1rem; }

.pillars {
  margin-top: clamp(2.4rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.pillar-num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--terra);
}
.pillar h3 { font-size: 1.25rem; margin: 0.5rem 0 0.5rem; color: var(--sage-deep); }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-sec { background: var(--paper-2); }
.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.section-head .eyebrow-line { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.section-head .section-sub { color: var(--ink-soft); margin: 0.9rem 0 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }

.gallery-foot, .menu-foot {
  text-align: center;
  margin: clamp(1.8rem, 4vw, 2.6rem) auto 0;
  color: var(--ink-soft);
}
.gallery-foot a, .menu-foot a { color: var(--sage-deep); border-bottom: 1px solid var(--blush); }
.gallery-foot a:hover, .menu-foot a:hover { color: var(--terra); }

/* ============================================================
   MENU
   ============================================================ */
.menu { background: var(--paper); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.dish {
  background: var(--sage-tint);
  border: 1px solid #d9e0c7;
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
}
.dish h3 {
  font-size: 1.3rem;
  color: var(--sage-deep);
  margin-bottom: 0.5rem;
}
.dish p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.menu-foot { font-family: var(--ff-display); font-style: italic; font-size: 1.1rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--paper-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.8rem, 5vw, 3.6rem);
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 0.8rem; }
.contact-lede { color: var(--ink-soft); margin: 0 0 1.6rem; max-width: 46ch; }

.contact-details { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 1rem; }
.contact-details li { display: flex; flex-direction: column; }
.cd-label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--muted); margin-bottom: 0.2rem;
}
.cd-value { color: var(--ink); font-size: 1.02rem; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hours-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.hours-card h3 {
  font-size: 1.4rem; color: var(--sage-deep); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.hours-card h3::before {
  content: "✿"; color: var(--terra); font-size: 1rem;
}
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list span:first-child { color: var(--ink-soft); }
.hours-list span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.hours-note { margin: 1rem 0 0; font-family: var(--ff-display); font-style: italic; color: var(--sage-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #e7e3d8; padding: clamp(2.6rem, 6vw, 4rem) 0 2.2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-mark { color: #f0ead9; font-size: 1.7rem; }
.footer-brand .brand-sub { color: #b9b6a4; }
.footer-col .cd-label { color: #9c9885; }
.footer-col p { margin: 0.4rem 0 0; color: #d6d1c2; font-size: 0.95rem; line-height: 1.5; }
.footer-col a { color: var(--blush); }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  padding-top: 1.6rem; font-size: 0.82rem; color: #9c9885;
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--terra);
  color: #fff;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.95rem 1rem;
  box-shadow: 0 -8px 24px -16px rgba(0,0,0,0.5);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(28, 30, 22, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lb-inner { margin: 0; max-width: min(92vw, 620px); text-align: center; }
.lb-inner img {
  max-width: 100%; max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
  margin: 0 auto;
}
.lb-cap {
  color: #f1ece2; font-family: var(--ff-display); font-style: italic;
  margin-top: 1rem; font-size: 1.05rem;
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  width: 46px; height: 46px;
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 420px; }
  .nav a { padding: 0.85rem var(--pad); border-bottom: 1px solid var(--line); }
  .nav-cta {
    margin: 0.8rem var(--pad) 0;
    text-align: center;
    border-bottom: 0 !important;
  }
  .nav-toggle { display: flex; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .sticky-cta { display: block; }
  body { padding-bottom: 3.4rem; }
  .petals { display: none; }
}

@media (max-width: 480px) {
  .pillars, .menu-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .hero { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .petals-track { animation: none; }
  .card:hover .card-media img { transform: none; }
}
