* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    opacity: 0;
    animation: fadeIn 1s forwards;
    overflow-x: hidden;
}

.hamburger {
    display: none; /* Skryjeme hamburger menu ve výchozím stavu */
    font-size: 2rem;
    cursor: pointer;
    z-index: 9999; /* velmi vysoké, nad všemi ostatními */
    position: fixed; /* důležité – umožní použít z-index globálně */
    color: white;
    transition: transform 0.3s ease;
    top: 20px;             /* Vzdálenost od horního okraje */
    right: 20px;           /* Vzdálenost od pravého okraje */
}

nav {
    z-index: 10;
}
  
.scroll-container {
height: 100vh;  /* Výška kontejneru je 100% výšky viewportu */
overflow: hidden;
scroll-behavior: smooth;
}

.nav-bar {
    width: 100%;
    position: fixed;
    z-index: 10;
}

.nav-panel {
    background-color: transparent; /* Černé pozadí */
    transition: 0.4s ;
    z-index: 1000; /* nebo méně než hamburger */
}

.nav-panel.black-bg {
    background-color: #000; /* Černé pozadí */
    opacity: 0.9;
    transition: 0.7s ;
    z-index: 10;
}

.nav-panel.trans-bg {
    background-color: transparent; /* Černé pozadí */
    transition: 1s;
    z-index: 10;
}




.nav-bar ul {
    margin-left: 5%;
    text-align: start;
    flex-direction: row;
    width: 100vw;
    z-index: 10;
}

.nav-panel a {
    text-decoration: none;
    display: inline-flex;
    flex-direction: row;
    color: #fff;
    padding: 1%;
    font-size: 100%;
    transition: 1s;
    z-index: 10;
}



.nav-panel a:hover {
    background: #000;
    border-radius: 4%;
    scale: 110%;
    z-index: 10;
} 

.nav-panel {
    display: none;
    z-index: 10;
}

/* Stylování pro hamburger ikonu */
.hamburger {
    font-size: 30px;
    cursor: pointer;
    display: block;
    color: #fff;
    float: right;
    margin: 5%;
}
/* Zobrazení menu po kliknutí na hamburger */
.nav-panel.active {
    display: block;
    width: 100vw;
    height: 100vh;
}

footer {
    background-color: #000000;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 100%;
}

.footer-info {
    display: flex;
    flex-direction: column;
    
}
.footer-menu {
    display: flex;
    max-width: 100vw;
    height: 100%;
    padding: 2% 15%;
    justify-content: space-between;
    align-items: center;

}

.footer-column {
    width: 20%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #ffffff;
}

.footer-info a {
    flex: 1;
    color:#ffffff;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    width: auto;
    padding: 5%;
    border: 2px solid #fff;
    text-align: center;
    transition: 0.3s ease-in;
}

.footer-info a:hover {
    scale: 110%;
}



.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ffffff;
}

.socialmedia {
    display: flex;          /* uspořádá obrázky vedle sebe */
    gap: 5%;
    line-height: 0;         /* odstraní případnou výšku řádku */
    justify-content: center;
    height: 100%;
    align-items: center;
}

.socialmedia a img {
    display: block;
    width: 30px;
    margin-left: 5%;
    transition: 0.3s ease-in;
}
.socialmedia a img:hover {
    scale: 130%;
}

footer p {
    color:#ffffff;
}

.footer-copyright {
    display: flex;  
    justify-content: center;
    height: 100%;
    align-items: center;
    text-align: center;
    justify-items: center;
    
}

.footer-copyright h4 {
    font-size: 14px;
    color: #ffffff;
    font-weight: 100;
     height: 100%;
     align-items: center;
     text-align: center;
     
}

@media (max-width: 768px) {
  .footer-menu {
    flex-direction: column;
    padding: 5% 8%;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 30px;
  }

  .footer-column h3,
  .footer-column h4 {
    font-size: 18px;
    text-align: center;
  }

  .footer-column ul li {
    text-align: center;
  }

  .footer-column ul li a {
    font-size: 16px;
  }

  .footer-info a {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
  }

  .socialmedia {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
  }

  .socialmedia a img {
    width: 28px;
    margin: 0;
  }

  .footer-copyright {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
  }
}




@media (min-width: 768px) {
    .nav-panel {
        display: block;
    }

    .hamburger {
        display: none;
    }
}

@media (max-width: 767px) {

    nav {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1;
    background-color: #000000;
    align-items: center;
    
}
    .nav-bar ul {
      display: flex;
      flex-direction: column;
      width: 100vw;
      height: 100vh;
      
      justify-content: center;

    }
  
    .nav-panel a {
        width: auto; /* nebo 100% pokud chceš, ale tady necháme auto */
        text-align: right; /* Text doprava */
        font-size: 3rem;

      }

  
  
      
  }



/* Definice animace */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}