@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
.michroma-regular {
  font-family: "Michroma", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary:#ff6803;
    --secondary:#CF5300;
    --white:#ffffff;
    --bcg:#030303;
    --interactive:#039AFF;
}

*{
  scroll-behavior: smooth;
}

body{
  overflow-x: hidden;
  background-color: var(--bcg);
}

h2 {
  font-family: "Michroma", sans-serif;
  text-shadow: 5px 3px 3px black;
}

.white-separator {
  border: none;
  height: 3px;
  background-color: var(--primary);
  opacity: 0.3;
  margin: 2rem auto;
  width: 80%;
  border-radius:10px;
}

/* navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bcg);
  padding: 8px 16px;
  border-bottom: 3px solid var(--primary);
}

nav img {
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2vw;
  font-size: 1.3rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: var(--white);
  transition: color 0.2s;
}

nav ul li a:hover {
  color: var(--interactive);
}

/* ===== MOBILE ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 950px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background-color: var(--bcg);
    display: none;
    border-top: 2px solid var(--primary);
    animation: slideDown 0.3s ease forwards;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    width: 100%;
    color: var(--white);
  }

  nav ul li a:hover {
    background-color: var(--secondary);
    color: var(--white);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* intro */

.intro{

}

.intro h1{
  font-family: "Michroma", sans-serif;

}

.intro p{
  padding-top: 15px;
  font-family: "Michroma", sans-serif;
}

/* Intro Carousel */
#heroCarousel {
  height: 95vh;
  position: relative;
  overflow: hidden;
}

.hero-img {
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.45);
}

.carousel-caption {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.carousel-caption h1,
.carousel-caption p {
  z-index: 11;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.carousel-overlay {
  pointer-events: none;
  position: absolute;
  background: transparent !important;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
}

/* content */
.content {
  background-color: var(--bcg);
  color: var(--white);
  padding: 5% 4%;
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
}

.content p {
  flex: 1;
  font-size: 1.3rem;
  margin: 0% 2%;
}

.side-image {
  width: 220px;
  height: auto;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .content {
    flex-direction: column;
    text-align: center;
  }

  .content p{
    font-size: 1.05rem;
  }

  .side-image {
    width: 0px;
  }
}

/* harmonogram */
.Harmonogram{
  background-color: rgb(22, 22, 22);
}

.timeline {
  position: relative;
  padding: 2rem 0;

}



.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  background-color: var(--primary);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-event {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-event .timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: whitesmoke;
  border-radius: 50%;
  transform: translate(-50%, 0);
  z-index: 1;
}

.timeline-time {
  font-weight: bold;
  font-size: 1.5rem;
  font-family: 'Michroma', sans-serif;
  color: var(--interactive);
}

.card {
  border: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.card-title{
  font-family: "Roboto", sans-serif;
  font-weight: 550;
  font-size: 1.3rem;
  padding-left: 5px;
}

.card ul li{
  font-family: "Roboto", sans-serif;
  font-weight: 350;
  font-size: 1.1rem;
  list-style: none;
  padding-right: 10px;
}

.fa-chevron-right{
  color: var(--primary);
}

@media (max-width: 760px) {
  .timeline-time{
    text-align: center;
  }
  .timeline-event .timeline-dot{
    width: 18px;
    height: 18px;
  }
  .timeline-time{
    margin-top: 18px;
  }
  

}

/* Fotogalerie */

.fotogalerie{
  background-color: var(--bcg);
  border-top: 4px solid var(--primary);
}

.fotogalerie .carousel-control-prev,
.fotogalerie .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  background: none;
  z-index: 2;
}

.fotogalerie .carousel-control-prev {
  left: -3vw;
}

.fotogalerie .carousel-control-next {
  right: -3vw; 
}

.fotogalerie .carousel-control-prev-icon,
.fotogalerie .carousel-control-next-icon {
  width: 40px;
  height: 40px;
  filter: invert(1);
}

/* partneři */

.partneri {
  text-align: center;
  background-color: var(--bcg);
}

.partneri h2{
  color: whitesmoke;
}

.partneri p{
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.partneri img{
  max-width: 100%;
  width: 10vw;
  margin: 0.5vw;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  filter: grayscale(15%) brightness(90%);
}

.partneri img:hover {
  transform: scale(1.1);
  filter: grayscale(0%) brightness(110%);
}

@media (max-width: 480px) {
  .partneri img {
      width: 25vw;
  }
}

/* vybava */
.vybava {
  position: relative;
  background-color: var(--bcg);
  overflow: hidden;
}

.vybava::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url(img/setup.jpg);
  background-size: cover;
  background-position: center;
  filter: blur(7px);
  z-index: 0;
}

.vybava > * {
  position: relative;
  z-index: 1;
}


.image-container {
  position: relative;
  cursor: pointer;
}

.image-container img {
  max-width: 80%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.image-container .caption {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-align: center;
  font-family: "Roboto", sans-serif;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.image-container:hover .caption {
  opacity: 1;
  pointer-events: auto;
}

/* contacts */

.contact {
  background-color: var(--bcg);
  color: var(--white);
  border-bottom: 4px solid var(--primary);
}

.contact-item {
  display: flex;
  background-color: black;
  padding: 20px;
  transition: 0.3s ease;
  margin: 0 auto;
  width: fit-content;
}


.contact-item:hover {
  transform: translateY(-5px);
  color: var(--interactive);
}

.contact-item i {
  font-size: 3rem;
  color: var(--primary);
  margin-right: 20px;
}

.contact-text a{
  text-decoration: none;
}

.contact-text h5:hover{
  color: var(--interactive);
}

.contact-text h5 {
  font-family: 'Michroma', sans-serif;
  font-size: 1.3rem;
  margin: 0;
}

.contact-text p {
  font-size: 1.1rem;
  margin: 5px 0 0;
  color: var(--white);
}

@media (max-width: 900px) {
  .contact-item {
      flex-direction: column;
  }
  .contact-item i {
      margin-bottom: 10px;
  }
}

/* footer */

footer{
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000000;
  color: rgb(167, 167, 167);
  padding: 2px;
}

.reveal-text {
  position: relative;
  white-space: nowrap;
}

.reveal-text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bcg);
  z-index: 2;
  transform: translateX(0);
}

.reveal-text.visible::after {
  animation: revealText 1.2s ease forwards;
}
@keyframes revealText {
  to {
      transform: translateX(100%);
  }
}

/*js*/

.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.fade-in-section.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

