/********** Template CSS **********/



.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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;
}

.img-cover {
  object-fit: cover;
}

/* Opcional: efeito suave ao hover */
.gallery-card img {
  transition: transform .35s ease;
}
.gallery-card:hover img {
  transform: scale(1.03);
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.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: inherit;
}

.btn-primary {
  background-color: #05c263;
  border-color: #05c263;
  color: #fff;
  transition: background-color .3s ease, border-color .3s ease;
}

.btn-primary:hover {
  background-color: #049a4f; /* verde um pouco mais escuro */
  border-color: #049a4f;
  color: #fff;
}



/*** Navbar fixa e slim ***/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #0b0b0b; /* preta */
  padding: 6px 0;           /* mais compacta */
}

.navbar-brand img {
  height: 55px;
  max-height: 55px;
}

.navbar-nav .nav-link {
  margin-left: 20px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  transition: color .3s ease;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #05c263; /* verde da identidade */
}

/*** Mobile ***/
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #0b0b0b;
    padding: 10px 20px;
  }
  .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
}




/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}
.service-icon-lg {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid #05c263;
  box-shadow: 0 0 0 8px rgba(5, 194, 99, 0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-icon-lg i {
  font-size: 70px;
  color: #05c263;
  line-height: 1;
  transition: transform .3s ease, color .3s ease;
}

/* Hover effect */
.service-card:hover .service-icon-lg {
  box-shadow: 0 0 20px rgba(5,194,99,0.7), 0 0 40px rgba(5,194,99,0.5);
  transform: scale(1.05);
}
.service-card:hover .service-icon-lg i {
  color: #00ff99;
  transform: scale(1.1);
}
.service-card:hover {
  transform: translateY(-6px);
  transition: transform .3s ease;
}




/*** Portfolio ***/
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::before,
.portfolio-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    transition: .5s;
}

.portfolio-item::after {
    left: auto;
    right: 0;
}

.portfolio-item:hover::before,
.portfolio-item:hover::after {
    width: 50%;
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    transition-delay: .5s;
    opacity: 1;
}

.portfolio-item .portfolio-overlay .portfolio-btn {
    display: flex;
    margin: 5px;
    margin-bottom: 60px;
}

.portfolio-item .portfolio-overlay .portfolio-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
}

/* Dots */
.testimonial-carousel .owl-dots {
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testimonial-carousel .owl-dot {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bs-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.testimonial-carousel .owl-dot i {
  font-size: 32px;
  color: #ccc;
  transition: color .3s ease, transform .3s ease;
}
.testimonial-carousel .owl-dot.active {
  width: 90px;
  height: 90px;
  background: #111;
}
.testimonial-carousel .owl-dot.active i {
  color: #05c263;
  transform: scale(1.2);
}

/* Stars + rating */
.stars {
  margin-top: 10px;
  font-size: 18px;
  color: gold;
  font-weight: bold;
}
.stars .rating {
  margin-left: 8px;
  font-size: 16px;
  color: #05c263; /* verde da identidade */
}



.footer {
  position: relative;
  background: url("img/footer-bg.jpg") center center/cover no-repeat;
  color: #fff;
}

.footer .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85); /* escurece a imagem */
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2; /* coloca o conteúdo acima do overlay */
}

/* Social icons */
.footer .btn-sm-square {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
}
