/*
Theme Name: Bella Roma
Theme URI: https://bellaromapub.ro
Author: Bella Roma
Description: Temă personalizată pentru Bella Roma Pub & Pizzerie — pagină de prezentare cu comandă online (livrare acasă) și cod QR pentru mese.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bella-roma
*/

/* ============================================================
   Tokens
   ============================================================ */
:root {
  --bg: #14110d;
  --bg-alt: #1b1712;
  --surface: #211b15;
  --surface-2: #2a231b;
  --line: #3a3126;

  --ink: #f4ecd9;
  --ink-soft: #c9bda3;
  --ink-faint: #9a8f79;

  --gold: #caa051;
  --gold-bright: #e7c477;
  --gold-ink: #241c0d;

  --verdigris: #79a89a;
  --verdigris-dark: #4b7268;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.55);
  --shadow-sm: 0 8px 20px -12px rgba(0,0,0,0.5);

  --font-display: 'Cinzel', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Typographic helpers
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.eyebrow--center { text-align: center; }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 18px;
}
.section-title--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 640px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 17px 34px; font-size: 16.5px; }
.btn--gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 24px -10px rgba(202,160,81,0.55); }
.btn--gold:hover { box-shadow: 0 14px 28px -10px rgba(202,160,81,0.7); }
.btn--gold-outline { background: transparent; border-color: var(--gold); color: var(--gold-bright); }
.btn--gold-outline:hover { background: rgba(202,160,81,0.12); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: var(--gold-bright); }
.btn--ink-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ink-outline:hover { border-color: var(--ink-soft); }
.btn--nav { display: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 17, 13, 0.72);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
}
.brand { display: flex; align-items: center; height: 100%; }
.brand__logo { height: 52px; width: auto; }
.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.site-nav a { transition: color 0.15s ease; }
.site-nav a:hover { color: var(--gold-bright); }
.site-header__inner .btn { margin-left: auto; }

@media (min-width: 760px) {
  .site-nav { display: flex; }
  .btn--nav { display: inline-flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 65%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,13,0.25) 0%, rgba(20,17,13,0.3) 34%, rgba(20,17,13,0.94) 94%),
    linear-gradient(to left, rgba(20,17,13,0.8) 0%, rgba(20,17,13,0.1) 58%);
}
.hero__inner {
  position: relative;
  min-width: 0;
  margin-left: auto;
  margin-right: 0;
  padding-top: 130px;
  padding-bottom: 64px;
  max-width: 640px;
  text-align: left;
}
.hero__title {
  font-size: clamp(46px, 8vw, 84px);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.hero__headline {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.14;
  color: var(--ink);
}
.hero__tagline {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 46ch;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero__ctas { margin-top: 30px; }
.hero__note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ============================================================
   Steps
   ============================================================ */
.steps { padding: 96px 0; background: var(--bg); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step__num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.85;
}
.step h3 { font-size: 19px; margin-bottom: 10px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; }
.steps__cta { text-align: center; margin-top: 44px; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { padding: 96px 0; background: var(--bg-alt); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
  margin-top: 48px;
}
.gallery__item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  grid-column: span 2;
  box-shadow: var(--shadow-sm);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent);
}
.gallery__cta { text-align: center; margin-top: 44px; }

@media (max-width: 720px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item { grid-column: span 1; }
  .gallery__item--tall { grid-row: span 1; }
}

/* ============================================================
   Ambient (two-column)
   ============================================================ */
.ambient { padding: 96px 0; background: var(--bg); }
.ambient__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ambient__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.ambient__text p { font-size: 15.5px; }
.ambient__text .btn { margin-top: 8px; }

@media (max-width: 860px) {
  .ambient__grid { grid-template-columns: 1fr; gap: 32px; }
  .ambient__media { order: -1; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: 96px 0 110px; background: var(--bg-alt); border-top: 1px solid var(--line); }
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact__addr, .contact__hours { font-size: 15px; }
.contact__phone { font-size: 20px; font-weight: 700; color: var(--ink); }
.contact__phone a:hover { color: var(--gold-bright); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.contact__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact__card h3 { font-size: 20px; margin-bottom: 12px; color: var(--verdigris); font-family: var(--font-display); }
.contact__card p { font-size: 14.5px; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #0e0c09; border-top: 1px solid var(--line); padding-top: 56px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 40px;
}
.site-footer__logo { height: 60px; width: auto; opacity: 0.92; }
.site-footer__title { font-family: var(--font-display); color: var(--ink); font-size: 16px; margin-bottom: 10px; }
.site-footer__col p { font-size: 13.5px; margin-bottom: 8px; }
.site-footer__col a:hover { color: var(--gold-bright); }
.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Small phones — let long pill buttons wrap instead of overflowing
   ============================================================ */
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .hero__ctas .btn,
  .steps__cta .btn,
  .gallery__cta .btn,
  .contact__ctas .btn { width: 100%; }
  .contact__ctas { flex-direction: column; }
}
