 body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333333;
}

.navbar-custom {
    background-color: #1E2E8B; 
    color: white;
}

.logo-img {
    height: 100px; 
}


.navbar-toggler {
    border: none; 
    background: transparent; 
}


.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><path stroke="white" stroke-width="2" d="M5 7h20M5 15h20M5 23h20"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    border: none; 
}

.navbar-toggler:focus{
    box-shadow: none;
    border: none;
}


.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1); 
    cursor: pointer; 
}

/* Estilo para a rotação do ícone do toggle */
.navbar-toggler.collapsed .navbar-toggler-icon {
    transition: transform 0.3s ease; /* Adiciona uma transição suave para a rotação */
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    transform: rotate(90deg); /* Rotaciona o ícone quando o menu está expandido */
}

.nav-link{
    color: white;
}

.nav-link:focus, .nav-link:hover{
  color: #fff;
}

.hero-section {
    background: linear-gradient(135deg, #1E90FF 0%, #87CEFA 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    font-size: 18px;
}

.image-comparison {
    background-color: #f7f7f7;
    padding: 50px;
    border-radius: 10px;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/* Header com imagem de piscina */
.header-piscina {
    position: relative;
    background: url('imgs/imgHeader.jpg') no-repeat center center/cover;
    height: 70vh;
}

.header-piscina .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.header-piscina .text-center {
    z-index: 2;
    position: relative;
}

.header-piscina h1,
.header-piscina p {
    color: #ffffff;
}

/* Estilos da Seção de Serviços */
#servicos .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#servicos .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#servicos .card-title {
    color: #0044cc; /* Azul do logo */
    font-weight: 600;
}

#servicos .card-text {
    color: #555;
}


.wrapper{
    position: relative;
    height: 500px;
    width: 750px;
    overflow: hidden;
    background: #fff;
    border: 7px solid #fff;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.15);
  }
  .wrapper .images{
    height: 100%;
    width: 100%;
    display: flex;
  }
  .wrapper .images .img-1{
    height: 100%;
    width: 100%;
    background: url("imgs/imgDepois.jpeg") no-repeat 50% 25%;
  }
  .wrapper .images .img-2{
    position: absolute;
    height: 100%;
    width: 50%;
    background: url("imgs/imgAntes.jpeg") no-repeat 10% 5%;
  }
  .wrapper .slider{
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 99;
  }
  .wrapper .slider input{
    width: 100%;
    outline: none;
    background: none;
    -webkit-appearance: none;
  }
  .slider input::-webkit-slider-thumb{
    height: 486px;
    width: 3px;
    background: none;
    -webkit-appearance: none;
    cursor: col-resize;
  }
  .slider .drag-line{
    width: 3px;
    height: 486px;
    position: absolute;
    left: 49.85%;
    pointer-events: none;
  }
  .slider .drag-line::before,
  .slider .drag-line::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 222px;
    background: #fff;
  }
  .slider .drag-line::before{
    top: 0;
  }
  .slider .drag-line::after{
    bottom: 0;
  }
  .slider .drag-line span{
    height: 42px;
    width: 42px;
    border: 3px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .slider .drag-line span::before,
  .slider .drag-line span::after{
    position: absolute;
    content: "";
    top: 50%;
    border: 10px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .slider .drag-line span::before{
    left: 40%;
    border-left-color: #fff;
  }
  .slider .drag-line span::after{
    left: 60%;
    border-top-color: #fff;
  }

  #boxComparator{
    display: flex;
    justify-content: center;
    width: 100%;
  }


.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.photo-card img {
    display: block;
    width: 100%;
    height: 25rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover img {
    transform: scale(1.1);
}

.photo-card:hover  {
    opacity: 1;
}

.footer{
    background-color: #1E2E8B;
}

.footer-logo-img {
    max-height: 180px; 
}

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

#whatsappImg{
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 5rem;
  z-index: 10000;
}

#ctaNavbar{
  background-color: white;
  color: #1E2E8B;
  font-weight: 600;
  border: 0;
  margin-left: 2rem;
}

#ctaNavbar:hover{
  background-color: unset;
  border: 1px solid #fff;
  color: white;
}

#btnCta{
  background-color: #1E2E8B;
  color: white;
  border: 0;
  font-weight: 600;
}

#btnCta:hover{
  background-color: unset;
  border: 1px solid #fff;
}

#btnCta2{
  background-color: #1E2E8B;
  color: white;
  border: 0;
  font-weight: 600;
}

#btnCta2:hover{
  background-color: unset;
  border: 1px solid #1E2E8B;
  color: #1E2E8B;
}

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

#imgCloro{
  object-fit: contain;
}

.header-obrigado {
  position: relative;
  background: url('imgs/imgObrigado.jpg') no-repeat center center/cover;
  height: 70vh;
}

.header-obrigado .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.header-obrigado .text-center {
  z-index: 2;
  position: relative;
}

.header-obrigado h1,
.header-obrigado p {
  color: #ffffff;
}

@media screen and (max-width: 768px){

  .wrapper{
    max-width: 100%;
  }
  .wrapper .images{
    max-width: 100%;
      
  }

  .photo-card {
    margin-bottom: 15px;
  } 
  
  #ctaNavbar{
    margin: 0;
  }


}