* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    scroll-behavior: smooth;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #003135;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 0.9rem;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #f5f5f5;
  text-decoration: underline;
}

.cookie-banner button {
  background: #ffffff;
  color: #003135;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 4px;
}

.cookie-banner button:hover {
  background: #e0e0e0;
}

.nav-items {
  display: flex;
  align-items: center;
}

nav {
    height: 80px;
    background: #003135;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem calc((100vw - 1300px) / 2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    font-weight: bold;
    font-style: italic;
    padding: 0 2rem;
}

/* Košík */
.cart-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.cart-link {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-link i {
  font-size: 1.4rem;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: 3px;
  background-color: red;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 60%;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
  line-height: 1;
}


.nav-items a {
    margin: 0 1rem;
    color: #fff;
    text-decoration: none;
}

.nav-items a:hover {
    color: #9b9b9b;
}

.toggle_btn {
    display: none;
    padding: 0 2rem;
}

.dropdown_menu {
    display: none;
    position: absolute;
    top: 80px;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(34, 34, 34, 0.0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: opacity 1s ease, visibility 1s ease, transform 0.3s linear;
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .dropdown_menu li {
    padding: 10px 20px;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    list-style-type: none;
  }

  .dropdown_menu.open {
    height: 240px;
  }

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #024950;
    padding: 2rem;
    height: 80vh;
    text-align: center;
}

main h1 {
    font-size: 2.5rem;
    color: #9b9b9b;
}

main h2 {
    font-size: 4rem;
    color: #fff;
}

main p {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #9b9b9b;
    margin-bottom: 1.5rem;
}

img {
    width: 50%;
    height: auto;
    margin: 1rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

button {
    max-width: fit-content;
    max-height: fit-content;
    padding: 15px 50px 15px 50px;
    font-size: 1rem;
    border: none;
    color: #fff;
    background: #00818d;
    border-radius: 25px;
    cursor: pointer;
    margin: 5px 0px 0px 10px;
    align-content: center;
}

button:hover {
    background: #006a73;
}

.novinky-container {
  width: 100%;
  margin: auto;
  padding: 2rem;
  background-color: #001f21;
  color: white;
  font-family: Arial, sans-serif;
}

.novinky-heading {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

.novinka {
  display: flex;
  flex-direction: column;;
  background-color: #003135;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.novinka:hover{
  transform: scale(1.02);
  transition: transform 0.5s ease-in-out;
}

.novinka img {
  width: 100%;
  height: auto;
}

.novinka-info {
  padding: 1rem;
}

.novinka-kategorie {
  color: limegreen;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.novinka h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.novinka p {
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .novinka {
    flex-direction: row;
  }

  .novinka img {
    width: 40%;
    object-fit: cover;
  }

  .novinka-info {
    width: 60%;
  }
}

.site-footer {
    background: #003135;
    padding: 1rem;
    color: #fff;
    text-align: center;

}

.site-footer a p {
    color: #fff;
    text-decoration: none;
}

.site-footer .credit {
    margin: 1rem;
    font-size: 1rem;
}

.credit a {
    color: purple;
}

/* Responsive Styles */
@media (max-width: 768px) {

    .nav-items {
        display: none;
    }

    .toggle_btn {
        display: flex;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        z-index: 100;
      }
    
      .dropdown_menu li {
        padding: 10px 20px;
        color: white;
        font-size: 1.5rem;
        text-align: center;
        cursor: pointer;
      }
    
      .dropdown_menu li a {
        color: white;
        text-decoration: none;
      }
    
      .dropdown_menu a:hover {
        color: #333;
      }

      .dropdown_menu.open {
        display: block;
      }

    main h1 {
        font-size: 1.8rem;
    }

    main h2 {
        font-size: 2.5rem;
    }

    button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .container {
        width: 100%;
    }

    .container2 {
        width: 100%;
    }
}
