@charset "UTF-8";
html {
  box-sizing: border-box;
}

*, :after, :before {
  box-sizing: inherit;
}

html, body {
  font-family: "Raleway", sans-serif;
  margin: 0;
  line-height: 1.5;
  background-color: #FFE5BC;
  padding: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.container{
    margin: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
    gap: 30px;
}
.footer {
    background-color: #FFE5BC;
    padding: 20px 40px;
    font-size: 18px;
    text-align: center;
    display: flex;
  transition: border-top 0.3s ease;
    margin-top: 50px;
    width:100%;
    max-height: 200%;
    position: sticky;
    justify-content: space-between;
    
  }
  .soc{
    display: flex;
    gap: 15px;
    padding-left: 50px;
  }
  .language{
    display: flex;
    padding-right: 50px;
    gap: 15px;
    font-size: 20px;
  }
  a{
    color: #F47B50;
    text-decoration: none;
  }
  a:hover{
    color: #618DF1;
  }
  .adresa_odkaz, .nadpis_odkaz {
    text-decoration: none;
    color: black;
  }
  .nadpis_odkaz{
    color:#F47B50;
  }
  .nadpis {
    font-size: 34px;
    font-weight: normal;
    order: 1;
    margin: 40px 100px;
  }
  .toggler, .toggler3, .menu__checkbox, .hamburger{
    display: none;
  }
  .menu__list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 50px 50px;
    
  }
  .menu__item{
    font-size: 25px;
    display: inline-block;
    
    
  }
  .hlavicka {
   top: 0;
    display: flex;
  position: sticky;
   justify-content: space-around;
   background-color: #FFE5BC;
   width: 100%;
  z-index: 1000;
   margin: 0;
   padding: 0;
   transition: border-bottom 0.3s ease;
   max-height: 150px;
  }
  .hlavicka.scrolled {
  border-bottom: 3px solid #F47B50;
}
.footer.scrolled{
  border-top: 3px solid #F47B50;
}
.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.facebook{
  
  height: 77%;
}
.thumb {
  width: 300px;
  height: auto; /* DŮLEŽITÉ: zachová poměr stran */
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s;
  object-fit: cover; /* volitelné – pro oříznutí, jinak vynech */
}

.thumb:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.lightbox.show {
  display: flex;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-controls {
  margin-top: 15px;
}

.lightbox-controls button {
  background: #F47B50;
  color: #FFE5BC;
  border: none;
  padding: 10px 16px;
  margin: 0 5px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

  .menu__link {
    text-decoration: none;
    
    color: #F47B50;
  }
  .menu__item a:hover, .nadpis_odkaz:hover{
    color: #618DF1;
  }

  .text{
    /*border-radius: 20px;
    border: 3px solid #F47B50;
    padding: 20px;*/
    width: 500px;
    font-size: 20px;
    text-align: center;
    border-radius: 20px;
    border: 3px solid #F47B50;
    padding: 20px;
  }

  .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    justify-content: center;
    
  }
.tapka {
  position: fixed;
  bottom: 100px;
  right: 50px;
  width: 60px;
  z-index: 1000;

}
.contact{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}


  .kontakt2{
    border-radius: 20px;
    border: 3px solid #F47B50;
    font-size: 20px;
    padding: 20px;
    
  }
  .novinky{
    border-radius: 20px;
    border: 3px solid #F47B50;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    width: 500px;
  }

/* Obal celého formuláře */
.form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: #FFE5BC;
 max-height: 500px;
 
}

/* Každý řádek formuláře – label a input vedle sebe */
.formular {
  display: flex;
  align-items: center;
  margin: 0 0 15px 0;
  gap: 15px;
  padding: 0;
}

/* Popisky (labely) */
.formular label {
  width: 120px;
  font-size: 16px;
  
}

/* Textová pole */
.formular input[type="text"],
.formular input[type="email"],
.formular input[type="tel"] {
  background-color: #FFE5BC;
  border-radius: 10px;
  height: 35px;
  width: 100%;
  max-width: 300px;
  border: 3px solid #F47B50;
  padding: 5px 10px;
  font-size: 14px;
}

/* Zvýraznění aktivního pole */
input:focus {
  outline: 3px solid #618DF1;
}
/* --- Checkbox --- */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 20px;
  width: 20px;
  margin: 0;
  z-index: 2;
}

.checkmark {
  width: 20px;
  height: 20px;
  background-color: #FFE5BC;
  border: 2px solid #A7BFF7;
  border-radius: 4px;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

.custom-checkbox input:checked + .checkmark {
  background-color: #F47B50;
  border-color: #F47B50;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #FFE5BC;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked + .checkmark::after {
  display: block;
}
/* Tlačítko pro odeslání */
.tlacitko {
  background-color: #A7BFF7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  border: 2px solid #F47B50;
  padding: 10px 20px;
  font-size: 14px;
  color: #000;
  max-width: 150px;
  max-height: 50px;
}

/* Hover efekt tlačítka */
.tlacitko:hover {
  background-color: #618DF1;
  cursor: pointer;
}

/* Obrázek v tlačítku */
.tapinka {
  width: 20%;
  margin-left: 20px;
}


.facebook-container {
  padding: 20px;
  max-width: 100%;
  
  background-color: #FFE5BC;
  box-sizing: border-box;
}
.facebook-container iframe {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 10px !important;
  overflow: hidden;
}
@media (max-width: 768px) {
.language{
  font-size: 16px;
}

  .menu__list {
    flex-direction: column;
    margin-right: 0;
    align-items: center;
    
    gap: 15px;
    
  }
 .menu__item:first-child{
  margin-top: 0;
  padding-top: 0;
 }
  .box {
    flex-direction: column;
    gap: 20px;
    margin: 30px 10px;
  }

  .first_image, .text, .novinky, .kontakt2 {
    width: 90%;
    margin: 0 auto;
    font-size: 16px;
  }

  .tapinka, .tapka {
    display: none;
  }

  .kontakt_hl, .novinky_hl {
    margin-left: 0;
    text-align: center;
    min-width: 200px;
  }

  input {
    width: 90%;
    min-width: unset;
  }

  .facebook-container {
    margin: 20px 10px;
    padding: 15px;
    
    border-radius: 15px;
  }

  .facebook-container iframe {
    height: 400px;
    border-radius: 10px;
  }

  @media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center; /* zarovná položky na střed */
    gap: 15px; /* mezera mezi soc a language */
  }

  .soc, .language {
    padding: 0;
  }
}

  @media (max-width: 768px) {
  .gallery {
    justify-content: center;
    align-items: center;
    padding: 10px; /* přidá trochu odsazení */
  }
.box{
  margin-top: 20px;
}

  .contact{
    flex-direction: column;
  }
}

/* HAMBURGER MENU */

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  margin-right: 20px;
  user-select: none;
}

.menu__checkbox {
  display: none;
}

}
@media (max-width: 768px) {
  .menu__list {
    flex-direction: column;
    
    right: 0;
    background-color: #FFE5BC;
    width: 100%;
    margin: 0;
    padding: 20px 0;
    display: none;
    
    z-index: 999;
  }

  .menu__checkbox:checked + .hamburger + .menu .menu__list {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .menu__item {
    text-align: center;
    padding: 10px 0;
    font-size: 22px;
  }

  .menu {
    width: 100%;
  }

  .hlavicka {
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    
  }

  .nadpis {
    font-size: 26px;
    margin-left: 40px;
    
  }}

  @media (max-width: 420px) {
    .nadpis{
      font-size: 18px;
    }
    .hamburger{
      font-size: 26px;
    }
    .menu__item{
      font-size: 18px;
    }
  }