/* ==== COLORES BASE ==== */
.text-marron {
  color: #734128 !important;
}

.nav-link:hover,
.nav-link.active {
  color: #33a6e7 !important;
   font-weight: bold;
  border-bottom: 2px solid #007bff;
}

/* ==== AJUSTE PARA ALTURA TOTAL Y SCROLL ==== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff; /* Asegura que el fondo sea blanco */
  display: flex;
  flex-direction: column;
}
.logo-navbar {
  height: 130px; 
  max-height: 130px;
  transition: all 0.3s ease-in-out;
}
.text-justify {
  text-align: justify;
}

/* ==== MAIN CON ALTURA MÍNIMA PARA EMPUJAR FOOTER ABAJO ==== */
main {
  flex: 1;
  background-color: #ffffff;
}

/* ==== SECCIONES Y SCROLL CORRECTO POR NAVBAR FIJO ==== */
section {
  scroll-margin-top: 80px;
}

/* ==== FOOTER ==== */
footer {
  background-color: #734128; /* Marrón corporativo */
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}
.hero-section {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #e6f7ff, #ffffff); 
  background-size: cover;
  background-position: center;
  color: #734128;
  padding: 100px 20px 60px;
  position: relative;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  
  animation: fadeInDown 1.2s ease-in-out;
}


.hero-subtitle {
  font-size: 1.2rem;
  margin-top: 15px;
  animation: fadeInUp 1.2s ease-in-out;
}
.btn-primary-custom {
  background-color: #5a9b2a;
  color: white;
  border: none;
  padding: 12px 30px;
  font-weight: 500;
  transition: background-color 0.3s ease-in-out;
}

.btn-primary-custom:hover {
  background-color: #4a8122;
  color: #fff;
}

.hero-illustration {
  min-height: 100vh;
  
  background: 
    /*linear-gradient(to bottom, #e6f7ff, #ffffff),*/
     url('../assets/img/Sistema_de_filtración.png');
  background-size: cover;
background-position: center center;  /* 🔹 Centrada vertical y horizontalmente */
  background-repeat: no-repeat;
  padding: 120px 20px 60px;
}

.hero-illustration img {
  animation: fadeInUp 1.2s ease-in-out;
}
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
/* ==== SERVICIOS ==== */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}
.service-card .card-text {
  text-align: justify;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
  color: #33a6e7;
}
/* Animaciones */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}


.icon-animate {
  animation: floatIcon 3s ease-in-out infinite;
}

.icon-hover-scale {
  transition: transform 0.1s ease;
}

.icon-hover-scale:hover {
  transform: scale(1.10);
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}


form input, form textarea {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #ccc;
}

form input:focus, form textarea:focus {
  border-color: #33a6e7;
  outline: none;
  box-shadow: 0 0 5px rgba(51, 166, 231, 0.2);
}

.btn-primary-custom {
    background-color: #007bff;
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #4a8122;
}
.map-responsive {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px;
}

.text-primary {
  color: #33a6e7 !important;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #28a745; /* Verde de la paleta, puedes ajustar el tono */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: '';
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border: solid white;
  border-width: 0 3px 3px 0;
  padding: 4px;
}

.carousel-control-prev-icon::before {
  transform: rotate(135deg);
}

.carousel-control-next-icon::before {
  transform: rotate(-45deg);
}




.product-img {
  width: 100%;
  height: 250px;
  object-fit: contain; /* Asegura que la imagen se vea completa */
  object-position: center;
  background-color: #f8f9fa; /* Le da fondo a las imágenes pequeñas */
  padding: 10px; /* Para que no se pegue al borde */
  border-radius: 8px;
}

@media (max-width: 576px) {
  .product-img {
    height: 180px;
    padding: 5px;
  }
}