/*
Theme Name: La Parc Chiajna
Theme URI: https://laparcchiajna.ro/
Author: La Parc
Description: Temă WordPress foarte ușoară, mobile-first, pentru afișarea meniului Restaurant La Parc Chiajna.
Version: 1.0.4
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: laparc
*/

:root {
  --bg: #171311;
  --bg-soft: #211b18;
  --panel: #2b231f;
  --text: #fffaf5;
  --muted: #d5cbc3;
  --line: rgba(255,255,255,.12);
  --red: #ef3128;
  --red-dark: #c9251d;
  --gold: #f2b238;
  --cream: #f8f3ec;
  --cream-2: #fffdfa;
  --ink: #171311;
  --ink-soft: #675f59;
  --light-line: rgba(26,20,17,.11);
  --radius: 18px;
  --shell: 1260px;
  --header-h: 72px;
  --admin-bar-h: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.admin-bar { --admin-bar-h: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(100% - 36px, var(--shell)); margin-inline: auto; }
.screen-reader-text, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 8px; padding: 10px 14px; background: #fff; color: #000; z-index: 9999; }

/* Header */
.site-header {
  position: fixed;
  top: var(--admin-bar-h);
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(14,11,10,.94), rgba(14,11,10,.78));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: .01em; }
.brand img {
  width: 42px; height: 42px; object-fit: cover; object-position: center;
  border-radius: 10px; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.22);
}
.brand span { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; color: #fffaf5; }
.top-nav { margin-left: auto; display: none; align-items: center; gap: 27px; color: #ddd4cd; font-size: .9rem; }
.top-nav a { transition: color .18s ease; }
.top-nav a:hover { color: #fff; }
.header-call {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; padding: 0 17px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 900;
  box-shadow: 0 9px 24px rgba(239,49,40,.22);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.header-call:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(239,49,40,.28); }
.mobile-menu-link {
  width: 42px; height: 42px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.055);
}
.mobile-menu-link span { width: 19px; height: 2px; border-radius: 99px; background: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #15110f;
}
.hero-media { position: absolute; inset: 0; z-index: -3; display: block; }
.hero-background { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 70% 38%, rgba(0,0,0,0) 0%, rgba(0,0,0,.04) 28%, rgba(0,0,0,.18) 58%, rgba(0,0,0,.34) 100%),
    linear-gradient(90deg, rgba(18,14,12,.88) 0%, rgba(18,14,12,.72) 26%, rgba(18,14,12,.38) 48%, rgba(18,14,12,.06) 74%, rgba(18,14,12,.03) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12,9,8,.54), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: 62px; }
.hero-copy { max-width: 535px; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .7rem;
  font-weight: 950;
}
.hero h1, .menu-heading h2, .contact h2 {
  margin: 10px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: .96;
  letter-spacing: -.035em;
}
.hero h1 {
  max-width: 520px;
  font-size: clamp(3.35rem, 5vw, 4.15rem);
  text-wrap: balance;
  text-shadow: 0 5px 35px rgba(0,0,0,.36);
}
.hero p { margin: 0; color: #e9e1da; font-size: 1.02rem; max-width: 490px; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; max-width: 510px; }
.button {
  min-height: 52px; padding: 0 20px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 900; border: 1px solid transparent;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:active { transform: translateY(1px); }
.button-primary { background: var(--red); color: #fff; box-shadow: 0 13px 30px rgba(239,49,40,.23); }
.button-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.button-ghost {
  border-color: rgba(255,255,255,.38);
  background: rgba(18,14,12,.38);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.button-ghost:hover { border-color: rgba(255,255,255,.68); background: rgba(18,14,12,.58); }
.button-icon { flex: 0 0 auto; }
.button-arrow { margin-left: auto; font-size: 1.15rem; line-height: 1; }
.quick-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; max-width: 510px; }
.quick-info-item {
  display: flex; align-items: flex-start; gap: 11px; min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 15px;
  background: rgba(32,25,22,.46);
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}
.quick-info-item > span:last-child { min-width: 0; }
.quick-icon { flex: 0 0 auto; display: inline-flex; margin-top: 2px; color: #fff; }
.quick-info small, .contact-card small { display: block; color: #c8bdb5; font-size: .67rem; text-transform: uppercase; letter-spacing: .09em; }
.quick-info strong { display: block; margin-top: 3px; font-size: .88rem; line-height: 1.35; }

/* Menu */
.menu-area {
  padding: 54px 0 78px;
  background:
    radial-gradient(circle at 10% 0%, rgba(239,49,40,.055), transparent 29%),
    linear-gradient(180deg, #fbf7f1 0%, var(--cream) 100%);
  color: var(--ink);
}
.menu-area .eyebrow { color: var(--red); }
.menu-heading { display: grid; gap: 24px; margin-bottom: 25px; }
.menu-heading h2 { font-size: clamp(2.45rem, 4.1vw, 3.45rem); margin-bottom: 0; }
.menu-search-wrap { position: relative; display: block; align-self: end; }
.search-icon {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  color: #756d67; font-size: 1.35rem; pointer-events: none;
}
.menu-search {
  width: 100%; min-height: 56px; padding: 0 18px 0 47px;
  border-radius: 16px; border: 1px solid rgba(28,21,18,.13); outline: none;
  background: rgba(255,255,255,.82); color: var(--ink);
  box-shadow: 0 10px 28px rgba(40,29,24,.035);
}
.menu-search::placeholder { color: #8b817a; }
.menu-search:focus { border-color: rgba(239,49,40,.42); box-shadow: 0 0 0 4px rgba(239,49,40,.08); background: #fff; }
.category-sticky {
  position: sticky;
  top: calc(var(--header-h) + var(--admin-bar-h));
  z-index: 90;
  background: rgba(248,243,236,.95);
  border-top: 1px solid rgba(26,20,17,.07);
  border-bottom: 1px solid rgba(26,20,17,.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.category-scroll { display: flex; gap: 9px; overflow-x: auto; padding-block: 11px; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-chip {
  flex: 0 0 auto; white-space: nowrap; padding: 9px 15px; border-radius: 999px;
  border: 1px solid rgba(26,20,17,.12); background: rgba(255,255,255,.80); color: #2a2421;
  font-weight: 850; font-size: .82rem;
  box-shadow: 0 4px 14px rgba(34,25,20,.025);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.category-chip:first-child { background: var(--red); border-color: var(--red); color: #fff; }
.category-chip:hover { border-color: rgba(239,49,40,.45); color: var(--red-dark); transform: translateY(-1px); }
.category-chip:first-child:hover { color: #fff; background: var(--red-dark); }
.menu-sections { padding-top: 8px; }
.menu-section { scroll-margin-top: calc(var(--header-h) + 78px); padding: 38px 0 4px; content-visibility: auto; contain-intrinsic-size: 620px; }
.section-title-row { display: flex; align-items: baseline; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid rgba(26,20,17,.12); }
.section-title-row h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 3.2vw, 2.3rem); letter-spacing: -.025em; }
.section-title-row h3::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 8px; border-radius: 9px; background: var(--red); }
.section-title-row span { margin-left: auto; color: #766e68; font-size: .78rem; white-space: nowrap; }
.menu-grid { display: grid; gap: 12px; padding-top: 14px; }
.menu-card {
  position: relative;
  display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  min-height: 100%; padding: 18px 18px 17px;
  border-radius: 17px;
  border: 1px solid rgba(26,20,17,.095);
  background: rgba(255,255,255,.84);
  box-shadow: 0 9px 28px rgba(44,32,26,.04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.menu-card::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 5px 5px 0;
  background: transparent; transition: background .18s ease;
}
.menu-card:hover { transform: translateY(-2px); border-color: rgba(239,49,40,.19); box-shadow: 0 14px 34px rgba(44,32,26,.065); background: #fff; }
.menu-card:hover::before { background: var(--red); }
.menu-card-main { min-width: 0; }
.menu-card h4 { margin: 0; color: #1d1815; font-size: 1rem; line-height: 1.28; }
.menu-description { margin-top: 6px; color: #69615b; font-size: .85rem; line-height: 1.46; }
.menu-description p { margin: 0; }
.portion { display: inline-block; margin-top: 8px; color: #8d837c; font-size: .73rem; }
.price {
  flex: 0 0 auto; min-width: 68px; text-align: right; color: #1b1614;
  font-size: 1.06rem; line-height: 1.1; font-weight: 950; white-space: nowrap;
}
.price small { color: var(--red); font-size: .66rem; font-weight: 950; text-transform: lowercase; }
.menu-card[hidden], .menu-section[hidden] { display: none !important; }
.no-results { padding: 32px 0; color: #776f69; }

/* Contact & legal */
.contact { padding: 68px 0 74px; background: #211a18; border-top: 1px solid rgba(255,255,255,.08); }
.contact-grid { display: grid; gap: 28px; }
.contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.15rem); }
.contact p { color: var(--muted); max-width: 520px; }
.contact-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #2a211e; box-shadow: 0 18px 48px rgba(0,0,0,.12); }
.contact-card > div:not(.contact-actions) { padding: 11px 0; border-bottom: 1px solid var(--line); }
.contact-card a:not(.button), .contact-card strong { display: block; margin-top: 2px; font-weight: 850; }
.contact-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding-top: 16px; }
.allergens { padding: 24px 0 34px; background: #211a18; }
.allergens details { border: 1px solid var(--line); border-radius: 15px; background: #2a211e; }
.allergens summary { cursor: pointer; padding: 16px 18px; font-weight: 850; }
.allergen-copy { padding: 0 18px 18px; color: var(--muted); font-size: .88rem; }
.allergen-copy ol { padding-left: 20px; margin-bottom: 0; }
.allergen-copy li + li { margin-top: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #130f0e; padding: 22px 0 96px; color: #b9aea6; font-size: .82rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.footer-copy { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.powered-by a { color: #fff; font-weight: 850; text-decoration: none; }
.powered-by a:hover { color: var(--gold); }
.mobile-bar {
  position: fixed; z-index: 240; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px;
  border-radius: 20px; border: 1px solid rgba(255,255,255,.12); background: rgba(24,19,17,.93);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0,0,0,.42);
}
.mobile-bar a { min-height: 58px; border-radius: 15px; display: flex; gap: 4px; flex-direction: column; align-items: center; justify-content: center; font-size: .72rem; font-weight: 900; }
.mobile-bar .mobile-call { background: var(--red); box-shadow: 0 8px 24px rgba(239,49,40,.22); }
.mobile-bar-icon { display: inline-flex; line-height: 1; }
.mobile-bar-label { font-size: .72rem; line-height: 1; }
.fallback-page { min-height: 60vh; padding-block: 110px 60px; }

@media (min-width: 760px) {
  .shell { width: min(100% - 56px, var(--shell)); }
  .top-nav { display: flex; }
  .header-call { margin-left: 0; }
  .mobile-menu-link { display: none; }
  .hero { min-height: 650px; }
  .hero-inner { padding-top: calc(var(--header-h) + 72px); padding-bottom: 68px; }
  .hero-actions .button { flex: 1 1 0; }
  .menu-heading { grid-template-columns: 1fr minmax(310px, 390px); align-items: end; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr minmax(360px, .82fr); align-items: start; }
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 22px; }
}

@media (min-width: 1020px) {
  .hero { min-height: 665px; }
  .hero h1 { font-size: 4.05rem; }
  .hero-copy { max-width: 540px; }
  .hero-actions .button { min-width: 210px; }
  .menu-card h4 { font-size: 1.02rem; }
}

@media (min-width: 1280px) {
  .hero { min-height: 680px; }
  .hero h1 { font-size: 4.18rem; }
  .hero-inner { padding-top: calc(var(--header-h) + 78px); padding-bottom: 70px; }
}

@media (max-width: 759px) {
  :root { --header-h: 64px; }
  .shell { width: min(100% - 28px, var(--shell)); }
  .site-header { background: rgba(15,12,11,.90); }
  .brand { gap: 9px; }
  .brand img { width: 38px; height: 38px; border-radius: 9px; }
  .brand span { font-size: 1.05rem; }
  .header-call { margin-left: auto; min-height: 40px; padding-inline: 15px; }
  .header-call svg { display: none; }
  .mobile-menu-link { width: 40px; height: 40px; }

  .hero { min-height: 600px; align-items: flex-start; }
  .hero-background { object-position: center top; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12,9,8,.08) 0%, rgba(12,9,8,.20) 23%, rgba(12,9,8,.63) 48%, rgba(12,9,8,.92) 72%, rgba(12,9,8,.99) 100%),
      linear-gradient(90deg, rgba(12,9,8,.64) 0%, rgba(12,9,8,.22) 70%, rgba(12,9,8,.08) 100%);
  }
  .hero::after { height: 240px; background: linear-gradient(0deg, #15110f 0%, rgba(21,17,15,.72) 55%, transparent 100%); }
  .hero-inner { padding-top: calc(var(--header-h) + 90px); padding-bottom: 44px; }
  .hero-copy { max-width: 100%; }
  .eyebrow { font-size: .67rem; letter-spacing: .17em; }
  .hero h1 { max-width: 360px; font-size: clamp(2.8rem, 12.5vw, 3.25rem); margin-top: 11px; margin-bottom: 14px; }
  .hero p { max-width: 350px; font-size: .98rem; line-height: 1.5; }
  .hero-actions { flex-direction: column; gap: 10px; margin-top: 22px; max-width: 100%; }
  .hero-actions .button { width: 100%; min-height: 52px; }
  .quick-info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 18px; max-width: 100%; }
  .quick-info-item { padding: 13px 12px; min-height: 79px; }
  .quick-info strong { font-size: .82rem; }

  .menu-area { padding-top: 40px; padding-bottom: 64px; }
  .menu-heading { gap: 18px; margin-bottom: 18px; }
  .menu-heading h2 { font-size: clamp(2.3rem, 10.7vw, 2.85rem); line-height: .98; }
  .menu-search { min-height: 53px; }
  .category-scroll { margin-inline: -2px; padding-block: 10px; }
  .category-chip { padding: 8px 13px; font-size: .79rem; }
  .menu-section { padding-top: 30px; }
  .section-title-row { align-items: flex-end; }
  .section-title-row h3 { font-size: 1.72rem; }
  .menu-card { padding: 16px 15px; border-radius: 15px; }
  .menu-card:hover { transform: none; }
  .menu-card h4 { font-size: .98rem; }
  .menu-description { font-size: .84rem; }
  .price { min-width: 62px; font-size: 1.02rem; }

  .contact { padding: 56px 0 60px; }
  .allergens { padding-bottom: 105px; }
}

@media (max-width: 782px) {
  body.admin-bar { --admin-bar-h: 46px; }
}

@media (max-width: 370px) {
  .brand span { font-size: .98rem; }
  .header-call { padding-inline: 13px; }
  .mobile-menu-link { width: 38px; }
  .hero { min-height: 640px; }
  .hero h1 { font-size: 2.7rem; }
  .hero p { font-size: .94rem; }
  .quick-info { grid-template-columns: 1fr; }
  .quick-info-item { min-height: auto; }
  .menu-heading h2 { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
