/* =========================================
   Ubytování v České Kubici
   Soubor: css/style.css
   Obrázky očekávané ve složce images/
   - rekreacni-dum.jpg
   - rybarska-chata.jpg
   - rekreacni-dum-detail.jpg
   - rybarska-chata-detail.jpg
========================================= */

:root {
  --bg: #f7f3ea;
  --bg-soft: #fffaf1;
  --text: #1f2a24;
  --muted: #657066;
  --green: #315c43;
  --green-dark: #193526;
  --sage: #9fb28d;
  --sand: #d7be92;
  --clay: #b86a3b;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(31, 42, 36, 0.16);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(216, 190, 146, 0.35), transparent 36rem),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 64px);
  background: rgba(247, 243, 234, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 42, 36, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: min(360px, 36vw);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-image-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  padding: 7px;
  overflow: hidden;
  border-radius: 17px;
  background: var(--bg-soft);
  border: 1px solid rgba(49, 92, 67, 0.16);
  box-shadow: 0 14px 30px rgba(25, 53, 38, 0.16);
  letter-spacing: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  color: var(--bg-soft);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 14px 30px rgba(25, 53, 38, 0.22);
}

.brand-text {
  font-size: 0.95rem;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 650;
  color: rgba(31, 42, 36, 0.78);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover {
  color: var(--green-dark);
  background: rgba(49, 92, 67, 0.08);
  transform: translateY(-1px);
}

.site-nav a.nav-cta {
  color: var(--green-dark);
  background: var(--sand);
  box-shadow: 0 12px 28px rgba(31, 42, 36, 0.12);
}

.site-nav a.nav-cta:hover {
  color: var(--green-dark);
  background: #e0c99b;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(31, 42, 36, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

/* HERO */

.hero {
  padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 80px) clamp(54px, 8vw, 110px);
}

.hero-intro {
  max-width: 920px;
  margin: 0 auto clamp(28px, 5vw, 54px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 980px;
  font-size: clamp(2.4rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero-intro p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.property-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
}

.property-card {
  min-height: clamp(420px, 55vw, 680px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  background: var(--green);
}

.property-link {
  position: relative;
  display: block;
  height: 100%;
  min-height: inherit;
}

.property-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.property-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(25, 53, 38, 0.05), rgba(25, 53, 38, 0.05)),
    linear-gradient(45deg, rgba(25, 53, 38, 0.06), rgba(184, 106, 59, 0.06));
  z-index: 1;
}

.property-content {
  position: absolute;
  left: clamp(24px, 4vw, 52px);
  right: clamp(24px, 4vw, 52px);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 2;
  color: var(--white);
}

.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  max-width: 560px;
}

.property-label {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.property-content h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.property-content p {
  max-width: 470px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.property-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(49, 92, 67, 0.9);
  box-shadow: 0 12px 32px rgba(25, 53, 38, 0.24);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.property-link:hover .property-cta {
  background: rgba(25, 53, 38, 0.96);
}

.property-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.02);
}

/* SECTIONS */

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
}

.activity-card,
.text-block,
.detail-content,
.reservation-card,
.location-content {
  border-radius: var(--radius-xl);
}

.activity-card {
  padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.activity-card .eyebrow {
  color: var(--sand);
}

.activity-card h2,
.text-block h2,
.detail-content h2,
.location-content h2,
.reservation-card h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255,255,255,0.9);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.35);
}

.text-block {
  color: var(--muted);
  font-size: 1.08rem;
}

.text-block h2 {
  color: var(--text);
}

.property-detail {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}

.property-detail--reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.property-detail--reverse .detail-image {
  order: 2;
}

.detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-content {
  padding: clamp(28px, 5vw, 52px);
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: 0 20px 60px rgba(31, 42, 36, 0.08);
}

.detail-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(159, 178, 141, 0.22);
  font-size: 0.88rem;
  font-weight: 700;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.detail-content .btn-secondary {
  color: var(--green-dark);
  background: rgba(159, 178, 141, 0.24);
  border: 1px solid rgba(49, 92, 67, 0.14);
  box-shadow: 0 12px 28px rgba(31, 42, 36, 0.08);
}

.detail-content .btn-secondary:hover {
  background: rgba(159, 178, 141, 0.34);
}

.location-band {
  margin: clamp(36px, 6vw, 80px) 0;
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 80px);
  background:
    linear-gradient(90deg, rgba(25, 53, 38, 0.92), rgba(25, 53, 38, 0.68)),
    url("../images/kubice-panorama.jpg") center/cover;
  color: var(--white);
}

.location-content {
  width: min(840px, 100%);
  margin: 0 auto;
  text-align: center;
}

.location-content .eyebrow {
  color: var(--sand);
}

.location-content p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
}

.location-content > p + p {
  margin-top: 18px;
}

.location-lead {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.location-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.location-point {
  padding: 20px 18px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

.location-point h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 800;
}

.location-point p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.location-closing {
  max-width: 700px;
  margin-top: 26px;
  font-weight: 600;
}

/* CTA */

.reservation {
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 80px) clamp(70px, 9vw, 120px);
}

.reservation-card {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px);
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 190, 146, 0.28), transparent 24rem),
    linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: var(--shadow);
}

.reservation-card .eyebrow {
  color: var(--sand);
}

.reservation-card p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
}

.reservation-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--green-dark);
  background: var(--sand);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 80px);
  color: rgba(255,255,255,0.74);
  background: var(--green-dark);
}

.footer-brand {
  max-width: 620px;
}

.site-footer strong {
  color: var(--white);
  font-size: 1.1rem;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-operator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.footer-operator div {
  min-width: 0;
}

.footer-operator dt {
  color: rgba(255,255,255,0.56);
  font-weight: 800;
}

.footer-operator dd {
  margin: 2px 0 0;
  color: rgba(255,255,255,0.82);
}

.footer-meta {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: rgba(255,255,255,0.86);
  font-weight: 800;
}

.footer-meta a:hover {
  color: var(--sand);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 14px 24px;
}

.footer-links a,
.footer-cookie-settings {
  color: rgba(255,255,255,0.78);
}

.footer-links a:hover,
.footer-cookie-settings:hover {
  color: var(--white);
}

.footer-links-label {
  flex-basis: 100%;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.footer-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.legal-page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) 0;
}

.legal-page-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(31, 42, 36, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.68);
  box-shadow: 0 18px 58px rgba(31,42,36,0.09);
}

.legal-page-card h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-page-lead {
  max-width: 760px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-page-section {
  padding: 26px 0;
  border-top: 1px solid rgba(31, 42, 36, 0.1);
}

.legal-page-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.legal-page-section p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.map-section {
  width: 100%;
  margin: clamp(42px, 7vw, 86px) 0 0;
  background: var(--green-dark);
}

.map-section iframe {
  display: block;
  width: 100%;
}

.cookie-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-panel {
  pointer-events: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  color: rgba(255,255,255,0.84);
  background: rgba(25, 53, 38, 0.96);
  box-shadow: 0 28px 90px rgba(31, 42, 36, 0.28);
}

.cookie-consent-copy h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.cookie-consent-copy p {
  margin: 0;
}

.cookie-consent-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}

.cookie-category strong,
.cookie-category small {
  display: block;
}

.cookie-category strong {
  color: var(--white);
}

.cookie-category small {
  margin-top: 4px;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}

.cookie-category input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--sand);
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cookie-consent-actions .btn {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  text-align: center;
}

/* Animace */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.14s;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .property-grid,
  .split-section,
  .property-detail,
  .property-detail--reverse,
  .location-points {
    grid-template-columns: 1fr;
  }

  .property-card {
    min-height: 58vh;
  }

  .property-detail--reverse .detail-image {
    order: 0;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
    --radius-xl: 28px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-text {
    font-size: 0.82rem;
  }

  .brand {
    max-width: calc(100vw - 96px);
  }

  .brand-image-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    padding: 6px;
    border-radius: 15px;
  }

  .brand-logo {
    max-height: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 250, 241, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    padding-inline: 14px;
  }

  .hero-intro {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
  }

  .hero-intro p:not(.eyebrow) {
    margin-left: 0;
  }

  .property-grid {
    gap: 14px;
  }

  .property-card {
    min-height: 48vh;
    border-radius: 30px;
  }

  .property-content h2 {
    font-size: clamp(2.15rem, 12vw, 4.2rem);
  }

  .property-tags {
    gap: 8px;
    margin-top: 14px;
  }

  .property-cta {
    margin-top: 18px;
    padding: 11px 16px;
    font-size: 0.9rem;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 44px 0;
  }

  .activity-card,
  .detail-content,
  .reservation-card {
    padding: 26px;
  }

  .site-footer {
    display: grid;
  }

  .footer-operator {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-links-label {
    text-align: left;
  }

  .cookie-consent {
    padding: 12px;
  }

  .cookie-consent-panel {
    border-radius: 22px;
  }

  .cookie-consent-categories {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}



.custom-translate {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: 0 10px 28px rgba(31, 42, 36, 0.08);
}

.translate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: rgba(31, 42, 36, 0.72);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.translate-btn:hover {
  color: var(--green-dark);
  background: rgba(49, 92, 67, 0.08);
  transform: translateY(-1px);
}

.translate-btn.is-active {
  color: #fff;
  background: var(--green);
}

