/* Promenada Bucovăț — mobile-first styles. No build step. */

:root {
  --espresso: #16100b;
  --espresso-2: #201812;
  --espresso-3: #2b2119;
  --cream: #f8f1e6;
  --cream-2: #efe3d0;
  --paper: #fffaf3;
  --ink: #1d1712;
  --ink-soft: #6a5c4e;
  --on-dark: #f6ede1;
  --on-dark-soft: #c9b8a4;
  --line-dark: rgba(246, 237, 225, .12);
  --line: #e4d6c1;
  --gold: #b88a57;
  --gold-light: #d8b384;
  --amber: #f4a72a;
  --amber-hover: #ffb942;
  --red: #d42a2a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22, 16, 11, .06), 0 12px 32px rgba(22, 16, 11, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --brand: "Cinzel", Georgia, "Times New Roman", serif;
  --dock-h: 64px;
  --top-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 56px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font: 16px/1.55 var(--font);
  color: var(--ink);
  background: var(--espresso);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-soft); font-size: .9rem; margin: .9rem 0 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ================= Top bar ================= */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  color: var(--on-dark);
  transition: background .25s ease, box-shadow .25s ease;
}
.topbar.is-solid { background: rgba(22, 16, 11, .92); backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.topbar__inner { display: flex; align-items: center; gap: 12px; height: var(--top-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); background: #fff; object-fit: cover; }
.brand__name { font: 700 1.15rem/1 var(--brand); letter-spacing: .06em; text-transform: uppercase; display: flex; flex-direction: column; }
.brand__name small { font: 500 .62rem/1.4 var(--font); letter-spacing: .28em; color: var(--gold-light); }

.nav { display: none; gap: 2px; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--on-dark-soft); transition: color .15s, background .15s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.lang { display: flex; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--on-dark); font-weight: 600; font-size: .78rem; padding: 7px 11px; border-radius: 999px; cursor: pointer; min-width: 40px; }
.lang button[aria-pressed="true"] { background: var(--amber); color: var(--ink); }

/* ================= Hero ================= */
/* Mobile: photo block on top, text below it (overlapping the faded bottom edge). */
.hero { position: relative; color: var(--on-dark); background: var(--espresso); overflow: hidden; isolation: isolate; }
.hero__bg { position: relative; display: block; aspect-ratio: 1 / 1.02; overflow: hidden; z-index: -1; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 16, 11, .7) 0%, rgba(22, 16, 11, 0) 24%),
    linear-gradient(0deg, rgba(22, 16, 11, 1) 0%, rgba(22, 16, 11, .7) 22%, rgba(22, 16, 11, 0) 50%);
}
.hero__inner { position: relative; margin-top: -84px; padding-bottom: 36px; }

.status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: rgba(22, 16, 11, .55); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px); font-size: .86rem; font-weight: 600;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #9a8f80; flex: none; }
.status[data-state="open"] .status__dot { background: #3ddc84; animation: pulse 2s infinite; }
.status[data-state="closing"] .status__dot { background: var(--amber); }
.status[data-state="closed"] .status__dot { background: #ff6b6b; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.hero__title { display: flex; flex-direction: column; gap: 6px; }
.hero__kicker { font: 600 .78rem/1.2 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.hero__brand { font: 700 clamp(2.4rem, 11.4vw, 6.2rem)/.95 var(--brand); letter-spacing: .03em; text-transform: uppercase; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero__lead { margin: 14px 0 22px; max-width: 36ch; color: rgba(246, 237, 225, .86); font-size: 1.05rem; }

.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 480px; }
.cta .btn--primary { grid-column: 1 / -1; }
.cta__note { margin: 10px 0 0; font-size: .84rem; color: var(--on-dark-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 20px; border-radius: 14px;
  font: 600 1rem/1.1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 24px rgba(244, 167, 42, .28); }
.btn--primary:hover { background: var(--amber-hover); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: var(--on-dark); border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .15); }

.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; text-decoration: none; font-size: .92rem; color: var(--on-dark); }
.rating__g { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #4285f4; font: 700 .85rem/1 Arial, sans-serif; }
.rating__score { font-weight: 700; font-size: 1.05rem; }
.rating__stars { color: var(--amber); letter-spacing: 1px; }
.rating__count { color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }

/* ================= Highlights ================= */
.highlights { background: var(--amber); color: var(--ink); }
.highlights__inner { display: grid; gap: 2px; padding-top: 6px; padding-bottom: 6px; }
.hl { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.hl__icon { font-size: 1.5rem; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255, 255, 255, .35); border-radius: 50%; flex: none; }
.hl strong { display: block; font: 600 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.hl span:not(.hl__icon) { font-size: .88rem; opacity: .8; }

/* ================= Sections ================= */
.section { padding: 56px 0; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--espresso); color: var(--on-dark); }
.section--gallery { background: var(--espresso-2); }
.section__head { margin-bottom: 22px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__head h2, .about h2, .contact h2 { font: 700 clamp(2rem, 8vw, 3.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.eyebrow { margin: 0 0 8px; font: 600 .76rem/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.section--dark .eyebrow { color: var(--amber); }

.price {
  display: inline-block; font: 700 1rem/1 var(--display); letter-spacing: .01em; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price--bubble { background: var(--red); color: #fff; padding: 8px 12px; border-radius: 999px; box-shadow: 0 6px 18px rgba(212, 42, 42, .35); }

/* ================= Favourites ================= */
.favs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -16px; padding: 4px 16px 18px;
}
.favs::-webkit-scrollbar { display: none; }
.fav {
  scroll-snap-align: start; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.fav__img { position: relative; aspect-ratio: 1; overflow: hidden; }
.fav__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fav:hover .fav__img img { transform: scale(1.05); }
.fav__img .price--bubble { position: absolute; right: 12px; bottom: 12px; font-size: 1.1rem; padding: 9px 14px; }
.fav__img .fav__tag { position: absolute; left: 12px; top: 12px; background: rgba(22, 16, 11, .78); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.fav__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fav__body h3 { font: 600 1.3rem/1.15 var(--display); text-transform: uppercase; }
.fav__body p { margin: 0; color: var(--ink-soft); font-size: .9rem; flex: 1; }
.fav__order { margin-top: 10px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); background: var(--cream-2); padding: 9px 14px; border-radius: 999px; transition: background .15s; }
.fav__order:hover { background: var(--amber); }
.fav__order svg { width: 16px; height: 16px; }

/* ================= Menu ================= */
.link-btn {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; cursor: pointer;
  color: var(--on-dark); border: 1px solid var(--line-dark); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.link-btn:hover { border-color: var(--amber); color: var(--amber); }

.chips {
  position: sticky; top: var(--top-h); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px 22px; padding: 10px 16px;
  background: rgba(22, 16, 11, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.chips[hidden] { display: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; text-decoration: none; padding: 8px 15px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-dark); color: var(--on-dark-soft); font-weight: 600; font-size: .88rem; transition: all .15s;
}
.chips a:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.chips a[aria-current="true"] { background: var(--amber); color: var(--ink); border-color: var(--amber); }

.menu { display: grid; gap: 34px; }
.menu__loading { color: var(--on-dark-soft); }
.menu__error { background: #3a2412; border: 1px solid #7a4a1d; color: var(--on-dark); padding: 14px 16px; border-radius: var(--radius-sm); }

.cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--amber); }
.cat__head h3 { font: 700 1.6rem/1 var(--display); text-transform: uppercase; color: var(--amber); letter-spacing: .02em; }
.cat__order {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px;
  padding: 8px 15px; border-radius: 999px; background: var(--amber); color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .86rem; transition: background .15s;
}
.cat__order:hover { background: var(--amber-hover); }
.cat__order svg { width: 16px; height: 16px; }

.items { list-style: none; margin: 0; padding: 0; }
.item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.item__thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex: none; background: var(--espresso-3); cursor: zoom-in; border: 0; padding: 0; }
.item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.item__main { flex: 1; min-width: 0; }
.item__name { font-weight: 650; font-size: 1.02rem; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.item__weight { font-size: .78rem; font-weight: 500; color: var(--on-dark-soft); }
.item__tag { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 2px 8px; border-radius: 999px; }
.item__desc { margin: 4px 0 0; color: var(--on-dark-soft); font-size: .86rem; line-height: 1.45; }
.item__price { flex: none; text-align: right; }
.item__price .price { color: var(--amber); font-size: 1.12rem; }
.item__price small { display: block; font-size: .72rem; color: var(--on-dark-soft); font-weight: 500; margin-bottom: 2px; }
.item__variants { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.item__variants span { display: flex; align-items: baseline; gap: 8px; }
.item__variants small { display: inline; margin: 0; }

/* ================= Gallery ================= */
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
.g { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--espresso-3); cursor: zoom-in; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.g:hover img { transform: scale(1.05); }
.g--big { grid-column: span 2; grid-row: span 2; }
.g--tall { grid-row: span 2; }

/* ================= About ================= */
.about { display: grid; gap: 28px; }
.about__text h2 { margin-bottom: 16px; }
.about__text p { margin: 0 0 14px; font-size: 1.04rem; color: #3d342b; max-width: 60ch; }
.about__logo { margin-top: 18px; width: 180px; border-radius: 10px; box-shadow: var(--shadow); }
.about__cards { display: grid; gap: 12px; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card h3 { font: 600 1.25rem/1.1 var(--display); text-transform: uppercase; margin-bottom: 14px; letter-spacing: .02em; }
.hours { margin: 0; display: grid; gap: 10px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 9px; }
.hours dt { color: var(--ink-soft); }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .88rem; }

/* ================= Contact ================= */
.contact { display: grid; gap: 26px; }
.contact h2 { margin-bottom: 18px; }
.contact__addr { font-style: normal; font-size: 1.05rem; line-height: 1.7; color: var(--on-dark-soft); }
.contact__addr strong { color: #fff; }
.contact__phone { display: inline-block; margin: 12px 0 20px; font: 700 2rem/1 var(--display); letter-spacing: .02em; color: var(--amber); text-decoration: none; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 300px; background: var(--espresso-3); border: 1px solid var(--line-dark); }
.contact__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: saturate(.85); }

/* ================= Footer ================= */
.footer { background: #0e0a07; color: var(--on-dark-soft); font-size: .86rem; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.footer__inner { display: grid; gap: 8px; }
.footer p { margin: 0; }
.footer a { color: var(--on-dark); }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font: 700 1rem/1 var(--brand); letter-spacing: .06em; text-transform: uppercase; }
.footer__brand img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--gold); }

/* ================= Mobile dock ================= */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
  height: calc(var(--dock-h) + env(safe-area-inset-bottom));
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(22, 16, 11, .95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
}
.dock a { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--on-dark); background: rgba(255, 255, 255, .08); }
.dock .dock__order { background: var(--amber); color: var(--ink); }

/* ================= Lightbox ================= */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(10, 7, 5, .96); color: #fff; }
.lightbox::backdrop { background: rgba(10, 7, 5, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 12px 24px; }
.lb__fig img { max-width: min(100%, 1400px); max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 10px; }
.lb__fig figcaption { color: var(--on-dark-soft); font-size: .9rem; text-align: center; }
.lb__btn { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb__btn:hover { background: rgba(255, 255, 255, .18); }
.lb__close { top: 12px; right: 12px; font-size: 1.1rem; }
.lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lb__prev, .lightbox.is-single .lb__next { display: none; }

/* ================= Reveal on scroll ================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ================= Tablet ================= */
@media (min-width: 720px) {
  .wrap { padding: 0 28px; }
  .chips { margin: 0 -28px 26px; padding: 10px 28px; }
  .favs { margin: 0 -28px; padding: 4px 28px 18px; grid-auto-columns: 42%; }
  .hero { min-height: 88vh; display: flex; align-items: center; }
  .hero__bg { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(22, 16, 11, .6) 0%, rgba(22, 16, 11, 0) 20%),
      linear-gradient(90deg, rgba(22, 16, 11, .95) 0%, rgba(22, 16, 11, .78) 38%, rgba(22, 16, 11, .1) 70%, rgba(22, 16, 11, 0) 100%);
  }
  .hero__bg img { object-position: 70% 50%; }
  .hero__inner { margin-top: 0; padding-top: calc(var(--top-h) + 32px); padding-bottom: 60px; }
  .cta { grid-template-columns: auto auto auto; width: fit-content; max-width: none; }
  .cta .btn--primary { grid-column: auto; }
  .highlights__inner { grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 14px; padding-bottom: 14px; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
  .menu { grid-template-columns: 1fr 1fr; gap: 44px 48px; align-items: start; }
  .item__thumb { width: 80px; height: 80px; }
  .about__cards { grid-template-columns: 1fr 1fr; }
  .about__cards .card:first-child { grid-column: 1 / -1; }
  .contact__map, .contact__map iframe { min-height: 380px; }
}

/* ================= Desktop ================= */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .nav { display: flex; margin-right: 10px; }
  .section { padding: 96px 0; }
  /* Split hero: text on the dark left, photo on the right fading into it */
  .hero { min-height: min(92vh, 860px); }
  .hero__bg { left: 34%; }
  .hero__bg img { object-position: 45% 50%; }
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(22, 16, 11, .55) 0%, rgba(22, 16, 11, 0) 18%),
      linear-gradient(0deg, rgba(22, 16, 11, .5) 0%, rgba(22, 16, 11, 0) 25%),
      linear-gradient(90deg, rgba(22, 16, 11, 1) 0%, rgba(22, 16, 11, .55) 18%, rgba(22, 16, 11, 0) 42%);
  }
  .hero__lead { font-size: 1.15rem; }
  .favs { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .gallery { grid-auto-rows: 220px; }
  .about { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
  .contact { grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
  .contact__map, .contact__map iframe { min-height: 440px; }
}
