/* Reset a základ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  outline: none;
  caret-color: transparent;
  cursor: cell;
}

body {
  line-height: 1.6;
  color: #222;
  background: #fff;
  font-family: 'Poppins', sans-serif;
    overflow-x: hidden;

}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 100;
}

h2, h3, .nadpisy {
  font-family: 'Dancing Script', cursive;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;

}

p, span, li {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;

}

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

h1, h2 {
  text-align: center;
  margin-bottom: 1em;
}

section {
  padding-bottom: 180px !important;

}

.section-divider {
  width: 100%;
  height: 20px;
  background-color: #d31e1ebe;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header.transparent {
  color: white;
  position: absolute;
  width: 100%;
  top: 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 3000;
}

header.transparent .main-nav a,
header.transparent .btn-ples,
header.transparent .logo {
  color: white;
}

header.transparent .btn-ples {
  background: #b30000;
}

.logo {
  font-size: 1.5em;
  
  
}

.logo img {
  max-width: 100px;
}

.main-nav {
  display: flex;
  gap: 1.5em;
  padding: 5px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 1.4em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.247);
  transition: color 0.3s, transform 0.3s;
  z-index:3100;
}

.main-nav a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  color: #b30000 !important;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
 
}

.main-nav a:hover {
  color: #b30000 !important;
  transform: translateY(-3px);
  text-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
}


.main-nav a:hover::before {
  left: 120%;
  opacity: 1;
}

.main-nav a:hover::after {
  opacity: 1;
}

.btn-ples {
  background: #b30000;
  color: white;
  padding: 0.5em 1em;
  border-radius: 30px;
  font-size: 1.1em;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 10px rgba(179, 0, 0, 0.5); /* červený stín okolo */
  transition: box-shadow 0.3s, transform 0.2s;
  top: 80px;
}

.btn-ples:hover {
  box-shadow: 0 0 15px rgba(179, 0, 0, 0.7); /* zesílení stínu při hoveru */
  transform: translateY(-2px);
}

.hero {
  background: url('imgs/hero.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding-top: 18em;
  position: relative;
  height: 100vh; /* nebo 100vh */
  overflow: hidden; /* pro oříznutí rozmazaného překryvu */
  
}

/* Překryvný pseudo-element */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.068); /* ztmavení */
  backdrop-filter: blur(1px); /* rozmazání */
  z-index: 1;
}

/* Obsah nad překryvem */
.hero * {
  position: relative;
  z-index: 2;
  
}

.hero-content h1 {
  top: 140px;
  font-size: 10em;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.658);
  margin-bottom: 0.4em;
  color: rgb(255, 255, 255);
}

.hero-content .btn {
  background: #b30000;
  padding: 5em 1.5em;
  color: white;
  font-size: 2em;
  border-radius: 30px;
}

  .video-wrapper {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 100px;
    }

    .video-container {
      padding-top: 100px;
      border-radius: 10px;
      background-color: white;
      padding: 10px;
      width: 75%;
      max-width: 1200px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }

    .video-container video {
      width: 100%;
      border-radius: 10px;
      display: block;
    }


/*o nás*/
.about {
  padding-top: 120px !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 100px;
}
.about-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Opraveno z "left" */
  flex-wrap: wrap;
  gap: 2em;
  max-width: 100%;
}
.about-text {
  flex: 1;
  text-align: left;
  padding-left: 0; /* Odstraň ruční odsazení pokud bylo */
}

.about-text h2 {
  font-size: 6em;
  color: #b30000;
  margin-bottom: 20px;
  text-align: left;
  padding-left: 0;
}

.about-text p {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-circles-wrapper {
  position: relative;
  width: 400px; /* přizpůsob šířce kontejneru */
  height: 400px; /* přizpůsob výšce kontejneru */
   max-width: 100%;
     position: relative;
}

.circle {
  position: absolute;
  border-radius: 50%;
  max-width: 100%;
  overflow: hidden;
}

.circle-1 {
  width: 200px;
  height: 200px;
  background: transparent;
  top: 0;
  left: 0;
}

.circle-2 {
  width: 80px;
  height: 80px;
  background: #b30000;
  top: 135px;
  left: 250px;
}

.circle-3 {
  width: 150px;
  height: 150px;
  background: #b30000;
  top: 300px;
  left: -30px;
}

.circle-4 {
  width: 350px;
  height: 350px;
  background: transparent;
  top: 250px;
  left: 200px;
  border: 4px solid #b30000; /* 🔴 tady je ten rámeček */
}

.img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
/* Akce */
.events {
  
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 150px 20px; /* stejný vnitřní okraj jako .about */
}

.event-card a {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}


.events-header h2 {
  text-align: left;
  margin-bottom: 20px;
  font-size: 6em;
  color: #b30000;
}

.event-cards {
  display: flex;
  gap: 0;
  justify-content: space-between;
  align-items: stretch;
}


.event-column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.divider {
  width: 5px;
  background-color: #b30000;
  margin: 0 20px;
  margin: 50px;
  height: auto;
}


.event-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.event-card a:hover img {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.219);
}


.events-footer {
  margin-top: 20px;
  text-align: left;
  display: flex;
  justify-content: center;
}


.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #b30000;
  color: #ff0000;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btnev {
  display: inline-block;
  padding: 10px 20px;
  background-color: #b30000;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  align-items: center;
  transition: background-color 0.3s;
}


.btn:hover {
  background-color: #ffffff;
}
/*SLUŽBY*/
.services {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  flex-wrap: wrap;
}

.service {
  width: 30%;
  position: relative;
  text-align: center;
}

.icon {
  width: 120px;
  height: 120px;
  background-color: #b30000;
  color: white;
  border-radius: 50%;
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  z-index: 1;
}

.content {
  background-color: #f2f2f2;
  padding: 80px 40px 20px;
  border-radius: 8px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.226);
}

/* Galerie */
/* Galerie */
.gallery {
  background-color: #b30000;
  padding: 60px 0;
  width: 100%;
  overflow: hidden;
}

.gallery-inner {
  max-width: 1200px; /* sjednoceno se sekcemi O nás a Akce */
  margin: 0 auto;
  padding: 0 20px;
}

.gallery h2 {
  font-size: 6em;
  text-align: left;
  margin-bottom: 40px;
  color: white;
  margin-left: 0;
  padding-left: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  justify-items: center;
}

.gallery-item {
  width: 100%;
  max-width: 400px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.gallery-footer {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
}


.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: black;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e0e0e0;
}


/* Sponzoři */
.sponsors {
  background: #eee;
  text-align: center;
}

.sponsor-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  padding: 1em;
}

.sponsor-slider span {
  font-size: 2em;
  cursor: pointer;
}

/* Footer */
footer {
  flex-shrink: 0;
  background: #fff;
  color: #000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3em 2em;
  border-top: 1px solid #ddd;
  position: relative;
}

/* SEKCÍ OBSAHU FOOTERU */
.footer-left,
.footer-right {
  flex: 1 1 300px;
  margin-bottom: 20px;
  position: relative;
}

/* LEVÁ STRANA - NADPIS A FOTO */
.footer-left {
  padding-left: 20px;
}

.footer-left h2 {
  font-size: 4em;
  color: #b30000;
  transform: rotate(5deg);
  margin-bottom: 1em;
  position: absolute;
  top: 20px;
  left: 220px;
}

.footer-left img {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-top: 1em;
  border-radius: 30px;
}

/* PRAVÁ STRANA - LOGO A TEXTY */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-right img {
  width: 180px;
  height: auto;
  margin-bottom: 1em;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.footer-right img:hover {
  transform: scale(1.05);
}

.footer-right p {
  font-size: 1.2em;
  margin: 0.3em 0;
}

/* NAVIGACE */
.footer-nav {
  width: 100%;
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: #b30000;
  font-weight: bold;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #800000;
}

/* BOTTOM CREDIT */
.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
  color: #555;
}
/* Responsivita */
/* Mobile Responsivita */
@media (max-width: 768px) {
  header {
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 1em;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
  }

  .logo {
    display: block;
    font-size: 1.2em;
  }

  .logo img {
    max-width: 60px;
  }

  .btn-ples {
    display: block;
    padding: 0.4em 0.8em;
    font-size: 0.9em;
    border-radius: 20px;
  }

/* === Mobilní styly === */
@media (max-width: 768px) {
  header, header.transparent {
    padding: 0.5em 1em;
    backdrop-filter: blur(8px);
  }
  .logo img { max-width: 60px; }
  .btn-ples { padding: 0.4em 0.8em; font-size: 0.9em; display: block; }
  .hamburger {
    display: block;
    font-size: 2em;
    color: white;
    padding: 0.5em;
    cursor: pointer;
    z-index: 10000;
  }


.main-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3500;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 5em 0 5em 0; /* přidáno dolní odsazení */
  overflow-y: auto;
  box-sizing: border-box;
}
.main-nav a {
  font-size: 1.1em;
  padding: 0.6em 1em;
  margin: 0.3em 0;
  width: 90%;
  max-width: 300px;
  text-align: center;
  color: white !important;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
  .main-nav.show-nav { display: flex; }
  .main-nav a {
    font-size: 1.1em;
    padding: 0.6em 1em;
    margin: 0.3em 0;
    width: 90%;
    max-width: 300px;
    text-align: center;
    color: white !important;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
  }
  body.lock-scroll {
    overflow: hidden;
    height: 100vh;
  }
}

  .hero {
    padding-top: 8em;
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 3.5em;
  }

  .hero-content .btn {
    padding: 0.8em 1.5em;
    font-size: 1.2em;
  }

  .video-container {
    width: 95%;
    padding-top: 40px;
  }

  .about {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-text h2 {
    font-size: 3em;
    text-align: center;
  }

  .about-circles-wrapper {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }

  .circle-1 {
    width: 120px;
    height: 120px;
  }

  .circle-2 {
    width: 50px;
    height: 50px;
    top: 80px;
    left: 150px;
  }

  .circle-3 {
    width: 100px;
    height: 100px;
    top: 180px;
    left: -15px;
  }

  .circle-4 {
    width: 200px;
    height: 200px;
    top: 150px;
    left: 120px;
  }

  .events {
    padding-bottom: 60px;
  }

  .events-header h2 {
    font-size: 3em;
    text-align: center;
  }

  .event-cards {
    flex-direction: column;
    gap: 1.5em;
  }

  .divider {
    display: none;
  }

  .services {
    flex-direction: column;
    gap: 2em;
    padding: 30px 15px;
  }

  .service {
    width: 100%;
    margin-bottom: 80px;
  }

  .icon {
    width: 80px;
    height: 80px;
    top: -50px;
    font-size: 35px;
  }

  .content {
    padding: 50px 15px 15px;
  }

  .gallery {
    padding: 30px 0;
  }

  .gallery h2 {
    font-size: 3em;
    text-align: center;
  }

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

  .sponsor-slide img {
    height: 40px;
    max-width: 100px;
    margin: 0 15px;
  }

  .footer-left h2 {
    font-size: 2.5em;
    left: 20px;
  }

  .footer-left img {
    max-width: 250px;
  }

  .footer-right img {
    width: 120px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 15px;
  }
}


.sponsors {
  background: 	white				;
  padding: 30px 0;
  overflow: hidden;
}

.sponsor-track {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.sponsor-slide {
   display: flex;
  width: max-content;
  animation: scroll-logos 100s linear infinite;
  align-items: center;
  padding: 10px 0;
}

.sponsor-slide img {
   height: 60px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  margin: 0 30px; /* mezera mezi logy */
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
  display: block;
}

.hamburger {
  display: none;
  font-size: 2em;
  color: #b30000;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.lektori {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

.lektori h2 {
  font-size: 6em;
  text-align: left;
  color: #b30000;
  margin-bottom: 60px;
}

.lektori-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.lektor {
  text-align: center;
  max-width: 300px;
}

.lektor h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.lektor img {

  max-height: 400px;
}

/* Responzivita */
@media (max-width: 768px) {
  .lektori h2 {
    font-size: 3em;
    text-align: center;
  }

  .lektori-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2000;
    padding: 1em 0;
  }

  .main-nav a {
    padding: 1em;
    color: white !important;
    display: block;
  }

  .main-nav.show-nav {
    display: flex;
  }
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }

  
}

@keyframes slideFadeDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hamburger {
  display: none;
  font-size: 2em;
  color: #b30000;
  cursor: pointer;
  padding: 10px;
  z-index: 4000;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3000;
    opacity: 0;
    transform: translateY(-10px);
    transition: none;
  }

  .main-nav.show-nav {
    display: flex;
    animation: slideFadeDown 0.3s ease forwards;
  }

  .main-nav a {
    padding: 1em;
    color: white !important;
    background: rgba(255, 255, 255, 0.05);
    margin: 0.2em 0;
  }

  .services {
    flex-direction: column;
    gap: 1em;
  }

  .service {
    width: 100%;
  }

  .logo,
  .btn-ples {
    display: none;
  }
}
