:root {
    --bg: #d9d9d9;
    --accent: #ffcc00;
    --green: #2e6417;
    --black: #000;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
     padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--black);
  }
  .wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 0;
  }
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg);
    z-index: 1000;
  }


  header .left {
    display: flex;
    gap: 5vw; /* mezera mezi odkazy – 5% šířky viewportu */
    align-items: center;
    font-weight: 600;
  }
  header .right {
    display: flex;
    gap: 2vw;
    align-items: center;
  }
  header svg {
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  pointer-events: none;
  margin-top: -60px;  /* posun nahoru přes lištu */
  z-index: 2000;      /* nad headerem */
}

.hero img {
  width: 750px;
  max-width: 90vw;
  height: auto;
  position: relative;
  top: -50px;
  margin-bottom: 30px;
  z-index: 2001;
  
}
header .left img {
  max-width: 140px;
  height: auto;
  margin: 0; /* odstraní všechny mezery kolem loga */
}
/* Celá galerie */
.gallery-wrapper {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding-top: 10px;
}

/* Obrázky */
.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}

/* Boční slidy ještě menší */
.swiper-slide {
    transform: scale(0.60);
    opacity: 0.35;
    transition: all 0.35s ease;
}

/* Aktivní = hlavní zvětšený */
.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

/* ŽLUTÉ ŠIPKY BEZ POZADÍ */
.swiper-button-next,
.swiper-button-prev {
    background: none !important;
    color: #FFD200 !important; /* žlutá */
    width: 45px;
    height: 45px;
}

/* velikost ikon */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 32px;
    font-weight: bold;
}

/* umístění */
.swiper-button-prev {
    left: -5px;
}

.swiper-button-next {
    right: -5px;
}

img:hover {
    cursor: zoom-in;
}
/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.88);
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    cursor: grab;
    transition: transform 0.05s linear;
}

/* Zavírací křížek */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 45px;
    color: white;
    cursor: pointer;
}

/* Šipky v lightboxu */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: #FFD200;
    cursor: pointer;
    user-select: none;
    padding: 20px;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-arrow:hover {
    color: white;
}
@media (max-width: 768px) {
    .lightbox-arrow {
        top: auto;
        bottom: 35px;          /* posuneme dolů */
        transform: none;
        font-size: 48px;
        padding: 15px;
        z-index: 999999 !important;
    }

    .lightbox-prev {
        left: 35px;
    }

    .lightbox-next {
        right: 35px;
    }
}

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

.nav.prev { left: 50px; }
.nav.next { right: 50px; }
.nav:hover { color: #ffcc00; }
.countdown-title {
    display: flex;
    justify-content: center; /* vycentrování obsahu */
    margin: 20px 0;          /* prostor nad a pod */
}

.countdown-title span {
    background-color: #FFD700; /* žlutý podklad jen za textem */
    color: #000;               /* kontrastní černý text */
    font-weight: bold;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 1rem;
    padding: 5px 10px;        /* prostor kolem textu */
    border-radius: 5px;       /* jemně zaoblené rohy */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 700;
  margin: 10px 0 25px 0;
  z-index: 10;
  letter-spacing: 1px;
}

.countdown div {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.countdown span {
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

.hero-desc {
  text-align: center;
  font-size: 14px;
  color: #333;
  margin-top: -55px; /* posune text výš k logu */
  margin-bottom: -10px;
}
  .hero-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
  }
  .hero-box {
    background: var(--accent);
    padding: 12px 22px;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  }
  .form-section {
    background: #d9d9d9;
    border: 1px solid rgba(0, 0, 0, 0.1); /* 💡 jemná, tenká linka */
    border-radius: 12px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto 40px;
  }
  .form-section h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
  }
  .field {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
  }
  .field label {
    font-size: 14px;
    margin-bottom: 3px;
  }
  .field input {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
  }
  .agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin: 10px 0;
  }
  button {
    display: block;
    width: 100%;
    background: var(--accent);
    color: var(--black);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
    cursor: pointer;
    transition: background .2s;
  }
  button:hover { background: #ffd633; }
  footer {
    text-align: center;
    font-size: 13px;
    color: #444;
    margin-top: 20px;
  }
  .hero-text {
  max-width: 800px;
  margin: -80px auto 10px auto;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  padding: 0 20px;
  font-weight: 400;
}
.highlight-yellow { background: #ffcc00; padding: 0 3px; }
.highlight-green { color: #2e6417; font-weight: 700; }

.hero-text strong {
  color: #000;
}

.hero-text em {
  color: #444;
  font-style: italic;
}
header .left a,
header .right a svg {
   text-decoration: none; 
  color: #555;
  fill: #555;
}

header .left a:hover,
header .right a:hover svg {
  color: var(--accent);
  fill: var(--accent);
}
/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
}
@media (min-width: 900px) {
  .modal-content {
    max-width: 1000px;
    max-height: 900px; 
    font-size: 16px;
  }
  .terms-text {
    max-height: 65vh;
  }
}

.modal-content h2 {
  margin-top: 0;
}

.terms-text {
  overflow-y: auto;
  max-height: 50vh;
  border: 1px solid #ccc;
  padding: 10px;
  margin: 15px 0;
}

.modal-content .close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #555;
}

.modal-content .close:hover {
  color: #000;
}

#agreeBtn[disabled] {
  background: #ccc;
  cursor: not-allowed;
}
p {
    margin: 0 0 5px 0;
    line-height: 1.5;
}
/* === RESPONSIVE ÚPRAVY === */

@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
  }

  header .left,
  header .right {
    flex-direction: row; /* 👈 zůstane vodorovně */
    justify-content: center;
    flex-wrap: wrap; /* 👈 pokud se nevejdou, zalomí se pěkně na další řádek */
    gap: 15px;
    width: 100%;
  }

  .hero {
    margin-top: 10px;
  }

  .hero img {
    width: 90%;
    top: 0;
    margin-bottom: 10px;
  }

  .hero-text {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 10px;
  }

  .countdown {
    font-size: 24px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .gallery-track img {
    width: 225px;
    height: 350px;
  }

  .gallery-nav {
    width: 35px;
    height: 35px;
    font-size: 28px;
    line-height: 35px;
  }

  .hero-boxes {
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
  }

  .form-section {
    width: 90%;
    margin: 20px auto;
    padding: 15px;
  }
}
/* --- Mobilní a tabletové zobrazení --- */
@media (max-width: 1024px) {
  /* Hlavička zůstává viditelná a nad logem */
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #d9d9d9;
    margin: 0;
    padding-top: 80px; /* Rezerva pro fixní horní menu */
  }

  /* Horní lišta s odkazy + ikonami */
  header .right {
    position: fixed;          /* zůstane stále viditelná */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around; /* rovnoměrné rozložení */
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;  
    column-gap: 12px;                /* větší mezery mezi prvky */
    padding: 10px 0;
    background: #d9d9d9;         /* bílé pozadí, aby překrývalo obsah */
    z-index: 1000;
  }

  header .right a {
    font-size: 16px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }

  header .right svg {
    width: 22px;
    height: 22px;
    
    vertical-align: middle;
  }

  /* Logo */
  header .left img {
    max-width: 140px;
    height: auto;
  }

  /* Hlavní sekce pod logem */
  .hero {
    margin-top: 0;
  }
}
/* === OPRAVA ZMIZELÝCH ODKAZŮ NA MOBILU === */
@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

header .right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around; /* 🟡 rozprostře ikony po celé šířce */
    align-items: center;
    flex-wrap: nowrap;
    gap: 0; /* žádné mezery mezi nimi */
    padding: 8px 0;
    background: var(--bg);
    z-index: 1000;
}


  header .left {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 48px; /* 🔽 posune odkazy těsně pod ikonky */
    z-index: 999;
    position: relative;
  }

  header .left a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 10px;  /* mezera POD odkazem */
  }

  header .right svg {
    width: 22px;
    height: 22px;
  }

  .hero {
    margin-top: 70px; /* 🟨 Rezerva pod fixní hlavičkou */
  }

  .hero img {
    width: 90%;
    height: auto;
    margin-bottom: 15px;
  }
}
