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

/* Global styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #F5DEB3;
    overflow: auto;
    overflow-x: hidden /* Skryjte přetečení obsahu při načítání */
}

/* Header styles */
header {
    background-color: #463426;
    color: #ffffff;
    padding: 10px 0;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin:0 auto;
}
h1 {
      font-size: 48px; /* Přidá logo a nadpis na stejný řádek */
  }
  .nadpis {
    font-size: 20px; /* Nastavte požadovanou velikost písma */
    color: #463426; /* Nastavte požadovanou barvu textu */
    text-align: center; /* Zarovnání textu na střed */
    margin-top: 20px; /* Mezera nad nadpisem */
    margin-bottom: 20px;
    line-height: 2.6;
    margin:0;
    background-color: white;
    border-bottom: 2px solid black;
  }
  .gallery-item p {
      font-size: 20px; /* Velikost písma */
      color: #333; /* Barva textu */
      text-align: center; /* Zarovnání textu na střed */
      margin-top: 5px; /* Volitelné: Mezera nad popiskem */
      margin: 0 auto;
  }
  table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
      font-family: "arial" ,cursive;
      font-size: 16px;
      font-weight: bold;
      margin-left:50px;
      align-items: center;

  }
  @media screen and (max-width: 900px) {
      .nav-icon {
          display: flex;
          flex-direction: column;
          cursor: pointer;
      }
      nav {
          display: flex;
          max-width: 900px;
          margin-right:70px;
          align-items: center;
          z-index: 1;
      }
     .logo-img {
         width: 75px; /* Upravte šířku podle potřeby */
         height: 75px; /* Upravte výšku podle potřeby, aby logo zachovalo poměr stran */
     }

     /* Styly pro nadpis */
     h1 {
         font-size: 21px;
          margin-right: 50px;
     }

      .nav-links {
          display: none;
          flex-direction: column;
          background-color: #463426;
          padding: 10px;
          position: absolute;
          top: 0px;
          right: 0;
          z-index: 1;
      }

      .nav-links.show {
          display: flex;
      }
      table {
          width: 200px;
          border-collapse: collapse;
          margin-top: 10px;
          font-family: "arial" ,cursive;
          font-size: 16px;
          font-weight: bold;
          margin-left:50px;
          align-items: center;

      }
      .gallery-item p {
          font-size: 10px; /* Velikost písma */
          color: #333; /* Barva textu */
          text-align: center; /* Zarovnání textu na střed */
          margin-top: 5px; /* Volitelné: Mezera nad popiskem */
          margin: 0 auto;
      }
  }

/* Navigation styles */
.nav-toggle {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

/* Hamburger icon for mobile */
.nav-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.nav-icon span {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    margin: 4px 0;
    display: block;
    border-radius: 2px;
}
.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    position: relative; /* Přidáme relativní pozici pro pseudo-element */
}

/* Pseudo-element pro animaci */
.nav-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px; /* Tloušťka animované čáry */
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transform: scaleX(0); /* Prvotní šířka 0 */
    transform-origin: 100% 50%; /* Počátek transformace na pravém konci */
    transition: transform 0.2s; /* Plynulá změna šířky */

    /* Upravte podle preferencí barvu, tloušťku a rychlost animace */
}

/* Při najetí myší animace */
.nav-links a:hover::before {
    transform: scaleX(1); /* Rozšíření na celou šířku */
}

/* Show the hamburger icon on small screens */

.btn {
    display: inline-block;
    background-color: #463426;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}
.about {
    max-width: 800px;
    margin: auto;
    padding: 40px;
    background-color: #ffffff;
}

.about h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
}
/* Gallery styles */
.gallery {
    max-width: 1400px;
    margin:0 auto;
    display: flex;
    flex-wrap:wrap;
}

.gallery-item {
    flex: 0 0 calc(25% - 10px); /* Šest obrázků v řádku s mezerou 10px mezi nimi */
    margin:5px;
    margin-top: 10px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: #fff;
    padding:5px;
    border-radius: 10px;
}
.gallery-item a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
    padding:5px;
}
.image-gap {
    margin-right: 5px; /* Určete požadovanou šířku mezery mezi obrázky */
}

.gallery-item:hover {
    opacity: 0.7;
    border-radius: 10px;S
    padding:5px;/* Změna průhlednosti při najetí myší */
}

.gallery-item img {
    width: 90%; /* Obrázky budou mít maximální šířku v rámci svého rodiče (.gallery-item) */
    height: 80%; /* Obrázky se zachovají v původním poměru stran */
    border: 3px solid black;
    border-radius: 10px; /* Zaoblené rohy rámečku */
    object-fit:cover; /* Ujistěte se, že obrázky zaplní rozměry */
    margin-left:15px;
    margin-top:5px;
}
  }
  .gallery-item a:hover {
    transform: scale(1.1);
    border-radius: 10px;
}

.gallery-item a:hover::after {
    opacity: 1;
}
.contact {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f2f2f2;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    text-align: center;
}

.contact h2 {
    font-size: 24px;
    color: #463426;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    color: black;
    margin-bottom: 10px;
}

/* Styl pro kontaktní údaje */
.contact p {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.contact p:first-child {
    font-weight: bold;
}
/* Styly pro ceník */
.pricing {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    overflow-x: auto; /* Přidá horizontální posuvník pro malé obrazovky */
}

.pricing h2 {
    font-size: 24px;
    color: #463426;
    margin-bottom: 20px;
    margin:0;
}
.table-container {
    display: flex; /* Použijeme flexbox layout */
    align-items: center; /* Vertikální zarovnání na střed */
}

.table-container img {
    max-width: 40%; /* Přizpůsobte velikost obrázku podle potřeby */
    margin-right: 20px; /* Volitelné: Mezera mezi obrázkem a tabulkou */
    margin-top: 30px;
    align-items: center;
}



table th, table td {
    border: 1px solid #e1e1e1;
    padding: 10px;
}

table th {
    background-color: #463426;
    color: #ffffff;
    font-weight: bold;

}
.about ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 20px;
    color: black;
    line-height: 1.5;
}

.about ul ul {
    list-style: circle;
    padding-left: 40px;
    font-size: 18px;
    color: black;
}

.about ul li {
    font-size: 20px;
    color: black;
    line-height: 1.5;
}

.about ul ul li {
    font-size: 18px;
    color: black;
}
/* Styly pro logo */
.logo-img {
    width: 100px; /* Upravte šířku podle potřeby */
    height: auto; /* Upravte výšku podle potřeby, aby logo zachovalo poměr stran */
    margin-right: 10px; /* Upravte mezery mezi logem a nadpisem podle potřeby */
}

/* Footer styles */
footer {
    background-color: #463426;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
}
