/* Plynulé scrollovanie */
html {
  scroll-behavior: smooth;
}

/* Základné nastavenia */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: white;
}

/* Hlavička */
header {
  background-color: #000;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}



.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
}

/* Navigácia */
nav {
  position: absolute;
  right: 20px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin-left: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

nav a:hover {
  text-decoration: underline;
}

/* Spoločné nastavenia pre sekcie */
main,
#onas,
#eventy,
#kontakt {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Úvodná sekcia */
main {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sekcia O nás */
#onas {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.onas-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.onas-image {
  flex: 1 1 60%;
}

.onas-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.onas-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.onas-text {
  flex: 1 1 40%;
}

.onas-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: white;
}

.onas-text p {
  line-height: 1.6;
}

/* Sekcia Eventy */
#eventy {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#eventy h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

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

.galeria img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

/* Sekcia Odporúčania */
#odporucania {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

#odporucania h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.odporucania-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.odporucanie {
  background-color: #111;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.odporucanie .text {
  font-style: italic;
  font-size: 16px;
  margin-bottom: 10px;
}

.odporucanie .autor {
  font-weight: 600;
  font-size: 14px;
  color: #ccc;
}

/* Sekcia Kontakt */
#kontakt {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#kontakt h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

.kontakt-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

form {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 10px;
  margin-bottom: 5px;
}

form input,
form textarea {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #111;
  color: white;
}

form button {
  margin-top: 15px;
  padding: 12px 20px;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

form button:hover {
  background-color: white;
  color: black;
}

.kontakt-info {
  flex: 1 1 45%;
}

.kontakt-info p {
  margin-bottom: 10px;
}

.kontakt-info a {
  color: white;
  text-decoration: underline;
}

.kontakt-info a:hover {
  color: #ccc;
}

/* Pätička */
footer {
  background-color: #000;
  color: white;
  padding: 20px;
  text-align: center;
  border-top: 1px solid white;
}

.footer-content p {
  margin: 5px 0;
  font-size: 14px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
  z-index: 1100;
}

/* Mobilné zobrazenie */
@media (max-width: 768px) {
  header {
    padding: 20px 20px;
    height: auto;
  }

  .logo img {
    height: 50px;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #111;
    border: 1px solid white;
    padding: 10px;
    gap: 10px;
    z-index: 1001;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 0;
  }
}


.slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.slide {
  display: none;
  background-color: #111;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.slide.active {
  display: block;
}

/* Upraviť šípky: POSUN MIMO box */
.slider .prev,
.slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

/* Pozície šípok mimo obsahu */
.slider .prev {
  left: -20px;
}

.slider .next {
  right: -20px;
}


.event-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.event-slide {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

.event-slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

.event-slide img {
  width: 80%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-slide img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.event-prev,
.event-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.event-prev {
  left: -35px;
}

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

#thank-you-msg {
  font-weight: bold;
  font-size: 16px;
  animation: fadein 0.5s ease-in-out;
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

form label {
  margin-top: 10px;
  margin-bottom: 5px;
  display: block;
}

form input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
}

.kontakt-info i {
  margin-right: 10px;
  color: white;
}
