/* =========================================================
   Filip Pizza — varianta „Negru elegant”
   Negru cald, crem și accente aurii. O singură pagină.
   ========================================================= */

:root {
  --ink: #0F0E0D;
  --ink-2: #161412;
  --ink-3: #1E1B18;
  --cream: #F2ECE2;
  --cream-2: rgba(242, 236, 226, .78);
  --muted: rgba(242, 236, 226, .58);
  --gold: #C9A55C;
  --gold-2: #E0C17F;
  --line: rgba(201, 165, 92, .28);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul { list-style: none; padding: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--gold-2); }

.lead { color: var(--cream-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 52ch; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--gold);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-outline { background: transparent; color: var(--gold-2); }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
a:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Navigare ---------- */
.nav-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav-bar.scrolled { background: rgba(15, 14, 13, .94); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: height .4s ease; }
.nav-bar.scrolled .nav-inner { height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.65rem; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--cream-2); font-weight: 400; transition: color .2s ease; }
.nav-links a:hover { color: var(--gold-2); }
.nav-links .lang { border: 1px solid var(--line); padding: 4px 12px; color: var(--gold-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: slowzoom 18s ease-out forwards; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(15, 14, 13, .55) 0%, rgba(15, 14, 13, .82) 70%),
    linear-gradient(to bottom, rgba(15, 14, 13, .6), rgba(15, 14, 13, .3) 40%, var(--ink));
}
.hero-inner { padding: calc(var(--nav-h) + 40px) 0 120px; }
.hero h1 { font-size: clamp(3.3rem, 9.5vw, 8rem); line-height: .95; max-width: 13ch; margin-inline: auto; }
.hero p { color: var(--cream-2); font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 40ch; margin: 28px auto 44px; }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-2); animation: cue 2.2s ease-in-out infinite; }

@keyframes slowzoom { to { transform: scale(1); } }
@keyframes cue { to { top: 100%; } }

/* ---------- Ornament ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 56px; height: 1px; background: var(--line); }
.ornament span { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- Secțiuni ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; }

/* Despre */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about h2 { margin-bottom: 26px; }
.pillars { margin-top: 44px; display: grid; gap: 28px; }
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.pillar .num { font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--gold); }
.pillar h3 { font-size: 1.6rem; margin-bottom: 4px; }
.pillar p { color: var(--muted); }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: -1; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.gallery figure { overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78) saturate(.9); transition: transform 1s ease, filter .6s ease; }
.gallery figure:hover img { transform: scale(1.07); filter: brightness(1) saturate(1); }

/* Meniu */
.menu { background: var(--ink-2); }
.menu-head { text-align: center; margin-bottom: clamp(50px, 7vw, 90px); }
.menu-head .ornament { margin-bottom: 26px; }
.menu-head .lead { margin: 18px auto 0; }
.menu-group + .menu-group { margin-top: clamp(60px, 8vw, 100px); }
.group-title { text-align: center; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--gold-2); margin-bottom: 34px; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 96px); }
.menu-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.menu-item .row { display: flex; align-items: baseline; gap: 14px; }
.menu-item h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); white-space: nowrap; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted rgba(201, 165, 92, .5); transform: translateY(-7px); min-width: 20px; }
.menu-item .price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold-2); white-space: nowrap; }
.menu-item p { color: var(--muted); margin-top: 4px; max-width: 46ch; }
.menu-note { text-align: center; color: var(--muted); margin-top: 60px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.contact h2 { margin-bottom: 22px; }
.info { margin: 40px 0 44px; display: grid; gap: 26px; }
.info dt { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-2); }
.info dd { color: var(--cream-2); }
.info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info a:hover { color: var(--gold-2); }
.map { min-height: 460px; border: 1px solid var(--line); padding: 10px; }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }

/* Subsol */
.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; color: var(--muted); }
.footer-inner .brand { color: var(--cream); font-size: 1.4rem; }
.footer-inner .brand img { width: 32px; height: 32px; }
.footer-inner a.lang-link { color: var(--gold-2); text-decoration: none; }

/* ---------- Butoane flotante ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .7);
  transition: transform .25s ease, background .25s ease;
}
.wa-fab:hover { transform: scale(1.07); background: var(--gold-2); }
.wa-fab svg { width: 30px; height: 30px; }
.call-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: none; align-items: center; gap: 10px;
  padding: 13px 20px; background: var(--ink); color: var(--gold-2);
  border: 1px solid var(--gold); text-decoration: none; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; font-size: .85rem;
}
.call-fab svg { width: 17px; height: 17px; }

/* ---------- Apariție la scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about, .contact { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; }
  .menu-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 70px; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 34px; height: 34px; }
  .btn { padding: 16px 30px; }
  .menu-item h3 { white-space: normal; }
  .about-photo::before { inset: 14px -10px -14px 10px; }
  .map, .map iframe { min-height: 320px; }
  .call-fab { display: inline-flex; }
  .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-fab svg { width: 27px; height: 27px; }
  .footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .scroll-cue::after { animation: none; }
  .hero-bg { transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
