@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lexend:wght@100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lexend", sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #BEB7A4;
    position: sticky;
    top: 0;
    z-index: 998;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    left: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #222A2C;
}

.logo img {
    height: 90px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
}

.nav-item {
    position: relative;
}


.nav-item > a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.2em;
    display: block;
    width: 140px;
    text-align: center;
    border-right: 1px solid #222A2C;
}
.nav-item > a:first-child {
    padding-left: 10px 0;
}



.submenu {
    display: none;
    position: absolute;
    background-color: #eae4d1;
    z-index: 2;
    text-align: center;
    width: 140px;
}

.submenu a {
    color: #222A2C;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
}
.submenu a:first-child {
    color: #222A2C;
    padding: 8px 20px 8px 25px;
    text-decoration: none;
    display: block;
}

.submenu a:hover {
    background-color: #d8d0bd;
}


.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
}

/* Responzivní design pro mobilní zařízení */
@media (max-width: 800px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 120px;
        left: -100%;
        flex-direction: column;
        background-color: #d8d0bd;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0;
        border-bottom: 1px solid #c9c0aa;
    }
    
    .nav-item > a {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: auto;
        text-align: left;
    }
    
    .nav-item > a:after {
        content: '+';
        font-size: 20px;
    }
    
    .nav-item.active > a:after {
        content: '-';
    }
    
    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        width: 100%;
        background-color: #eae4d1;
        padding: 0;
    }
    
    .submenu.show {
        display: block;
    }
    
    .submenu a {
        padding: 12px 30px;
        font-size: 14px;
        text-align: left;
    }


    section.galerie-row{
        display: flex;
        flex-wrap: wrap;
    }   

    footer{
        display: flex;
        flex-direction: column;
    }
    .footer-text{
        margin-top: 20px
    }

    .foto-top{
        display: flex;
        align-items: center;
        text-align: center;
    }
    .fotka-top{
        padding: 0 80px 0 80px;
    }




}

@media (min-width: 800px) {
    .nav-item:hover .submenu {
        display: block;
    }
}


section.galerie-row{
    display: flex;
    flex-direction: row;
}   

.footer-text{
    display: flex;
    flex-direction: column;
    text-align: center;
   }
   footer{
    display: flex;
    justify-content: space-evenly;
    background-color: #BEB7A4;
    z-index: 3;
    box-sizing: border-box;
    width: 100%;
    padding-bottom: 30px;
   }
   footer a{
    text-decoration: none;
    color: #222A2C;
    margin-top: 5px;
    z-index: 2;
   }
   footer h3{
    color: #222A2C;
    margin-bottom: 10px;
    z-index: 2;
   }

   .vlna-footer{
    height: auto;
    margin-bottom: -40px;
    width: 100%;
    box-sizing: border-box;
   }

   #wave{
    width: 100%;
    margin-bottom: -10px;
   }

   #vlna-top{
    margin-bottom: -10px;
   }
   .slideshow h2{
    display: none;
   }

#svg-animals{
    margin-bottom: -10px;
}

.fotka-top{
    background-image: url(../images/zebra_velky.png);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    padding-top: 25vh;
    box-sizing: border-box;
    padding-left: 10%;
    margin-bottom: 5vh;
}
h2 {
    font-size: 40px;
    margin-bottom: 20px;
  }
  
  p {
    line-height: 1.6;
    margin-bottom: 30px;
  }


  button.article-button {
    position: relative;
    font-size: 14px;
    letter-spacing: 3px;
    height: 3em;
    padding: 0 2em;
    border: none;
    background-color: #D3D3CC;
    text-transform: uppercase;
    overflow: hidden;
    width: 190px;
    margin-top: auto;

    align-self: flex-end;
   }
   
   button.article-button::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    height: 0px;
    width: 100%;
    background: black;
    color: white;
    transition: 0.2s;
   }
   
   button.article-button .label {
    position: relative;
    color: black;
   }
   button.article-button .label::before {
    position: relative;
    color: #fff;
   }
   
   button.article-button .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3em;
    width: 3em;
    position: absolute;
    top: 3em;
    right: 0;
    opacity: 0;
    transition: 0.4s;
    color: #fff;
   }
   
   button.article-button:hover::before {
    height: 100%;
   }
   
   button.article-button:hover .icon {
    top: 0;
    opacity: 1;
   }

   button.article-button:hover .label {
    color: white;
   }

   section.galerie-row{
    display: flex;
    justify-content: space-between;
    padding: 3vh 10%;
    gap: 30px;
   }

   section.galerie-row article.column{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    text-align: left;
    margin: 1rem;
   }


   section.galerie-row article.column img{
    width: 100%;
    height: 300px; /* nebo automatická výška dle poměru */
    object-fit: cover;
    margin-bottom: 5%;
   }




section.svg-background{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10%;
    gap: 30px;
    background-color: #D3D3CC;
}

section.svg-background article.column{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    text-align: left;
    margin: 1rem;
    background-color: #FFFC;
    height: 500px;
}

section.svg-background article.column img{
    width: 100%;
    height: 300px; /* nebo automatická výška dle poměru */
    object-fit: cover;
    margin-bottom: 5%;
   }


   .row{
    display: flex;
    flex-direction: row;
   }

   section.svg-background article.column p{
    margin-left: 10px;
   }

   section.svg-background article.column h2{
    margin-left: 10px;
   }


#vlna-top{
    margin-top: -100px;
   }

   /* Responsiveness for article sections */
@media (max-width: 800px) {
    /* Make columns stack vertically on mobile */
    section.galerie-row {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    
    section.galerie-row article.column {
      max-width: 100%;
      margin: 0.5rem 0;
    }
    
    /* Adjust SVG background section for mobile */
    section.svg-background {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    
    section.svg-background article.column {
      max-width: 100%;
      margin: 0.5rem 0;
      height: auto; /* Allow height to be flexible */
      padding-bottom: 20px; /* Add some padding at bottom */
    }
    
    /* Adjust title size for mobile */
    h2 {
      font-size: 30px;
    }
    
    /* Center article button on mobile */
    button.article-button {
      align-self: center;
      margin-top: 15px;
      margin-bottom: 10px;
    }
    
    /* Adjust top photo for mobile */
    .fotka-top {
      height: 350px;
      padding-top: 15vh;
    }
  }
  
  /* Add medium screen breakpoint */
  @media (min-width: 801px) and (max-width: 1200px) {
    section.galerie-row,
    section.svg-background {
      gap: 15px;
      padding: 3vh 5%;
    }
    
    section.galerie-row article.column,
    section.svg-background article.column {
      max-width: 48%;
    }
  }

  .svg-background h3{
    display: none;
  }

  .galerie-row h3{
    display: none;
  }