/********** Template CSS **********/
:root {
    --primary: #FDA12B;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.shadowed-text {
    font-size: 10vw; /* Use viewport width units for responsive font size */
    font-weight: bold;
    color: transparent;
    background-image: linear-gradient(-225deg, #140219 0%, #000000 29%, #cf7900 67%, #dbac02 100%);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: textclip 5s linear infinite;
    text-shadow: 2px 3px 4px rgba(118, 111, 111, 0.8);
    max-width: 100%; /* Limit the width of the text container */
}

@keyframes textclip {
    0% {
        background-position: 0 50%; /* Start position */
    }
    100% {
        background-position: 100% 50%; /* End position */
    }
}
.shadowed-text span{
    color: #fb6334;
}
/*
.shadowed-text .span-text{
    text-shadow: 0 1px 4px black;
} */

.logo-text{
    margin: 15px 0 0 0; /* Moved slightly down */

    font-size: 18px;
    background-image: linear-gradient(
        -125deg,
        #000000 50%,
        #e1810d 50%
      );

      text-shadow: 1px 2px 3px #ed8c0435;
      background-size: auto auto;
      background-clip: border-box;
      background-size: 200% auto;
      background-clip: text;

      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: textclip 4s linear infinite;

    }

    @keyframes textclip {
      to {
        background-position: 200% center;
      }
    }


.category-text {
    color: #000000;
    background-color: rgb(126 126 126 / 48%);
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 6px 15px;
    display: inline-block;
    margin-bottom: 30px;
}

.category-text  em {
    font-style: normal;

    color: #f35525;
  }
.btn.btn-primary {
    color: #FFFFFF;
    background-color: rgba(243, 130, 9, 0.913);
}

.btn.btn-primary:hover {
    background-color: rgba(11, 10, 11, 0.8);
    /* Adjust opacity or color as needed */
}

.btn.btn-outline-primary {
    color: #FFFFFF;
    border-color: rgb(247, 193, 193);
}

.btn.btn-outline-primary:hover {
    background-color: rgba(240, 145, 145, 0.8);
    /* Adjust opacity or color as needed */
}


/*
.btn.btn-primary

,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;


} */

.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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.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 .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\e499";
    /* Unicode value for a different FontAwesome icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 143, 5, 0.828);
}
/* Ensure the container is fluid and full width */
.container-fluid {
    padding: 0;
  }

  /* Carousel images stretch to full width */
  .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image covers the space properly */
  }

  /* Ensure the carousel itself is full width */
  #header-carousel {
    width: 100%;
  }

  /* Remove unwanted padding or margins from carousel caption */
  .carousel-caption {
    width: 100%;
    left: 0;
    right: 0;
    padding: 15px;
  }



@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

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

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/page_dudo.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/dudo_stroitelni3.jpeg) center center no-repeat;
    background-size: cover;
}


.shadowed-text {
    font-size: 8vw;
    font-weight: bold;
    color: transparent;
    background-image: linear-gradient(-225deg, #140219 0%, #000000 29%, #cf7900 67%, #dbac02 100%);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: textclip 5s linear infinite;
    text-shadow: 3px 4px 6px rgba(0, 0, 0, 0.8);
  }

  @keyframes textclip {
    0% {
      background-position: 0 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }

  .category-text {
    font-size: 18px;
    font-weight: 600;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 5px;
  }

  /* .btn.btn-primary {
    background-color: rgba(243, 130, 9, 0.95);
    border: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
  } */

  .btn.btn-primary {
    color: #FFFFFF;
    background-color: rgba(243, 130, 9, 0.913);
    font-size: 16px; /* Adjust as needed */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Subtle shadow for better contrast */
    font-weight: bold; /* Optional for emphasis */
    transition: background-color 0.3s ease, text-shadow 0.3s ease;
}

  .btn.btn-primary:hover {
    background-color: #f35525;
  }
/* Remove unwanted padding or margins from carousel caption */
.carousel-caption {
    width: 100%;
    left: 0;
    right: 0;
    padding: 15px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.049);
    border-radius: 50%;
    padding: 10px;
  }

  @media (max-width: 768px) {
    .shadowed-text {
      font-size: 10.8vw;
    }

    .category-text {
      font-size: 14px;
      padding: 5px 15px;
    }

    .btn.btn-primary {
        font-size: 12px;
        padding: 6px 12px;
    }
  }





/*** Footer ***/
.footer {

    color: #999999;

    background-color: #000000e6;

}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}