* {margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif;}
.header {min-height: 100vh; width: 100%; position: relative; overflow: hidden;}
.bg-video {position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;}
.header::after {content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(4, 9, 30, 0.7); z-index: 0;}
nav {display: flex; padding: 2% 6%; justify-content: space-between; align-items: center; position: relative; z-index: 1;}
nav img { width: 100px; }
.nav-links { flex: 1; text-align: right; }
.nav-links ul li { list-style: none; display: inline-block; padding: 8px 12px; position: relative; }
.nav-links ul li a { color: #fff; text-decoration: none; font-size: 13px; }
.nav-links ul li::after {content: ''; width: 0%; height: 2px; background: #2bd415; display: block; margin: auto; transition: 0.5s;}
.nav-links ul li:hover::after { width: 100%; }
.text-box {width: 90%; color: #fff; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; z-index: 1;}
.text-box h1 { font-size: 62px; }
.odkaz { display: inline-block; text-decoration: none; color: #fff; border: 1px solid white; padding: 12px 34px; font-size: 13px; background: transparent; position: relative; cursor: pointer;}
.odkaz:hover { border: 1px solid #2bd415; background: #2bd415; transition: 1s; }
.intro { padding: 4rem 2rem; text-align: center; background: #f9f9f9; }
.intro .container { max-width: 900px; margin: 0 auto; }
.intro h1 { font-size: 2.2rem; margin-bottom: 1rem; color: #333; }
.intro p { font-size: 1.2rem; line-height: 1.6; color: #555; }

section.intro {
  padding: 76px 24px 82px;
  background: linear-gradient(180deg, #fbfdf9 0%, #f2f7ef 100%);
  border-bottom: 1px solid #e2eadf;
}

section.intro .container {
  max-width: 980px;
}

section.intro h1 {
  display: inline-block;
  position: relative;
  margin-bottom: 28px;
  color: #244535;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 700;
}

section.intro h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #2bd415;
}

section.intro p {
  max-width: 880px;
  margin: 0 auto;
  color: #3f4c45;
  font-size: 1.13rem;
  line-height: 1.85;
}
.offers-grid { background-color: rgb(238, 233, 233); position: relative; display: grid; grid-template-columns: repeat(2, auto); gap: 150px; justify-content: center; padding: 40px 16px; }
.offer-card { background: rgba(0,0,0,0.6); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,.2); width: 550px; height: 420px; display: flex; justify-content: center; align-items: center; text-align: center; cursor: pointer; transition: transform 0.45s ease, box-shadow 0.45s ease; position: relative; z-index: 1; background-size: cover; background-position: center;}
.offer-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 0; }
.offer-content { position: relative; z-index: 1; color: #fff; padding: 20px;}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px rgba(0,0,0,.3); }
.offer-card.placeholder { visibility: hidden; }
.zoom-clone { position: fixed; z-index: 100; background-size: cover; background-position: center; cursor: pointer; transition: left 0.95s cubic-bezier(0.22, 1, 0.36, 1), top 0.95s cubic-bezier(0.22, 1, 0.36, 1), width 0.95s cubic-bezier(0.22, 1, 0.36, 1), height 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease; box-shadow: 0 24px 45px rgba(0,0,0,.28); border-radius: 14px; }
.contact{ margin: 100px auto; width: 80%; background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/kotaktujte-nas.jpg); background-position: center; background-size: cover; border-radius: 10px; text-align: center; padding: 100px 0;}
.contact h1{ color: #fff; margin-bottom: 40px; padding: 0;}
.footer{ width: 100%; text-align: center; padding: 30px 0; }
.icons .fa{ color: #2bd415; margin: 0 13px; cursor: pointer; padding: 18px 0; }

/* Olympijské kruhy */
.circles-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 70%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  place-items: center;
  gap: 40px 60px;
  pointer-events: none;
  z-index: 2;
}

.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 4px solid #2bd415;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
  pointer-events: auto;
  opacity: 0;
  animation: circleFadeIn 0.8s forwards;
}

.circle:nth-child(1) { grid-column: 1; grid-row: 1; }
.circle:nth-child(2) { grid-column: 2; grid-row: 1; }
.circle:nth-child(3) { grid-column: 3; grid-row: 1; }
.circle:nth-child(4) { grid-column: 1.5 / span 1; grid-row: 2; }
.circle:nth-child(5) { grid-column: 2.5 / span 1; grid-row: 2; }

@keyframes circleFadeIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.circle:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail velkého kruhu */
.circle-detail {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 750px;   /* původně 500px */
  height: 750px;  /* původně 500px */
  border-radius: 50%;
  background: white;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  z-index: 1000;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
  overflow: hidden;
  cursor: pointer;
}


.circle-detail.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.circle-detail-content {display: flex;flex-direction: column;height: 100%;}
.circle-photo {flex: 1;overflow: hidden;border-bottom: 3px solid #2bd415;border-radius: 50% 50% 0 0;background: #f4f7f1;}
.circle-photo img {width: 100%;height: 100%;object-fit: contain;object-position: center top;}
.circle-text {flex: 1;text-align: center;padding: 20px 42px 26px;overflow-y: auto;}
.circle-text h3 {color: #2f8f22;margin-bottom: 12px;font-size: 1.28rem;}
.circle-text p {max-width: 560px;margin: 0 auto;color: #3f4c45;font-size: 0.98rem;line-height: 1.72;}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #2bd415;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  transition: color 0.3s;
}
.nav-arrow:hover {
  color: #1a8e0c;
}
.nav-arrow.left { left: 20px; }
.nav-arrow.right { right: 20px; }

.circle-detail.fading .circle-photo img,
.circle-detail.fading .circle-text {
  opacity: 0;
  transition: opacity 0.3s;
}
.circle-detail .circle-photo img,
.circle-detail .circle-text {
  opacity: 1;
  transition: opacity 0.3s;
}

@media (max-width: 640px) {
  .circle-text {
    padding: 18px 24px 24px;
  }

  .circle-text p {
    font-size: 0.94rem;
    line-height: 1.62;
  }
}


/* Projekty */
.projekty-header {
  background: linear-gradient(rgba(4,9,30,0.58),rgba(4,9,30,0.58)), 
              url("images/projekty-header.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

/* Sekce projektů */
.project-section {
  padding: 80px 20px;
  background: #fff;
}

.project-section.alt {
  background: #f9f9f9;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.project-image {
  flex: 1 1 45%;
}

.project-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.project-text {
  flex: 1 1 45%;
}

.project-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.project-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.project-text ul {
  list-style: none;
  padding: 0;
}

.project-text ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
  color: #444;
}

.project-text ul li::before {
  content: "✔";
  color: #2bd415;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Subpage header */
.subpage-header {
  height: 250px;
  background: linear-gradient(rgba(4,9,30,0.58),rgba(4,9,30,0.58)), url("images/projekty-header.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}

.subpage-header nav img {
  width: 82px;
  height: auto;
  display: block;
}

.subpage-title {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.subpage-title h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

/* Projekty zůstávají stejné jako dřív (projects, project-card, project-detail) */



/* Aktuality */
.aktuality-header {
  background: linear-gradient(rgba(4,9,30,0.58),rgba(4,9,30,0.58)),
              url("images/kotaktujte-nas.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  height: 250px;
}

.news-section {
  padding: 80px 20px;
  background: #fff;
}

.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-item {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-date {
  font-size: 0.9rem;
  color: #777;
  display: block;
  margin-bottom: 8px;
}

.news-added-date {
  font-size: 0.85rem;
  color: #2f8f22;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.news-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
}

.news-read-more {
  margin-top: 15px;
  border-color: #2bd415;
  background: #2bd415;
}

.news-read-more:hover,
.news-read-more:focus {
  border-color: #25a512;
  background: #25a512;
}

.news-full-text {
  display: none;
}

/* Detail */
.news-detail {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.news-detail.active {
  opacity: 1;
}

.news-detail-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: left;
  position: relative;
  animation: scaleIn 0.4s ease forwards;
}

.news-detail-content h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #333;
}

.news-detail-image {
  width: 100%;
  height: clamp(260px, 45vh, 420px);
  object-fit: contain;
  object-position: center center;
  background: #f4f7f1;
  border-radius: 8px;
  margin-bottom: 24px;
}

.news-detail-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-top: 14px;
}

.close-detail {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: #333;
  cursor: pointer;
  background: transparent;
  border: 0;
  line-height: 1;
}

@keyframes scaleIn {
  from { transform: scale(0.95); }
  to { transform: scale(1); }
}


/* Cekanka: rozsáhlý obsah, harmonogram a ceny */
.cekanka-header {
  background: linear-gradient(rgba(4,9,30,0.6), rgba(4,9,30,0.6)),
              url("images/pobytovy_tabor_spolku_Semik_na_Vysocine.jpg");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  height: 250px;
  color: #fff;
}

.cekanka-page-header {
  background: linear-gradient(rgba(4,9,30,0.6), rgba(4,9,30,0.6)),
              url("images/cekanka.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

.secret-header {
  background: linear-gradient(rgba(4,9,30,0.58), rgba(4,9,30,0.58)),
              url("images/skritek-Hvozdomil.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  height: 250px;
  color: #fff;
}

.subtitle { color: #e6efe6; margin-top: 8px; font-weight: 300; }

/* hlavní obsah */
.content-wrap { max-width: 1200px; margin: 40px auto; padding: 0 20px 80px; }

/* textové bloky */
.text-block { margin-bottom: 40px; line-height: 1.6; color: #333; }
.text-block h2 { font-size: 1.9rem; margin-bottom: 12px; }
.text-block h3 { font-size: 1.25rem; margin-top: 18px; }

/* harmonogram */
.schedule-section { margin-bottom: 40px; }
.schedule-table-wrap { overflow-x: auto; margin: 20px 0; }
.schedule-table { width: 100%; border-collapse: collapse; background: #fff; }
.schedule-table th, .schedule-table td {
  padding: 14px 12px; border-bottom: 1px solid #eee; text-align: left;
}
.schedule-table thead th { background: #fafafa; color: #333; font-weight: 600; }

/* akordeon */
.accordion { margin-top: 20px; }
.accordion-toggle {
  width: 100%; text-align: left; padding: 14px 18px; border: none;
  background: #fff; border-radius: 10px; margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06); cursor: pointer; font-weight: 600;
}
.accordion-panel { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; background: #f8f8f8; padding: 0 18px; border-radius: 8px; margin-bottom: 12px; }

/* ceny */
.prices-section { margin-bottom: 40px; }
.prices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 20px 0; }
.price-card { background: #fff; padding: 20px; border: 2px solid #2bd415; border-radius: 12px; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.price-card.highlighted { border: 2px solid #2bd415; transform: translateY(-6px); }
.price-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.price { font-size: 1.6rem; font-weight: 700; color: #2bd415; margin-bottom: 8px; }
.note { margin-top: 12px; color: #666; }

/* CTA */
.big-cta { display:inline-block; margin-top:16px; padding: 12px 28px; border-radius: 40px; text-decoration: none; background: #2bd415; color: #fff; font-weight:600; }

/* FAQ */
.faq-section { margin-top: 30px; }
.faq-item { background: #fff; padding: 16px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); margin-bottom: 12px; }
.faq-item h4 { margin-bottom: 8px; }



/* Fotogalerie */
.galerie-header {
  background: linear-gradient(rgba(4,9,30,0.6), rgba(4,9,30,0.6)),
              url("images/fotogalerie.jpg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
  height: 250px;
  color: #fff;
}

.gallery-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.facebook-gallery-window {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,0.14);
  border: 1px solid #e8e8e8;
}

.facebook-window-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  background: #f4f4f4;
  border-bottom: 1px solid #e4e4e4;
}

.facebook-window-bar strong {
  margin-left: 8px;
  color: #333;
  font-size: 0.95rem;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2bd415;
  opacity: 0.75;
}

.window-dot:nth-child(2) {
  opacity: 0.5;
}

.window-dot:nth-child(3) {
  opacity: 0.3;
}

.facebook-gallery-body {
  display: grid;
  justify-items: center;
  align-items: start;
  gap: 22px;
  padding: 26px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbf5 100%);
}

.facebook-gallery-text {
  width: min(100%, 860px);
  text-align: center;
}

.facebook-gallery-text h2 {
  margin: 0 0 8px;
  color: #244535;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.facebook-gallery-text p {
  margin: 0 auto;
  max-width: 780px;
  color: #3f4c45;
  font-size: 1.03rem;
  line-height: 1.65;
}

.facebook-embed-frame {
  min-height: 900px;
  width: fit-content;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: #eef5eb;
  border-radius: 10px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(47,143,34,0.12);
  margin: 0 auto;
}

.facebook-embed-frame iframe {
  width: 500px;
  max-width: 100%;
  min-height: 900px;
  background: #fff;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .facebook-embed-frame {
    min-height: 640px;
    width: 100%;
  }

  .facebook-embed-frame iframe {
    width: 100%;
    min-height: 640px;
    max-width: none;
  }

}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.lightbox .close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.lightbox .arrow {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 0 15px;
  transform: translateY(-50%);
}

.lightbox .arrow.left { left: 20px; }
.lightbox .arrow.right { right: 20px; }



/* Kontakt */
.contact-header {
  background: linear-gradient(rgba(4,9,30,0.6), rgba(4,9,30,0.6)),
              url("images/kontakt.jpg");
  background-size: cover;
  background-position: center 44%;
  background-repeat: no-repeat;
  height: 250px;
  color: #fff;
}

.documents-header {
  background: linear-gradient(rgba(4,9,30,0.6), rgba(4,9,30,0.6)),
              url("images/info-pro-rodice.jpg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.contact-info {
  margin: 40px 0;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.contact-card i {
  font-size: 30px;
  margin-bottom: 12px;
  color: #2bd415;
}

.parent-documents {
  margin: 50px 0;
}

.documents-page-section {
  margin-top: 0;
}

.parent-documents h2 {
  margin-bottom: 20px;
}

.documents-pocket {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.document-group {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.document-group h3 {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.document-link {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.document-link:last-child {
  border-bottom: 0;
}

.document-link:hover span {
  color: #2f8f22;
}

.document-link i {
  color: #2bd415;
  font-size: 18px;
  text-align: center;
}

.document-link span {
  line-height: 1.3;
  font-size: 0.95rem;
}

.document-link strong {
  padding: 5px 9px;
  border-radius: 20px;
  background: #eaf8e8;
  color: #2f8f22;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.leaders { margin: 50px 0; }
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: center;
}
.leader img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
}
.leader h3 { margin-bottom: 6px; }

.map-section { margin: 40px 0; }
.map-embed iframe {
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.contact-form { margin: 50px 0; }
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
}
.contact-form button {
  align-self: flex-start;
  padding: 12px 28px;
  border-radius: 40px;
  background: #2bd415;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button:hover {
  background: #25a512;
}


/* Tábory */
.tabory-header {
  background: linear-gradient(rgba(4,9,30,0.6), rgba(4,9,30,0.6)),
              url("images/pobytovy_tabor_spolku_Semik_staje_Ricmanice.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  height: 250px;
  color: #fff;
}

/* rozdělené sekce s obrázkem a textem */
.split-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin: 64px 0;
  padding-bottom: 54px;
  border-bottom: 1px solid #e8eee6;
}
.split-section:last-of-type { border-bottom: 0; }
.split-section.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; min-width: 280px; }
.split-text h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #244535;
}
.split-text p {
  max-width: 620px;
  color: #4d5b52;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.split-text p strong {
  color: #244535;
  font-weight: 700;
}
.split-img { flex: 1; min-width: 280px; }
.split-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* checklist */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
}
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2bd415;
  font-weight: bold;
}

.checklist {
  margin: 8px 0 0;
  max-width: 620px;
}

.checklist li {
  padding: 12px 16px;
  position: static;
  margin-bottom: 11px;
  color: #435047;
  font-size: 1.03rem;
  line-height: 1.55;
  background: #f6faf4;
  border-left: 4px solid #2bd415;
  border-radius: 0 8px 8px 0;
}

.checklist li::before {
  content: none;
}

/* FAQ akordeon */
.accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border: none;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  cursor: pointer;
  font-weight: 600;
}
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background: #f8f8f8;
  padding: 0 18px;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Mobile layout */
nav > .fa {
  display: none;
}

nav > .fa-bars::before {
  content: "\2630";
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

nav > .fa-times::before {
  content: "\00d7";
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

@media (max-width: 980px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.menu-open {
    overflow: hidden;
  }

  nav {
    padding: 18px 22px;
    z-index: 1300;
  }

  nav img,
  .subpage-header nav img {
    width: 72px;
  }

  nav > .fa {
    display: block;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    position: relative;
    z-index: 1201;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    width: min(82vw, 300px);
    height: 100vh;
    padding: 82px 24px 28px;
    background: #12341f;
    text-align: left;
    z-index: 1200;
    box-shadow: -16px 0 32px rgba(0,0,0,0.25);
    transition: right 0.32s ease;
    box-sizing: border-box;
  }

  nav.nav-open .nav-links {
    right: 0;
  }

  .nav-links ul li {
    display: block;
    padding: 0;
    margin: 0;
  }

  .nav-links ul li a {
    display: block;
    padding: 13px 0;
    font-size: 14px;
    line-height: 1.25;
  }

  .nav-links ul li::after {
    margin: 0;
  }

  .text-box {
    width: min(92%, 760px);
  }

  .text-box h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 1.12;
  }

  .odkaz {
    padding: 11px 22px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.35;
  }

  section.intro {
    padding: 54px 18px 60px;
  }

  section.intro h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  section.intro p {
    font-size: 1.03rem;
    line-height: 1.72;
  }

  .offers-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 16px;
  }

  .offer-card {
    width: min(100%, 560px);
    height: clamp(270px, 70vw, 380px);
    justify-self: center;
  }

  .offer-content h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.15;
  }

  .zoom-clone .offer-content {
    width: calc(100% - 28px) !important;
    margin: 14px auto !important;
    padding: 22px !important;
    max-height: calc(100% - 28px) !important;
  }

  .zoom-clone.teacher-detail-open .offer-content {
    width: calc(100% - 28px) !important;
    padding: 18px !important;
    margin: 14px auto 0 !important;
  }

  .zoom-clone.teacher-detail-open .circles-container {
    width: 100% !important;
    padding: 0 14px 22px !important;
    box-sizing: border-box;
  }

  .contact {
    width: calc(100% - 32px);
    margin: 54px auto;
    padding: 72px 18px;
    box-sizing: border-box;
  }

  .subpage-header,
  .aktuality-header,
  .cekanka-header,
  .galerie-header,
  .contact-header,
  .documents-header,
  .tabory-header,
  .secret-header {
    height: 230px;
  }

  .subpage-title {
    width: min(90%, 680px);
    bottom: 30px;
  }

  .subpage-title h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.12;
  }

  .subtitle {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .content-wrap {
    margin: 30px auto;
    padding: 0 18px 56px;
  }

  .news-section,
  .project-section,
  .gallery-section {
    padding: 48px 16px;
  }

  .news-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .news-detail-content {
    width: min(94vw, 680px);
    padding: 22px;
  }

  .news-detail-image {
    height: clamp(190px, 52vw, 330px);
  }

  .project-container {
    gap: 24px;
  }

  .project-image,
  .project-text {
    flex: 1 1 100%;
  }

  .project-section {
    padding: 48px 18px;
  }

  .project-text h2,
  .split-text h2,
  .text-block h2,
  .prices-section h2,
  .faq-section h2,
  .parent-documents h2,
  .contact-form h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .split-section,
  .split-section.reverse {
    flex-direction: column;
    gap: 24px;
    margin: 46px 0;
    padding-bottom: 42px;
  }

  .split-text,
  .split-img {
    width: 100%;
    min-width: 0;
  }

  .split-text p,
  .checklist {
    max-width: none;
  }

  .prices-grid,
  .contact-cards,
  .leaders-grid,
  .documents-pocket {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-card.highlighted {
    transform: none;
  }

  .text-block img[style*="float"] {
    float: none !important;
    width: 100% !important;
    max-width: 360px !important;
    display: block;
    margin: 0 auto 20px !important;
  }

  .facebook-gallery-body {
    padding: 18px 12px;
  }

  .facebook-embed-frame {
    min-height: 620px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .facebook-embed-frame iframe {
    width: 100%;
    min-height: 620px;
    max-width: none;
  }

  .circle-detail {
    width: min(92vw, 520px);
    height: min(92vw, 520px);
  }

  .circle-text {
    padding: 16px 26px 22px;
  }

  .nav-arrow {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 14px 16px;
  }

  .header {
    min-height: 100svh;
  }

  .text-box h1 {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .offers-grid {
    padding: 24px 12px;
    gap: 22px;
  }

  .offer-card {
    height: 300px;
    border-radius: 10px;
  }

  .zoom-close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .custom-text h3 {
    font-size: 1.55rem;
  }

  .custom-text h4 {
    font-size: 1.05rem;
  }

  .custom-text p,
  .custom-text li {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .subpage-header,
  .aktuality-header,
  .cekanka-header,
  .galerie-header,
  .contact-header,
  .documents-header,
  .tabory-header,
  .secret-header {
    height: 210px;
  }

  .subpage-title {
    bottom: 24px;
  }

  .news-item img {
    height: 185px;
  }

  .news-content,
  .news-detail-content,
  .contact-card,
  .document-group,
  .price-card {
    padding: 18px;
  }

  .document-link {
    grid-template-columns: 22px 1fr;
  }

  .document-link strong {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }

  .facebook-window-bar strong {
    font-size: 0.86rem;
  }

  .facebook-embed-frame,
  .facebook-embed-frame iframe {
    min-height: 560px;
  }

  .circle-detail {
    width: min(94vw, 430px);
    height: min(94vw, 430px);
  }

  .circle-text h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
  }

  .circle-text p {
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .footer {
    padding: 24px 14px;
    box-sizing: border-box;
  }
}
