/*
Theme Name: Villa Valéria
Theme URI: https://villavaleria.hu/
Description: A Villa Valéria (Aszód) egyoldalas témája — rendezvény-, forgatási és fotózási helyszín, oldtimer bérléssel. A statikus prototípusból generálva.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: villavaleria
*/

/* ==========================================================================
   Villa Valéria — prototípus
   Színek a házból: papírfehér alap, zsalugáter-zöld, homlokzat-okker.
   Tipográfia: Cormorant Garamond (display) + Jost (törzs, 20-as évekbeli geometrikus groteszk).
   ========================================================================== */

:root {
  --paper: #f4efe4;
  --paper-2: #ebe3d3;
  --card: #fbf8f1;
  --ink: #1e2a24;
  --ink-2: #4f5a52;
  --line: rgba(30, 42, 36, 0.14);
  --line-strong: rgba(30, 42, 36, 0.32);

  --green: #1f3b33;          /* zsalugáter — sötét szekció */
  --green-2: #2c5147;        /* kiemelt szó világos alapon */
  --green-deep: #16241f;     /* lábléc */

  --ochre: #d4a13f;          /* homlokzat — gombok (sötét szöveggel) */
  --ochre-hover: #e0b35c;
  --ochre-ink: #8a5f12;      /* okker szöveg világos alapon (≈5:1) */
  --ochre-light: #e7c27a;    /* okker szöveg sötét alapon */

  --cream: #f4efe4;
  --cream-2: rgba(244, 239, 228, 0.74);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.container {
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
}

.section { padding-block: var(--section); }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--ochre-ink);
  outline-offset: 3px;
}

/* ---------- Tipográfiai elemek ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ochre-ink);
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--ochre-light); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--green-2); }

.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.3rem;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arrow::after { content: "→"; letter-spacing: 0; }
.link-arrow:hover { gap: 1rem; border-color: var(--ink); }

/* Ügyféltől bekérendő adat — prototípusban látható jelölés */
.todo {
  background: rgba(212, 161, 63, 0.18);
  border-bottom: 1px dashed var(--ochre-ink);
  padding: 0 0.25em;
  cursor: help;
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--ochre); color: var(--ink); }
.btn--primary:hover { background: var(--ochre-hover); }

.btn--ghost-light { border-color: rgba(244, 239, 228, 0.6); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* ---------- Fejléc ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--cream);
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.header__inner {
  width: min(100% - 2 * var(--gutter), 1320px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.header.is-scrolled,
.header.is-open {
  background: rgba(244, 239, 228, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
/* a backdrop-filter a fixed menüréteget a fejléchez kötné — nyitott menünél kikapcsoljuk */
.header.is-open {
  background: var(--paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Fejléc-logó: az eredeti monogram; a hero fölött krém és nagyobb, görgetve barna és kisebb */
.brand {
  display: block;
  position: relative;
  z-index: 2;
}
.brand__mark {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  transition: width 0.4s var(--ease), height 0.4s var(--ease);
}
.brand__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s;
}
.brand__logo--light { filter: url(#vv-logo-cream) drop-shadow(0 1px 6px rgba(16, 24, 20, 0.35)); }
.brand__logo--dark { filter: url(#vv-logo-brown); opacity: 0; }
.header.is-scrolled .brand__mark,
.header.is-open .brand__mark { width: 50px; height: 50px; }
.header.is-scrolled .brand__logo--light,
.header.is-open .brand__logo--light { opacity: 0; }
.header.is-scrolled .brand__logo--dark,
.header.is-open .brand__logo--dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; gap: 1.9rem; }
.nav__list a {
  position: relative;
  font-size: 0.93rem;
  text-decoration: none;
  padding-block: 0.4rem;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 0.8rem 1.3rem; font-size: 0.72rem; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  border: 0;
  background: none;
  color: inherit;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.2s;
}
.menu-toggle__bars { top: 21px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.header.is-open .menu-toggle__bars { background: transparent; }
.header.is-open .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.header.is-open .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 0.6rem; }
  .nav__list a { font-family: var(--serif); font-size: 2.2rem; }
  .nav__cta { padding: 1rem 1.75rem; font-size: 0.78rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
  background: var(--green-deep);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform-origin: 45% 58%;   /* a veranda felé közelít */
  will-change: transform;
  animation: hero-approach 14s cubic-bezier(0.2, 0.6, 0.3, 1) both;
}
/* Jól észlelhető közelítés megnyitáskor; ha a hero kigörget a képből, megáll (script.js: .is-offscreen) */
@keyframes hero-approach {
  from { transform: scale(1); }
  to { transform: scale(1.22); }
}
.hero.is-offscreen .hero__img { animation-play-state: paused; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 20, 0.5) 0%, rgba(16, 24, 20, 0) 22%),
    linear-gradient(0deg, rgba(16, 24, 20, 0.82) 0%, rgba(16, 24, 20, 0.35) 38%, rgba(16, 24, 20, 0) 62%),
    linear-gradient(90deg, rgba(16, 24, 20, 0.35) 0%, rgba(16, 24, 20, 0) 55%);
}
.hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(4rem, 11vh, 7.5rem);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.25rem, 12.5vw, 10.5rem);
  line-height: 0.88;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: italic; }
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero__lead {
  max-width: 33rem;
  color: var(--cream-2);
  margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 11vh, 7.5rem);
  width: 1px;
  height: 5.5rem;
  background: rgba(244, 239, 228, 0.25);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: scroll-cue 2.4s var(--ease) infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- Ténysáv ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__value {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: var(--green-2);
}
.fact__label { font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); max-width: 14rem; }

/* ---------- A ház ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}
.intro__text p { color: var(--ink-2); max-width: 32rem; }

.intro__media { position: relative; padding-bottom: 4rem; padding-left: 3rem; }
.intro__img { overflow: hidden; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--main { aspect-ratio: 6 / 5; }
.intro__img--inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--paper);
}

.quote {
  margin-top: clamp(5rem, 10vw, 8rem);
  text-align: center;
  max-width: 54rem;
}
/* pecsét az idézet fölött: vonal — logó — vonal */
.seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.seal::before,
.seal::after {
  content: "";
  width: 3.5rem;
  height: 1px;
  background: var(--ochre);
}
.seal img { width: 68px; height: 68px; filter: url(#vv-logo-brown); }
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.65rem, 3.3vw, 2.65rem);
  line-height: 1.25;
  text-wrap: balance;
}

/* ---------- Terek ---------- */
.spaces { background: var(--paper-2); }
.spaces__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.space:nth-child(even) { margin-top: 3.5rem; }
.space__img { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 1.4rem; }
.space__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.space:hover .space__img img { transform: scale(1.05); }
.space__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.space p { font-size: 0.97rem; color: var(--ink-2); }

/* ---------- Alkalmak ---------- */
.occasion {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}
.occasion + .occasion { margin-top: clamp(4.5rem, 9vw, 7.5rem); }
.occasion--flip .occasion__media { order: 2; }
.occasion__media { aspect-ratio: 5 / 6; overflow: hidden; }
.occasion__media img { width: 100%; height: 100%; object-fit: cover; }
.occasion:first-of-type .occasion__media img { object-position: center 100%; }
.occasion__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ochre-ink);
  margin-bottom: 0.75rem;
}
.occasion__title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.occasion__body > p { color: var(--ink-2); max-width: 30rem; }

/* Videós alkalom (Dzsúdló-forgatás): szélesebb médiaoszlop, 16:9 */
.occasion--video { grid-template-columns: 5fr 7fr; }
.occasion__media--video { aspect-ratio: auto; overflow: visible; }

.video-facade {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;   /* a film 4:3-as képkivágású; lejátszáskor a .video-frame 16:9 */
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, var(--green-2), var(--green-deep) 75%);
  color: var(--cream);
  text-decoration: none;
}
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(20deg, rgba(16, 24, 20, 0.7) 0%, rgba(16, 24, 20, 0) 45%);
  pointer-events: none;
}
.video-facade__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.video-facade:hover .video-facade__poster { transform: scale(1.03); }
/* a lejátszás gomb a bal alsó sarokban — középen az arcot takarná */
.video-facade__play {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(244, 239, 228, 0.75);
  border-radius: 50%;
  background: rgba(16, 24, 20, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.video-facade__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -5px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--cream);
  transition: border-color 0.3s;
}
.video-facade:hover .video-facade__play { background: var(--ochre); border-color: var(--ochre); transform: scale(1.06); }
.video-facade:hover .video-facade__play::before { border-left-color: var(--ink); }
.video-facade__label {
  position: absolute;
  z-index: 1;
  left: calc(1.25rem + 64px + 1rem);
  bottom: calc(1.25rem + 32px - 0.5em);
  line-height: 1;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }

.video-credit {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--ochre);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.video-credit__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre-ink);
}
.video-credit__title { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.6rem 0 2.2rem; }
.tags li {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Történet ---------- */
.history { background: var(--paper-2); }
.history__grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: start;
}
.history__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.history__img { aspect-ratio: 4 / 3; overflow: hidden; margin-top: 1rem; }
.history__img img { width: 100%; height: 100%; object-fit: cover; }

.timeline { position: relative; border-left: 1px solid var(--line-strong); }
.timeline__item { position: relative; padding: 0 0 2.75rem 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  background: var(--ochre);
  transform: rotate(45deg);
}
.timeline__year {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre-ink);
  margin-bottom: 0.4rem;
}
.timeline__item h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.timeline__item p { color: var(--ink-2); }

.story { margin-top: 3.5rem; border-top: 1px solid var(--line-strong); }
.story summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.story summary::-webkit-details-marker { display: none; }
.story summary::after,
.faq__item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 0.35s var(--ease);
}
.story[open] summary::after,
.faq__item[open] summary::after { transform: rotate(45deg); }
.story__body { padding-bottom: 1rem; color: var(--ink-2); font-size: 1rem; }
.story__body p:first-child::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 0.8;
  padding: 0.35rem 0.6rem 0 0;
  color: var(--green-2);
}

/* ---------- Oldtimer ---------- */
.oldtimer { background: var(--green); color: var(--cream); overflow: hidden; }
.oldtimer .section-title em { color: var(--ochre-light); }
.oldtimer__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.oldtimer__media { position: relative; padding-bottom: 4rem; padding-right: 3rem; }
.oldtimer__img { overflow: hidden; }
.oldtimer__img img { width: 100%; height: 100%; object-fit: cover; }
.oldtimer__img--main { aspect-ratio: 4 / 3; }
.oldtimer__img--detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  border: 8px solid var(--green);
}
.oldtimer__body > p { color: var(--cream-2); max-width: 30rem; }

.specs { margin: 2rem 0 2.5rem; border-top: 1px solid rgba(244, 239, 228, 0.16); }
.specs div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(244, 239, 228, 0.16);
}
.specs dt {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre-light);
  padding-top: 0.2rem;
}
.specs dd { margin: 0; }
.oldtimer .todo { background: rgba(231, 194, 122, 0.14); border-color: var(--ochre-light); }

/* ---------- Galéria ---------- */
.gallery__lead { max-width: 52ch; margin: 1.5rem auto 0; color: var(--ink-2); }

/* Albumkártyák: a fotók „kupacban”, mint a régi oldalon */
.album-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.5rem 2.25rem;
  margin-top: 4.5rem;
  list-style: none;
  padding: 0;
}
.album-card__link {
  display: grid;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
}
.album-card__stack { position: relative; display: block; aspect-ratio: 4 / 5; }
.album-card__sheet {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0.5rem 0.5rem 1.6rem;
  background: var(--card);
  box-shadow: 0 10px 26px rgba(22, 36, 31, 0.16);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.album-card__sheet img { display: block; width: 100%; height: 100%; object-fit: cover; }
.album-card__sheet--3 { transform: rotate(-6deg) translate(-3px, 3px); }
.album-card__sheet--2 { transform: rotate(4.5deg) translate(4px, -2px); }
.album-card__sheet--1 { transform: rotate(-1.25deg); }

.album-card__link:hover .album-card__sheet--3,
.album-card__link:focus-visible .album-card__sheet--3 { transform: rotate(-11deg) translate(-14px, 6px); }
.album-card__link:hover .album-card__sheet--2,
.album-card__link:focus-visible .album-card__sheet--2 { transform: rotate(8deg) translate(13px, -5px); }
.album-card__link:hover .album-card__sheet--1,
.album-card__link:focus-visible .album-card__sheet--1 {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 22px 44px rgba(22, 36, 31, 0.24);
}

.album-card__body { display: grid; gap: 0.3rem; justify-items: start; }
.album-card__count {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre-ink);
}
.album-card__title { font-family: var(--serif); font-size: 1.95rem; line-height: 1.1; }
.album-card__cta {
  margin-top: 0.4rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}
.album-card__link:hover .album-card__cta,
.album-card__link:focus-visible .album-card__cta { border-color: var(--ink); color: var(--ink); }

/* Album-réteg (teljes képernyős dialog) */
.album {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.album[open] { display: block; }
.album::backdrop { background: rgba(14, 20, 17, 0.72); }
.album__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.5rem var(--gutter);
  background: rgba(244, 239, 228, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.album__bar .eyebrow { margin-bottom: 0.5rem; }
.album__heading { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1; }
.album__count {
  margin: 0 auto 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.album__close {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.album__close:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.album__close span { font-size: 1.1em; line-height: 1; }

.album__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  list-style: none;
  margin: 0;
}
.album__grid a {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-2);
}
.album__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.album__grid a:hover img, .album__grid a:focus-visible img { transform: scale(1.05); }
.album__grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 36, 0);
  transition: background-color 0.4s;
}
.album__grid a:hover::after { background: rgba(30, 42, 36, 0.12); }

/* ---------- GYIK ---------- */
.faq__points { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.5rem; }
.faq__points li { color: var(--ink-2); }
.faq__points strong { color: var(--ink); font-weight: 500; }

.faq { background: var(--paper-2); }
.faq__grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
}
.faq__grid .section-head { margin-bottom: 0; }
.faq__intro { color: var(--ink-2); }
.faq__intro a { color: var(--ink); text-underline-offset: 3px; }

.faq__item { border-top: 1px solid var(--line-strong); }
.faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { color: var(--ink-2); padding-bottom: 1.5rem; max-width: 38rem; }

/* ---------- Kapcsolat ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: start;
}
.contact__info > p { color: var(--ink-2); max-width: 28rem; }

.contact__list { margin: 2.5rem 0; display: grid; gap: 1.4rem; }
.contact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre-ink);
  margin-bottom: 0.15rem;
}
.contact__list a {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.contact__list a:hover { background-size: 100% 1px; }

.socials { display: flex; gap: 0.75rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  gap: 1.6rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.field { display: grid; gap: 0.35rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0;
}
.field__label abbr { text-decoration: none; color: var(--ochre-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.25s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e2a24' stroke-width='1.4'/%3E%3C/svg%3E") right 0.25rem center no-repeat; padding-right: 1.5rem; }
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--ochre-ink); box-shadow: 0 1px 0 var(--ochre-ink); }
.field input:user-invalid { border-bottom-color: #a2412f; }

.field--choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.field--choices legend { width: 100%; margin-bottom: 0.5rem; }
.choice { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.97rem; cursor: pointer; }
.choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--green-2); margin: 0; flex: none; }
.choice--consent { align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); }
.choice--consent input { margin-top: 0.2rem; }
.choice--consent a { color: var(--ink); text-underline-offset: 3px; }
.form__submit { justify-self: start; }
.form__status { margin: 0; font-size: 0.95rem; color: var(--green-2); }
.form__status:empty { display: none; }

/* ---------- Lábléc ---------- */
.footer { background: var(--green-deep); color: var(--cream-2); padding-top: clamp(4rem, 8vw, 6rem); font-size: 0.95rem; }
.footer a { text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: var(--cream); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer__logo {
  width: 112px;
  height: 112px;
  margin-bottom: 1.6rem;
  filter: url(#vv-logo-cream);
}
.footer__nav, .footer__contact { display: grid; gap: 0.6rem; align-content: start; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(244, 239, 228, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.55);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.35rem 1.75rem; }
.footer__legal a { color: inherit; transition: color 0.25s; }
.footer__legal a:hover, .footer__legal a:focus-visible { color: var(--cream); }

/* Készítő-kredit: halkabb, mint a jogi hivatkozások, de látszódjon rajta, hogy link */
.footer__credit a {
  color: rgba(244, 239, 228, 0.78);
  border-bottom: 1px solid rgba(244, 239, 228, 0.28);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--cream); border-color: var(--cream); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 20, 17, 0.96);
  color: var(--cream);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(14, 20, 17, 0.6); }
.lightbox__figure { display: grid; gap: 1rem; justify-items: center; padding: 4rem 5rem; }
.lightbox__figure img { max-width: min(90vw, 1600px); max-height: 80vh; width: auto; object-fit: contain; }
.lightbox__figure figcaption { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--cream-2); text-align: center; }
.lightbox__count {
  margin: -0.4rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.5);
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(244, 239, 228, 0.3);
  border-radius: 50%;
  background: rgba(14, 20, 17, 0.4);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  transition: background-color 0.25s, border-color 0.25s;
}
.lightbox__btn:hover { background: rgba(244, 239, 228, 0.12); border-color: var(--cream); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Scroll-reveal (csak ha fut JS) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1040px) {
  .spaces__grid { grid-template-columns: repeat(2, 1fr); }
  .space:nth-child(even) { margin-top: 0; }
  .album-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .facts__list { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 1.75rem 1.25rem; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .intro__grid,
  .occasion,
  .history__grid,
  .oldtimer__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .intro__media { padding-left: 2rem; padding-bottom: 3rem; }
  .occasion--flip .occasion__media { order: 0; }
  .occasion__media { aspect-ratio: 4 / 3; }
  .history__aside { position: static; }
  .history__img { display: none; }
  .oldtimer__media { padding-right: 2rem; padding-bottom: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .spaces__grid { grid-template-columns: 1fr; }
  .space__img { aspect-ratio: 4 / 3; }
  .form__row { grid-template-columns: 1fr; }
  .album-cards { gap: 2.5rem 1.25rem; }
  .album__bar { align-items: center; gap: 0.25rem 1rem; padding: 0.9rem var(--gutter); }
  .album__bar .eyebrow { display: none; }
  .album__heading { font-size: 1.7rem; }
  .album__count { order: 3; width: 100%; margin: 0; }
  .album-card__title { font-size: 1.6rem; }
  .album-card__link { gap: 1.1rem; }
  .album__grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .footer__bottom { flex-direction: column; }
  .lightbox__figure { padding: 4.5rem 0.75rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.25rem; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ================================================================
   Csak a WordPress-témában kell — a statikus prototípusban nincs rá szükség.
   (A tools/wp-theme/theme-extra.css fűzi hozzá a style.css végéhez.)
   ================================================================ */

/* ---------- Belső oldal (pl. adatkezelési tájékoztató) ---------- */
.vv-page { padding-top: calc(var(--header-h) + var(--section) * 0.6); }
.vv-page__inner { max-width: 48rem; }
.vv-page__body { font-size: 1.02rem; color: var(--ink-2); }
.vv-page__body > * + * { margin-top: 1.1em; }
.vv-page__body h2,
.vv-page__body h3 {
  margin-top: 2.2em;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
}
.vv-page__body h3 { font-size: 1.3rem; }
.vv-page__body ul,
.vv-page__body ol { padding-left: 1.3rem; }
.vv-page__body li + li { margin-top: 0.4em; }
.vv-page__body a { color: var(--ochre-ink); text-decoration: underline; text-underline-offset: 3px; }
.vv-page__body table { width: 100%; border-collapse: collapse; }
.vv-page__body th,
.vv-page__body td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); text-align: left; }
.vv-page__back { margin-top: 3rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.vv-page__back a { color: var(--ink-2); }
.vv-page__back a:hover { color: var(--ink); }

/* ---------- Űrlap: robotcsapda és visszajelzés ---------- */
/* Rejtett mező — ember nem látja, robot kitölti, és akkor eldobjuk az üzenetet. */
.vv-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status--ok { color: var(--green-2); }
.form__status--hiba { color: #9a3412; }

/* ---------- WordPress saját osztályai ---------- */
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
