/* ========================================
   EMBER & OAK KITCHEN — Stylesheet
   ======================================== */

:root {
  --cream: #faf6f0;
  --cream-dark: #f0e8da;
  --amber: #d4a054;
  --amber-light: #e8c88a;
  --amber-dark: #b8862e;
  --wood: #2a1f14;
  --wood-mid: #3d2e1e;
  --wood-light: #5a4633;
  --charcoal: #1a1410;
  --text: #2c2418;
  --text-light: #6b5d4f;
  --text-muted: #9a8b7a;
  --white: #ffffff;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }

/* Typography */
.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--wood);
}
.section-subtitle {
  color: var(--text-light);
  max-width: 560px;
  font-size: 1.05rem;
}
.center { text-align: center; }
.section-subtitle.center { margin-left: auto; margin-right: auto; }

/* ====== NAV ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(26, 20, 16, .95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.nav-logo span { color: var(--amber); }
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--amber); }
.nav-cta {
  background: var(--amber) !important;
  color: var(--wood) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--amber-light) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(212,160,84,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(180,100,20,.08) 0%, transparent 50%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,20,16,.4) 0%, rgba(26,20,16,.1) 40%, rgba(26,20,16,.6) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  10% { opacity: .6; }
  90% { opacity: .1; }
  100% { opacity: 0; transform: translateY(-100vh) scale(.3); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}
.hero-pre {
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--amber);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Animate in */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp .8s ease forwards;
}
.animate-in:nth-child(1) { animation-delay: .2s; }
.animate-in:nth-child(2) { animation-delay: .4s; }
.animate-in:nth-child(3) { animation-delay: .6s; }
.animate-in:nth-child(4) { animation-delay: .8s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--amber);
  opacity: .6;
  animation: bounce 2s ease infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .02em;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--amber);
  color: var(--wood);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,160,84,.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ====== SECTION ====== */
.section { padding: 100px 0; }

/* ====== ABOUT ====== */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-image { position: relative; }
.about-img-placeholder {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}
.about-img-placeholder svg { width: 100%; display: block; }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(212,160,84,.4);
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--wood);
  line-height: 1;
}
.about-badge-text {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--wood);
  text-align: center;
  line-height: 1.3;
}
.about-lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--wood);
  margin-bottom: 20px;
}
.about-text p { margin-bottom: 16px; color: var(--text-light); }
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-dark);
}
.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ====== DIVIDER ====== */
.divider {
  background: var(--wood);
  padding: 32px 0;
}
.divider-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--amber);
}
.divider-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream-dark);
  text-align: center;
}

/* ====== MENU ====== */
.menu { background: var(--charcoal); color: var(--white); }
.menu .section-label { color: var(--amber); }
.menu .section-title { color: var(--white); }
.menu .section-subtitle { color: rgba(255,255,255,.5); }

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 48px 0 40px;
  flex-wrap: wrap;
}
.menu-tab {
  padding: 10px 28px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.6);
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.menu-tab:hover { border-color: var(--amber); color: var(--amber); }
.menu-tab.active {
  background: var(--amber);
  color: var(--wood);
  border-color: var(--amber);
  font-weight: 600;
}

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.menu-item {
  padding: 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  transition: all var(--transition);
}
.menu-item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(212,160,84,.2);
  transform: translateY(-2px);
}
.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 16px;
}
.menu-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}
.menu-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--amber);
  font-weight: 700;
  white-space: nowrap;
}
.menu-item p {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}
.menu-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 12px;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 50px;
  background: rgba(212,160,84,.15);
  color: var(--amber);
}
.menu-tag.veg {
  background: rgba(76,175,80,.15);
  color: #81c784;
}

/* ====== GALLERY STRIP ====== */
.gallery-strip {
  background: var(--wood);
  padding: 0;
  overflow: hidden;
}
.gallery-track {
  display: flex;
  animation: scroll-gallery 20s linear infinite;
}
@keyframes scroll-gallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gallery-item {
  min-width: 280px;
  height: 200px;
  flex-shrink: 0;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,160,84,.1), rgba(212,160,84,.05));
  border-right: 1px solid rgba(255,255,255,.05);
  font-size: 2.5rem;
  color: var(--amber);
}
.gallery-placeholder small {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ====== HOURS ====== */
.hours { background: var(--cream-dark); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.hours-table { margin: 32px 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .95rem;
}
.hours-row span:first-child { color: var(--text-light); }
.hours-row span:last-child { font-weight: 600; color: var(--wood); }
.hours-row.highlight {
  color: var(--amber-dark);
  border-bottom: 1px solid rgba(212,160,84,.2);
}
.hours-row.highlight span { color: var(--amber-dark) !important; }
.hours-address { margin-top: 24px; }
.hours-address p { margin-bottom: 4px; color: var(--text-light); }
.hours-address strong { color: var(--wood); }
.hours-address a { color: var(--amber-dark); font-weight: 500; }
.hours-address a:hover { color: var(--amber); }

.map-placeholder {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}
.map-placeholder svg { width: 100%; display: block; }
.map-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 8px 20px;
  background: var(--amber);
  color: var(--wood);
  font-size: .85rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--transition);
}
.map-link:hover { background: var(--amber-light); transform: translateY(-1px); }

/* ====== RESERVATION ====== */
.reserve { background: var(--wood); color: var(--white); padding: 100px 0; }
.reserve .section-label { color: var(--amber); }
.reserve .section-title { color: var(--white); }
.reserve p { color: rgba(255,255,255,.6); }
.reserve-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.reserve-features { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.reserve-feat { display: flex; gap: 16px; align-items: flex-start; }
.feat-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.reserve-feat strong { display: block; color: var(--white); font-size: .95rem; }
.reserve-feat p { font-size: .85rem; color: rgba(255,255,255,.4); margin: 0; }

.reserve-form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  transition: all var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  background: rgba(212,160,84,.06);
  box-shadow: 0 0 0 3px rgba(212,160,84,.1);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--wood); color: var(--white); }
.form-note {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3) !important;
  margin-top: 16px;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.5);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--amber); }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--amber); }
.footer-addr { font-size: .9rem; line-height: 1.7; margin-top: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .8rem;
}
.footer-credit a { color: var(--amber); }
.footer-credit a:hover { color: var(--amber-light); }

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .about-grid,
  .hours-grid,
  .reserve-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image { max-width: 400px; margin: 0 auto; }
  .menu-grid { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(26,20,16,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 24px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }

  .about-stats { flex-direction: column; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .reserve-form-wrap { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 72px 0; }
  .gallery-item { min-width: 200px; height: 150px; }
}
