/* Šablona podstránek „výlet“ — Penzion Festung */
:root {
  --charcoal: #1a1a1a;
  --charcoal-soft: #2d2d2d;
  --cream: #faf9f7;
  --cream-dark: #f0ebe5;
  --white: #fff;
  --muted: #6b6560;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --btn-radius: 12px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max: 720px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* —— Header (stejné jako index.html) —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(26, 26, 26, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.4s var(--ease), border-color 0.35s, box-shadow 0.4s;
}
.site-header .logo,
.site-header .nav-main a {
  color: rgba(255, 255, 255, 0.95);
}
.site-header .nav-main a:hover {
  color: var(--white);
  opacity: 1;
}
.site-header .btn-book {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.site-header .menu-toggle {
  color: var(--white);
}
.site-header.is-scrolled {
  background: rgba(250, 249, 247, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.site-header.is-scrolled .logo,
.site-header.is-scrolled .nav-main a {
  color: var(--charcoal);
}
.site-header.is-scrolled .nav-main a:hover {
  color: var(--charcoal);
  opacity: 0.55;
}
.site-header.is-scrolled .btn-book {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.site-header.is-scrolled .menu-toggle {
  color: var(--charcoal);
}
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  justify-self: start;
}
.nav-main {
  display: none;
  gap: 2rem;
  justify-self: center;
}
@media (min-width: 960px) {
  .nav-main { display: flex; }
}
.nav-main a {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.nav-main a:hover { opacity: 0.65; }
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 959px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .logo {
    justify-self: unset;
    min-width: 0;
  }
  .nav-main {
    display: none !important;
  }
  .header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 1rem;
    margin-left: auto;
    justify-self: unset;
  }
  .menu-toggle {
    padding: 8px 0 8px 10px;
  }
}
.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  transition: transform 0.2s, opacity 0.2s;
}
.btn-book:hover { transform: translateY(-1px); }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 320;
}
@media (min-width: 960px) {
  .menu-toggle { display: none; }
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: var(--charcoal);
  color: var(--cream);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
}
.nav-drawer a {
  font-family: var(--serif);
  font-size: 1.75rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.75rem;
}
.nav-drawer__close {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  z-index: 320;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.nav-drawer__close:hover,
.nav-drawer__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}
.nav-drawer__close::before,
.nav-drawer__close::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nav-drawer__close::before {
  transform: rotate(45deg);
}
.nav-drawer__close::after {
  transform: rotate(-45deg);
}

.page-vylet__main {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(1rem, 3vw, 1.5rem)) clamp(1.25rem, 4vw, 2rem) 4rem;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover { border-bottom-color: var(--charcoal); }

.page-vylet__main h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.page-vylet__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.vylet-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
  background: var(--cream-dark);
}
.vylet-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vylet-content h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
}
.vylet-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.vylet-content ul {
  margin: 0 0 1rem 1.25rem;
  color: var(--muted);
}
.vylet-content li { margin-bottom: 0.35rem; }

.vylet-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.vylet-cta p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}
.btn-vylet {
  display: inline-flex;
  padding: 0.95rem 1.75rem;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--btn-radius);
}
.btn-vylet:hover { opacity: 0.88; }

.page-vylet__footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--cream-dark);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.page-vylet__footer a { color: var(--charcoal); }

.stub-note {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}
