/* ═══════════════════════════════════════════════════════════════
   BEIJAFLOR
   Two main colours: dark green + warm tan. Small gold hints only.
═══════════════════════════════════════════════════════════════ */

:root {
  --green:      #4A5C2F;
  --green-mid:  #5C7239;
  --green-dark: #343F1F;
  --tan:        #D9C9A3;
  --tan-mid:    #C4AF85;
  --tan-light:  #EEE5CC;
  --tan-card:   #E5D9B6;
  --gold:       #8B6914;
  --text-on-tan:   #2E3A1A;
  --text-mid-tan:  #4A5530;
  --text-muted-tan:#6B7550;
  --text-on-green: rgba(217,201,163,0.85);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--tan-light);
  color: var(--text-on-tan);
  line-height: 1.7;
}

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

/* ── Layout ─────────────────────────────────────────────────── */
.container        { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 680px; }
.section          { padding: 90px 0; }

.section-tan      { background: var(--tan-light); }
.section-green-menu { background: var(--green); }
.section-tan-alt  { background: var(--tan); }
.section-green    { background: var(--green); }

/* ── Eyebrows & titles ──────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* on green sections */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--tan);
  margin-bottom: 3rem;
}

/* on tan/light sections */
.section-title-dark { color: var(--green); }
/* menu section title stays tan (on green bg) */
.section-title-green-bg { color: var(--tan); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 35%, rgba(139,105,20,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 75%, rgba(74,92,47,0.2) 0%, transparent 50%),
    linear-gradient(160deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 2rem 0 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--tan);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-green);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover { color: var(--tan); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--tan);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero content ───────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 6rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--tan-mid);
  margin-bottom: 2.5rem;
}

.btn-hero {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: 1px solid rgba(212,196,168,0.4);
  color: var(--tan);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s;
}

.btn-hero:hover {
  background: var(--tan);
  color: var(--green);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--tan-mid));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   SPLIT SECTIONS
══════════════════════════════════════════════════════════════ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--tan-light);
}

.split-section-reverse .split-image { order: 2; }
.split-section-reverse .split-text  { order: 1; }

.split-image { overflow: hidden; }

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.split-image:hover .photo-placeholder { transform: scale(1.03); }

.photo-bar {
  background-image: url('../photos/bar_image.jpeg');
  background-size: cover;
  background-position: center;
}

.photo-food {
  background-image: url('../photos/drink_image.png');
  background-size: cover;
  background-position: center;
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}

.split-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.split-text p {
  font-size: 0.92rem;
  color: var(--text-mid-tan);
  line-height: 1.85;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.happy-days {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-bottom: 0.5rem !important;
}

/* ══════════════════════════════════════════════════════════════
   MENU  — tan background, green text, cards in slightly deeper tan
══════════════════════════════════════════════════════════════ */
.menu-category { margin-bottom: 4rem; }

.menu-category-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--tan);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212,196,168,0.25);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.menu-item {
  background: var(--tan-card);
  border: 1px solid var(--tan-mid);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.menu-item:hover {
  border-color: var(--green-mid);
  box-shadow: 0 2px 12px rgba(45,74,62,0.1);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.menu-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-on-tan);
}

.price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.menu-item p {
  font-size: 0.85rem;
  color: var(--text-mid-tan);
  line-height: 1.65;
  font-weight: 300;
}

.tag {
  display: inline-block;
  background: var(--green);
  color: var(--tan);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 4px;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

.menu-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(212,196,168,0.5);
  font-style: italic;
  border-top: 1px solid rgba(212,196,168,0.2);
  padding-top: 1.25rem;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════
   OPENING HOURS  — tan/off-white bg
══════════════════════════════════════════════════════════════ */
.hours-table {
  border: 1px solid var(--tan-mid);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--tan-mid);
  transition: background 0.15s;
}

.hours-row:last-child { border-bottom: none; }
.hours-row:hover { background: rgba(45,74,62,0.04); }
.hours-row.highlight { background: rgba(45,74,62,0.06); }

.day {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
}

.time {
  font-size: 0.9rem;
  color: var(--text-mid-tan);
  font-variant-numeric: tabular-nums;
}

.time.closed { color: var(--tan-mid); font-style: italic; }

.hours-note {
  font-size: 0.82rem;
  color: var(--text-muted-tan);
  font-style: italic;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   RESERVATIONS  — green bg, centred, elegant
══════════════════════════════════════════════════════════════ */
.section-reservations {
  background: var(--green);
  position: relative;
  overflow: hidden;
}

.section-reservations::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(154,122,46,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 50%, rgba(58,94,80,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.reservations-inner {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.reservations-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  opacity: 0.6;
}

.reservations-note {
  font-size: 0.95rem;
  color: var(--text-on-green);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.reservations-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--tan);
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 8px;
  transition: color 0.2s;
}

.reservations-phone::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 1px;
  background: var(--tan-mid);
  transition: width 0.3s ease, background 0.2s;
}

.reservations-phone:hover { color: var(--tan-light); }
.reservations-phone:hover::after { width: 100%; background: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   LOCATION  — tan-light bg
══════════════════════════════════════════════════════════════ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.location-details { display: flex; flex-direction: column; gap: 1.75rem; }

.location-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.location-block p {
  font-size: 0.88rem;
  color: var(--text-mid-tan);
  line-height: 1.7;
  font-weight: 300;
}

.location-block a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.btn-directions {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: var(--green);
  color: var(--tan);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-directions:hover { background: var(--green-mid); }

.map-container {
  height: 440px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--tan-mid);
  box-shadow: 0 4px 20px rgba(45,74,62,0.1);
}

.map-container iframe { width: 100%; height: 100%; display: block; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--green-dark);
  color: var(--tan-mid);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(212,196,168,0.15);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--tan);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan-mid);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--tan); }

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  opacity: 0.75;
  font-weight: 300;
}

.footer-contact a { color: var(--tan-mid); transition: color 0.2s; }
.footer-contact a:hover { color: var(--tan); }

.footer-bottom {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.3;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   STICKY HEADER
══════════════════════════════════════════════════════════════ */
.site-header.sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(74,92,47,0.97);
  backdrop-filter: blur(8px);
  padding: 0.9rem 0;
  z-index: 100;
  box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}

.site-header.sticky .header-inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  padding-top: 0;
}

.site-header.sticky .logo { font-size: 1.3rem; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; }
  .split-section-reverse .split-image,
  .split-section-reverse .split-text { order: 0; }
  .photo-placeholder { min-height: 300px; }
  .split-text { padding: 3rem 2rem; }
  .location-grid { grid-template-columns: 1fr; }
  .map-container { height: 300px; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
  }

  .logo { font-size: 1.6rem; }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(74,92,47,0.98);
    z-index: 50;
    justify-content: center;
    align-items: center;
  }

  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 2rem; text-align: center; }
  .main-nav a { font-size: 1rem; letter-spacing: 0.15em; }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-line { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ── resOS widget wrapper ───────────────────────────────────── */
.resos-widget-wrapper {
  max-width: 560px;
  margin: 0 auto;
  background: var(--tan-light);
  border-radius: 4px;
  padding: 2rem;
}


/* ── Food menu tabs ─────────────────────────────────────────── */
.food-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.food-tab-btn {
  background: transparent;
  border: 1px solid rgba(212,196,168,0.35);
  color: var(--tan);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 2rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.food-tab-btn:hover {
  border-color: var(--tan);
  color: var(--tan-light);
}

.food-tab-btn.active {
  background: var(--tan);
  color: var(--green);
  border-color: var(--tan);
}

.food-panel { display: none; }
.food-panel.active { display: block; }

.section-divider {
  width: calc(100% - 4rem);
  max-width: 1100px;
  height: 1px;
  background: rgba(212,196,168,0.25);
  margin: 0 auto;
}



/* ── Menu subsections ───────────────────────────────────────── */
.menu-subsection { margin-bottom: 2.75rem; }
.menu-subsection:last-child { margin-bottom: 0; }

.menu-subsection-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--tan-mid);
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}



/* ── Floral corner flourishes on menu cards ─────────────────── */
.menu-item {
  position: relative;          /* anchor for the corner decorations */
  overflow: hidden;            /* keeps flourishes tidy at edges */
}

.menu-item::before,
.menu-item::after {
  content: '';
  position: absolute;
  width: 46px;
  height: 46px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%238B6914' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M4 4 C 34 8, 40 30, 30 46'/%3E%3Cpath d='M4 4 C 8 34, 30 40, 46 30'/%3E%3Ccircle cx='30' cy='46' r='4' fill='%238B6914' stroke='none'/%3E%3Ccircle cx='46' cy='30' r='4' fill='%238B6914' stroke='none'/%3E%3Cpath d='M4 4 C 18 14, 22 18, 24 30' opacity='0.7'/%3E%3C/g%3E%3C/svg%3E");
}

/* top-left corner */
.menu-item::before {
  top: 6px;
  left: 6px;
}

/* bottom-right corner, rotated to mirror */
.menu-item::after {
  bottom: 6px;
  right: 6px;
  transform: rotate(180deg);
}

/* ── Floral corner-and-edge flourish on menu cards ──────────── */
.menu-item {
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%238B6914' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- interlaced band along top --%3E%3Cpath d='M46 20 L58 12 L70 20 L58 28 Z'/%3E%3Cpath d='M82 20 L94 12 L106 20 L94 28 Z'/%3E%3Cpath d='M118 20 L130 12 L142 20 L130 28 Z'/%3E%3Cpath d='M154 20 L166 12 L178 20 L166 28 Z'/%3E%3Cpath d='M64 20 L76 20 M100 20 L112 20 M136 20 L148 20 M172 20 L188 20'/%3E%3C!-- interlaced band down left --%3E%3Cpath d='M20 46 L12 58 L20 70 L28 58 Z'/%3E%3Cpath d='M20 82 L12 94 L20 106 L28 94 Z'/%3E%3Cpath d='M20 118 L12 130 L20 142 L28 130 Z'/%3E%3Cpath d='M20 154 L12 166 L20 178 L28 166 Z'/%3E%3Cpath d='M20 64 L20 76 M20 100 L20 112 M20 136 L20 148 M20 172 L20 188'/%3E%3C/g%3E%3C!-- eight-point star medallion in corner --%3E%3Cg transform='translate(40,40)' fill='none' stroke='%238B6914' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='-18' y='-18' width='36' height='36' transform='rotate(0)'/%3E%3Crect x='-18' y='-18' width='36' height='36' transform='rotate(45)'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Cpath d='M0 -9 L0 -20 M0 9 L0 20 M-9 0 L-20 0 M9 0 L20 0' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E");
}

.menu-item {
  background: var(--tan-card);
  border: 1px solid var(--tan-mid);
  border-radius: 2px;
  padding: 1.75rem 1.5rem 1.25rem;   /* was 1.25rem 1.5rem */
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}


.reservations-privacy {
  margin-top: 2.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--tan-mid) !important;
  font-weight: 300;
}

.reservations-privacy a {
  color: var(--tan) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.reservations-privacy a:hover { color: var(--gold) !important; }