/* ============================================================
   Münger Tea Room — style.css
   Aesthetic: Centered-Classic / Luxury-Refined
   Layout: Centered column, elegant symmetry, classic proportions
   Fonts: Cormorant Garamond (display) + Jost (body)
   Brand: Sage green #7e9c84 · Ivory · Espresso · Antique gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --sage:          #7e9c84;
  --sage-light:    #a8bfad;
  --sage-dark:     #4d6b52;
  --ivory:         #f6f1e9;
  --ivory-mid:     #ede6d8;
  --ivory-deep:    #e2d9c7;
  --espresso:      #29190f;
  --espresso-mid:  #54341e;
  --gold:          #8a6318;
  --gold-light:    #b8913a;
  --text-primary:  #29190f;
  --text-secondary:#523120;
  --text-muted:    #7a6654;
  --bg:            #f6f1e9;
  --bg-alt:        #ede6d8;
  --border:        #cfc5b1;
  --nav-bg:        #f6f1e9;
  --footer-bg:     #29190f;
  --footer-text:   #c0ab8e;
  --focus-ring:    #7e9c84;
  --max-w:         700px;
  --max-w-wide:    1020px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sage:          #8fad95;
    --sage-light:    #adc4b3;
    --sage-dark:     #6b9471;
    --ivory:         #1c130b;
    --ivory-mid:     #241a10;
    --ivory-deep:    #2e2015;
    --espresso:      #f0e4d4;
    --espresso-mid:  #d5c0a5;
    --gold:          #c9a84c;
    --gold-light:    #deba68;
    --text-primary:  #f0e4d4;
    --text-secondary:#d5c0a5;
    --text-muted:    #9e8a76;
    --bg:            #1c130b;
    --bg-alt:        #241a10;
    --border:        #3d2e1e;
    --nav-bg:        #1c130b;
    --footer-bg:     #0e0905;
    --footer-text:   #7a6654;
    --focus-ring:    #8fad95;
  }
}

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

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

html.menu-open {
  overflow: hidden;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.75;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--gold); }

a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.12;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.8rem); }
h4 { font-size: 1.12rem; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ── Ornamental divider ────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 2.8rem auto;
  color: var(--gold-light);
}

.ornament::before,
.ornament::after {
  content: '';
  width: 80px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.ornament-sym {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  opacity: 0.65;
  letter-spacing: 0.2em;
}

/* ── Header & Navigation ───────────────────────────────── */
.site-header {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Desktop nav */
.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    list-style: none;
    gap: 2.4rem;
    align-items: center;
  }

  .desktop-nav a {
    font-family: 'Jost', sans-serif;
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
  }

  .desktop-nav a:hover,
  .desktop-nav a[aria-current="page"] {
    color: var(--sage-dark);
    border-bottom-color: var(--sage);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  position: fixed;
  top: 11px;
  right: 1.25rem;
  z-index: 1000;
  width: 44px;
  height: 44px;
  background: var(--nav-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border-radius: 2px;
}

.hamburger .bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 767px) {
  .desktop-nav { display: none !important; }
  .hamburger   { display: flex; }
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--nav-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay.is-open {
  display: flex;
}

.mobile-nav-overlay ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.mobile-nav-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a[aria-current="page"] {
  color: var(--sage-dark);
}

/* ── Layout helpers ────────────────────────────────────── */
.centered {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wide {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(41,25,15,0.15) 0%,
    rgba(41,25,15,0.5)  55%,
    rgba(41,25,15,0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 300;
  font-style: italic;
  color: #f2e6d5;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-style: italic;
  font-weight: 300;
  color: #c8b89a;
  margin-bottom: 2.2rem;
}

.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.8rem 2.2rem;
  color: #f2e6d5;
  border: 1px solid rgba(242,230,213,0.55);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  background: rgba(242,230,213,0.12);
  border-color: #f2e6d5;
  color: #f2e6d5;
}

/* ── Intro strip — HARDCODED dark ──────────────────────── */
.intro-strip {
  background: #111111;
  padding: 3.2rem 1.5rem;
  text-align: center;
}

.intro-strip p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  font-weight: 300;
  color: #c8b89a;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Sections ──────────────────────────────────────────── */
.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

/* ── Feature grid (2-col) ──────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .feature-grid           { grid-template-columns: 1fr 1fr; }
  .feature-grid.reverse   { direction: rtl; }
  .feature-grid.reverse > * { direction: ltr; }
}

.feature-img-wrap {
  position: relative;
}

.feature-img-wrap::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--gold-light);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.feature-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .feature-img-wrap::before { display: none; }
  .feature-grid.reverse { direction: ltr; }
}

/* ── Cards ─────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.card:hover { box-shadow: 0 6px 28px rgba(41,25,15,0.1); }

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

.card-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Reviews ───────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 2.8rem;
}

@media (min-width: 600px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.8rem;
  position: relative;
}

.review-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-light);
  opacity: 0.2;
  position: absolute;
  top: 0.6rem;
  left: 1.2rem;
}

.review-stars {
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.review-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.review-author {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Rating block ──────────────────────────────────────── */
.rating-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.8rem;
}

.rating-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.rating-stars-lg {
  color: var(--gold-light);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: block;
}

/* ── Service badges ────────────────────────────────────── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.badge {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  border: 1px solid var(--sage-light);
  padding: 0.38rem 0.85rem;
}

/* ── Hours ─────────────────────────────────────────────── */
.hours-table {
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin-top: 1.5rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 0.62rem 0.4rem;
  color: var(--text-secondary);
}

.hours-table td:first-child {
  font-weight: 400;
  color: var(--text-primary);
  text-transform: capitalize;
  min-width: 130px;
}

/* ── Menu / Drinks ─────────────────────────────────────── */
.menu-intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 3.5rem;
  text-align: center;
  line-height: 1.65;
  border-left: 2px solid var(--gold-light);
  padding-left: 1.2rem;
  text-align: left;
}

.menu-section {
  margin-bottom: 3.5rem;
}

.menu-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.4rem;
}

.menu-section-note {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  font-style: italic;
  margin-bottom: 1.2rem;
}

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

.menu-item:last-child { border-bottom: none; }

.menu-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.menu-item-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.menu-placeholder {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-left: 2px solid var(--border);
  padding: 0.6rem 1rem;
  margin: 1rem 0;
  background: var(--bg-alt);
}

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero {
  position: relative;
  width: 100%;
  height: clamp(200px, 38vw, 360px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(41,25,15,0.72) 0%, rgba(41,25,15,0.2) 55%, transparent 100%);
}

.page-hero-title {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 2.5rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 300;
  font-style: italic;
  color: #f2e6d5;
  letter-spacing: 0.04em;
}

/* ── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

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

.contact-block { margin-bottom: 2rem; }

.contact-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  display: block;
}

.contact-value {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.65;
}

.contact-value a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.contact-value a:hover {
  color: var(--sage-dark);
  border-bottom-color: var(--sage);
}

.map-embed {
  width: 100%;
  height: 340px;
  border: 1px solid var(--border);
  filter: grayscale(20%);
}

/* ── About ─────────────────────────────────────────────── */
.about-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.58;
  color: var(--text-secondary);
  border-left: 2px solid var(--gold-light);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* ── Image band ────────────────────────────────────────── */
.image-band {
  width: 100%;
  height: clamp(200px, 36vw, 440px);
  overflow: hidden;
  position: relative;
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Fade-up animation ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeUp 0.85s ease both;
}

.hero-eyebrow  { animation-delay: 0.1s; }
.hero h1       { animation-delay: 0.25s; }
.hero-tagline  { animation-delay: 0.4s; }
.btn           { animation-delay: 0.55s; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  padding: 1.3rem 1.5rem;
  text-align: center;
}

.site-footer p {
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--footer-text);
  margin: 0;
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.8;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--sage-light);
}

/* ── Narrow utility ────────────────────────────────────── */
.narrow {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive patches ────────────────────────────────── */
@media (max-width: 767px) {
  .header-inner { padding: 0 1.25rem; }

  .feature-img-wrap img { height: 260px; }

  .section { padding: 3.5rem 0; }
}

@media (min-width: 1440px) {
  html { font-size: 17px; }
}
