/*

Tooplate 2117 Infinite Loop

https://www.tooplate.com/view/2117-infinite-loop

*/

@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");

body {
	font-family: "Raleway", sans-serif;
	font-size: 1.2em;
  color: #707070;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a {
  transition: all 0.3s ease;
  color: #38B;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #a1d18b;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: #37A;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color: #369;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #38B;
}

/* Navbar */

.tm-navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.tm-navbar.scroll {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #38B;
}

.tm-navbar.scroll .navbar-brand {
  color: #369;
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: white;
}

.tm-navbar.scroll .tm-nav-link {
  color: #369;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #FFF;
  background-color: #369;
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: white;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #707070;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #707070;
}





/* Hero */

#infinite {
  background-color: #222;
  background-image: url(../img/chalupa.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 70vh;
  min-height: 375px;

}



.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.tm-hero-text-container-inner {
  max-width: 50em;
  margin: 0 auto;
  padding: 20px;
  background: rgb(0 0 0 / 53%);
  border-radius: 10px;
  line-height: 1.6; /* Větší mezery mezi řádky */
  text-align: center;
}

.tm-hero-title {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #333;
}

.tm-hero-subtitle {
  text-shadow: 2px 2px 2px #333;
}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.gallery-item {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 5px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}

/* Rezervace Button */
.reserve-button-container {
  text-align: center;
  margin-top: 30px;
}

.reserve-button {
  display: inline-block;
  background-color: #28a745;
  color: white;
  font-size: 1.5rem;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease-in-out, transform 0.2s;
}

.reserve-button:hover {
  background-color: #218838;
  transform: scale(1.05);
}
/* Kontakt Box */
.contact-box {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 10px;
  text-align: center;
}

.contact-box h3 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.contact-box p {
  margin: 5px 0;
  font-size: 1.2rem;
}

.contact-box a {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
}

.contact-box a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {

  .navbar {
    display: none;
  }
}
@media screen and (max-width: 400px) {



  #infinite {
    background-color: #222;
    background-image: url(../img/chalupa.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    min-height: 375px;
  }

  body {
    font-size: 14px; /* Menší základní text */
  }

  .tm-hero-text-container-inner {
    max-width: 90%;
    padding: 15px;
  }

  .tm-hero-title {
    font-size: 2rem; /* Menší nadpis */
  }

  .tm-hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Menší obrázky v galerii */
    gap: 5px;
  }

  .gallery-item {
    height: 80px;
  }

  .reserve-button {
    font-size: 1.2rem;
    padding: 12px 30px; /* Menší tlačítko */
  }

  .contact-box {
    max-width: 90%;
    padding: 15px;
  }
}
