:root {
  --forest: #2f4a3c;
  --forest-dark: #203329;
  --sand: #f5f0e6;
  --sand-dark: #e8dfc9;
  --accent: #c98a3b;
  --accent-dark: #a86f27;
  --text: #2b2b26;
  --text-light: #6b6b60;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(32, 51, 41, 0.12);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--forest-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--forest-dark); text-decoration: none; }
a:hover { color: var(--accent-dark); }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  color: var(--forest-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}
.brand-text span {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-light);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--forest-dark);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white) !important;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white) !important;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* HERO */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(32,51,41,0.55), rgba(32,51,41,0.75)), var(--hero-img, none) center/cover no-repeat;
}

.hero .container { position: relative; z-index: 2; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 10px;
}
.hero h1 { color: var(--white); max-width: 700px; }
.hero p.lead { max-width: 560px; font-size: 1.1rem; color: var(--sand); }
.hero .hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  min-height: 34vh;
}

/* SECTIONS */
section { padding: 64px 0; }
section.tinted { background: var(--sand-dark); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand-dark);
  border-radius: 50%;
}
.card .icon img { width: 30px; height: 30px; }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-grid a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* LIST */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li {
  padding-left: 28px;
  position: relative;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

/* PRICING */
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.price-card h3 { color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1rem; }
.price-card .price {
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  color: var(--forest-dark);
  margin: 6px 0 18px;
}
.price-card .price small { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-item .icon {
  width: 44px; height: 44px; flex: none;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* CALLOUT */
.callout {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.callout h2 { color: var(--white); }
.callout p { color: var(--sand); }

/* FOOTER */
footer.site-footer {
  background: var(--forest-dark);
  color: var(--sand);
  padding: 48px 0 24px;
  margin-top: 40px;
}
footer.site-footer .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  text-align: center;
}
@media (max-width: 700px) {
  footer.site-footer .container { grid-template-columns: 1fr; }
}
footer.site-footer h4 {
  color: var(--white);
  font-family: "Fraunces", serif;
  margin-bottom: 14px;
}
footer.site-footer a { color: var(--sand); opacity: 0.85; }
footer.site-footer a:hover { opacity: 1; color: var(--white); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.85rem;
  opacity: 0.85;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1 1 auto;
}
.footer-copyright {
  flex: 1 1 auto;
  text-align: center;
}
.footer-credit {
  flex: 1 1 auto;
  text-align: right;
}
@media (max-width: 700px) {
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links,
  .footer-copyright,
  .footer-credit {
    text-align: center;
    justify-content: center;
    flex: none;
  }
}
.social-links { display: flex; gap: 12px; margin-top: 14px; justify-content: center; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.social-links a:hover { background: var(--accent); }

/* MOBILE NAV TOGGLE */
.nav-toggle { display: none; }
@media (max-width: 780px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--forest-dark);
  }
  nav.main-nav {
    width: 100%;
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }
}

/* Formulář */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d2c0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-success { background: #e4f1e6; color: #285c33; }
.alert-error { background: #fbe6e2; color: #92321c; }

/* KALENDÁŘ OBSAZENOSTI */
.occ-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 32px;
  font-size: 0.9rem;
}
.occ-legend-item { display: flex; align-items: center; gap: 8px; }
.occ-legend-swatch {
  width: 16px; height: 16px;
  border-radius: 4px;
  display: inline-block;
}
.occ-legend-swatch.is-free { background: var(--sand-dark); }
.occ-legend-swatch.is-occupied { background: var(--accent); }

.occ-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.occ-calendar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.occ-month {
  flex: 0 1 300px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.occ-month h3 { text-align: center; margin-bottom: 16px; font-size: 1.1rem; }
.occ-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.occ-weekday {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  padding-bottom: 4px;
}
.occ-day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 0.82rem;
}
.occ-day.is-empty { visibility: hidden; }
.occ-day.is-free { background: var(--sand-dark); color: var(--forest-dark); }
.occ-day.is-occupied { background: var(--accent); color: var(--white); font-weight: 600; }
.occ-day.is-past { opacity: 0.4; }
.occ-day.is-today { outline: 2px solid var(--forest); outline-offset: 1px; }

.occ-notice {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 24px;
}

/* LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 26, 22, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 20px;
}
.lightbox-overlay.open { display: flex; }

.lightbox-content {
  max-width: min(90vw, 1100px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-counter {
  color: var(--sand);
  font-size: 0.9rem;
  opacity: 0.85;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--accent); }

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .lightbox-prev { left: 6px; width: 40px; height: 40px; }
  .lightbox-next { right: 6px; width: 40px; height: 40px; }
}
