
@charset "UTF-8";
body {
  font-family: "Open Sans", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;     
  width: 100%;
  position: relative;   
  box-sizing: border-box;
}


.navbar .nav-link {
  font-weight: normal !important;
}

.navbar-nav .nav-link {
  font-weight: 400;
  text-decoration: none;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #a63446;
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none !important;
}

.custom-toggler {
  background-color: #a63446;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggler-line {
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.toggler-line.top {
  transform: translateY(-8px);
}

.toggler-line.middle {
  transform: translateY(0);
}

.toggler-line.bottom {
  transform: translateY(8px);
}

/* Aktivní stav */
.custom-toggler.collapsed .toggler-line.top {
  transform: translateY(-8px) rotate(0);
}

.custom-toggler:not(.collapsed) .toggler-line.top {
  transform: rotate(45deg);
}

.custom-toggler:not(.collapsed) .toggler-line.middle {
  opacity: 0;
}

.custom-toggler:not(.collapsed) .toggler-line.bottom {
  transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    justify-content: center !important;
  }
  .navbar-nav {
    text-align: center;
    margin: 0 auto;
  }
  .nav-item {
    margin: 8px 0;
  }
}
@media (max-width: 991.98px) {
  .navbar-nav .nav-link::after {
    display: none !important;
  }
}
@media (max-width: 991.98px) {
  .navbar-nav .nav-link:hover {
    color: #a63446 !important;
  }
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: 100%;
    min-width: 250px;
    padding: 1rem;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 0 0 0 10px;
    z-index: 999;
  }
  .navbar-collapse.show {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 991.98px) {
  .navbar .btn {
    border-radius: 5px !important;
  }
}

.header {
  position: relative;
  min-height: 100vh;
  max-width: 98vw;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 33px;
  color: white;
  display: flex;
  align-items: center;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* překryv */
  z-index: 2;
}

.header .container {
  position: relative;
  z-index: 3;
}

@media (max-width: 991.98px) {
  .header .btn-cta,
  .header .btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1rem auto; 
    justify-content: center;
  }

  
}

.scroll-down-wrapper {
  margin-top: -60px; 
  position: relative;
  z-index: 10;
}

.scroll-link i {
  animation: bounce 1.5s infinite;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-link:hover i {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
/*tlačitka v headeru*/
.btn-cta i {
  transition: transform 0.2s ease;
}

.btn-cta:hover i {
  transform: translateY(-3px);
}

.icon-rotate {
  transition: transform 0.4s ease;
  display: inline-block;
}

.btn-cta:hover .icon-rotate {
  transform: rotate(-35deg);
}

.h1-line {
  border-left: 4px solid #fff;
  padding-left: 16px;
  line-height: 1.5;
}

/*About me*/
#aboutMe img {
  max-width: 100%;
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.custom-seznam {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-seznam li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.custom-seznam li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("../images/checked.png");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.carka {
  position: relative;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
  padding-left: 40px;
  display: inline-block;
}

.carka::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 3px;
  background-color: #a63446;
}

.carkaDva {
  position: relative;
  font-style: italic;
  text-transform: uppercase;
  font-weight: bold;
  padding: 0 40px;
  display: inline-block;
  font-size: 16px;
}

.carkaDva::before,
.carkaDva::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 3px;
  background-color: #a63446;
}

.carkaDva::before {
  left: 0;
}

.carkaDva::after {
  right: 0;
}

.carkaTri {
  position: relative;
  font-style: italic;
  text-transform: uppercase;
  font-weight: bold;
  padding: 0 40px;
  display: inline-block;
  font-size: 16px;
}

.carkaTri::before,
.carkaTri::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 3px;
  background-color: white;
}

.carkaTri::before {
  left: 0;
}

.carkaTri::after {
  right: 0;
}

/*CTA*/
.cta-box {
  background-color: #a73446;
  border-radius: 64px;
  overflow: hidden;
  position: relative;
}

.cta-img {
  max-height: 600px;
  object-fit: contain;
  margin-bottom: -50px;
}

@media (min-width: 992px) {
  .cta-text {
    max-width: 600px;
  }
}
/*Change*/
.carousel-btn {
  width: 50px;
  height: 50px;
  border: 2px solid #a02b35;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  width: 0;
  height: 0;
  border: solid #a02b35;
  border-width: 0 4px 4px 0;
  padding: 6px;
}

.carousel-control-prev-icon {
  transform: rotate(135deg);
}

.carousel-control-next-icon {
  transform: rotate(-45deg);
}

/*offers*/
.card-img-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
  border-radius: inherit;
}

.card-img-overlay > * {
  position: relative;
  z-index: 1;
}

.services {
  background: linear-gradient(#a63446 0%, #a63446 50%, #ffffff 50%, #ffffff 100%);
}

/*Contact*/
.image-container {
  margin-top: 20px;
}

.image-container img {
  width: 80%;
  height: auto;
}

@media (min-width: 992px) {
  .services .btn-cta {
    font-size: 0.85rem !important;
    padding: 0.3rem 0.6rem !important;
  }
  .services .objednat {
    font-size: 0.85rem !important;
    padding: 0.3rem 0.6rem !important;
  }
  .services .btn-cta .icon-circle {
    width: 24px !important;
    height: 24px !important;
  }
  .services .btn-cta i {
    font-size: 0.75rem !important;
  }
}
/*CTA*/
@media (max-width: 991.98px) {
  .cta-img {
    max-width: 200px;
    margin-bottom: 0.5rem;
  }
  .cta-box {
    text-align: center;
    flex-direction: column !important;
  }
  .cta-text {
    padding-left: 0 !important;
  }
}
/*footer*/
.footer ul li a {
  color: white;
  text-decoration: none;
}

.footer ul li a:hover {
  text-decoration: underline;
}

.btn-outline-secondary {
  color: var(--bs-secondary);
}

.btn-outline-secondary:hover {
  color: #fff;
}

.to-top-btn {
  position: fixed;
  z-index: 20;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  outline: none;
  background-color: #44434a;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.to-top-btn:hover {
  background-color: #1d1d21;
}

.to-top-btn img {
  margin-bottom: 0.25rem;
  width: 18px;
}

.show {
  opacity: 1;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white; 
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid #a63446; 
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.toggle-icon {
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .toggle-icon {
  transform: rotate(180deg);
}

.accordion-button::after {
  display: none !important;
}

.carousel-inner {
  height: 550px;
}

.carousel-item img {
  height: 550px;
  width: 100%;
}

.blog-hero {
  position: relative;
  z-index: 1;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}
.blog-hero h1 {
  position: relative;
  z-index: 1;
}

.pagination-wrapper {
  text-align: center;
}

.pagination-wrapper .page-numbers {
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #a02b35;
  color: #a02b35;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pagination-wrapper .page-numbers.current {
  background-color: #a02b35;
  color: white;
  font-weight: bold;
}

.pagination-wrapper .page-numbers:hover {
  background-color: #a02b35;
  color: white;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

#clientCarousel .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 576px) {
  #clientCarousel {
    height: 450px;
    overflow: hidden;
  }

  #clientCarousel .carousel-inner,
  #clientCarousel .carousel-item {
    height: 100%;
  }

  #clientCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.blog-card {
  height: 300px;
}

.blog-card img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.blog-card .overlay {
  background: linear-gradient(to top, #a63446, transparent);
  z-index: 2;
  color: white;
}


.blog-card img {
  object-fit: cover;
}

.blog-card a.rounded-circle {
  text-decoration: none;
  border: none;
}
.blog-card a.rounded-circle i {
  font-size: 16px;
  line-height: 1;
}

.date-badge {
  background-color: white;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  width: auto;
  max-width: fit-content;
}



