/* section.css: the homepage hero of index.html. Production shows version 1 (.thv1). The 2026-11-20 review page shows
   three versions (section-variants group "hero", wrappers .thv1 to .thv3, switched by the section-variants runtime). Shared by all three (.thf): photo E with a slow
   zoom-out, a crossfade to the wedding photo and back (section.js sets the state classes), a dark fade from the left
   with the copy on the left, and the thin block (headline plus the two enquiry buttons).
   Variant parts: .thf1 block on the dark side of the photo, .thf2 cream card over the photo's lower edge,
   .thf3 dark band right under the photo. Every rule is scoped under .thv / .th-hero / .thf, so the shared .hero,
   .btn and token rules of tt-refresh.css and tt-v3.css stay untouched. */
.thv {
  --sv-top: 96px;
  --th-shadow-text: 0 2px 14px rgba(0, 0, 0, .55);
  /* Right inset that keeps content clear of the fixed phone and chat widgets (right: 30px, 60 px wide). */
  --th-widget: max(0px, min(76px, calc(752px - 50vw)));
}
.th-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #1b231d;
  color: #fff;
}
.th-hero img { border-radius: 0; max-width: none; }
.thv .th-eyebrow {
  display: block;
  font-family: 'Style Script', cursive;
  font-size: clamp(2.1rem, 2.9vw, 2.7rem);
  line-height: 1;
  color: var(--accent, #A88655);
  text-shadow: .4px .4px 0 currentColor, var(--th-shadow-text);
  margin: 0;
}
.thv .th-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: var(--th-shadow-text);
  margin: 0;
}
.thv .th-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.thv .th-ctas .btn { padding: 14px 24px; white-space: nowrap; }
/* Buttons on the dark photo or band: gold primary, white outline. The cream card (thv2) keeps the site defaults. */
.thv1 .btn-primary, .thv3 .btn-primary { background: var(--accent, #A88655); border-color: var(--accent, #A88655); color: var(--brand-darkest, #0A0F0B); box-shadow: 0 8px 22px rgba(0, 0, 0, .28); }
.thv1 .btn-primary:hover, .thv3 .btn-primary:hover { background: #fff; border-color: #fff; color: var(--brand-dark, #151F17); }
.thv1 .btn-outline, .thv3 .btn-outline { background: rgba(10, 15, 11, .25); border-color: rgba(255, 255, 255, .75); color: #fff; }
.thv1 .btn-outline:hover, .thv3 .btn-outline:hover { background: #fff; border-color: #fff; color: var(--brand-dark, #151F17); }

/* ---------- Photo: two stacked admin images, zoom-out then crossfade, one movement at a time ---------- */
.thf-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.thf-photo::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.thf .thf-img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  opacity: 0; transform: scale(1.1); transform-origin: 50% 35%;
  transition: opacity 2s ease-in-out, transform 6.5s cubic-bezier(.22, .61, .36, 1);
}
/* Per photo framing (2026-11-20): the zoom origin sits on the faces, so neither the crop nor the zoom cuts a head. */
.thf .thf-img.thf-lake { object-position: 70% 10%; transform-origin: 71% 16%; }
.thf .thf-img.thf-twirl { object-position: 57% 0%; transform-origin: 57% 8%; }
.thf .thf-img.thf-aisle { object-position: 50% 60%; }
/* Google rating line under the hero buttons (client 2026-11-20: "Több mint 2000 Google értékelés"). */
.thv .th-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: #fff; font-size: .98rem; text-decoration: none; text-shadow: var(--th-shadow-text); }
.thv .th-rating strong { font-weight: 700; }
.thv .th-rating:hover span:last-child, .thv .th-rating:focus-visible span:last-child { text-decoration: underline; }
.thv .th-rating-stars { color: #F4B400; letter-spacing: 2px; font-size: 1.05rem; }
.thf-card .th-rating { color: var(--brand-dark, #151F17); text-shadow: none; margin-top: 8px; }
.thf-band-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.thf-band .th-rating { margin-top: 0; }
.thf .thf-img.is-on { opacity: 1; }
.thf .thf-img.is-top { z-index: 1; }
.thf .thf-img.is-settled { transform: scale(1); }
.thf.is-still .thf-img { transition: none; }
.thf-inner { position: relative; flex: 1; display: flex; padding-top: 64px; }
.thf-copy { max-width: 640px; display: grid; gap: 12px; }
.thf-still {
  position: absolute; right: calc(var(--section-padding-x, 24px) + var(--th-widget)); bottom: 24px;
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(10, 15, 11, .42);
  color: #fff; font-size: 1.05rem; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .25s ease, border-color .25s ease;
}
.thf-still:hover, .thf-still:focus-visible { background: rgba(10, 15, 11, .7); border-color: #fff; }
.thf-still:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- 1 Sötét oldal: tall photo, strong wide fade, the thin block on the dark side ---------- */
.thf1 { min-height: clamp(560px, calc(100svh - 210px), 760px); }
.thf1 .thf-photo::after {
  background:
    linear-gradient(90deg, rgba(10, 15, 11, .86) 0%, rgba(10, 15, 11, .74) 28%, rgba(10, 15, 11, .34) 50%, rgba(10, 15, 11, 0) 66%),
    linear-gradient(180deg, rgba(10, 15, 11, .30) 0, rgba(10, 15, 11, 0) 20%);
}
.thf1 .thf-inner { align-items: center; padding-bottom: 56px; }
.thf1 .th-title { font-size: clamp(2.7rem, 4.6vw, 4.4rem); }
.thf1 .th-ctas { margin-top: 18px; }

/* ---------- 2 Lebegő kártya: lower photo, softer short fade, a slim cream card over the lower edge ---------- */
.thf2 { min-height: clamp(470px, calc(100svh - 300px), 640px); }
.thf2 .thf-photo::after {
  background:
    linear-gradient(90deg, rgba(10, 15, 11, .78) 0%, rgba(10, 15, 11, .52) 24%, rgba(10, 15, 11, .14) 44%, rgba(10, 15, 11, 0) 56%),
    linear-gradient(180deg, rgba(10, 15, 11, .30) 0, rgba(10, 15, 11, 0) 22%);
}
.thf2 .thf-inner { align-items: flex-end; padding-bottom: 92px; }
.thf2 .th-eyebrow { font-size: clamp(3rem, 4.6vw, 4.4rem); color: #fff; }
.thf2 .thf-still { bottom: 72px; }
/* The space under the photo takes the poster row's dark colour, so the card sits between photo and posters. */
.thv2 { background: var(--brand-darkest, #0A0F0B); }
.thf-card-wrap { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 4px; }
.thf-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 36px;
  margin-right: var(--th-widget);
  background: var(--tt-card, #fffdf8); border-top: 2px solid var(--accent, #A88655); border-radius: 3px;
  box-shadow: 0 18px 40px rgba(10, 15, 11, .18);
  padding: 22px 28px;
}
.thf-card .th-title { color: var(--brand-dark, #151F17); text-shadow: none; font-size: clamp(1.6rem, 2.1vw, 2.1rem); line-height: 1.1; }
.thf-card .th-ctas { flex-wrap: nowrap; flex-shrink: 0; }

/* ---------- 3 Alsó sáv: wide photo with a fade from the lower left, the buttons on a dark band under it ---------- */
.thf3 { min-height: clamp(470px, calc(100svh - 300px), 620px); }
.thf3 .thf-photo::after {
  background:
    radial-gradient(130% 150% at 0% 100%, rgba(10, 15, 11, .92) 0%, rgba(10, 15, 11, .66) 32%, rgba(10, 15, 11, .18) 56%, rgba(10, 15, 11, 0) 70%),
    linear-gradient(180deg, rgba(10, 15, 11, .30) 0, rgba(10, 15, 11, 0) 20%, rgba(10, 15, 11, 0) 70%, rgba(10, 15, 11, .55) 100%);
}
.thf3 .thf-inner { align-items: flex-end; padding-bottom: 30px; }
.thf3 .thf-copy { max-width: 860px; }
.thf3 .th-title { font-size: clamp(3rem, 5.2vw, 5rem); line-height: 1; }
.thf-band { background: rgb(10, 15, 11); border-bottom: 2px solid var(--accent, #A88655); padding: 6px 0 26px; }
.thf-band .th-ctas .btn { padding: 12px 24px; }

/* ---------- Tablet and phone: photo on top, a fade from the bottom, the copy at the photo's lower edge ---------- */
@media (max-width: 991px) {
  .thv { --sv-top: 14px; --th-widget: 0px; }
  .thv .th-title { font-size: clamp(2.1rem, 8.6vw, 2.8rem); }
  .thf1, .thf2, .thf3 { min-height: 0; }
  .thf-inner { align-items: flex-end; padding-top: 80px; padding-bottom: 28px; }
  .thf .thf-img { object-position: 30% 30%; }
  .thf .thf-img.thf-lake { object-position: 76% 20%; }
  .thf .thf-img.thf-twirl { object-position: 58% 0%; }
  .thf .thf-photo::after { background: linear-gradient(180deg, rgba(10, 15, 11, .25) 0%, rgba(10, 15, 11, 0) 28%, rgba(10, 15, 11, .55) 56%, rgba(10, 15, 11, .9) 100%); }
  .thf-copy { width: 100%; }
  .thf-still, .thf2 .thf-still { bottom: auto; top: 70px; }
  .thf1 .thf-inner { min-height: min(160vw, 680px); align-items: flex-end; padding-bottom: 28px; }
  .thf2 .thf-inner { min-height: min(120vw, 520px); padding-bottom: 72px; }
  .thf2 .th-eyebrow { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .thf-card-wrap { margin-top: -44px; }
  .thf-card { flex-direction: column; align-items: stretch; margin-right: 0; padding: 20px; }
  .thf-card .th-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .thf3 .thf-inner { min-height: min(130vw, 560px); padding-bottom: 18px; }
  .thf3 .th-title { font-size: clamp(2.4rem, 10vw, 3.2rem); }
}
@media (max-width: 600px) {
  .thv .th-ctas, .thf-card .th-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .thv .th-ctas .btn { white-space: normal; }
}
@media (max-width: 600px) {
  .thv .th-rating { gap: 6px; font-size: .86rem; }
  .thv .th-rating span:last-child { white-space: nowrap; }
  .thv .th-rating-stars { font-size: .82rem; letter-spacing: 0; }
}
