/********** Template CSS **********/
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

img.animated.pulse {
  animation-duration: 5s;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Navbar ***/
.sticky-top {
  top: -150px;
  transition: 0.5s;
}

.navbar {
  padding: 11px 0 !important;
}

.navbar .navbar-nav .nav-link {
  margin-right: 45px;
  padding: 0;
  color: var(--bs-white);
  font-weight: 500;
  transition: 0.5s;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--bs-blue);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    padding: 0 15px;
    background: var(--bs-black);
  }

  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}
/*.logo-text {
  text-align: right; 
  font-size: 24px; 
  font-weight: bold; 
  line-height: 1.2; 
  text-transform: uppercase; 
}

.first-line {
  display: block; 
}

.second-line {
  display: block;
}
*/

/* Galerie – položka s efektem */
/* Galerie – položka s efektem */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
  width: 100%;
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.gallery-item:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}

.gallery-item:hover .overlay {
  opacity: 1;
}







.logo-text {
  text-align: right; /* Zarovnání textu doprava */
  font-size: 3rem; /* Velikost písma */
  font-weight: bold; /* Tučné písmo */
  line-height: 1.2; /* Nastavení mezery mezi řádky */
  text-transform: uppercase; /* Všechny písmena velká */
 /* background: linear-gradient(to right, darkred, #ff6666, darkred); /* Přechod od tmavě červené přes světle červenou zpět k tmavé */
 /* -webkit-background-clip: text; /* Aplikuje gradient jen na text */
  /*-webkit-text-fill-color: transparent; /* Skryje původní barvu textu */
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 1.2rem; 
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.5rem;
  }
}
.first-line, .second-line {
  display: block; /* Každé slovo na samostatný řádek */
}

.contact-item {
  display: flex;         
  align-items: center;   /* Vycentruje ikony a text na stejnou úroveň */
  gap: 1rem;            /* Použití rem pro mezeru mezi ikonou a textem */
  margin-bottom: 1rem;  /* Použití rem pro mezery mezi řádky */
}

.contact-item i {
  font-size: 1.5rem; /* Velikost ikon podle písma (responzivní) */
  color: #555;     
  min-width: 2rem; /* Zajišťuje, že ikony budou stejně široké, ale ne fixní */
  text-align: center;
}

/* Responzivní přizpůsobení pro menší obrazovky */
@media (max-width: 768px) {
  .contact-item {
      flex-direction: column; /* Na mobilu posune ikonu nad text */
      align-items: flex-start; /* Zarovná text doleva */
  }
}


@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Hero Header ***/
.hero-header {
  position: relative;
  margin-top: -85px;
  height: 50vh;
  padding-top: 12rem;
  padding-bottom: 6rem;
  /* background: url(../img/bg.png) center center no-repeat; */
  background-size: cover;
}

.hero-header.home {
  height: auto;
  min-height: 50vh; /* nebo jiná hodnota, kterou si nastavíte – třeba 60vh */
}


.hero-header::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.hero-header .container {
  position: relative;
  z-index: 1;
}

.hero-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-light);
}

/*** Feature ***/
.feature-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.feature-item .border {
  position: relative;
  border-color: rgba(255, 255, 255, 0.2) !important;
  z-index: 1;
}

/*** Deal ***/
.deal {
  position: relative;
  background: url(../img/bg.png) center center no-repeat;
  background-size: cover;
}

.deal::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.deal .bg-white {
  position: relative;
  z-index: 1;
}

.deal .cdt span {
  display: block;
  font-size: 16px;
  font-style: italic;
  font-weight: 200;
  text-transform: capitalize;
}

/*** How To Use ***/
.how-to-use {
  position: relative;
  background: url(../img/bg.png) center center no-repeat;
  background-size: cover;
}

.how-to-use::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.how-to-use .container {
  position: relative;
  z-index: 1;
}

.how-to-use .border {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/*** Product ***/
.product-item {
  transition: 0.1s;
}

.product-item:hover {
  border-width: 0 !important;
  box-shadow: 0 0 35px rgba(144, 188, 121, 0.25);
}

.product-item:hover a.btn {
  color: var(--bs-white);
  background: var(--bs-primary);
}

/*** Testimonial ***/
.testimonial {
  position: relative;
  background: url(../img/bg.png) center center no-repeat;
  background-size: cover;
}

.testimonial::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.testimonial .testimonial-carousel {
  position: relative;
  z-index: 1;
}

.testimonial-carousel .owl-item img {
  width: 120px;
  height: 120px;
  border-color: rgba(255, 255, 255, 0.2) !important;
  margin: 0 auto 20px auto;
  border-radius: 100px;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--bs-blue);
}

/*** Blog ***/
.blog-item {
  transition: 0.1s;
}

.blog-item:hover {
  border-width: 0 !important;
  box-shadow: 0 0 35px rgba(144, 188, 121, 0.25);
}

/* .blog-item:hover a.btn {
  color: var(--bs-white);
  background: var(--bs-primary);
} */

/*** Contact ***/
.contact-info-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.contact-info-item .border {
  position: relative;
  border-color: rgba(255, 255, 255, 0.2) !important;
  z-index: 1;
}

/*** Newsletter ***/
.newsletter {
  position: relative;
  background: url(../img/bg.png) center center no-repeat;
  background-size: cover;
}

.newsletter::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.newsletter .container {
  position: relative;
  z-index: 1;
}

.newsletter .form-control {
  background: rgba(255, 255, 255, 0.3);
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: var(--bs-body);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link:hover {
  color: var(--bs-blue);
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 3px solid var(--bs-light);
}

.footer .copyright a {
  color: var(--bs-body);
}

.footer .copyright a:hover {
  color: var(--bs-primary);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}


@media (max-width: 576px) {
  .contact-item {
    flex-direction: row !important;
    flex-wrap: nowrap;
  }
  .contact-item i {
    margin-right: 0.5rem; /* malé odsazení mezi ikonou a textem */
  }
  .contact-item span,
  .contact-item a {
    white-space: nowrap; /* zabrání zalomení textu */
  }
}
