/* ═══════════════════════════════════════════
   VARIABLES & RESET
   ═══════════════════════════════════════════ */
:root {
  --color-bg: #fdfcf9;
  --color-dark: #1a1a1a;
  --color-accent: #c47b59; /* Ember orange/brown */
  --color-text: #333333;
  --color-muted: #666666;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   UTILITIES & REUSABLES
   ═══════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

h1, h2, h3 { 
  font-family: var(--font-serif); 
  font-weight: 400; 
  color: var(--color-dark);
}

h2 { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.1; }

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--color-dark);
}

.btn-primary { background: var(--color-dark); color: white; }
.btn-primary:hover { background: var(--color-accent); border-color: var(--color-accent); }

.btn-ghost { color: var(--color-dark); }
.btn-ghost:hover { background: var(--color-dark); color: white; }

/* ═══════════════════════════════════════════
   ANIMATION STATES (For JS)
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   HEADER & NAV
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
  color: var(--color-bg);
}

.site-header .logo,
.site-header .logo-text,
.site-header .main-nav ul li a {
  color: inherit; 
  transition: color 0.4s ease;
}

.site-header.scrolled {
  background: white;
  color: var(--color-dark);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo { 
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.main-nav ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
.main-nav a { text-decoration: none; color: var(--color-dark); font-size: 0.9rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

.hero-headline { color: white; font-size: 5rem; line-height: 1; margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2rem; }

/* ═══════════════════════════════════════════
   MENU TABS
   ═══════════════════════════════════════════ */
.menu-tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #ddd;
}

.tab-btn {
  background: none; border: none;
  padding-bottom: 1rem;
  font-family: var(--font-sans);
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
}

.tab-btn.active { opacity: 1; border-bottom: 2px solid var(--color-accent); }

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

.menu-item-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #ccc;
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════
   GALLERY MASONRY-ISH
   ═══════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-headline { font-size: 3rem; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: auto; }
}

/* ═══════════════════════════════════════════
   RESERVATION FORM - ELEVATED STYLE
   ═══════════════════════════════════════════ */

/* Grid Layout for the Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Text on left, Form on right */
  gap: 4rem;
  align-items: start;
}

/* The Form Container */
.reservation-form {
  background: #ffffff;
  padding: 3rem;
  border: 1px solid #eaeaea;
  box-shadow: 10px 10px 0px rgba(196, 123, 89, 0.1); /* Subtle accent shadow */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Rows (2 columns) */
.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Labels */
.reservation-form label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  color: var(--color-dark);
}

/* Inputs, Selects, and Textarea */
.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  padding: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1.5px solid #e0e0e0;
  background-color: #fafafa;
  color: var(--color-dark);
  transition: all 0.3s ease;
  border-radius: 0; /* Sharp edges for a modern architectural look */
  appearance: none; /* Removes default mobile styling */
}

/* Custom Arrow for Selects */
.reservation-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Focus State - The "Ember" Glow */
.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  outline: none;
  border-color: var(--color-accent); /* Your orange/brown accent */
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(196, 123, 89, 0.05);
}

/* Full-Width Button */
.btn-full {
  width: 100%;
  margin-top: 1rem;
  padding: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Error Messages */
.field-error {
  font-size: 0.75rem;
  color: #b03a2e;
  margin-top: 0.4rem;
  font-weight: 400;
}

/* Success Message */
.form-success {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: #f1f8f1;
  border-left: 4px solid #28a745;
  color: #1e4620;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  margin-top: 0.5rem;
}

/* Responsive Fixes */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .reservation-form {
    padding: 2rem 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}


/* ═══════════════════════════════════════════
   ABOUT SECTION - EDITORIAL STYLE
   ═══════════════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr; /* Image slightly smaller than text area */
  gap: 5rem;
  align-items: center;
}

/* Image Wrapper with Depth */
.about-image-wrap {
  position: relative;
  padding: 2rem; /* Space for the offset borders */
}

/* Creating a decorative offset frame behind the image */
.about-image-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  border: 1px solid var(--color-accent);
  z-index: -1;
  transition: var(--transition);
}

.about-img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
  filter: sepia(10%) contrast(105%); /* Slight vintage/warm restaurant filter */
}

/* Floating Badge Design */
.about-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--color-dark);
  color: #fff;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: rotate(-10deg); /* Playful organic tilt */
  z-index: 2;
}

/* About Copy Enhancements */
.about-copy p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  max-width: 90%;
}

/* The Pillars (Values) - Styled as a Premium List */
.about-pillars {
  list-style: none;
  margin-top: 3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-pillars li {
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

/* Custom Bullet - matches your logo icon */
.about-pillars li::before {
  content: "✦";
  color: var(--color-accent);
  font-size: 0.8rem;
}

.about-pillars li strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-dark);
  min-width: 100px; /* Aligns the descriptions */
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-copy {
    text-align: center;
  }
  
  .about-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-pillars li {
    justify-content: center;
  }
}


/* Animation tweaks */
.about-image-wrap.reveal {
  opacity: 0;
  transform: translateX(-50px); /* Slides in from left */
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-copy.reveal {
  opacity: 0;
  transform: translateX(50px); /* Slides in from right */
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════
   TAGS - PILL STYLE
   ═══════════════════════════════════════════ */

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* The "Pill" Shape */
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  
  /* Typography */
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  
  /* Spacing from text above */
  margin-top: 0.8rem;
  transition: var(--transition);
}

/* 1. Default / Chef's Pick (Ember Orange) */
.tag {
  background-color: rgba(196, 123, 89, 0.1); /* Light version of accent */
  color: var(--color-accent);
  border: 1px solid rgba(196, 123, 89, 0.2);
}

/* 2. Vegetarian / Vegan (Sage Green) */
.tag.tag-veg,
.tag.tag-vegan {
  background-color: #f1f4f0; /* Soft botanical green */
  color: #5e6d5a;
  border: 1px solid rgba(94, 109, 90, 0.2);
}

/* 3. Non-Alcoholic / Special (Muted Charcoal) */
.tag-alt {
  background-color: #f0f0f0;
  color: #666;
  border: 1px solid #e0e0e0;
}

/* Subtle Hover Effect */
.menu-item:hover .tag {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}


/* ═══════════════════════════════════════════
   HOURS & MAP - STATIONERY STYLE
   ═══════════════════════════════════════════ */

.hours-map-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

/* Address Styling */
.address {
  font-style: normal;
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.address a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.address a:hover {
  border-bottom-color: var(--color-accent);
}

/* Opening Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.hours-table tr {
  border-bottom: 1px solid #eee;
}

.hours-table th, 
.hours-table td {
  padding: 1.2rem 0;
  font-size: 0.95rem;
  text-align: left;
}

.hours-table th {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.hours-table td {
  text-align: right;
  color: var(--color-dark);
  font-variant-numeric: tabular-nums; /* Keeps numbers aligned perfectly */
}

/* Highlighting specific states */
.closed {
  color: #a0a0a0;
  font-style: italic;
  font-family: var(--font-serif);
  text-transform: capitalize;
  letter-spacing: 0;
}

.hours-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-style: italic;
  border-left: 2px solid var(--color-accent);
  padding-left: 1.5rem;
  max-width: 400px;
}

/* Map Block with Offset Frame */
.map-block {
  position: relative;
  line-height: 0; /* Removes weird iframe spacing at bottom */
}

.map-block::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  border: 1px solid var(--color-border);
  z-index: -1;
  transition: var(--transition);
}

.map-block iframe {
  filter: grayscale(100%) contrast(0.8) invert(0.05); /* Makes map match the brand aesthetic */
  transition: filter 0.5s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.map-block:hover iframe {
  filter: grayscale(0%) contrast(1) invert(0); /* Pops into color on hover */
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 992px) {
  .hours-map-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .map-block {
    margin-right: 1.5rem; /* Room for the offset frame */
  }

  .hours-block {
    order: 1;
  }
  
  .map-block {
    order: 2;
  }
}


/* ═══════════════════════════════════════════
   FOOTER - THE ANCHOR
   ═══════════════════════════════════════════ */

.site-footer {
  background-color: var(--color-dark);
  color: #ffffff;
  padding: 5rem 0 2rem; /* Generous top padding */
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; /* Brand, Nav, Social */
  gap: 4rem;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4rem;
}

/* Brand Section */
.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  display: block;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-brand .logo-icon {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #a0a0a0;
  max-width: 250px;
}

/* Navigation & Social Links */
.footer-nav, 
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a, 
.footer-social a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  width: fit-content;
}

.footer-nav a:hover, 
.footer-social a:hover {
  color: var(--color-accent);
}

/* Label for the Social section (optional enhancement) */
.footer-social::before {
  content: "Follow Us";
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-muted);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

/* Bottom Copyright Bar */
.footer-copy {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.05em;
}

.footer-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy a:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-nav, 
  .footer-social {
    align-items: center;
  }
}


input.invalid,
select.invalid {
  border-color: var(--color-error, #c0392b);
}
.field-error {
  display: block;
  color: var(--color-error, #c0392b);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  min-height: 1.1em; /* prevents layout shift */
}


.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #1a1a1a;
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  white-space: nowrap;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  color: #4caf50;
  font-size: 1.1rem;
}

.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #2c2c2c;
  color: #e8e8e8;
  font-size: 0.85rem;
  padding: 0.65rem 3rem 0.65rem 1.25rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  z-index: 10000;
}

.demo-banner--visible {
  transform: translateY(0);
}

.demo-banner-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.demo-banner-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: #aaa;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.demo-banner-close:hover {
  color: #fff;
}