/* =========================================================
   CASALADA — Direction B + Hero F
   Cinematic dark, gold akcenty, Fraunces + DM Sans
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  --bg: #0E0E0E;
  --bg-deeper: #0A0A0A;
  --bg-lighter: #141414;
  --bg-contact: #161313;
  --bg-footer: #070707;

  --gold: #E8C68F;
  --gold-warm: #B8935E;

  --text: #FFFFFF;
  --text-soft: #F5F0E8;
  --text-muted: #D4D0C8;
  --text-secondary: #A09787;
  --text-tertiary: #7A6F5C;
  --text-faint: #5C5040;

  --line: #2A2520;
  --line-soft: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);

  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --container: 1440px;
  --content: 1200px;
  --max-content: 1680px;   /* hard cap — beyond this, side gutters grow */
  --gutter-d: 120px;
  --gutter-t: 60px;
  --gutter-m: 24px;

  --transition: 280ms cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-optical-sizing: auto;
}

/* WP screen-reader-text utility (a11y) */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
  background: var(--gold); color: var(--bg);
  clip: auto !important; -webkit-clip-path: none; clip-path: none;
  display: block; left: 16px; top: 16px;
  padding: 12px 20px; font-weight: 600;
  text-decoration: none; z-index: 100000; height: auto; width: auto;
}

/* Top nav scrolled state — adds bg for legibility on long pages */
.top-nav.is-scrolled {
  position: fixed;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: 84px;
  padding-block: 22px;
  transition: height var(--transition), padding var(--transition);
  animation: nav-slide-down 280ms ease;
}
@keyframes nav-slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.05;
}

p { margin: 0 0 1em; }

::selection { background: var(--gold); color: var(--bg); }

/* ---------- 3. Layout helpers ---------- */
/* Apple-style cap: every top-level block stops at --max-content and centers itself.
   .hero is intentionally full-bleed (cinematic photo bleeds edge-to-edge).
   .quick-stats: bg bleeds via ::before, content stays capped (see quick-stats rule). */
.section,
.photo-break,
.page-hero,
.footer {
  max-width: var(--max-content);
  margin-inline: auto;
  width: 100%;
}
.section { padding: var(--gutter-d) var(--gutter-d); }
.section--narrow {
  padding: var(--gutter-d) 200px;
  max-width: calc(960px + 2 * 200px);
}

.section__inner { max-width: var(--content); margin: 0 auto; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-size: 48px;
  margin-bottom: 14px;
}
.section-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ---------- 4. Top nav ---------- */
.top-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 72px;
  height: 104px;
}
.top-nav__logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.2px;
}
.top-nav__menu {
  display: flex;
  gap: 44px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.top-nav__menu a {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
}
.top-nav__menu a:hover { color: var(--gold); }
.top-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ---------- 5. Hero F (chip ribbon) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../img/1adcbe5e-cc5f-40a6-8836-55b2e64b83e3.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.62) 0%,
    rgba(14, 14, 14, 0.38) 35%,
    rgba(14, 14, 14, 0.40) 65%,
    rgba(14, 14, 14, 0.65) 100%
  );
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  padding: 0 var(--gutter-d);
}
.hero__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.hero__label::before,
.hero__label::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}
.hero__title {
  font-size: clamp(64px, 11vw, 128px);
  font-weight: 500;
  color: var(--text);
  line-height: 0.95;
  margin-bottom: 28px;
}
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--text-soft);
  font-weight: 400;
  margin-bottom: 40px;
}
.hero__chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- 6. Quick stats ---------- */
/* Background bleeds full-width via ::before; content capped at --max-content. */
.quick-stats {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 120px;
  max-width: var(--max-content);
  margin-inline: auto;
  width: 100%;
  z-index: 0;
}
.quick-stats::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--bg-lighter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* ---------- 7. About (text + photo split) ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text { max-width: 480px; }
.about__title { font-size: 52px; margin: 0 0 14px; }
.about__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.3;
}
.about__copy {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.about__copy p { margin-bottom: 1em; }
.about__copy p:last-child { margin-bottom: 0; }
.about__photo {
  width: 100%;
  height: 720px;
  background-size: cover;
  background-position: center;
}

/* ---------- 8. Gallery ---------- */
.gallery { background: var(--bg-deeper); }
.gallery__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gallery__row {
  display: grid;
  gap: 16px;
}
.gallery__row--big-small { grid-template-columns: 65% 35%; height: 520px; }
.gallery__row--small-big { grid-template-columns: 35% 65%; height: 520px; }
.gallery__row--3 { grid-template-columns: repeat(3, 1fr); height: 380px; }
.gallery__cell {
  position: relative;
  overflow: hidden;
  background: var(--bg-deeper);
  cursor: zoom-in;
}
.gallery__cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 720ms cubic-bezier(0.2, 0.6, 0.3, 1);
}
.gallery__cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0) 60%, rgba(14,14,14,0.45));
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.gallery__cell:hover img { transform: scale(1.055); }
.gallery__cell:hover::after { opacity: 1; }
/* Subtle zoom hint on hover */
.gallery__cell::before {
  content: '';
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  background: rgba(14, 14, 14, 0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/><line x1='16.5' y1='16.5' x2='20' y2='20'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  z-index: 2;
}
.gallery__cell:hover::before { opacity: 1; transform: translateY(0); }

/* ---------- 9. Amenities ---------- */
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 16px;
}
.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 16px;
  text-align: center;
}
.amenity__icon {
  width: 32px; height: 32px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amenity__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.amenity__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

/* ---------- 10. Photo break ---------- */
.photo-break {
  width: 100%;
  height: 580px;
  max-width: var(--max-content);
  margin-inline: auto;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;  /* parallax on desktop */
}
@media (max-width: 900px) {
  .photo-break { background-attachment: scroll; height: 380px; max-width: none; }
}

/* ---------- 11. Location distances ---------- */
.location__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.location__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.distance {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.distance__num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.05;
}
.distance__desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- 12. V okolí (3-col list) ---------- */
.nearby { background: var(--bg-deeper); }
.nearby__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.nearby__col h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.nearby__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--text-muted);
}
.nearby__col p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 14px;
}

/* ---------- 13. Markets (5 cards) ---------- */
.markets__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.market {
  background: var(--bg-lighter);
  padding: 24px 20px;
  border-top: 2px solid var(--gold);
}
.market__day {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}
.market__place {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.market__items {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------- 13b. Map links ---------- */
.map-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 320ms ease, color var(--transition);
  padding-bottom: 1px;
}
.map-link:hover {
  color: var(--gold);
  background-size: 100% 1px;
}
.map-link::after {
  content: '\2197';  /* ↗ */
  display: inline-block;
  margin-left: 4px;
  font-size: 0.85em;
  opacity: 0;
  transform: translate(-2px, 2px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.map-link:hover::after {
  opacity: 0.7;
  transform: translate(0, 0);
}
/* Override on big market title — arrow looks weird at 24px */
.market__place .map-link::after { font-size: 0.55em; }
/* Address as map link in kontakt: preserve multi-line layout */
a.contact__col-value { white-space: pre-line; display: block; text-align: center; }

/* ---------- 14. Tipy na výlety ---------- */
.trips__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.trip-list {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.trip-list h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}
.trip-list ul {
  list-style: none;
  padding: 0; margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
}

/* ---------- 15. FAQ ---------- */
.faq__list { display: flex; flex-direction: column; }
.faq__item {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
  padding-right: 32px;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  transition: transform var(--transition);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 840px;
}

/* ---------- 16. Contact ---------- */
.contact { background: var(--bg-contact); text-align: center; }
.contact__title {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 14px;
}
.contact__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.contact__info {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.contact__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.contact__col-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.contact__col-value {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  white-space: pre-line;
}
.contact__col-note {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 4px;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  padding: 18px 40px;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover {
  background: var(--text-soft);
  color: var(--bg);
  transform: translateY(-1px);
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--bg-footer);
  padding: 80px var(--gutter-d) 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
  margin: 0 auto 48px;
  max-width: calc(var(--max-content) - 240px);
  width: 100%;
}
.footer__brand-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer__brand-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-line;
}
.footer__col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--text-soft);
}
.footer__divider {
  height: 1px;
  background: var(--line);
  margin: 0 auto 32px;
  max-width: calc(var(--max-content) - 240px);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-faint);
  max-width: calc(var(--max-content) - 240px);
  margin-inline: auto;
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1280px) {
  .section { padding: 100px 60px; }
  .section--narrow { padding: 100px 80px; }
  .quick-stats { padding: 24px 60px; }
  .footer { padding: 60px 60px 32px; }
}

@media (max-width: 1023px) {
  .top-nav { padding: 20px 32px; height: 72px; }
  .top-nav__menu { display: none; }
  .top-nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 32px;
    gap: 20px;
    border-top: 1px solid var(--line);
  }
  .top-nav__toggle { display: inline-block; }

  .section { padding: 80px 32px; }
  .section--narrow { padding: 80px 32px; }
  .quick-stats { padding: 20px 32px; flex-wrap: wrap; gap: 16px; }
  .stat { flex: 1 1 30%; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { height: 480px; order: -1; }
  .about__title { font-size: 40px; }

  .gallery__row--big-small,
  .gallery__row--small-big { grid-template-columns: 1fr; height: auto; }
  .gallery__cell { aspect-ratio: 4/3; height: auto; }

  .amenities__grid { grid-template-columns: repeat(2, 1fr); }

  .nearby__grid { grid-template-columns: 1fr; gap: 32px; }

  .markets__grid { grid-template-columns: repeat(2, 1fr); }
  .market:nth-child(5) { grid-column: span 2; }

  .trips__grid { grid-template-columns: 1fr; gap: 32px; }

  .contact__title { font-size: 44px; }
  .contact__info { gap: 32px; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 60px 24px; }
  .quick-stats { padding: 16px 24px; gap: 12px 8px; }
  .stat__num { font-size: 28px; }
  .hero__inner { padding: 0 24px; }
  .hero__label {
    font-size: 11px;
    letter-spacing: 2px;
    gap: 0;
    flex-wrap: wrap;
    max-width: 300px;
    line-height: 1.6;
  }
  .hero__label::before, .hero__label::after { display: none; }
  .hero__chips { gap: 8px; }
  .chip { padding: 8px 14px; font-size: 10px; letter-spacing: 1.5px; }
  .section-title { font-size: 36px; }
  .gallery__row--3 { grid-template-columns: 1fr; height: auto; }
  .amenities__grid { grid-template-columns: 1fr; }
  .markets__grid { grid-template-columns: 1fr; }
  .market:nth-child(5) { grid-column: auto; }
  .footer { padding: 48px 24px 24px; }
}

/* =========================================================
   SUB-PAGE COMPONENTS  (galerie / lokace / kontakt + home teasers)
   ========================================================= */

/* Page hero — leaner version of home hero, used on sub-pages */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background: var(--bg-deeper);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 820px; margin: 0 auto; }
.page-hero__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 18px;
}
.page-hero__subtitle {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* Active nav state */
.top-nav__menu a[aria-current="page"] {
  color: var(--gold);
}

/* Map embed wrapper */
.map-embed {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-deeper);
  overflow: hidden;
}
.map-embed iframe { display: block; filter: grayscale(0.2) contrast(1.05); }

/* Teaser grid — 2x2 photo grid on home */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 12px;
  margin: 24px 0 48px;
}
.teaser-grid__cell {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-deeper);
  display: block;
  transition: transform 700ms cubic-bezier(0.2,0.6,0.3,1);
}
.teaser-grid__cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0) 50%, rgba(14,14,14,0.55));
  opacity: 0;
  transition: opacity 320ms ease;
}
.teaser-grid__cell:hover::after { opacity: 1; }
.teaser-grid__cell:hover { transform: scale(1.015); }

/* CTA under teasers */
.teaser-cta { text-align: center; margin-top: 24px; }
.teaser-cta .btn { display: inline-flex; align-items: center; gap: 12px; }
.teaser-cta .btn svg { width: 16px; height: 16px; }

/* Ghost button — outlined variant */
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--ghost:hover {
  background: var(--gold);
  color: var(--bg);
}

/* Home contact CTA — closing block on home */
.home-cta {
  text-align: center;
  background: var(--bg-deeper);
  border-top: 1px solid var(--line);
}
.home-cta__inner { max-width: 720px; margin: 0 auto; }
.home-cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  color: var(--text);
  margin: 18px 0 14px;
}
.home-cta__subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}
.home-cta .btn { display: inline-block; }

/* Sub-page responsive tweaks */
@media (max-width: 900px) {
  .page-hero { padding: 110px 24px 60px; min-height: 40vh; }
  .teaser-grid { grid-template-rows: 240px 240px; gap: 8px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 96px 20px 48px; min-height: 32vh; }
  .page-hero__label { font-size: 10px; letter-spacing: 2.5px; margin-bottom: 18px; }
  .teaser-grid { grid-template-columns: 1fr; grid-template-rows: 220px 220px 220px 220px; }
  .home-cta__title { font-size: 36px; }
}

/* =========================================================
   SCROLL-REVEAL  (items get .reveal via JS, .is-visible on entry)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.6, 0.3, 1),
    transform 900ms cubic-bezier(0.2, 0.6, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   HERO SCROLL INDICATOR  (bouncing down arrow)
   ========================================================= */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
}
.hero__scroll.is-hidden {
  opacity: 0;
  transform: translate(-50%, 14px);
}
.hero__scroll-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(232, 198, 143, 0) 100%);
  animation: scrollLine 2200ms ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
  padding: 24px;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 96vw;
  max-height: 86vh;
}
.lightbox__img {
  max-width: 100%;
  max-height: 86vh;
  display: block;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.lightbox__meta {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.lightbox__counter {
  color: var(--gold);
  font-weight: 600;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(232, 198, 143, 0.6);
  color: var(--gold);
  border-radius: 100px;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease;
  font-family: var(--sans);
}
.lightbox__close { top: 24px; right: 24px; font-size: 22px; }
.lightbox__prev  { top: 50%; left: 24px;  transform: translateY(-50%); padding-right: 4px; }
.lightbox__next  { top: 50%; right: 24px; transform: translateY(-50%); padding-left: 4px; }
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
@media (max-width: 600px) {
  .lightbox__close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lightbox__prev  { left: 8px;  width: 40px; height: 40px; }
  .lightbox__next  { right: 8px; width: 40px; height: 40px; }
  .lightbox__meta { bottom: 12px; font-size: 11px; gap: 12px; }
}

/* =========================================================
   EDITORIAL RHYTHM  (lists, markets intro, distances)
   ========================================================= */

/* Markets intro paragraph */
.markets__intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

/* Distance rows — add hairline divider between rows for editorial rhythm */
.location__row + .location__row {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 8px;
}
.distance__desc { font-style: italic; }

/* Nearby columns — bullet-list → editorial 2-line items */
.nearby__col ul li {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.2px;
  color: var(--text-soft);
  line-height: 1.4;
}
.nearby__col ul li:last-child { border-bottom: none; }

/* Trip-lists — same editorial treatment */
.trip-list ul li {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.4;
}
.trip-list ul li:last-child { border-bottom: none; }

/* ============================================================
   Nav-hint — "Do navigace zadat: …" callout used on home
   under lokace teaser and inside the kontakt address block.
   ============================================================ */
.nav-hint {
  display: flex;
  align-items: baseline;
  gap: 14px;
  max-width: 560px;
  margin: 32px auto 0;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(232, 198, 143, 0.04);
}
.nav-hint__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-hint__value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.nav-hint__value:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.nav-hint--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 20px 0 0;
  padding: 14px 0 0;
  border: none;
  border-top: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  max-width: none;
}
.nav-hint--stacked .nav-hint__value {
  font-size: 17px;
}
@media (max-width: 600px) {
  .nav-hint {
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
  }
}

/* ============================================================
   Tipy page — warning callout, single feature tip, tip cards
   ============================================================ */
.tip-warning {
  border-left: 2px solid var(--gold);
  background: rgba(232, 198, 143, 0.05);
  padding: 22px 26px;
  margin: 0 auto;
  max-width: 760px;
}
.tip-warning__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.tip-warning__text {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.tip-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.tip-feature--text {
  grid-template-columns: 1fr;
  max-width: 760px;
  text-align: left;
}
.tip-feature__body p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 16px;
}
.tip-feature__hint {
  margin-top: 18px !important;
  font-family: var(--sans);
  font-size: 14px;
}
@media (max-width: 800px) {
  .tip-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.tip-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.tip-card {
  border: 1px solid var(--line);
  padding: 32px 30px;
  background: var(--bg-lighter);
  display: flex;
  flex-direction: column;
}
.tip-card__label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
}
.tip-card__title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 14px;
}
.tip-card__text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 22px;
  flex-grow: 1;
}
.tip-card__link {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}
.tip-card__link:hover { opacity: 0.7; }
@media (max-width: 800px) {
  .tip-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Video cards — 2×2 grid of YouTube embeds on /tipy/ page
   ============================================================ */
.video-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.video-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-lighter);
  border: 1px solid var(--line);
}
.video-card__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: var(--bg-deeper);
  overflow: hidden;
}
.video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card__body {
  padding: 24px 26px 28px;
  position: relative;
}
.video-card__order {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 10px;
}
.video-card__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 10px;
}
.video-card__desc {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 800px) {
  .video-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .video-card__body { padding: 20px 22px 24px; }
}
