/* =====================================================================
   Halotti tor — Dolorosa Kft.
   Design system: "a mécses" (the light of remembrance)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --paper:        #F6F2EB;   /* warm ivory content bg */
  --paper-2:      #EFE8DB;   /* deeper ivory for alt sections */
  --ink:          #2B211C;   /* warm near-black text */
  --wine:         #5A1E2B;   /* deep burgundy — primary / brand heritage */
  --wine-deep:    #431520;   /* hover / darker */
  --ember:        #C69749;   /* muted candle-gold accent */
  --ember-deep:   #A9782F;
  --ember-text:   #8A6420;   /* darker gold — small text on light (WCAG AA) */
  --twilight:     #241612;   /* warm dark — hero band */
  --twilight-2:   #180D0A;
  --rose:         #EADFDD;   /* dusty rose callout */
  --rose-border:  #D9C4C2;
  --muted:        #6B5D54;   /* secondary text */
  --line:         #E2D9C9;   /* hairline on paper */
  --paper-rgb:    246,242,235;

  --measure: 64ch;           /* optimal reading width */
  --container: 1140px;
  --radius: 4px;
  --header-h: 76px;
  --header-h-scrolled: 64px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.16,.84,.44,1);  /* gentle "settle" for reveals */
  --reveal-dur: .9s;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;              /* 18px — legible for older readers */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: .18em; }
a:hover { color: var(--wine-deep); }

h1, h2, h3, h4 {
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.14;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.6rem); line-height: 1.06; letter-spacing: -0.022em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.25rem + 2.7vw, 3rem); line-height: 1.1; letter-spacing: -0.018em; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); font-weight: 500; }
p  { margin: 0 0 1em; }
.lead { text-wrap: pretty; }

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

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-header :focus-visible { outline-color: var(--ember); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 2.4rem + 6vw, 7rem); }
.section--alt { background: var(--paper-2); }
.measure { max-width: var(--measure); }
.center { text-align: center; }
.center .measure { margin-inline: auto; }

.eyebrow {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember-text);
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--ember); }
.center .eyebrow::after { content: ""; width: 1.6rem; height: 1px; background: var(--ember); }
.lead { font-size: 1.25rem; color: var(--ink); }
.muted { color: var(--muted); }

/* ---------- Editorial section header (left-aligned, type-first) ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin: 0; }
.section-head .lead { margin-top: 1.1rem; color: var(--muted); max-width: 52ch; }
.section-head--wide { max-width: 60rem; }

/* ---------- Editorial statement / pull-quote ---------- */
.statement { max-width: 30ch; margin: 0; padding-left: clamp(1.1rem, 2vw, 1.8rem); position: relative; }
.statement::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, var(--ember), var(--ember-deep));
}
.statement p {
  font-family: "Spectral", Georgia, serif; font-weight: 600;
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.7rem); line-height: 1.16; letter-spacing: -0.015em;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.statement .attr { display: block; margin-top: 1.1rem; font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ember-text); }
.statement-grid { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 820px) { .statement-grid { grid-template-columns: 1.05fr .95fr; } }

/* ---------- Signature: the light divider (a mécses) ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 auto; max-width: 320px; color: var(--line); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.divider::after { background: linear-gradient(90deg, var(--line), transparent); }
.divider .flame { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--ember) 0%, var(--ember-deep) 55%, transparent 72%); box-shadow: 0 0 14px 2px rgba(198,151,73,.5); flex: none; animation: flame-flicker 3.8s var(--ease) infinite; }
@keyframes flame-flicker {
  0%, 100% { box-shadow: 0 0 14px 2px rgba(198,151,73,.5);  transform: scale(1); }
  45%      { box-shadow: 0 0 21px 4px rgba(198,151,73,.7);  transform: scale(1.09); }
  72%      { box-shadow: 0 0 12px 2px rgba(198,151,73,.42); transform: scale(.96); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 1rem;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .95rem 1.6rem; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease),
              transform .25s var(--ease-soft), box-shadow .3s var(--ease-soft);
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--wine); color: var(--paper); }
.btn--primary:hover { background: var(--wine-deep); color: #fff; box-shadow: 0 14px 30px -14px rgba(90,30,43,.7); }
.btn--ghost { background: transparent; color: var(--wine); border-color: var(--rose-border); }
.btn--ghost:hover { border-color: var(--wine); background: rgba(90,30,43,.05); }
.btn--on-dark { background: var(--ember); color: var(--twilight); }
.btn--on-dark:hover { background: #d7a85a; color: var(--twilight-2); box-shadow: 0 12px 30px -12px rgba(198,151,73,.6); }
.btn--wide { width: 100%; }

/* =====================================================================
   Header / navigation
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(36,22,18,.98);
  color: var(--paper);
  border-bottom: 1px solid rgba(198,151,73,.22);
  /* NOTE: no backdrop-filter/transform/filter here — those would create a
     containing block for the fixed mobile nav panel and collapse it. */
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* condensed state on scroll — only bg/shadow/border/height, never transform/filter */
.site-header.scrolled {
  background: rgba(24,13,10,.99);
  box-shadow: 0 12px 32px -20px rgba(0,0,0,.85);
  border-bottom-color: rgba(198,151,73,.36);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.site-header.scrolled .header-inner { min-height: var(--header-h-scrolled); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--paper); margin-right: auto; }
.brand svg, .brand-logo { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: "Spectral", serif; font-weight: 600; font-size: 1.28rem; letter-spacing: .01em; }
.brand-text small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: .2rem; }
.site-nav a { color: var(--paper); text-decoration: none; font-size: 1rem; font-weight: 500; padding: .6rem .85rem; border-radius: var(--radius); display: inline-block; transition: background .18s, color .18s; }
.site-nav a:hover { background: rgba(246,242,235,.08); color: #fff; }
.site-nav a[aria-current="page"] { color: var(--ember); }

.has-sub { position: relative; }
.has-sub > .subnav {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--twilight-2); border: 1px solid rgba(198,151,73,.25); border-radius: var(--radius);
  padding: .4rem; margin-top: .3rem; display: block;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.7);
}
.has-sub:hover > .subnav,
.has-sub:focus-within > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { display: block; padding: .6rem .8rem; font-weight: 400; }
.subnav a::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); margin-right: .6rem; vertical-align: middle; opacity: .7; }

.header-cta { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; color: var(--twilight); background: var(--ember); padding: .6rem 1rem; border-radius: var(--radius); font-size: .98rem; white-space: nowrap; transition: background .18s; }
.header-cta:hover { background: #d7a85a; color: var(--twilight-2); }
.header-cta svg { width: 17px; height: 17px; }

.nav-toggle, .sub-toggle { display: none; }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-left: auto;
    background: transparent; border: 1px solid rgba(246,242,235,.28); border-radius: var(--radius);
    color: var(--paper); cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .header-cta .label-full { display: none; }
  .header-cta { order: 3; padding: .55rem .7rem; }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(88vw, 360px);
    background: var(--twilight); border-left: 1px solid rgba(198,151,73,.25);
    padding: 1rem 1.1rem 2.5rem; overflow-y: auto;
    /* kept within the viewport (right:0, width<=88vw) to avoid horizontal overflow;
       hidden with visibility/opacity + a small slide instead of translateX(100%) */
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
    box-shadow: -24px 0 50px -20px rgba(0,0,0,.6);
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .site-nav > ul > li { border-bottom: 1px solid rgba(246,242,235,.08); }
  .site-nav a { padding: .9rem .4rem; font-size: 1.08rem; }

  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .sub-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: transparent; border: none; color: var(--ember); cursor: pointer;
  }
  .sub-toggle svg { width: 20px; height: 20px; transition: transform .22s var(--ease); }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .has-sub > .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: 100%; background: transparent; border: none; box-shadow: none; margin: 0 0 .4rem;
    max-height: 0; overflow: hidden; padding: 0 0 0 .4rem;
    transition: max-height .28s var(--ease);
  }
  .has-sub.open > .subnav { max-height: 400px; }
  .subnav a { font-size: 1rem; }
}
@media (min-width: 901px) {
  .site-nav { display: block !important; }
  /* growing ember underline on top-level nav items */
  .site-nav > ul > li > a { position: relative; }
  .site-nav > ul > li > a::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
    height: 1.5px; background: var(--ember); opacity: .9;
    transform: scaleX(0); transform-origin: left center;
    transition: transform .3s var(--ease-soft);
  }
  .site-nav > ul > li > a:hover::after,
  .site-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
}

.nav-backdrop { position: fixed; inset: 0; background: rgba(20,12,10,.5); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .25s; }
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; color: var(--paper); background: var(--twilight); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* baseline scale gives ~7% slack each side so the parallax drift never exposes an edge */
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: sepia(.3) saturate(.8) contrast(1.03) brightness(.95); transform: scale(1.14); will-change: transform; }
/* candlelight glow + twilight wash */
.hero__wash {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(198,151,73,.28) 0%, rgba(198,151,73,0) 45%),
    linear-gradient(180deg, rgba(36,22,18,.72) 0%, rgba(36,22,18,.82) 55%, rgba(24,13,10,.96) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3.4rem, 2rem + 9vw, 7rem); }
/* homepage hero: cinematic, near-full-height, vertically centred */
.hero:not(.hero--page) { min-height: min(88vh, 880px); display: flex; align-items: center; }
.hero:not(.hero--page) .hero__inner { width: 100%; }
.hero__logo { display: block; width: clamp(84px, 8vw, 132px); height: auto; margin-bottom: 1.2rem; filter: drop-shadow(0 4px 18px rgba(198,151,73,.28)); }
.hero__inner .eyebrow { color: var(--ember); }
.hero h1 { color: #fdfaf4; max-width: 16ch; letter-spacing: -0.015em; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); color: rgba(246,242,235,.9); max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__phone { display: inline-flex; align-items: center; gap: .5rem; color: #fdfaf4; text-decoration: none; font-weight: 600; padding: .6rem .2rem; }
.hero__phone:hover { color: var(--ember); }
.hero__phone svg { width: 20px; height: 20px; }
.hero--page .hero__inner { padding-block: clamp(2.6rem, 1.6rem + 6vw, 4.6rem); }

/* ---- hero atmosphere: "a mécses" (breathing candle glow + rising embers) ---- */
.hero__glow {
  position: absolute; z-index: 1; pointer-events: none;
  top: -12%; right: 6%;
  width: min(48vw, 540px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(224,176,104,.42) 0%, rgba(198,151,73,.15) 34%, rgba(198,151,73,0) 66%);
  filter: blur(4px);
  animation: candle-breathe 6.5s var(--ease) infinite alternate;
}
@keyframes candle-breathe {
  from { opacity: .5;  transform: scale(.95); }
  to   { opacity: .92; transform: translateY(-2%) scale(1.06); }
}

.hero__embers { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.ember {
  position: absolute; bottom: -10px; left: var(--x, 50%);
  width: var(--size, 4px); height: var(--size, 4px); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(233,196,132,.95), rgba(198,151,73,.4) 58%, rgba(198,151,73,0) 74%);
  filter: blur(.6px); opacity: 0;
  animation: ember-rise var(--dur, 12s) linear var(--delay, 0s) infinite;
}
@keyframes ember-rise {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(.65); }
  14%  { opacity: var(--peak, .5); }
  72%  { opacity: var(--peak, .5); }
  100% { opacity: 0; transform: translate3d(var(--drift, 14px), -72vh, 0) scale(1.08); }
}
.hero__embers.is-paused .ember { animation-play-state: paused; }

/* ---- hero entrance orchestration (triggered by .is-ready on load) ---- */
.hero__logo, .hero__inner .eyebrow, .hero__lead, .hero__actions { opacity: 0; }
.hero h1 { opacity: 0; transition: opacity .6s var(--ease-soft); }
.hero.is-ready h1 { opacity: 1; }
.hero.is-ready .hero__logo        { animation: hero-in 1s var(--ease-soft) .05s both; }
.hero.is-ready .hero__inner .eyebrow { animation: hero-in 1s var(--ease-soft) .3s both; }
.hero.is-ready .hero__lead        { animation: hero-in 1s var(--ease-soft) 1.15s both; }
.hero.is-ready .hero__actions     { animation: hero-in 1s var(--ease-soft) 1.35s both; }
.hero.is-ready .hero__media img   { animation: hero-media-in 1.8s var(--ease-soft) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* opacity only — transform stays free for the baseline scale + parallax drift */
@keyframes hero-media-in { from { opacity: 0; } to { opacity: .38; } }

@media (prefers-reduced-motion: reduce) {
  .hero__glow, .divider .flame { animation: none; }
  .hero__embers { display: none; }
  .hero__logo, .hero__inner .eyebrow, .hero h1, .hero__lead, .hero__actions { opacity: 1; animation: none; }
  .hero.is-ready .hero__media img { animation: none; opacity: .38; }
}

/* =====================================================================
   Info callout (Információ, rendelésfelvétel)
   ===================================================================== */
.callout {
  background: var(--rose); border: 1px solid var(--rose-border); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; border-left: 4px solid var(--wine);
}
.callout h3 { color: var(--wine); margin-bottom: .7rem; font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; }
.callout--center { text-align: center; border-left: none; border-top: 4px solid var(--wine); }
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.contacts li { display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; }
.contacts .name { font-weight: 600; }
.contacts a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.contacts a:hover { text-decoration: underline; }

/* highlight box (soft) */
.note { background: var(--rose); border: 1px solid var(--rose-border); border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--wine-deep); font-weight: 500; }

/* =====================================================================
   Cards / grids
   ===================================================================== */
.grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.venue-card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft), border-color .3s var(--ease-soft);
}
.venue-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: 0; transition: opacity .35s var(--ease-soft);
}
.venue-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(43,33,28,.55); border-color: var(--rose-border); }
.venue-card:hover::before { opacity: 1; }
.venue-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.venue-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.venue-card:hover .venue-card__media img { transform: scale(1.04); }
.venue-card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.venue-card__body h3 { color: var(--wine); font-family: "Spectral", serif; font-weight: 600; font-size: 1.45rem; }
.venue-card__body p { color: var(--muted); font-size: 1rem; }
.venue-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; padding-top: 1.1rem; }
.venue-card__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }
.venue-card__phone svg { width: 16px; height: 16px; }
.venue-card__link { margin-left: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.venue-card__link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.venue-card:hover .venue-card__link svg { transform: translateX(3px); }

/* feature (mire számíthat) */
.feature { }
.feature__mark { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; background: radial-gradient(circle at 50% 40%, rgba(198,151,73,.28), rgba(198,151,73,.08)); border: 1px solid var(--rose-border); }
.feature__mark svg { width: 20px; height: 20px; color: var(--wine); }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); font-size: 1rem; margin: 0; }

/* room capacity cards */
.room {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft);
}
.room:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(43,33,28,.5); }
.room__media { aspect-ratio: 16/10; overflow: hidden; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.room:hover .room__media img { transform: scale(1.04); }
.room__body { padding: 1.4rem 1.5rem 1.6rem; }
.room__body h3 { color: var(--wine); font-family: "Spectral", serif; font-size: 1.4rem; }
.caps { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .5rem; }
.caps li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.caps li:last-child { border-bottom: none; }
.caps .cap-label { color: var(--muted); }
.caps .cap-val { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* =====================================================================
   Placeholder (no usable photo)
   ===================================================================== */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(107,93,84,.05) 0 12px, rgba(107,93,84,.02) 12px 24px),
    var(--paper-2);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); min-height: 180px;
}
.ph span { display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .85rem; padding: 1rem; }
.ph svg { width: 26px; height: 26px; opacity: .55; }

/* =====================================================================
   Gallery
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.gallery button {
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--paper-2); aspect-ratio: 3/2; display: block;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.gallery button:hover img { transform: scale(1.05); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(20,12,10,.92); padding: 1.2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); filter: sepia(.28) saturate(.84) contrast(1.02) brightness(.99); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(246,242,235,.1); border: 1px solid rgba(246,242,235,.25); color: var(--paper); border-radius: var(--radius); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__close { top: 1rem; right: 1rem; width: 48px; height: 48px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 64px; }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(246,242,235,.2); }

/* =====================================================================
   Menü (menüajánlatok) — placeholder / list
   ===================================================================== */
.menu-note { display: flex; gap: 1rem; align-items: flex-start; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.menu-list li { display: flex; gap: .7rem; align-items: baseline; }
.menu-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55rem; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--ember), var(--ember-deep)); box-shadow: 0 0 8px rgba(198,151,73,.5); }

/* =====================================================================
   Contact / map / form
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list svg { width: 20px; height: 20px; color: var(--wine); flex: none; margin-top: .2rem; }
.info-list a { text-decoration: none; font-weight: 600; }
.info-list .label { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; font-weight: 600; }

.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form .row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--wine); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rose-border); border-radius: var(--radius);
  padding: .8rem .9rem; width: 100%; min-height: 48px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(90,30,43,.14); }
.form__note { font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.form__note svg { width: 16px; height: 16px; flex: none; margin-top: .15rem; }
.form__status { font-size: .95rem; padding: .8rem 1rem; border-radius: var(--radius); background: var(--rose); border: 1px solid var(--rose-border); color: var(--wine-deep); display: none; }
.form__status.show { display: block; }

/* =====================================================================
   Unified warm imagery tone (pulls the mixed photos into one mood)
   ===================================================================== */
.venue-card__media img, .room__media img, .gallery img, .band__media img {
  filter: sepia(.32) saturate(.82) contrast(1.03) brightness(.98);
}
.venue-card__media, .room__media, .gallery button, .band__media { position: relative; }
.venue-card__media:has(img)::after,
.room__media:has(img)::after,
.gallery button::after,
.band__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(157deg, rgba(90,30,43,.24) 0%, rgba(36,22,18,.05) 46%, rgba(198,151,73,.18) 100%);
  mix-blend-mode: multiply;
}

/* =====================================================================
   Cinematic full-bleed image band (parallax anchor)
   ===================================================================== */
.band { position: relative; overflow: hidden; background: var(--twilight); color: var(--paper); isolation: isolate; }
.band__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.band__media img { width: 100%; height: 120%; object-fit: cover; opacity: .5; transform: translateY(0) scale(1.08); will-change: transform; }
.band__wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(90% 80% at 20% 30%, rgba(198,151,73,.16) 0%, rgba(198,151,73,0) 50%),
    linear-gradient(90deg, rgba(24,13,10,.9) 0%, rgba(24,13,10,.6) 45%, rgba(24,13,10,.35) 100%);
}
.band__inner { position: relative; z-index: 2; padding-block: clamp(4.5rem, 3rem + 12vw, 9rem); }
.band .statement { max-width: 24ch; padding-left: clamp(1.1rem, 2vw, 1.8rem); }
.band .statement::before { background: linear-gradient(180deg, var(--ember), rgba(198,151,73,.2)); }
.band .statement p { color: #fdfaf4; font-size: clamp(1.9rem, 1.1rem + 3vw, 3.2rem); }
.band .statement .attr { color: var(--ember); }

/* =====================================================================
   Film grain (filmic depth over flat surfaces)
   ===================================================================== */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
@media (prefers-reduced-motion: reduce) { .grain { opacity: .38; } }

/* =====================================================================
   Side section indicator (subpages)
   ===================================================================== */
.section-nav { position: fixed; top: 50%; right: clamp(.8rem, 2vw, 1.8rem); transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; gap: .1rem; }
.section-nav a { display: flex; align-items: center; gap: .7rem; justify-content: flex-end; padding: .45rem 0; text-decoration: none; color: var(--muted); }
.section-nav .dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--rose-border); background: transparent; flex: none; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.section-nav .txt { font-family: "IBM Plex Sans", sans-serif; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; opacity: 0; transform: translateX(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.section-nav a:hover .txt, .section-nav a:focus-visible .txt { opacity: 1; transform: none; }
.section-nav a:hover .dot { border-color: var(--ember); }
.section-nav a[aria-current="true"] .dot { background: var(--ember); border-color: var(--ember); transform: scale(1.15); box-shadow: 0 0 10px rgba(198,151,73,.55); }
.section-nav a[aria-current="true"] .txt { opacity: 1; transform: none; color: var(--ink); }
@media (max-width: 1100px) { .section-nav { display: none; } }

/* =====================================================================
   Contact strip
   ===================================================================== */
.strip { background: var(--twilight); color: var(--paper); text-align: center; position: relative; }
.strip .container { padding-block: clamp(2.4rem, 1.6rem + 4vw, 4rem); }
.strip h2 { color: #fdfaf4; }
.strip p { color: rgba(246,242,235,.82); max-width: 50ch; margin-inline: auto; }
.strip .hero__actions { justify-content: center; margin-top: 1.6rem; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--twilight-2); color: rgba(246,242,235,.8); font-size: .95rem; }
.site-footer .container { padding-block: clamp(2.6rem, 2rem + 3vw, 4rem); }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer h3 { color: var(--paper); font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer h3 .flame-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px var(--ember); margin-right: .5rem; vertical-align: middle; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.partners li { line-height: 1.4; }
.partners strong { color: var(--paper); font-weight: 600; }
.partners a { color: var(--ember); }
/* shared animated underline (draws in from the left), multi-line safe */
.partners a, .footer-contact a, .info-list a, .contacts a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .32s var(--ease-soft), color .18s;
}
.partners a:hover, .footer-contact a:hover, .info-list a:hover, .contacts a:hover {
  background-size: 100% 1.5px; text-decoration: none;
}
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.footer-contact a { color: var(--paper); text-decoration: none; }
.footer-contact a:hover { color: var(--ember); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand svg, .footer-logo { width: 40px; height: 40px; }
.footer-brand strong { font-family: "Spectral", serif; color: var(--paper); font-size: 1.3rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(246,242,235,.12); margin-top: 2.6rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .85rem; color: rgba(246,242,235,.6); }
.footer-bottom .company { max-width: 60ch; }

/* =====================================================================
   Scroll reveal
   ===================================================================== */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--reveal-dur) var(--ease-soft), transform var(--reveal-dur) var(--ease-soft);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* variant: slow scale-in for imagery */
.reveal--scale { transform: translateY(22px) scale(1.05); transition-duration: 1.15s; }
.reveal--scale.in { transform: none; }

/* variant: opacity only (large type where a slide would feel heavy) */
.reveal--fade { transform: none; }

/* masked line-by-line headline reveal (built by JS from data-splitlines) */
.split-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.split-line__in {
  display: block;
  transform: translateY(118%);
  transition: transform .95s var(--ease-soft);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}
/* revealed either directly (hero, self) or via the nearest .reveal ancestor (sections) */
.split-ready .split-line__in,
.reveal.in .split-line__in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--scale { opacity: 1; transform: none; }
  .split-line__in { transform: none; }
}

/* skip link */
.skip { position: absolute; left: -999px; top: .5rem; z-index: 300; background: var(--wine); color: var(--paper); padding: .7rem 1.1rem; border-radius: var(--radius); text-decoration: none; }
.skip:focus { left: .5rem; }

/* anchor offset for sticky header */
:target, .anchor { scroll-margin-top: calc(var(--header-h) + 16px); }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* utility */
.stack > * + * { margin-top: 1.1rem; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
