* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f9fafb;
  color: #333;
  line-height: 1.6;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

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

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #002b5c;
}

.search-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
  max-width: 600px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.search-bar input {
  width: 100%;
  max-width: 300px;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.search-bar button {
  background-color: #ff6600;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar button:hover {
  background-color: #e05400;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fff 50%, #ff6600 50%);
  padding: 80px 60px 180px;
  position: relative;
}

.hero-text {
  max-width: 600px;
  flex: 1 1 50%;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  padding-right: 60px;
  padding-bottom: 60px;
  gap: 30px;
}

.hero-character {
  max-height: 460px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  transform: translateY(10px);
}

.cta-btn {
  background-color: white;
  color: #ff6600;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  z-index: 2;
  position: relative;
}

.cta-btn:hover {
  background-color: #ffe6cc;
}

.cta-btn.desktop-only {
  margin-top: 20px;
  margin-right: 0;
  margin-left: auto;
  align-self: flex-end;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #002b5c;
  text-align: center;
}

.record {
  background-color: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #ff6600;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.record h2 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: #333;
}

.record .date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 8px;
}

.record .rating {
  font-size: 0.95rem;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 8px;
}

.record p {
  margin: 0;
  font-size: 0.95rem;
  white-space: pre-wrap;
}

.record a {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #0077cc;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px 60px;
  }

  .hero-text,
  .hero-image {
    flex: 1 1 100%;
    padding: 0;
    margin: 0 auto;
  }

  .hero-character {
    max-width: 100%;
    transform: none;
    position: static;
    margin-top: 30px;
  }

  .cta-btn.desktop-only {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
  }

}



@media (max-width: 1024px) {
  section.section-wrapper {
    flex-direction: column !important;
    height: auto !important;
  }

  .section-wrapper .image-column {
    display: none !important;
  }

  .section-wrapper .left-column {
    width: 100% !important;
    padding: 40px 20px !important;
    text-align: center;
  }

  .section-wrapper .button-column {
    width: 100% !important;
    background-color: #fff !important;
    justify-content: center !important;
    padding: 20px !important;
  }

  .section-wrapper .button-column a {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}


@media (max-width: 768px) {
  nav .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    width: 100%;
    padding: 10px 0;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
  }

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

  nav .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
  }

  nav .logo {
    flex: 1;
  }
}

@media (max-width: 1024px) {
  .image-column {
    display: none !important;
  }

  .button-column {
    flex: 0 0 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 0;
  }

  .section-wrapper {
    flex-wrap: wrap !important;
    height: auto !important;
  }
}



@media (max-width: 1200px) {
  .section-wrapper {
    flex-direction: column;
    height: auto;
  }

  .image-column {
    display: none;
  }

  .button-column {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    padding: 10px 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

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

  .menu-toggle {
    display: block;
  }


}



/* Desktop layout */
.section-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 500px;
}

/* Skry obrázok pri menších rozlíšeniach */
@media (max-width: 1200px) {
  .image-column {
    display: none !important;
  }

  .section-wrapper {
    flex-wrap: wrap;
    height: auto;
  }

  .left-column,
  .button-column {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  #button-wrap {
    justify-content: center;
    align-items: center;
    background-color: transparent !important;
    margin-top: 10px;
  }

  #button-wrap a {
    width: 100%;
    display: block;
    text-align: center;
  }
}


@media (max-width: 1350px) {
  .image-column {
    display: none !important;
  }

  .section-wrapper {
    flex-wrap: wrap !important;
    height: auto !important;
  }

  .left-column,
  .button-column {
    flex: 0 0 100% !important;
    max-width: 100%;
    width: 100%;
    padding: 20px !important;
    box-sizing: border-box;
  }

  .button-column {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #ff6600 !important; /* alebo podľa potreby */
  }

  .button-column a {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    color: #ff6600;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
  }
}


@media (max-width: 1350px) {
  .image-column {
    display: none !important;
  }

  .section-wrapper {
    flex-wrap: wrap !important;
    height: auto !important;
  }

  .left-column,
  .button-column {
    flex: 0 0 100% !important;
    max-width: 100%;
    width: 100%;
    padding: 20px !important;
    box-sizing: border-box;
  }

  .button-column {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #ff6600 !important; /* alebo podľa potreby */
  }

  .button-column a {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    color: #ff6600;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
  }
}




.button-column {
  flex: 0 0 30%;
  background-color: #ff6600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-link {
  background-color: white;
  color: #ff6600;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}





/* Štýl kontajnera */
#button-wrap {
  flex: 0 0 30%;
  background-color: #ff6600;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Štýl tlačidla */
.button-link {
  background-color: white;
  color: #ff6600;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-link:hover {
  background-color: #ffe6cc;
  color: #cc5200;
}




.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  width: 90%;
  max-width: 400px;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
}


.logo img {
  height: 40px;
}


