/* ============================================================
   4U CENTRE APARTMENTS · Olomouc
   Sdílený stylesheet — premium redesign
   ============================================================ */

:root {
  --gold: #D4AF37;
  --gold-dark: #B8860B;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --ink: #16130e;
  --ink-soft: #2a251c;
  --cream: #faf8f4;
  --card: #ffffff;
  --muted: #7a7264;
  --line: rgba(22, 19, 14, 0.09);
  --booking: #003580;
  --airbnb: #FF385C;
  --serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 12px rgba(22, 19, 14, 0.06);
  --shadow-md: 0 12px 32px rgba(22, 19, 14, 0.12);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.28);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* ============================================================
   PRELOADER — naklánějící se logo
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  perspective: 700px;
}
.loader-logo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: logoTilt 2.4s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes logoTilt {
  0%   { transform: rotateZ(-6deg) rotateY(-14deg); }
  50%  { transform: rotateZ(6deg)  rotateY(14deg); }
  100% { transform: rotateZ(-6deg) rotateY(-14deg); }
}
.loader-word {
  font-family: var(--serif);
  color: #fff;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.loader-word em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0.02em;
}
.loader-sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: center;
}
.loader-sub::before, .loader-sub::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.loader-sub::after { background: linear-gradient(90deg, var(--gold), transparent); }

.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), #f3e39a);
  border-radius: 2px;
  animation: loadSweep 1.2s ease-in-out infinite;
}
@keyframes loadSweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(480%); }
}

/* ============================================================
   NAVIGACE
   ============================================================ */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5000;
  height: 68px;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s;
}
#mainNav {
  display: flex;
  align-items: stretch;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8px;
}
.nav-brand {
  display: flex;
  align-items: center;
  padding: 0 20px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-lockup { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 3px; }
.brand-top { display: flex; align-items: baseline; white-space: nowrap; }
.brand-top .b1 { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.05em; }
.brand-top .b2 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.05rem; margin-left: 6px; }
.brand-top .b3 { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; margin-left: 6px; }
.brand-bottom { display: flex; align-items: center; gap: 6px; width: 100%; }
.brand-bottom .rule { flex: 1; height: 1px; background: currentColor; opacity: 0.5; }
.brand-bottom .city { font-family: var(--sans); font-size: 0.44rem; letter-spacing: 0.4em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin-left: auto;
}
.nav-links li { display: flex; }
.nav-links li a {
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  left: 22px; right: 22px; bottom: 16px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-spring);
}
.nav-links li a:hover::after,
.nav-links li a.active::after { transform: scaleX(1); }
.nav-links li a.active { color: var(--gold); }

.nav-links li.nav-cta { align-items: center; padding: 0 16px 0 8px; }
.nav-links li.nav-cta a {
  background: var(--gold);
  color: #fff !important;
  border-radius: 40px;
  padding: 10px 26px;
  height: auto;
  box-shadow: 0 4px 14px rgba(212,175,55,0.35);
  transition: transform 0.3s var(--ease-spring), background 0.25s, box-shadow 0.3s;
}
.nav-links li.nav-cta a::after { display: none; }
.nav-links li.nav-cta a:hover {
  background: var(--gold-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-gold);
}

/* Průhledná nav nahoře (jen index) */
body.nav-transparent:not(.scrolled) header.site-header { background: transparent; }
body.nav-transparent:not(.scrolled) #mainNav { color: #fff; }
body.nav-transparent:not(.scrolled) .nav-links li a { color: #fff; }
/* Solid stav */
body.scrolled header.site-header,
body.nav-solid header.site-header {
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(22,19,14,0.06);
}
body.scrolled #mainNav, body.nav-solid #mainNav { color: var(--ink); }

/* Hamburger */
#mobileMenuBtn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 20px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
}
#mobileMenuBtn span {
  width: 26px; height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
#mobileMenuBtn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mobileMenuBtn.open span:nth-child(2) { opacity: 0; }
#mobileMenuBtn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobileMenu {
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 4999;
  background: rgba(250,248,244,0.97);
  backdrop-filter: blur(16px);
  list-style: none;
  padding: 10px 0 18px;
  box-shadow: 0 20px 40px rgba(22,19,14,0.12);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-spring);
}
#mobileMenu.open { transform: translateY(0); opacity: 1; visibility: visible; }
#mobileMenu li a {
  display: block;
  padding: 15px 28px;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
#mobileMenu li:last-child a { border-bottom: none; }
#mobileMenu li.nav-cta a {
  background: var(--gold);
  color: #fff;
  margin: 14px 24px 0;
  border-radius: 40px;
  text-align: center;
  border: none;
}

/* ============================================================
   HERO (index)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
}
.hero-bg { position: absolute; inset: 0; display: flex; }
.hero-half {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: kenburns 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-half.right { animation-delay: -9s; }
@keyframes kenburns {
  from { transform: scale(1.08) translateY(0); }
  to   { transform: scale(1.16) translateY(-2%); }
}
.hero-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,175,55,0.7), transparent);
  z-index: 2;
  flex-shrink: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,10,7,0.62) 0%, rgba(12,10,7,0.45) 45%, rgba(12,10,7,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 22px;
  max-width: 900px;
  transform-style: preserve-3d;
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 42px; height: 1px; background: var(--gold); opacity: 0.8;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  margin-bottom: 26px;
}
.hero h1 .line-1 {
  display: block;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  letter-spacing: -0.01em;
}
.hero h1 .line-2 {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  color: var(--gold);
  margin-top: 4px;
}
.hero-text {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.6);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ============================================================
   TLAČÍTKA
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), background 0.25s, color 0.25s, box-shadow 0.35s, border-color 0.25s;
  transform-style: preserve-3d;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(212,175,55,0.35); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: var(--shadow-gold); }

.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; }

.btn-outline-gold { background: transparent; color: var(--gold-dark); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }

.btn-booking { background: transparent; color: var(--booking); border-color: var(--booking); }
.btn-booking:hover { background: var(--booking); color: #fff; box-shadow: 0 8px 20px rgba(0,53,128,0.25); }

.btn-airbnb { background: transparent; color: var(--airbnb); border-color: var(--airbnb); }
.btn-airbnb:hover { background: var(--airbnb); color: #fff; box-shadow: 0 8px 20px rgba(255,56,92,0.25); }

.btn-sm { padding: 10px 20px; font-size: 0.66rem; }

/* ============================================================
   SEKCE — obecné
   ============================================================ */
section { position: relative; padding: 110px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-head { text-align: center; margin-bottom: 70px; }
.section-eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-rule {
  width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 22px auto 0;
}
.section-sub {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.bg-alt { background: linear-gradient(180deg, #f4f0e8 0%, var(--cream) 100%); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============================================================
   KARTY APARTMÁNŮ — 3D tilt
   ============================================================ */
.apt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 44px;
  perspective: 1400px;
}
.apt-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: box-shadow 0.4s ease;
  will-change: transform;
}
.apt-card:hover { box-shadow: var(--shadow-md); }
.apt-card .card-depth { transform: translateZ(24px); }

.apt-gallery { position: relative; height: 320px; overflow: hidden; background: var(--ink-soft); }
.apt-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.4s ease;
}
.apt-card:hover .apt-gallery img { transform: scale(1.06); }
.apt-gallery .gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(250,248,244,0.9);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.25s var(--ease-spring);
  z-index: 3;
}
.apt-gallery .gal-btn:hover { background: var(--gold); color: #fff; transform: translateY(-50%) scale(1.1); }
.apt-gallery .gal-prev { left: 14px; }
.apt-gallery .gal-next { right: 14px; }
.apt-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  background: rgba(12,10,7,0.6);
  backdrop-filter: blur(6px);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.4);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 40px;
}
.gal-dots { display: flex; justify-content: center; gap: 6px; padding: 14px 0 2px; }
.gal-dots button {
  width: 7px; height: 7px;
  border-radius: 10px;
  border: none;
  background: rgba(22,19,14,0.18);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  padding: 0;
}
.gal-dots button.active { width: 22px; background: var(--gold); }

.apt-body { padding: 30px 32px 34px; }
.apt-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.apt-title { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.apt-tags { display: flex; gap: 8px; }
.apt-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 30px;
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.apt-desc { color: var(--muted); font-size: 0.9rem; margin: 12px 0 22px; }

.apt-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 16px;
  margin-bottom: 26px;
}
.apt-feature { display: flex; align-items: center; gap: 9px; font-size: 0.8rem; color: var(--ink-soft); }
.apt-feature .ico { color: var(--gold-dark); font-size: 0.95rem; }

.apt-cta {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.apt-price-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.apt-price { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.apt-price-note { font-size: 0.74rem; color: var(--muted); }
.apt-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.apt-buttons .btn { flex: 1; min-width: 120px; }

/* ============================================================
   CENY
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
  perspective: 1200px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 42px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.4s;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 4px; }
.price-card .spec { font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.price-value { font-family: var(--serif); font-size: 1.7rem; font-style: italic; color: var(--gold-dark); }
.price-note { font-size: 0.76rem; color: var(--muted); margin: 6px 0 26px; }
.price-list { list-style: none; text-align: left; margin-bottom: 30px; }
.price-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: none; }
.price-list .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   OKOLÍ
   ============================================================ */
.around-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.around-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.around-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.around-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.around-head .ico {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.around-head h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.around-card ul { list-style: none; }
.around-card li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px dashed var(--line);
}
.around-card li:last-child { border-bottom: none; }
.around-card .dist { color: var(--gold-dark); font-weight: 700; font-size: 0.74rem; white-space: nowrap; }

/* ============================================================
   REZERVACE
   ============================================================ */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1200px;
}
.booking-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 26px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: box-shadow 0.4s, border-color 0.3s;
}
.booking-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }
.booking-card .ico {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transform: translateZ(30px);
}
.booking-card.c-booking .ico { background: rgba(0,53,128,0.08); }
.booking-card.c-airbnb .ico { background: rgba(255,56,92,0.08); }
.booking-card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; transition: color 0.25s; }
.booking-card:hover h3 { color: var(--gold-dark); }
.booking-card p { font-size: 0.76rem; color: var(--muted); }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 50px 44px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.contact-card .sub { color: var(--muted); font-size: 0.85rem; margin: 4px 0 34px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--cream);
  border-radius: 6px;
  margin-bottom: 14px;
  text-align: left;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.contact-row:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-row .ico { font-size: 1.25rem; }
.contact-row .label { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.contact-row a { font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: color 0.2s; }
.contact-row a:hover { color: var(--gold-dark); }
.contact-divider {
  margin: 32px 0 22px;
  border: none;
  border-top: 1px solid var(--line);
}
.contact-note { font-size: 0.76rem; color: var(--muted); margin-bottom: 18px; }
.contact-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-buttons .btn { flex: 1; min-width: 130px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 24px 34px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.footer-brand-sub { font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; margin-top: 4px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-pill {
  padding: 9px 20px;
  border-radius: 40px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s var(--ease-spring);
}
.footer-pill.p-booking { color: #8fb4f7; border-color: rgba(143,180,247,0.4); }
.footer-pill.p-booking:hover { background: var(--booking); border-color: var(--booking); color: #fff; transform: translateY(-3px); }
.footer-pill.p-airbnb { color: #ff9fb0; border-color: rgba(255,159,176,0.4); }
.footer-pill.p-airbnb:hover { background: var(--airbnb); border-color: var(--airbnb); color: #fff; transform: translateY(-3px); }
.footer-copy {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   JAZYKOVÝ PANEL
   ============================================================ */
#languageSwitcher {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9000;
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 60px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-spring);
}
#languageSwitcher:hover { transform: scale(1.04); }
.lang-option {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), background 0.2s, box-shadow 0.2s;
}
.lang-option:hover { transform: scale(1.15); background: var(--gold-soft); }
.lang-option.active { background: var(--gold-soft); box-shadow: inset 0 0 0 2px var(--gold); }

/* ============================================================
   COOKIE LIŠTA
   ============================================================ */
#cookieBanner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 9500;
  max-width: 400px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 24px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(212,175,55,0.35);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.6s var(--ease-spring), opacity 0.5s;
}
#cookieBanner.show { transform: translateY(0); opacity: 1; }
#cookieBanner h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#cookieBanner p { font-size: 0.76rem; color: rgba(255,255,255,0.65); margin-bottom: 18px; line-height: 1.55; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; padding: 11px 16px; font-size: 0.64rem; }
.btn-cookie-decline { background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.btn-cookie-decline:hover { border-color: #fff; color: #fff; }

/* ============================================================
   DETAILNÍ STRÁNKY APARTMÁNŮ
   ============================================================ */
.detail-hero {
  position: relative;
  height: 46vh;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  padding: 0;
}
.detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,10,7,0.55) 0%, rgba(12,10,7,0.25) 40%, rgba(12,10,7,0.75) 100%);
}
.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px 44px;
  color: #fff;
}
.detail-hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 500; line-height: 1.05; }
.detail-hero .address { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 10px; font-style: italic; }
.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.16);
  border: 1px solid rgba(212,175,55,0.5);
  color: var(--gold);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.detail-wrap { max-width: 1200px; margin: 0 auto; padding: 56px 24px 90px; }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 36px;
  transition: all 0.3s var(--ease-spring);
}
.back-btn:hover { background: var(--gold); color: #fff; transform: translateX(-4px); box-shadow: var(--shadow-gold); }

.detail-gallery-main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ink-soft);
  margin-bottom: 16px;
  cursor: zoom-in;
}
.detail-gallery-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s ease;
}
.detail-gallery-main:hover img { transform: scale(1.02); }
.detail-gallery-main .gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(12,10,7,0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 4;
  transition: background 0.2s, transform 0.25s var(--ease-spring);
}
.detail-gallery-main .gal-btn:hover { background: var(--gold); transform: translateY(-50%) scale(1.08); }
.detail-gallery-main .gal-prev { left: 18px; }
.detail-gallery-main .gal-next { right: 18px; }
.gal-counter {
  position: absolute;
  bottom: 16px; right: 18px;
  z-index: 4;
  background: rgba(12,10,7,0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 30px;
}

.detail-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.detail-thumbs img {
  width: 104px; height: 72px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: all 0.25s var(--ease-spring);
}
.detail-thumbs img:hover { opacity: 0.85; transform: translateY(-3px); }
.detail-thumbs img.active { opacity: 1; border-color: var(--gold); transform: scale(1.04); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.detail-desc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px 38px;
  box-shadow: var(--shadow-sm);
}
.detail-desc h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.detail-desc p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 18px; line-height: 1.75; }
.detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.detail-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 6px;
  font-size: 0.82rem;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.detail-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.detail-sidebar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 92px;
}
.detail-sidebar .price { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--gold-dark); }
.detail-sidebar .price-note { font-size: 0.76rem; color: var(--muted); margin: 4px 0 24px; }
.detail-sidebar .btn { width: 100%; margin-bottom: 12px; }
.detail-info { margin-top: 20px; }
.detail-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.84rem;
  border-bottom: 1px dashed var(--line);
}
.detail-info-item:last-child { border-bottom: none; }
.detail-info-item .ico { font-size: 1.1rem; }

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(10,8,5,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s;
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
#lightbox .lb-close {
  position: absolute;
  top: 26px; right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.25s;
}
#lightbox .lb-close:hover { color: var(--gold); transform: rotate(90deg); }
#lightbox .gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
#lightbox .gal-btn:hover { background: var(--gold); border-color: var(--gold); }
#lightbox .gal-prev { left: 26px; }
#lightbox .gal-next { right: 26px; }

/* ============================================================
   PLOVOUCÍ ZLATÉ ČÁSTICE (dekorativní 3D atmosféra)
   ============================================================ */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.55; }
  85%  { opacity: 0.35; }
  100% { transform: translateY(-110vh) translateX(30px) scale(1.1); opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .detail-gallery-main img { height: 380px; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  #mobileMenuBtn { display: flex; }
  section { padding: 76px 0; }
  .hero { min-height: 560px; }
  .hero-bg { flex-direction: column; }
  .hero-half { width: 100%; height: 50%; }
  .hero-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.7), transparent); }
  .apt-gallery { height: 260px; }
  .detail-gallery-main img { height: 280px; }
  .detail-thumbs img { width: 76px; height: 54px; }
  .detail-hero { height: 40vh; min-height: 300px; }
  #cookieBanner { left: 14px; right: 14px; max-width: none; bottom: 86px; }
  #languageSwitcher { bottom: 16px; right: 16px; }
  .contact-card { padding: 36px 24px; }
}

/* Redukce pohybu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   V2 — SVG IKONY, DROPDOWN, GARANCE, FAQ, PRÁVNÍ STRÁNKY
   ============================================================ */

/* SVG ikony */
.icon {
  width: 20px; height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.icon-brand { width: 24px; height: 24px; stroke: none; flex-shrink: 0; }
.apt-feature .icon, .detail-feature .icon, .detail-info-item .icon { color: var(--gold-dark); }
.around-head .ico .icon { width: 20px; height: 20px; color: var(--gold-dark); }
.contact-row .icon { width: 22px; height: 22px; color: var(--gold-dark); }
.booking-card .ico .icon-brand { width: 34px; height: 34px; transform: translateZ(30px); }
.booking-card .ico .icon { width: 26px; height: 26px; color: #fff; }
.btn .icon-brand { width: 18px; height: 18px; margin-right: 2px; }
.btn .icon { width: 16px; height: 16px; }
.detail-badge .icon { width: 15px; height: 15px; color: var(--gold); }
.detail-hero .address .icon { width: 15px; height: 15px; color: var(--gold); margin-right: 4px; }
.detail-desc h2 .icon { width: 22px; height: 22px; color: var(--gold-dark); margin-right: 8px; }

/* Dropdown v navigaci (Byty → Apartmán A / B) */
.nav-links li.has-dropdown { position: relative; }
.nav-links li.has-dropdown > a .caret {
  width: 9px; height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.25s;
}
.nav-links li.has-dropdown:hover > a .caret { transform: rotate(225deg) translateY(-3px); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-spring);
  z-index: 100;
}
.nav-links li.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.nav-dropdown li { display: block; }
.nav-dropdown li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 13px 22px !important;
  color: var(--ink) !important;
  font-size: 0.7rem;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown li a::after { display: none !important; }
.nav-dropdown li a:hover { background: var(--gold-soft); color: var(--gold-dark) !important; }
.nav-dropdown li a .icon { width: 16px; height: 16px; color: var(--gold-dark); }
#mobileMenu li.sub a { padding-left: 48px; font-size: 0.72rem; color: var(--muted); }

/* Garance nejlepší ceny */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 22px;
  border: 1px solid rgba(212,175,55,0.55);
  border-radius: 50px;
  background: rgba(212,175,55,0.12);
  backdrop-filter: blur(6px);
  color: #f3e3a0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.guarantee-badge .icon { width: 15px; height: 15px; color: var(--gold); fill: var(--gold); }
.side-guarantee {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  padding: 11px 14px;
  background: var(--gold-soft);
  border: 1px dashed rgba(212,175,55,0.6);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
}
.side-guarantee .icon { width: 15px; height: 15px; fill: var(--gold-dark); }

/* Malá horní stránka (FAQ / GDPR / podmínky) */
.page-hero {
  position: relative;
  padding: 150px 24px 70px;
  background: linear-gradient(160deg, var(--ink) 0%, #2b2415 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 340px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero .icon {
  width: 40px; height: 40px;
  color: var(--gold);
  margin-bottom: 18px;
  stroke-width: 1.4;
}
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 0.9rem; max-width: 560px; margin: 14px auto 0; }

/* FAQ akordeon */
.faq-wrap { max-width: 780px; margin: 0 auto; padding: 70px 24px 100px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item[open] { border-color: rgba(212,175,55,0.5); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-dark); }
.faq-item summary .faq-plus {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: var(--sans);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring), background 0.25s, color 0.25s;
}
.faq-item[open] summary .faq-plus { transform: rotate(45deg); background: var(--gold); color: #fff; }
.faq-item summary .icon { color: var(--gold-dark); width: 18px; height: 18px; }
.faq-answer { padding: 0 24px 22px 56px; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* Právní stránky */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 70px 24px 100px; }
.legal-wrap section { padding: 0; margin-bottom: 40px; }
.legal-wrap section::before { display: none; }
.legal-wrap h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.legal-wrap h2 .num {
  font-style: italic;
  color: var(--gold-dark);
  font-size: 1.1rem;
}
.legal-wrap p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.8; margin-bottom: 10px; }
.legal-updated { font-size: 0.75rem; color: var(--muted); font-style: italic; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Footer — právní odkazy */
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.footer-legal a {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 767px) {
  .guarantee-badge { font-size: 0.6rem; padding: 9px 16px; }
  .faq-answer { padding-left: 24px; }
  .page-hero { padding: 120px 20px 54px; }
}
