/* =====================================================
   PENZION SPORT PODĚBRADY — warm spa hotel design
   Palette: cream + sage green + warm copper accent
   ===================================================== */

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

:root {
  --cream:       #faf5ec;
  --cream-2:     #f2ebdb;
  --cream-3:     #e7dec8;
  --warm:        #f6efe0;
  --ink:         #2a2520;
  --ink-2:       #3e3730;
  --sage:        #758c6e;
  --sage-dark:   #5a6e54;
  --copper:      #b8794d;
  --copper-dark: #98623b;
  --gold:        #c9a96e;
  --text:        #3a342e;
  --text-muted:  #8a8278;
  --line:        rgba(58, 52, 46, 0.12);
  --line-strong: rgba(58, 52, 46, 0.2);
  --tb-h:        38px;
  --nav-h:       72px;
  --radius:      4px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  padding-top: calc(var(--tb-h) + var(--nav-h));
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--copper); color: var(--cream); }

/* ============== TOP BAR ============== */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--tb-h);
  background: var(--ink);
  color: var(--cream);
  z-index: 1100;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
}
.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.tb-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250,245,236,0.7);
}
.tb-pin {
  color: var(--copper);
  font-size: 0.5rem;
}
.tb-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tb-phone {
  font-weight: 600;
  color: var(--cream);
  transition: color 0.2s;
}
.tb-phone:hover { color: var(--gold); }
.tb-sep { color: rgba(255,255,255,0.3); }

/* ============== NAVBAR ============== */
#navbar {
  position: fixed;
  top: var(--tb-h);
  left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,245,236,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow 0.3s var(--ease), background 0.3s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(250,245,236,0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(42,37,32,0.06);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}
.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-name em {
  font-style: italic;
  color: var(--copper);
  font-weight: 500;
}
.brand-name-lg { font-size: 2rem; }
.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links > li > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.nav-links > li > a:not(.nav-cta):hover,
.nav-links > li > a:not(.nav-cta).active { color: var(--copper); }

.nav-cta {
  background: var(--copper) !important;
  color: var(--cream) !important;
  padding: 0.65rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--copper-dark) !important; transform: translateY(-1px); }
.nav-cta .arrow { transition: transform 0.25s var(--ease); }
.nav-cta:hover .arrow { transform: translateX(3px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
#hero {
  position: relative;
  min-height: calc(100vh - var(--tb-h) - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(42,37,32,0.35) 0%, rgba(42,37,32,0.05) 25%, rgba(42,37,32,0) 50%, rgba(42,37,32,0.55) 100%),
    linear-gradient(110deg, rgba(42,37,32,0.55) 0%, rgba(42,37,32,0.1) 60%, rgba(42,37,32,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 5rem 2rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cream);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.25);
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.02;
  color: var(--cream);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 750px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(250,245,236,0.85);
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--copper);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.6rem;
  border-radius: 100px;
  border: none;
  transition: background 0.2s, transform 0.25s var(--ease);
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn-primary:hover { background: var(--copper-dark); transform: translateY(-2px); }
.btn-primary .btn-arrow { transition: transform 0.25s var(--ease); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--cream); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--copper);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--copper);
  transition: gap 0.25s var(--ease), color 0.2s;
  margin-top: 1rem;
}
.btn-link:hover { gap: 0.85rem; color: var(--copper-dark); }

.hero-feats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 800px;
}
.hf-item {
  display: flex;
  flex-direction: column;
  padding: 0 1.75rem 0 0;
  margin-right: 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hf-item:last-child { border-right: none; }
.hf-item strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--cream);
  line-height: 1;
}
.hf-item span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(250,245,236,0.6);
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.hf-divider { display: none; }

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 2px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ============== SECTIONS ============== */
.section { padding: 7rem 0; }
.section-warm { background: var(--warm); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

/* ============== INTRO ============== */
.section-intro { padding: 6rem 0 4rem; }
.intro-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 1rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.intro-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  padding-top: 1rem;
  border-top: 2px solid var(--copper);
  grid-row: 1 / span 2;
  align-self: start;
  white-space: nowrap;
}
.intro-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.intro-title em {
  font-style: italic;
  color: var(--copper);
}
.intro-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 720px;
}

/* ============== FEATURE SECTIONS (UBYT / RESTO / SPORT / WELLNESS) ============== */
.section-feature { padding: 6rem 0; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feature-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}
.feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.feature-img:hover img { transform: scale(1.04); }
.feature-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cream);
  background: rgba(42,37,32,0.7);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
}
.feature-text {
  max-width: 500px;
}
.feature-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}
.feature-list li {
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 0;
}

/* ============== BIG CTA ============== */
.section-cta {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(184,121,77,0.25), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(201,169,110,0.18), transparent 50%);
  pointer-events: none;
}
.cta-block {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.cta-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(250,245,236,0.75);
  margin-bottom: 3rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-phones {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cta-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  min-width: 280px;
  transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.cta-phone:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--copper);
  transform: translateY(-2px);
}
.cp-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.cp-num {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.cta-note {
  font-size: 0.95rem;
  color: rgba(250,245,236,0.55);
}
.cta-note a { color: var(--gold); border-bottom: 1px solid; }

/* ============== CONTACT ============== */
.section-contact { background: var(--cream); padding: 6rem 0 7rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.contact-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
  margin-top: 2.5rem;
}
.ci {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ci-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
}
.ci-val {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ci-val-sm { font-size: 1.05rem; }
.contact-map iframe {
  border-radius: var(--radius);
  filter: grayscale(0.2);
}

/* ============== FOOTER ============== */
footer {
  background: var(--ink-2);
  color: var(--cream);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.ft-tag {
  font-size: 0.85rem;
  color: rgba(250,245,236,0.55);
  margin-top: 0.5rem;
}
.ft-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.ft-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ft-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.ft-col a {
  font-size: 0.92rem;
  color: rgba(250,245,236,0.7);
  transition: color 0.2s;
}
.ft-col a:hover { color: var(--cream); }
.footer-bottom {
  font-size: 0.78rem;
  color: rgba(250,245,236,0.4);
  text-align: center;
}

/* ============== FAB ============== */
.fab-call {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px; height: 58px;
  background: var(--copper);
  color: var(--cream);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(184,121,77,0.4);
  transition: background 0.2s, transform 0.25s var(--ease);
}
.fab-call:hover { background: var(--copper-dark); transform: scale(1.05); }

/* ============== FADE IN ============== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .feature-grid { gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; --tb-h: 34px; }

  .tb-left span:last-child { display: none; }
  .tb-right { gap: 0.4rem; font-size: 0.78rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: calc(var(--tb-h) + var(--nav-h));
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2rem;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    pointer-events: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links > li > a { display: block; padding: 0.95rem 0; font-size: 1.05rem; }
  .nav-cta { display: inline-flex !important; margin-top: 0.75rem; }

  .hero-content { padding: 3rem 1.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  .hero-feats { gap: 1rem; }
  .hf-item { padding-right: 1rem; margin-right: 1rem; }

  .section { padding: 4.5rem 0; }
  .section-feature { padding: 4rem 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid-right .feature-img { order: -1; }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .intro-eyebrow { grid-row: auto; padding-top: 0; }

  .cta-phones { flex-direction: column; align-items: stretch; }
  .cta-phone { min-width: 0; width: 100%; }

  .contact-items { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ft-cols { grid-template-columns: 1fr 1fr; }

  .fab-call { display: flex; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .nav-inner, .top-bar-inner, .container { padding: 0 1.25rem; }
  .hero-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1.5rem; }
  .hf-item { padding: 0; margin: 0; border: none; }
}
