/* ============================================================
   Ember & Oak — Restaurant (bold & colorful, single-page)
   AnubTech demo
============================================================ */

:root {
  --ink: #1a1109;
  --ink-soft: #4a3b2c;
  --cream: #fdf6ec;
  --cream-2: #f6ebd9;
  --ember: #e8501f;   /* fiery orange */
  --ember-dark: #c23c12;
  --gold: #f4b942;    /* warm gold */
  --plum: #2b1020;    /* deep night */
  --leaf: #3f7a52;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -20px rgba(43, 16, 32, .45);
  --maxw: 1160px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.section { padding: clamp(60px, 9vw, 120px) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--ember);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold); }

.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-weight: 700;
  font-family: var(--font-body);
  border: none; cursor: pointer;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-size: .98rem;
}
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ember); color: #fff; box-shadow: 0 12px 30px -10px rgba(232,80,31,.7); }
.btn--primary:hover { background: var(--ember-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cream); border: 2px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--pill { background: var(--ember); color: #fff; padding: 10px 22px; }
.btn--pill:hover { background: var(--ember-dark); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 10px 0;
}
.nav.is-stuck {
  background: rgba(253,246,236,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px -14px rgba(43,16,32,.4);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 900; }
.brand__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ember); color: #fff; font-size: .95rem; letter-spacing: -.03em;
}
.brand__name { font-size: 1.25rem; color: var(--cream); transition: color .3s; }
.nav.is-stuck .brand__name { color: var(--ink); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 600; color: var(--cream); transition: color .2s; }
.nav.is-stuck .nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--ember); }
.nav.is-stuck .nav__links a.btn--pill,
.nav__links a.btn--pill { color: #fff; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--cream); border-radius: 2px; transition: .3s; }
.nav.is-stuck .nav__toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--cream); padding-top: 90px; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(120deg, rgba(43,16,32,.92) 0%, rgba(43,16,32,.55) 45%, rgba(232,80,31,.35) 100%),
    url("../assets/img/hero-bg.jpg") center/cover no-repeat;
}
.hero__inner { max-width: 760px; }
.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 560px; color: #f3e4d3; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 54px; }
.hero__meta { display: flex; gap: 42px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.2); padding-top: 26px; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.hero__meta span { font-size: .9rem; color: #e7d6c4; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ember); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee__track {
  display: flex; gap: 28px; white-space: nowrap; width: max-content;
  animation: scroll 24s linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .01em;
}
.marquee__track span { opacity: .95; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; bottom: -22px; right: -18px;
  background: var(--gold); color: var(--plum);
  border-radius: 18px; padding: 18px 22px; text-align: center; box-shadow: var(--shadow);
}
.about__badge-num { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; line-height: 1; }
.about__badge-txt { font-size: .8rem; font-weight: 700; }
.about__body p { color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; }
.about__points { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.about__points li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.about__points span { font-size: 1.3rem; }

/* ---------- Menu ---------- */
.menu { background: var(--plum); color: var(--cream); }
.menu .eyebrow { color: var(--gold); }
.menu__tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.menu__tab {
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 11px 24px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--cream); border: 2px solid rgba(253,246,236,.25);
  transition: .2s;
}
.menu__tab:hover { border-color: var(--gold); }
.menu__tab.is-active { background: var(--ember); border-color: var(--ember); color: #fff; }
.menu__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 60px; }
.menu__item {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px dashed rgba(253,246,236,.16);
}
.menu__item h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.menu__price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--gold); }
.menu__desc { grid-column: 1 / -1; color: #cdbba9; font-size: .96rem; }
.menu__tag { display: inline-block; margin-left: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); background: rgba(232,80,31,.15); padding: 2px 8px; border-radius: 6px; vertical-align: middle; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10px; }
.gallery__grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gallery__grid img:hover { transform: scale(1.04); filter: saturate(1.15); }
.gallery__grid img:first-child { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Reserve ---------- */
.reserve { background: linear-gradient(160deg, var(--ember) 0%, var(--ember-dark) 100%); color: #fff; }
.reserve__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.reserve .section__title { color: #fff; }
.reserve__intro p { color: #ffe6d8; font-size: 1.08rem; margin-top: 16px; }
.reserve__contact { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; font-weight: 700; }
.reserve__form { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 2px solid var(--cream-2); background: #fff; font: inherit; color: var(--ink);
  transition: border .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ember); }
.reserve__note { margin-top: 16px; text-align: center; font-weight: 700; color: var(--leaf); }

/* ---------- Footer ---------- */
.footer { background: var(--plum); color: var(--cream); padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.brand--footer .brand__name { color: var(--cream); }
.footer__tag { color: #b9a795; margin-top: 14px; }
.footer h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 14px; color: var(--gold); }
.footer p { color: #cdbba9; }
.footer__social { display: flex; flex-direction: column; gap: 8px; }
.footer__social a:hover { color: var(--ember); }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(253,246,236,.14); padding: 24px 24px; margin-top: 10px;
  font-size: .88rem; color: #b9a795;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    background: var(--plum); padding: 40px; transform: translateX(100%); transition: transform .35s ease;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { color: var(--cream) !important; font-size: 1.2rem; }
  .nav__toggle { display: flex; }
  .about__grid, .reserve__grid { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16/11; }
  .menu__list { grid-template-columns: 1fr; gap: 0; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid img:first-child { grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .field--row { grid-template-columns: 1fr; }
  .hero__meta { gap: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
}
