/* ==========================================================================
   Székely Vendégház – nagyszékelyvendégház.hu
   Mobile-first, töréspontok: 900px (tablet→desktop nav), 1200px (teljes rács)
   ========================================================================== */

/* ---- 1. Design tokenek (SPEC 3. fejezet) ---- */
:root {
  /* színek */
  --c-bg:        #f4ead8;  /* alap krém háttér */
  --c-bg-2:      #e9dcc2;  /* váltakozó szekció háttér */
  --c-card:      #fbf3e4;  /* kártyák */
  --c-line:      #d9c7a6;  /* keretek, elválasztók */
  --c-text:      #2f2418;  /* főszöveg */
  --c-text-2:    #5c4a33;  /* másodlagos szöveg */
  --c-accent:    #8a4b22;  /* terrakotta – gombok, linkek, kiemelés */
  --c-accent-h:  #5c2f12;  /* hover */
  --c-gold:      #c8862f;  /* hero elsődleges gomb */
  --c-olive:     #3d4a2c;  /* sötét sávok, kapcsolat blokk háttér */
  --c-olive-2:   #55643f;  /* elválasztó a sötét sávban */
  --c-cream:     #f1d9a8;  /* világos kiemelés sötét háttéren */
  --c-on-dark:   #f4ead8;  /* szöveg sötét háttéren */
  --c-on-dark-2: #e6dcc4;

  /* tipográfia */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'Lora', Georgia, serif;

  /* egyéb */
  --radius: 6px;
  --shadow: 0 18px 40px rgba(47, 36, 24, .25);
  --container: 1280px;
  --gutter: 20px;           /* mobil; tablet 40px; desktop 80px */
  --header-h: 72px;
}

@media (min-width: 900px)  { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 80px; --header-h: 96px; } }

/* ---- 2. Reset, alapok ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

/* mozgásérzékeny látogatóknak nincs animáció */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) { body { font-size: 17px; } }

img { display: block; max-width: 100%; }

/* a <picture> ne hozzon létre saját dobozt: az <img> marad a tényleges
   elrendezési elem, így a képek osztályaira írt szabályok változatlanul érvényesek */
picture { display: contents; }

a { color: var(--c-accent); }
a:hover { color: var(--c-accent-h); }

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

/* horgonyra ugrásnál a sticky fejléc ne takarja a szekciócímet */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--c-accent);
  color: var(--c-card);
  padding: 12px 20px;
  border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; color: var(--c-card); }

/* ---- 3. Közös építőelemek ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 64px; }
.section--alt { background: var(--c-bg-2); }
.section--olive { background: var(--c-olive); color: var(--c-on-dark); }

@media (min-width: 900px)  { .section { padding-block: 100px; } }

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow--on-dark { color: var(--c-cream); }

.section__title {
  margin: 0 0 24px;
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.12;
}
.section__title em { font-style: italic; color: var(--c-accent); }
.section--olive .section__title em { color: var(--c-cream); }

@media (min-width: 900px)  { .section__title { font-size: 46px; } }

/* gombok – érintési felület ≥ 44px */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 16px 22px;
  max-width: 100%;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}

@media (min-width: 560px) { .btn { padding: 16px 30px; } }

.btn--primary { background: var(--c-accent); color: var(--c-card); }
.btn--primary:hover { background: var(--c-accent-h); color: var(--c-card); }

.btn--gold { background: var(--c-gold); color: var(--c-text); }
.btn--gold:hover { background: var(--c-cream); color: var(--c-text); }

.btn--outline-light {
  border: 2px solid var(--c-card);
  color: var(--c-card);
  padding: 14px 30px;
}
.btn--outline-light:hover { background: rgba(251, 243, 228, .15); color: var(--c-card); }

/* ---- 4. Fejléc ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}

/* a fejléc szélesebb konténert kap, mint a tartalom,
   hogy a menü + telefon-gomb kényelmesen elférjen */
.site-header__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.site-header__logo { height: 44px; width: auto; }

/* Keskeny telefonon kisebb betű, hogy a domain neve ne vágódjon le
   („nagyszékelyvendéghá…"). A logó melletti felirat így végig egészben látszik. */
.site-header__name {
  /* 360 px alatt (régi, kis kijelzők) nem fér el egészben, ezért inkább
     elrejtjük – a logó-tábla úgyis viszi a nevet. */
  display: none;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-olive);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 360px) { .site-header__name { display: block; } }
@media (min-width: 375px) { .site-header__name { font-size: 15px; } }
@media (min-width: 430px) { .site-header__name { font-size: 18px; } }

/* hamburger (csak mobil) */
.site-header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.site-header__toggle span {
  display: block;
  height: 2px;
  background: var(--c-text);
  transition: transform .2s, opacity .2s;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobil: lenyíló teljes szélességű menü */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  padding: 8px var(--gutter) 20px;
}
.site-nav.is-open { display: block; }

.site-nav__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.site-nav__list a {
  display: block;
  padding: 12px 4px;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--c-line);
}
.site-nav__list a:hover,
.site-nav__list a.is-active { color: var(--c-accent); }

.site-nav__phone { width: 100%; }

/* ---- Közösségi ikonok (a telefon-gomb után) ---- */
.social {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
}

/* Tömör olíva kitöltés: az áttetsző, kontúros változat beleolvadt a krém
   fejlécbe. Így a terrakotta telefon-gomb mellett is jól elkülönül. */
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-olive);
  border-radius: var(--radius);
  color: var(--c-on-dark);
  text-decoration: none;
  transition: background-color .2s, transform .15s;
}
.social__link:hover {
  background: var(--c-accent);
  color: var(--c-card);
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .social { margin: 0; }
}

/* desktop nav ≥ 900px – szűk sávban a domain-felirat rejtve,
   a menü sűrűbb, a telefon-gomb csak ikon; szélesedve fokozatosan bővül */
@media (min-width: 900px) {
  .site-header__toggle { display: none; }
  .site-header__name { display: none; }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    position: static;
    background: none;
    border: 0;
    padding: 0;
  }

  .site-nav__list {
    display: flex;
    gap: 16px;
    margin: 0;
  }
  .site-nav__list a {
    padding: 4px 0;
    font-size: 15px;
    border-bottom: 2px solid transparent;
  }
  .site-nav__list a.is-active { border-bottom-color: var(--c-accent); }

  .site-nav__phone {
    width: auto;
    padding: 12px 16px;
    font-size: 15px;
    /* a telefonszám egy sorban maradjon, akármilyen szűk a fejléc */
    white-space: nowrap;
  }
  .site-nav__phone-label { display: none; }
}

/* a telefonszám felirata visszatér */
@media (min-width: 1040px) {
  .site-nav__phone-label { display: inline; }
}

@media (min-width: 1200px) {
  .site-header__logo { height: 56px; }
  .site-nav { gap: 24px; }
  .site-nav__list { gap: 24px; }
  .site-nav__list a { font-size: 16px; }
  .site-nav__phone { padding: 14px 24px; font-size: 16px; }
}

/* a domain-felirat csak ott jelenik meg, ahol tényleg elfér */
@media (min-width: 1360px) {
  .site-header__name {
    display: block;
    font-size: 20px;
  }
}

/* ---- 5. Hero ---- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* A kivágás a kép alsó harmadára húz, hogy a bejárat és a terméskő fal
     maradjon képben – középre igazítva csak a tető látszana. */
  object-position: center 85%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(47, 36, 24, .44);
}

.hero__content {
  position: relative;
  max-width: 780px;
  padding: 48px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-card);
}

.hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-on-dark);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero .eyebrow { margin: 0; }

@media (min-width: 900px) {
  .hero { min-height: min(640px, 86vh); }
  .hero__title { font-size: 56px; }
  .hero__lead { font-size: 20px; }
}

@media (min-width: 1200px) {
  .hero { min-height: min(720px, 86vh); }
  .hero__title { font-size: 72px; }
  .hero__content {
    margin-inline: auto;
    width: 100%;
    max-width: var(--container);
    padding: 80px var(--gutter);
  }
  /* a tartalom a konténeren belül balra, max 780px széles */
  .hero__content > * { max-width: 780px; }
}

/* ---- 6. Adatsáv ---- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--c-olive);
  color: var(--c-on-dark);
}

.facts__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--c-olive-2);
}
.facts__item:nth-child(odd) { border-right: 1px solid var(--c-olive-2); }

/* mobilon az utolsó cella teljes szélességű */
.facts__item:last-child {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
}
.facts__item:nth-last-child(2),
.facts__item:nth-last-child(3) { border-bottom: 0; }

.facts__number {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-cream);
}

.facts__label {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .facts__item,
  .facts__item:nth-child(odd),
  .facts__item:last-child {
    padding: 30px 36px;
    border-bottom: 0;
    border-right: 1px solid var(--c-olive-2);
    grid-column: auto;
  }
  .facts__item:last-child { border-right: 0; }
  .facts__number { font-size: 32px; }
  .facts__label { font-size: 14px; }
}

/* ---- 7. Közös szekció-elemek ---- */
.section__lead {
  margin: 0 0 24px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text-2);
}
.section--olive .section__lead { color: var(--c-on-dark-2); }

@media (min-width: 900px) { .section__lead { font-size: 18px; } }

.btn--outline-accent {
  border: 2px solid var(--c-accent);
  color: var(--c-accent);
  padding: 14px 28px;
}
.btn--outline-accent:hover {
  background: var(--c-accent);
  color: var(--c-card);
}

/* ---- 8. A ház története ---- */
.about {
  display: grid;
  gap: 40px;
}

.about__text p:not(.eyebrow) {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
}

.about__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 10px;
  font-weight: 600;
  color: var(--c-olive);
}

.about__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.about__meta-item svg { color: var(--c-accent); flex-shrink: 0; }

/* Kiemelt megjegyzés a ház bemutatásában (étkeztetés).
   A választó azért ilyen részletes, hogy felülírja a
   `.about__text p:not(.eyebrow)` szabály méretét és margóját. */
.about__text p.about__note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0 0;
  padding: 18px 20px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.65;
}
.about__note svg { color: var(--c-accent); flex-shrink: 0; margin-top: 2px; }
.about__note strong { color: var(--c-text); }

/* mobil: a két fotó egymás alatt, csúszás nélkül */
.about__photos {
  display: grid;
  gap: 20px;
}

.about__photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: center;
  }
  .about__text p:not(.eyebrow) { font-size: 18px; }

  /* egymásra csúszó fotópár */
  .about__photos {
    display: block;
    position: relative;
    height: 560px;
  }
  .about__photo--main {
    position: absolute;
    left: 0;
    top: 0;
    width: min(460px, 80%);
    height: 380px;
  }
  .about__photo--overlap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(400px, 70%);
    height: 300px;
    border: 8px solid var(--c-bg);
  }
}

@media (min-width: 1200px) { .about { gap: 80px; } }

/* ---- 9. Beosztás ---- */
.section--tight { padding-top: 0; }

.floors {
  display: grid;
  gap: 24px;
  margin-top: 12px;
}

.floor-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px;
}

.floor-card__title {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
}

.floor-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.5;
}
.floor-card__list li { padding-left: 20px; position: relative; }
.floor-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--c-accent);
}

.floor-card--olive {
  background: var(--c-olive);
  border-color: var(--c-olive);
  color: var(--c-on-dark);
}
.floor-card--olive .floor-card__title { color: var(--c-cream); }
.floor-card--olive .floor-card__list li::before { color: var(--c-cream); }

@media (min-width: 900px) {
  .floors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- 10. Szobák ---- */
.rooms__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
}
.rooms__head .section__title { margin-bottom: 0; }

.rooms__note {
  margin: 0;
  font-style: italic;
  color: var(--c-text-2);
  font-size: 17px;
}

.rooms {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.room-card {
  display: flex;
  flex-direction: column;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.room-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}


.room-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.room-card__body p { margin: 0; }

.room-card__level {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-olive);
}

.room-card__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
}

.room-card__beds {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
}

.room-card__desc {
  font-size: 15px;
  line-height: 1.6;
}

/* a .room-card__body p { margin: 0 } miatt kell a nagyobb specifikusság */
.room-card__body .room-card__price {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
}

.baths {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

/* nagyon keskeny kijelzőn (≈320px) a kép fölé, a szöveg alá kerül,
   különben a 120px-es kép + a cím együtt kilógna */
.bath-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
}
.bath-card > div { min-width: 0; }

.bath-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

@media (min-width: 400px) {
  .bath-card {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
  }
  .bath-card__img { width: 120px; height: 120px; }
}

.bath-card__title {
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
}

.bath-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-2);
}

@media (min-width: 900px) {
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .baths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- 11. Árak és foglalás ---- */
.prices {
  display: grid;
  gap: 32px;
  margin-top: 16px;
}

.price-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card p { margin: 0; }

.price-card__option {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-olive);
}

.price-card__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
}

.price-card__amount {
  font-family: var(--f-display);
  font-size: 36px;
  color: var(--c-accent);
}
.price-card__amount span {
  font-family: var(--f-body);
  font-size: 18px;
  color: var(--c-text-2);
}

.price-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.5;
}
.price-card__list li { padding-left: 24px; position: relative; }
.price-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-accent);
}

.price-card--olive {
  background: var(--c-olive);
  border-color: var(--c-olive);
  color: var(--c-on-dark);
}
.price-card--olive .price-card__option { color: var(--c-cream); }
.price-card--olive .price-card__amount { color: var(--c-cream); }
.price-card--olive .price-card__amount span { color: var(--c-on-dark-2); }
.price-card--olive .price-card__list li::before { color: var(--c-cream); }

.booking-band {
  margin-top: 40px;
  background: var(--c-bg-2);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.booking-band__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
}

/* keskeny kijelzőn a két foglalási gomb teljes szélességű, egymás alatt */
.booking-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
/* csak itt kell tördelés: a 30 karakteres e-mail cím különben kilógna */
.booking-band__actions .btn { width: 100%; overflow-wrap: anywhere; }

@media (min-width: 560px) {
  .booking-band__actions { width: auto; }
  .booking-band__actions .btn { width: auto; }
}

@media (min-width: 900px) {
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card { padding: 40px; }
  .price-card__title { font-size: 32px; }
  .price-card__amount { font-size: 40px; }
  .booking-band { padding: 28px 40px; }
}

/* ---- 12. Szolgáltatások ---- */
.amenities {
  display: grid;
  gap: 40px;
}

.amenities__grid {
  display: grid;
  gap: 20px;
}

.amenity {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.amenity svg { color: var(--c-accent); flex-shrink: 0; }

.amenity__title {
  margin: 0 0 4px;
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 600;
}

.amenity__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text-2);
}

/* az étkeztetés-kártya két hasábot fog át, így kiemelten zárja a sort */
.amenity--wide {
  border-left: 3px solid var(--c-accent);
}
@media (min-width: 900px) {
  .amenity--wide { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .amenities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .amenities {
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
  }
}

/* ---- 13. Terasz és kert ---- */
.terrace {
  display: grid;
  gap: 40px;
}

/* mobilon a szöveg kerüljön előre */
.terrace__text { order: -1; }

.terrace__photos {
  display: grid;
  gap: 16px;
}

.terrace__photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}
.terrace__photo--wide { height: 340px; }

@media (min-width: 900px) {
  .terrace__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terrace__photo--wide { grid-column: span 2; }
}

@media (min-width: 1200px) {
  .terrace {
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 64px;
    align-items: center;
  }
  .terrace__text { order: 0; }
}

/* ---- 14. Galéria ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 160px;
  gap: 12px;
  margin-top: 16px;
}

.gallery__item {
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.gallery__item:hover img { transform: scale(1.04); }

.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
/* álló fotók két sor magas cellát kapnak, így nem vágja le őket a rács */
.gallery__item--tall { grid-row: span 2; }

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 16px;
  }
}

/* ---- 14/b. Lightbox ---- */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(47, 36, 24, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
}
.lightbox[hidden] { display: none; }

.lightbox__figure {
  margin: 0;
  text-align: center;
  max-width: min(1100px, 100%);
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox__caption {
  margin-top: 12px;
  color: var(--c-on-dark-2);
  font-size: 15px;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-olive-2);
  border-radius: 50%;
  background: rgba(61, 74, 44, .6);
  color: var(--c-on-dark);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--c-olive); }

.lightbox__close { top: 16px; right: 16px; }

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  padding-bottom: 4px;
}
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

@media (min-width: 900px) {
  .lightbox { padding: 64px; }
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
}

/* ---- 14/c. Nagyszékely története (olvasmányos szövegblokk) ---- */
.story {
  /* kényelmes olvasási sorhossz – nem futhat ki a teljes konténer szélességére */
  max-width: 740px;
}

.story p {
  margin: 0 0 20px;
  line-height: 1.8;
}

.story__lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--c-text);
}

.story__quote {
  margin: 32px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--c-accent);
}
.story__quote p {
  margin: 0;
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--c-accent);
}

.story__close {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 18px;
  font-style: italic;
  color: var(--c-text-2);
}

@media (min-width: 900px) {
  .story__lead { font-size: 21px; }
  .story__quote {
    margin: 40px 0;
    padding-left: 32px;
  }
  .story__quote p { font-size: 26px; }
}

/* ---- 15. Környék ---- */
.location {
  display: grid;
  gap: 40px;
}

/* Szabadidős lehetőségek a környéken (vadászat, túrázás, kerékpározás) */
.activities {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.activity {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.activity svg {
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.activity > div { min-width: 0; }

.activity__title {
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.activity__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text-2);
}

.location__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 10px;
}
/* az utolsó sor alá nem kell újabb vonal – a lista így akkor is jól néz ki,
   ha egyetlen tételt tartalmaz */
.location__list li:last-child { border-bottom: 0; padding-bottom: 0; }

.location__km {
  color: var(--c-accent);
  font-weight: 600;
  white-space: nowrap;
}

.location__map {
  min-height: 320px;
  /* kártya-háttér, hogy a sötétebb krém szekcióban is elváljon,
     és egy tónusban legyen az alatta lévő koordináta-kártyával */
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: var(--c-text-2);
}
.location__map svg { color: var(--c-accent); }
.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}
.location__map.is-loaded { padding: 0; }

.location__map-address {
  margin: 0;
  font-weight: 600;
}

.location__map-note {
  margin: 0;
  font-size: 13px;
  max-width: 360px;
}

.location__map-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Tájképek a szakasz alján, a rács teljes szélességében */
.location__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.location__photo { margin: 0; }

.location__photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 40%;   /* a horizont maradjon a képben */
  border-radius: var(--radius);
}

.location__photo figcaption {
  margin-top: 8px;
  font-size: 14px;
  font-style: italic;
  color: var(--c-text-2);
}

/* a harmadik kép mobilon teljes szélességű, hogy ne maradjon üres cella */
.location__photos .location__photo:last-child { grid-column: 1 / -1; }
.location__photos .location__photo:last-child img { height: 240px; }

@media (min-width: 900px) {
  .location__photos {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }
  .location__photo img { height: 260px; }
  .location__photos .location__photo:last-child { grid-column: auto; }
  .location__photos .location__photo:last-child img { height: 260px; }
}

/* ---- Másolható GPS-koordináta ---- */
.coords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 16px 20px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.coords__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.coords__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-2);
}

/* a számokat fix szélességű betűvel könnyebb leolvasni és ellenőrizni */
.coords__value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--c-text);
  user-select: all;   /* egy kattintás kijelöli az egészet */
}

.coords__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.coords__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--c-accent);
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-accent);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.coords__btn:hover {
  background: var(--c-accent);
  color: var(--c-card);
}
.coords__btn.is-copied {
  background: var(--c-olive);
  border-color: var(--c-olive);
  color: var(--c-on-dark);
}
.coords__btn.is-error {
  background: transparent;
  border-color: var(--c-text-2);
  color: var(--c-text-2);
}

.coords__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.coords__link:hover {
  color: var(--c-accent-h);
  border-bottom-color: currentColor;
}

/* sötét (olíva) háttéren – a kapcsolat blokkban */
.coords--on-dark {
  background: rgba(244, 234, 216, .08);
  border-color: var(--c-olive-2);
}
.coords--on-dark .coords__label { color: var(--c-on-dark-2); }
.coords--on-dark .coords__value { color: var(--c-cream); }

.coords--on-dark .coords__btn {
  border-color: var(--c-cream);
  color: var(--c-cream);
}
.coords--on-dark .coords__btn:hover {
  background: var(--c-cream);
  color: var(--c-text);
}
.coords--on-dark .coords__btn.is-copied {
  background: var(--c-cream);
  border-color: var(--c-cream);
  color: var(--c-text);
}
.coords--on-dark .coords__btn.is-error {
  background: transparent;
  border-color: var(--c-on-dark-2);
  color: var(--c-on-dark-2);
}

.coords--on-dark .coords__link { color: var(--c-cream); }
.coords--on-dark .coords__link:hover { color: var(--c-on-dark); }

@media (min-width: 900px) {
  .location {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: center;
  }
  .location__map { min-height: 460px; }
  .coords__value { font-size: 18px; }
}

@media (min-width: 1200px) { .location { gap: 80px; } }

/* ---- 16. Kapcsolat ---- */
.contact {
  display: grid;
  gap: 40px;
}

.contact__lead {
  margin: 0 0 24px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-on-dark-2);
}

.contact__text { min-width: 0; }

.contact__rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  /* ezek a legfontosabb koppintási felületek az oldalon – kényelmes méret kell */
  min-height: 44px;
  padding: 4px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--c-on-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* az e-mail cím jóval hosszabb a telefonszámoknál – keskeny kijelzőn kisebb betűvel fér el */
.contact__row--mail { font-size: 16px; }
@media (min-width: 560px) { .contact__row--mail { font-size: 18px; } }
.contact__row svg { color: var(--c-cream); flex-shrink: 0; }
a.contact__row:hover { color: var(--c-cream); }

.contact__row--address {
  font-size: 17px;
  font-weight: 400;
  color: var(--c-on-dark-2);
}

.contact .coords { margin-top: 24px; }

.goodtoknow {
  background: var(--c-card);
  color: var(--c-text);
  border-radius: var(--radius);
  padding: 28px;
}

.goodtoknow__title {
  margin: 0 0 16px;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
}

.goodtoknow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.5;
}
.goodtoknow__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 8px;
}
.goodtoknow__list li:last-child { border-bottom: 0; padding-bottom: 0; }

.goodtoknow__value { font-weight: 600; text-align: right; }

@media (min-width: 900px) {
  .contact__row { font-size: 22px; }
  /* a hosszabb e-mail cím itt is egy fokkal kisebb, hogy kiegyensúlyozott maradjon a blokk */
  .contact__row--mail { font-size: 20px; }
  .goodtoknow { padding: 36px; }
}

/* A „Jó tudni” kártya 520 px-et foglal el, ezért két hasáb csak akkor indokolt,
   ha a szövegoszlopnak is marad elég hely – 900 px-en még 221 px-re szorulna. */
@media (min-width: 1100px) {
  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1200px) { .contact { gap: 80px; } }

/* ---- 17. Szöveges aloldalak (adatkezelés, később házirend) ---- */
.prose {
  max-width: 820px;
}

.prose__title {
  margin: 0 0 20px;
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.12;
}

.prose__lead {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--c-text-2);
}

.prose h2 {
  margin: 40px 0 14px;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.prose h3 {
  margin: 28px 0 10px;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
}

.prose p { margin: 0 0 16px; line-height: 1.75; }

.prose ul {
  margin: 0 0 16px;
  padding-left: 22px;
  line-height: 1.75;
}
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--c-accent); }

/* fogalom–meghatározás párok: mobilon egymás alatt, szélesebb nézetben két hasábban */
.prose__dl {
  margin: 0 0 20px;
  padding: 20px 24px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.prose__dl dt {
  font-weight: 600;
  color: var(--c-olive);
  margin-top: 14px;
}
.prose__dl dt:first-child { margin-top: 0; }
.prose__dl dd {
  margin: 4px 0 0;
  line-height: 1.7;
}

@media (min-width: 700px) {
  .prose__dl {
    display: grid;
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    gap: 12px 28px;
  }
  .prose__dl dt { margin-top: 0; }
  .prose__dl dd { margin: 0; }
}

@media (min-width: 900px) {
  .prose__title { font-size: 44px; }
  .prose h2 { font-size: 30px; }
}

.prose__meta {
  margin-top: 32px;
  font-size: 15px;
  color: var(--c-text-2);
  font-style: italic;
}

.prose__back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-weight: 600;
}

/* ---- 18. Lábléc ---- */
.site-footer {
  border-top: 1px solid var(--c-line);
  font-size: 14px;
  color: var(--c-text-2);
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 24px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer p { margin: 0; }

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
/* nagyobb koppintási felület a lábléc linkjeinek */
.site-footer__links a {
  display: inline-block;
  padding: 10px 0;
  color: var(--c-text-2);
}
.site-footer__links a:hover { color: var(--c-accent-h); }
