/* ============================================
   BREWSTONE - Wood-Fired Animated Theme
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- Custom Handwriting Font --- */
@font-face {
  font-family: 'Handwriting Draft';
  src: url('handwriting-draft.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --wine: #722e31;
  --wine-dark: #5a2327;
  --wine-light: #8e3a3e;
  --tan: #796956;
  --tan-light: #a89880;
  --cream: #f5f0e8;
  --cream-dark: #ebe8e2;
  --charcoal: #2a2118;
  --brown: #623c23;
  --brown-dark: #401a01;
  --ember: #e8600a;
  --ember-glow: #ff8c2a;
  --flame: #ff4e00;
  --ash: #3d3530;
  --smoke: rgba(42, 33, 24, 0.7);
  --gold: #c9a84c;

  --font-handwriting: 'Handwriting Draft', cursive;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--tan);
  background: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--wine);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover { color: var(--ember); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--wine);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- ANIMATED EMBER PARTICLES (global background) --- */
.ember-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.ember-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--ember);
  border-radius: 50%;
  opacity: 0;
  animation: floatEmber 6s ease-in infinite;
  box-shadow: 0 0 8px var(--ember-glow), 0 0 16px var(--flame);
}

.ember-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.ember-particle:nth-child(2) { left: 25%; animation-delay: 1.2s; animation-duration: 5s; }
.ember-particle:nth-child(3) { left: 40%; animation-delay: 2.5s; animation-duration: 8s; }
.ember-particle:nth-child(4) { left: 55%; animation-delay: 0.8s; animation-duration: 6s; }
.ember-particle:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 7.5s; }
.ember-particle:nth-child(6) { left: 85%; animation-delay: 1.5s; animation-duration: 5.5s; }
.ember-particle:nth-child(7) { left: 15%; animation-delay: 4s; animation-duration: 6.5s; }
.ember-particle:nth-child(8) { left: 60%; animation-delay: 2s; animation-duration: 8.5s; }

@keyframes floatEmber {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) translateX(35px);
    opacity: 0;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(42, 33, 24, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 80px;
  transition: var(--transition-smooth);
  filter: brightness(1.1);
}

.navbar.scrolled .nav-logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  position: relative;
  overflow: hidden;
}

/* Ember underline animation on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--flame), var(--ember-glow));
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--ember-glow);
}

.nav-links a:hover::after {
  width: 80%;
}

/* Book a Table - special button */
.nav-links .btn-book {
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  border: 1px solid var(--wine-light);
  border-radius: 4px;
  padding: 0.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.nav-links .btn-book:hover {
  background: linear-gradient(135deg, var(--wine-light), var(--wine));
  color: var(--cream);
  box-shadow: 0 4px 15px rgba(114, 46, 49, 0.4);
}

.nav-links .btn-book::before,
.nav-links .btn-book::after { display: none; }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: transform 0.3s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    180deg,
    rgba(42, 33, 24, 0.4) 0%,
    rgba(42, 33, 24, 0.6) 50%,
    rgba(42, 33, 24, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  color: var(--cream);
  font-family: var(--font-handwriting);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeRiseIn 1s 0.3s ease forwards;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: var(--cream-dark);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeRiseIn 1s 0.6s ease forwards;
}

/* Fire glow line under hero heading */
.fire-line {
  width: 120px;
  height: 3px;
  margin: 1.5rem auto;
  background: linear-gradient(90deg, transparent, var(--ember), var(--flame), var(--ember), transparent);
  border-radius: 2px;
  animation: fireLineGlow 2s ease-in-out infinite alternate;
  opacity: 0;
  animation: fadeRiseIn 1s 0.5s ease forwards, fireLineGlow 2s 1.5s ease-in-out infinite alternate;
}

@keyframes fireLineGlow {
  0% {
    box-shadow: 0 0 8px var(--ember), 0 0 20px rgba(232, 96, 10, 0.3);
    width: 120px;
  }
  100% {
    box-shadow: 0 0 15px var(--flame), 0 0 40px rgba(255, 78, 0, 0.4);
    width: 160px;
  }
}

@keyframes fadeRiseIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero CTA Buttons */
.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeRiseIn 1s 0.9s ease forwards;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  color: var(--cream);
  border: none;
}

.btn-primary:hover {
  color: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(114, 46, 49, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--charcoal);
  transform: translateY(-3px);
}

/* ============================================
   PAGE HERO (smaller, for inner pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(42, 33, 24, 0.3) 0%,
    rgba(42, 33, 24, 0.7) 100%
  );
}

.page-hero h1 {
  color: var(--cream);
  font-family: var(--font-handwriting);
  font-size: clamp(3rem, 6vw, 5.5rem);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeRiseIn 0.8s 0.2s ease forwards;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  position: relative;
  z-index: 1;
}

.section-dark {
  background: var(--charcoal);
  color: var(--cream-dark);
}

.section-cream {
  background: var(--cream);
}

.section-brick {
  background: url('/static/images/brick.jpg') center/cover fixed;
  position: relative;
}

.section-brick::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(42, 33, 24, 0.85);
}

.section-brick > * {
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-title .fire-line {
  animation: fireLineGlow 2s ease-in-out infinite alternate;
  opacity: 1;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ============================================
   CONTENT CARDS / GRID
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Image card with hover flame border */
.img-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-card:hover img {
  transform: scale(1.08);
}

.img-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 2px solid transparent;
  border-radius: 8px;
  z-index: 2;
  transition: border-color 0.4s ease;
}

.img-card:hover::before {
  border-color: var(--ember);
  box-shadow: inset 0 0 30px rgba(232, 96, 10, 0.15);
}

.img-card-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(42, 33, 24, 0.9));
  z-index: 2;
}

.img-card-overlay h3 {
  color: var(--cream);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.img-card-overlay p {
  color: var(--cream-dark);
  font-size: 0.9rem;
}

/* ============================================
   MENU CARDS (Food & Drink page)
   ============================================ */
.menu-card {
  background: rgba(42, 33, 24, 0.6);
  border: 1px solid rgba(114, 46, 49, 0.2);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px;
  right: -2px; bottom: -2px;
  background: linear-gradient(135deg, var(--ember), var(--wine), var(--ember-glow));
  border-radius: 10px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-card:hover::before {
  opacity: 1;
}

.menu-card:hover {
  transform: translateY(-8px);
  background: rgba(42, 33, 24, 0.9);
}

.menu-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.menu-card h3 {
  color: var(--cream);
  font-family: var(--font-handwriting);
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}

.menu-card p {
  color: var(--tan-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.menu-card .btn {
  font-size: 0.75rem;
  padding: 0.6rem 1.8rem;
}

/* ============================================
   ABOUT / TEXT + IMAGE SECTIONS
   ============================================ */
.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.about-img::after {
  content: '';
  position: absolute;
  top: 10px; left: 10px;
  right: -10px; bottom: -10px;
  border: 2px solid var(--wine);
  border-radius: 8px;
  z-index: -1;
  transition: all 0.4s ease;
}

.about-img:hover::after {
  top: 5px; left: 5px;
  right: -5px; bottom: -5px;
  border-color: var(--ember);
}

/* ============================================
   PARALLAX DIVIDER
   ============================================ */
.parallax-divider {
  height: 350px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-divider::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(42, 33, 24, 0.7);
}

.parallax-divider .content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
}

.parallax-divider h2 {
  color: var(--cream);
  font-family: var(--font-handwriting);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

/* ============================================
   BOTTOMLESS BRUNCH FEATURE
   ============================================ */
.brunch-feature {
  background: linear-gradient(135deg, var(--wine-dark), var(--charcoal));
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brunch-feature::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(232, 96, 10, 0.08) 0%, transparent 60%);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.brunch-feature h2 {
  color: var(--ember-glow);
  font-family: var(--font-handwriting);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.brunch-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--cream);
  font-weight: 700;
  margin: 1rem 0;
  position: relative;
}

.brunch-feature p {
  color: var(--cream-dark);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  position: relative;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(42, 33, 24, 0.4);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 15px rgba(232, 96, 10, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ============================================
   WHAT'S ON - EVENT CARDS
   ============================================ */
.event-card {
  background: rgba(42, 33, 24, 0.5);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(114, 46, 49, 0.15);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--ember);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.event-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover img {
  transform: scale(1.05);
}

.event-card-body {
  padding: 1.5rem;
}

.event-card-body h3 {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.event-card-body p {
  color: var(--tan-light);
  font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(114, 46, 49, 0.3);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: var(--cream);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.footer p, .footer li, .footer a {
  color: var(--tan-light);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--ember-glow);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(0.9);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(114, 46, 49, 0.2);
  color: var(--tan);
  font-size: 0.8rem;
}

/* Animated fire line in footer */
.footer-fire-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--ember) 20%,
    var(--flame) 40%,
    var(--ember-glow) 50%,
    var(--flame) 60%,
    var(--ember) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: fireLineScroll 3s linear infinite;
  margin-bottom: 2rem;
}

@keyframes fireLineScroll {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Social icons */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 1.1rem;
}

.social-links a:hover {
  border-color: var(--ember);
  background: rgba(232, 96, 10, 0.15);
  color: var(--ember-glow);
  transform: translateY(-3px);
}

/* ============================================
   HOMEPAGE FEATURE SECTIONS
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-item {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.feature-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.feature-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.feature-item-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(transparent 40%, rgba(42, 33, 24, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.4s ease;
}

.feature-item:hover .feature-item-overlay {
  background: linear-gradient(transparent 20%, rgba(42, 33, 24, 0.95) 100%);
}

.feature-item-overlay h3 {
  color: var(--cream);
  font-family: var(--font-handwriting);
  font-size: 2.2rem;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.feature-item:hover .feature-item-overlay h3 {
  transform: translateY(0);
}

.feature-item-overlay p {
  color: var(--cream-dark);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
  margin-top: 0.5rem;
}

.feature-item:hover .feature-item-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   BOOKING EMBED
   ============================================ */
.booking-wrapper {
  background: var(--cream);
  border-radius: 12px;
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(0.3) contrast(1.1);
  transition: filter 0.4s ease;
}

.map-section iframe:hover {
  filter: grayscale(0) contrast(1);
}

/* ============================================
   OPENING HOURS TABLE
   ============================================ */
.hours-table {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.hours-table tr {
  border-bottom: 1px solid rgba(114, 46, 49, 0.15);
}

.hours-table td {
  padding: 0.8rem 0;
  color: var(--cream-dark);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--cream);
}

.hours-table td:last-child {
  text-align: right;
}

/* ============================================
   WOOD GRAIN TEXTURE OVERLAY
   ============================================ */
.wood-texture::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.03;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(121, 105, 86, 0.3) 2px,
    rgba(121, 105, 86, 0.3) 4px
  );
  pointer-events: none;
}

/* ============================================
   SMOKE EFFECT (hero top)
   ============================================ */
.smoke-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(42, 33, 24, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(42, 33, 24, 0.15) 0%, transparent 50%);
  animation: smokeShift 10s ease-in-out infinite alternate;
}

@keyframes smokeShift {
  0% { opacity: 0.6; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(20px); }
}

/* ============================================
   SERVING STATUS BADGE
   ============================================ */
.serving-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42, 33, 24, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeRiseIn 1s 0.45s ease forwards;
}

.serving-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.serving-dot.open {
  background: #6fcf6f;
  box-shadow: 0 0 6px rgba(111, 207, 111, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

.serving-dot.bar {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(201, 168, 76, 0.5);
  animation: dotPulse 3s ease-in-out infinite;
}

.serving-dot.closed {
  background: var(--tan);
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.65); }
}

.serving-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.serving-label.open  { color: #6fcf6f; }
.serving-label.bar   { color: var(--gold); }
.serving-label.closed { color: var(--tan-light); }

.serving-divider {
  color: rgba(255, 255, 255, 0.25);
}

.serving-text {
  color: var(--cream-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Mobile nav overlay backdrop */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 1024px) {
  .grid-4, .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Fix background-attachment: fixed on tablets/iOS (causes render bugs) */
  .hero-bg,
  .section-brick,
  .parallax-divider {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  /* Container spacing */
  .container {
    padding: 0 1.25rem;
  }

  /* Hamburger */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(42, 33, 24, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  /* Grids collapse to single column */
  .grid-2, .grid-3, .grid-4, .feature-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 { gap: 2rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Sections */
  .section-padding {
    padding: 4rem 0;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  /* Stack hero buttons */
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  /* Feature items */
  .feature-item { height: 260px; }

  /* Feature grid: 2 columns on tablets */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Remove about image border offset that overflows on mobile */
  .about-img::after {
    display: none;
  }

  /* Form inputs: 16px prevents iOS auto-zoom */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }

  /* Booking wrapper */
  .booking-wrapper {
    padding: 1.25rem;
    border-radius: 8px;
  }

  /* Map */
  .map-section iframe {
    height: 280px;
  }

  /* Menu cards */
  .menu-card {
    padding: 2rem 1.5rem;
  }

  /* Page hero */
  .page-hero {
    height: 40vh;
    min-height: 260px;
  }

  /* Brunch feature */
  .brunch-feature {
    padding: 2.5rem 1.5rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-btns .btn {
    max-width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item { height: 220px; }

  .brunch-price { font-size: 2.5rem; }
  .brunch-feature { padding: 2rem 1.25rem; }
  .brunch-feature h2 { font-size: 2rem; }

  .footer-grid {
    gap: 1.5rem;
  }

  .event-card img {
    height: 200px;
  }

  /* Tighten page hero on small phones */
  .page-hero {
    height: 35vh;
    min-height: 220px;
  }

  /* Hours table full width */
  .hours-table {
    max-width: 100%;
  }
}
