/* =============================================================================
   NESSA — stilul site-ului
   Paletă: crem cald + burgundy închis spre maro, accent de alamă.
   Design angajat pe o singură identitate (nu are mod întunecat): cremul ȘI
   vișiniul SUNT brandul. Fundalurile și culorile sunt pictate explicit, ca
   pagina să arate la fel pe orice fundal al browserului.
============================================================================= */

:root {
  /* crem, de la cel mai deschis la cel mai cald */
  --paper:      #FBF5EA;   /* suprafețe, carduri */
  --cream:      #F3E9D9;   /* fundalul principal */
  --cream-2:    #EADDC7;   /* secțiuni alternante */

  /* burgundy spre maro */
  --burgundy:   #5B1A22;   /* culoarea de bază */
  --burgundy-2: #3C0F15;   /* cea mai închisă: hero, footer */

  /* accent cald de alamă, folosit cu zgârcenie (hairline-uri, semne mici) */
  --brass:      #A67C4A;
  --brass-soft: #C8A978;

  /* text, în tonuri calde, nu gri neutru */
  --ink:        #2E201C;   /* text pe crem */
  --ink-soft:   #6E584F;   /* text secundar */
  --on-dark:    #EFE3D0;   /* text pe burgundy */
  --on-dark-soft: #C9B49B;

  --line:       rgba(91, 26, 34, .16);   /* hairline pe crem */
  --line-dark:  rgba(239, 227, 208, .18); /* hairline pe burgundy */

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.7 "Jost", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0;
}

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

/* etichete mici, rărite — ochiul de restaurant elegant */
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .28em;
  text-transform: uppercase; color: var(--brass);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ----------------------------------------------------------------- butoane */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 2px; cursor: pointer;
  font: 500 14px/1 "Jost", sans-serif; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--burgundy); background: var(--burgundy); color: var(--on-dark);
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: transparent; color: var(--burgundy); }
.btn.ghost { background: transparent; color: var(--burgundy); }
.btn.ghost:hover { background: var(--burgundy); color: var(--on-dark); }
.btn.on-dark { border-color: var(--brass-soft); background: transparent; color: var(--on-dark); }
.btn.on-dark:hover { background: var(--brass); border-color: var(--brass); color: var(--burgundy-2); }

/* ----------------------------------------------------------------- navigație */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 20px var(--gutter);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.solid {
  background: var(--cream);
  padding-block: 13px;
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(60, 15, 21, .06);
}
.brand { display: block; line-height: 0; }
.brand img { height: 46px; width: auto; }
/* peste hero logo-ul mare e deja pe ecran, deci cel din bară apare abia la scroll */
.nav .brand { transition: opacity .3s; }
.nav:not(.solid) .brand { opacity: 0; pointer-events: none; }
.nav-links { display: flex; gap: clamp(16px, 2.2vw, 30px); margin-left: auto; }
.nav-links a {
  font-size: 14px; letter-spacing: .08em; color: var(--ink);
  padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--brass); transition: right .3s;
}
.nav-links a:hover::after { right: 0; }
.nav .btn { margin-left: 8px; padding: 11px 24px; }

/* nav pe fundal întunecat (hero) - text deschis până la scroll */
.nav:not(.solid) .nav-links a { color: var(--on-dark); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; flex-direction: column;
  justify-content: center; gap: 5px; padding: 10px; }
.nav-toggle span { height: 2px; background: currentColor; display: block; transition: .3s; }
.nav:not(.solid) .nav-toggle { color: var(--on-dark); }
.nav.solid .nav-toggle { color: var(--burgundy); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: var(--on-dark); overflow: hidden;
  background:
    radial-gradient(120% 90% at 75% 10%, rgba(166, 124, 74, .22), transparent 55%),
    radial-gradient(90% 120% at 15% 90%, rgba(0, 0, 0, .35), transparent 60%),
    linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-2) 75%);
}
/* grânulație fină, ca o textură de hârtie, fără imagine externă */
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: 120px 80px; }
.hero .eyebrow { color: var(--brass-soft); }
.hero h1 { margin: 26px 0 22px; line-height: 0; }
.hero-logo { width: clamp(260px, 46vw, 560px); height: auto; }
.hero .tagline {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 400;
  font-size: clamp(20px, 3.2vw, 32px); color: var(--on-dark-soft);
  max-width: 26ch; line-height: 1.4;
}
.hero-rule { width: 64px; height: 1px; background: var(--brass); margin: 34px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-meta {
  position: absolute; bottom: 34px; right: var(--gutter); z-index: 1;
  text-align: right; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-soft); line-height: 2;
}
@media (max-width: 720px) { .hero-meta { display: none; } }

/* ----------------------------------------------------------------- secțiuni */
section { padding-block: clamp(70px, 11vw, 140px); }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--burgundy); color: var(--on-dark); }
.section-dark .eyebrow { color: var(--brass-soft); }
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(34px, 5.5vw, 58px); margin: 14px 0 0; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); line-height: 1.75; }
.section-dark .lead { color: var(--on-dark-soft); }

/* despre: asimetric, text + loc de fotografie */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p { margin: 0 0 20px; color: var(--ink-soft); }
.about-text .sig {
  font-family: "Fraunces", serif; font-style: italic; font-size: 26px;
  color: var(--burgundy); margin-top: 10px;
}

/* locul unde vine o fotografie - arată intenționat, nu stricat */
.photo {
  position: relative; background: var(--cream-2); overflow: hidden;
  border: 1px solid var(--line);
  background-image:
    repeating-linear-gradient(135deg, rgba(91,26,34,.04) 0 2px, transparent 2px 22px);
}
.photo::before {
  content: "fotografie"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--brass);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 3 / 2; }
.photo.land { aspect-ratio: 4 / 3; }
.photo.square { aspect-ratio: 1; }

/* ----------------------------------------------------------------- meniu (carte) */
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 90px); }
@media (max-width: 820px) { .menu-cols { grid-template-columns: 1fr; gap: 48px; } }
.menu-group + .menu-group { margin-top: 48px; }
.menu-group h3 {
  font-size: 26px; font-weight: 500; color: var(--burgundy);
  padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.menu-group h3 .k { font: 500 12px/1 "Jost", sans-serif; letter-spacing: .24em;
  text-transform: uppercase; color: var(--brass); }
.dish { display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  column-gap: 10px; padding: 11px 0; }
.dish .d-name { font-family: "Fraunces", serif; font-size: 20px; color: var(--ink); }
/* punctele dintre fel și preț, ca pe o carte tipărită */
.dish .d-dots { border-bottom: 1px dotted var(--line); transform: translateY(-5px); }
.dish .d-price { font-variant-numeric: tabular-nums; color: var(--burgundy); font-weight: 500; white-space: nowrap; }
.dish .d-desc { grid-column: 1 / -1; color: var(--ink-soft); font-size: 15px;
  line-height: 1.5; margin-top: 2px; max-width: 46ch; }
.menu-note { margin-top: 50px; text-align: center; color: var(--ink-soft); font-size: 15px; }

/* ----------------------------------------------------------------- platouri */
.platters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .platters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .platters { grid-template-columns: 1fr; } }
.platter .photo { border-color: var(--line-dark); }
.platter h3 { font-size: 24px; color: var(--on-dark); margin: 18px 0 6px; }
.platter p { margin: 0; color: var(--on-dark-soft); font-size: 16px; line-height: 1.55; }
.platters-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 46px; }
.platters-cta span { color: var(--on-dark-soft); font-size: 15px; }

/* ----------------------------------------------------------------- cozonaci */
.quote {
  margin: 0 0 22px; padding-left: 22px; border-left: 2px solid var(--brass);
  font-family: "Fraunces", serif; font-style: italic; font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.45; color: var(--burgundy);
}
.quote cite { display: block; margin-top: 12px; font: 500 13px/1.4 "Jost", sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.about-text .price-tag { font-family: "Fraunces", serif; font-size: 44px; line-height: 1;
  color: var(--burgundy); margin: 26px 0 26px; }
.price-tag span { font: 400 16px/1 "Jost", sans-serif; color: var(--ink-soft); }

/* ----------------------------------------------------------------- pop-up platouri */
.promo {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: 20px; background: rgba(60, 15, 21, .62);
  opacity: 0; transition: opacity .35s;
}
.promo[hidden] { display: none; }
.promo.open { opacity: 1; }
.promo-box {
  position: relative; width: min(100%, 520px); padding: 0 clamp(24px, 6vw, 48px) 40px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  border-top: 3px solid var(--brass); text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  transform: translateY(14px); transition: transform .35s;
}
.promo.open .promo-box { transform: none; }
.promo-img { max-width: none; margin: 0 calc(-1 * clamp(24px, 6vw, 48px)) 30px;
  width: calc(100% + 2 * clamp(24px, 6vw, 48px)); height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-box h2 { font-size: clamp(28px, 6vw, 38px); color: var(--burgundy); margin: 12px 0 14px; }
.promo-box p { margin: 0; color: var(--ink-soft); }
.promo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.promo-close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; z-index: 1;
  font-size: 28px; line-height: 1; color: var(--burgundy);
}
@media (prefers-reduced-motion: reduce) { .promo, .promo-box { transition: none; } }

/* ----------------------------------------------------------------- galerie */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; }
.gallery .photo { aspect-ratio: 3 / 4; }
.gallery .photo.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .photo.big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; } }

/* ----------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.info-row:last-child { border-bottom: 0; }
.info-row .k { min-width: 110px; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass-soft); padding-top: 4px; }
.info-row .v { font-size: 18px; line-height: 1.6; }
.info-row .v .muted { color: var(--on-dark-soft); font-size: 15px; }
.map {
  position: relative; min-height: 360px; overflow: hidden;
  border: 1px solid var(--line-dark); border-radius: 2px; background: var(--burgundy-2);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; }
.map-link span {
  margin: 14px; padding: 11px 18px; border-radius: 2px;
  background: var(--burgundy); color: var(--on-dark);
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: background .25s, color .25s;
}
.map-link:hover span { background: var(--brass); color: var(--burgundy-2); }

/* ----------------------------------------------------------------- footer */
footer { background: var(--burgundy-2); color: var(--on-dark-soft); padding-block: 56px 32px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start;
  justify-content: space-between; }
footer .brand img { height: 92px; }
footer .fcol { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
footer .fcol a:hover { color: var(--brass-soft); }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 13px; letter-spacing: .04em; }

/* ----------------------------------------------------------------- apariție lină */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ----------------------------------------------------------------- meniu mobil */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0; flex-direction: column;
    justify-content: center; align-items: center; gap: 34px; font-size: 22px;
    background: var(--burgundy); color: var(--on-dark);
    transform: translateX(100%); transition: transform .35s; margin: 0; }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--on-dark); font-size: 22px; }
  .nav .btn.nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
