/* Self-hosted fonts (OFL licence) – žádné načítání z Google */
/* montserrat-latin-ext-wght-normal */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/montserrat-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* montserrat-latin-wght-normal */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* playfair-display-latin-ext-wght-normal */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(../fonts/playfair-display-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* playfair-display-latin-wght-normal */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(../fonts/playfair-display-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


/* ==========================================================================
   Plešivec Family Apartment – landing page
   ========================================================================== */

:root {
  --navy: #1b2d52;
  --navy-dark: #12203d;
  --gold: #d99a3c;
  --gold-dark: #c2852a;
  --wood: #f6efe4;
  --text: #2a3346;
  --muted: #5d6679;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 32, 61, .08);
  --header-h: 84px;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
}
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .6em;
}
.eyebrow--light { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--small { padding: 8px 20px; font-size: .85rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  z-index: 100;
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 2px 20px rgba(18,32,61,.1); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img { height: 68px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: .92rem;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .2s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav .btn { color: var(--white); }
.nav a.nav__lang {
  margin-left: -8px;
  padding: 6px 10px;
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
}
.nav a.nav__lang::after { display: none; }
.nav a.nav__lang:hover { background: var(--navy); color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 60px;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18,32,61,.88) 0%, rgba(18,32,61,.6) 50%, rgba(18,32,61,.25) 100%);
  z-index: -1;
}
.hero__content { max-width: 1180px; }
.hero__kicker {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__title {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 500;
  max-width: 1040px;
}
.hero__seo {
  display: block;
  margin-bottom: .9em;
  font-family: var(--font-body);
  font-size: clamp(.85rem, 1.4vw, 1rem);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-style: italic;
  opacity: .85;
  max-width: 560px;
  margin-bottom: 2em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn--ghost { color: var(--white); }

.hero__facts {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
}
.hero__facts li {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .9;
}
.hero__facts strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 100px 0; }
.section--tint { background: var(--wood); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head p:last-child { color: var(--muted); }

/* Intro */
.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro__text p { color: var(--muted); }
.intro__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.intro__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro__media img:last-child { margin-top: 48px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
}
.card__icon {
  width: 48px; height: 48px;
  padding: 11px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card p { color: var(--muted); margin: 0; }

/* Features */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 12px 0 12px 38px;
  border-bottom: 1px solid #ece6db;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.features__note {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: var(--wood);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}

/* FAQ */
.container--narrow { max-width: 860px; }
.faq details {
  border-bottom: 1px solid #ece6db;
}
.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold-dark);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery__item:hover img { transform: scale(1.05); }

/* Discount */
.discount {
  background: var(--navy);
  color: rgba(255,255,255,.85);
}
.discount h2 { color: var(--white); }
.discount__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.discount__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.discount__form input {
  flex: 1 1 240px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
}
.discount__form input:focus { outline: none; border-color: var(--gold); }
.discount__msg { flex-basis: 100%; margin: 0; min-height: 1.7em; font-size: .9rem; color: var(--gold); }
.discount__msg.is-error { color: #ff9b8a; }
.discount__note { flex-basis: 100%; margin: 0; font-size: .78rem; color: rgba(255,255,255,.55); }
.discount__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.discount__form .btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* Booking */
.booking {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  overflow: hidden;
}
.booking iframe { display: block; border: 0; }
.booking__consent {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}
.booking__consent .card__icon { margin: 0 auto 18px; display: block; }
.booking__consent p { color: var(--muted); font-size: .95rem; }
.booking__consent .btn { margin: 8px 0 24px; }
.booking__alt { margin: 0; font-size: .9rem; }

/* Cookie consent bar */
.consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 150;
  max-width: 380px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(18, 32, 61, .22);
  font-size: .85rem;
  line-height: 1.55;
  animation: consent-in .35s ease-out;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; color: var(--muted); }
.consent__actions { display: flex; gap: 10px; }
.consent__actions .btn { flex: 1; padding: 9px 16px; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--wood);
  padding: 60px 0 24px;
  color: var(--muted);
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer__logo { width: 200px; height: auto; }
.footer__text p { margin: 0 0 .3em; }
.footer__text address { font-style: normal; margin: 0 0 .6em; }
.footer__text strong { color: var(--navy); font-weight: 600; }
.footer__claim {
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--navy);
}
.footer__copy {
  text-align: center;
  font-size: .8rem;
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e6dccb;
}

.footer__copy a { color: inherit; }
.discount__note a { color: inherit; }

/* ==========================================================================
   Legal pages (GDPR)
   ========================================================================== */

.legal-page .header { position: sticky; top: 0; }
.legal__back { color: var(--white); }
.legal { padding-top: 60px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; }
.legal h3 { font-family: var(--font-body); font-size: 1.05rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .3em; }
.legal strong { color: var(--text); }
.legal__lead { font-size: 1.05rem; }
.legal__date { margin-top: 3em; font-size: .9rem; font-style: italic; }
.legal-page .footer { padding-top: 0; }
.legal-page .footer__copy { margin-top: 0; border-top: 0; }

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 18, 36, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 8px; }
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 3rem;
  line-height: 1;
  opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 16px; right: 24px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 24px;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(18,32,61,.1);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid #eee; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .nav a.nav__lang { width: auto; margin: 16px 0 0; padding: 8px 14px; border-bottom: 1.5px solid var(--navy); }

  .intro__grid,
  .features,
  .discount__inner { grid-template-columns: 1fr; gap: 40px; }
  .intro__media img { aspect-ratio: 4 / 3; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .header__logo img { height: 58px; }
  .section { padding: 70px 0; }
  .section__head { margin-bottom: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 10px; }
  .gallery__item { border-radius: 10px; }
  .gallery__item--wide { grid-row: span 1; }
  .intro__media img { aspect-ratio: 3 / 4; }
  .intro__media img:last-child { margin-top: 24px; }
  .discount__inner { gap: 24px; }
  .discount br { display: none; }
  .discount__form .btn { width: 100%; }
  .booking { padding: 0; box-shadow: none; border-radius: 0; }
  .footer__inner { flex-direction: column; text-align: center; gap: 20px; }
  .lightbox { padding: 20px; }
  .lightbox__nav { top: auto; bottom: 20px; }
}
