/* =====================================================
   Rezidenční ubytování Albi Lanškroun – hlavní styly
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --cream:  #f5f0e8;
  --dark:   #1a1a1a;
  --gold:   #b8963e;
  --gold2:  #d4a84b;
  --mid:    #555;
  --light:  #e8e0d0;
  --nav-h:  70px;
  --max-w:  1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ── NAVIGACE ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,26,26,0.96);
  backdrop-filter: blur(6px);
  height: var(--nav-h);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold2);
  font-size: 1.15rem;
  letter-spacing: .04em;
  line-height: 1.3;
}
.nav-logo span { display: block; color: #aaa; font-family: 'Lato', sans-serif; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  color: #ccc; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 14px;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold2); border-bottom-color: var(--gold2); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #ccc; transition: .3s; }

/* mobile nav */
@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    padding: 16px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.65) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; color: #fff;
  padding: 0 24px; max-width: 800px;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: rgba(255,255,255,.9);
  margin-bottom: 36px;
  font-weight: 300;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--gold2);
  color: var(--gold2);
  font-size: .8rem; text-transform: uppercase; letter-spacing: .15em;
  transition: background .25s, color .25s;
  font-weight: 700;
}
.btn:hover { background: var(--gold2); color: #fff; }
.btn-solid { background: var(--gold2); color: #fff; }
.btn-solid:hover { background: var(--gold); border-color: var(--gold); }

/* ── STRÁNKA WRAPPING ── */
.page-wrap { padding-top: var(--nav-h); }

/* ── SECTION ── */
section.section {
  padding: 80px 24px;
  max-width: var(--max-w); margin: 0 auto;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  color: var(--dark);
}
.section-sub {
  color: var(--gold);
  font-size: .8rem; text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: 6px; font-weight: 700;
}
.section-lead {
  font-size: 1.05rem; color: var(--mid);
  max-width: 620px; margin-bottom: 48px;
}
.divider {
  width: 60px; height: 3px; background: var(--gold); margin: 16px 0 40px;
}

/* ── GRID KARTY ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ── FEATURE ITEM ── */
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature-img { aspect-ratio: 4/3; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.feature-img:hover img { transform: scale(1.04); }
.feature h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.feature p { color: var(--mid); font-size: .95rem; }

/* ── UBYTOVÁNÍ KARTY ── */
.accom-card {
  border: 1px solid var(--light);
  overflow: hidden;
  transition: box-shadow .3s;
}
.accom-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.accom-card-img { aspect-ratio: 4/3; overflow: hidden; }
.accom-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.accom-card:hover .accom-card-img img { transform: scale(1.04); }
.accom-card-body { padding: 28px; }
.accom-card-tag {
  display: inline-block;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .15em;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 3px 10px; margin-bottom: 12px;
}
.accom-card-body h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 10px; }
.accom-card-body p { color: var(--mid); margin-bottom: 20px; font-size: .95rem; }

/* ── FOTO GALERIE ── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.gallery-item { overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lb { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.9); align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-height: 90vh; max-width: 90vw; object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* ── KONTAKT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 20px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-icon { color: var(--gold); font-size: 1.2rem; min-width: 24px; margin-top: 2px; }
.map-wrap { width: 100%; height: 360px; border: 0; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── FORMULÁŘ ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; color: var(--mid); }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--light); background: #fff;
  font-family: 'Lato', sans-serif; font-size: 1rem;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { height: 120px; resize: vertical; }
.form-note { font-size: .8rem; color: #999; margin-top: 8px; }

/* ── DETAIL BYTU – SLIDER ── */
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform .4s ease; }
.slider-track img { width: 100%; flex-shrink: 0; aspect-ratio: 4/3; object-fit: cover; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); color: #fff;
  border: none; cursor: pointer; padding: 12px 16px; font-size: 1.2rem;
  transition: background .2s;
}
.slider-btn:hover { background: var(--gold); }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }
.slider-dots { text-align: center; margin-top: 12px; }
.slider-dots span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--light); margin: 0 4px; cursor: pointer; }
.slider-dots span.active { background: var(--gold); }

/* ── DARK SEKCE ── */
.section-dark {
  background: var(--dark); color: #fff;
  padding: 80px 24px;
  text-align: center;
}
.section-dark .section-title { color: #fff; }
.section-dark .divider { margin: 16px auto 40px; }
.section-dark p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 32px; }

/* ── AKTUÁLNĚ ── */
.news-card { border: 1px solid var(--light); }
.news-card-img { aspect-ratio: 16/9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 24px; }
.news-card-date { font-size: .75rem; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.news-card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 10px; }
.news-card-body p { color: var(--mid); font-size: .95rem; }

/* ── FOOTER ── */
footer {
  background: #111; color: rgba(255,255,255,.6);
  padding: 36px 24px;
  text-align: center; font-size: .85rem;
}
footer a { color: var(--gold2); }
footer .footer-sep { margin: 0 8px; }

/* ── STRÁNKA HERO (menší) ── */
.page-hero {
  height: 40vh; min-height: 240px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}
.page-hero-content {
  position: relative; z-index: 1;
  color: #fff; text-align: center; padding: 0 24px;
}
.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ── BREADCRUMB ── */
.breadcrumb { font-size: .8rem; color: var(--mid); padding: 16px 24px; max-width: var(--max-w); margin: 0 auto; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-4 { margin-bottom: 4px; }
.w-full { width: 100%; }

/* ── JAZYKOVÝ PŘEPÍNAČ ── */
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: #aaa;
  font-size: .7rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 7px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.lang-btn:hover { color: var(--gold2); border-color: var(--gold2); }
.lang-btn--active { color: var(--gold2); border-color: var(--gold2); }
