/*BARRA DE NAVEGACION*/

.banner{
  width: 100%;
  min-height: 340px;
  background-image: url("../imagenes/banner.jpeg");
  background-size: cover;
  background-position: 0px -50px;
  background-repeat: no-repeat; 
  z-index: 1;
}

.banner2{
  width: 100%;
  min-height: 340px;
  background: #000000a3;
  z-index: 0;
}



.logo{
    width: 200px;
    height: 100px;
}


.bg-body-tertiary {
  --bs-bg-opacity: 1;
  background-color: rgba(169, 194, 219, 0) !important;
}

.rounded {
  border-radius:0px !important;
}

.navbar{
  font-size: large;
  --bs-navbar-color:beige;
  --bs-navbar-hover-color:beige;
  --bs-navbar-active-color: red;
}

.dropdown-menu{

  --bs-dropdown-bg: #6c5c5ce5;
  --bs-dropdown-link-hover-bg: #7e868e91;
  --bs-dropdown-link-active-bg: #28292b4f;
  --bs-dropdown-link-active-color: beige;
  --bs-dropdown-link-color: beige;
}

.navbar-toggler{

  background-color: #dba70d87;
}

.titulo{
  color: wheat;
  padding-top: 200px;
}


@media (max-width: 991px) {
  .navbar-collapse{
  background: #000000d9;
}
}

/*Baner fijo*/
/* Estado normal (transparente sobre el banner) */
#navbar {
  transition: all 0.3s ease-in-out;
  background-color: transparent !important;
}

/* Estado cuando se hace scroll */
#navbar.scrolled {
  background-color: rgb(0, 0, 0) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#navbar.scrolled .nav-link {
  color: rgb(255, 255, 255) !important;
}



/*animación para cambiar tamaño */
#navbar .logo {
  transition: all 0.3s ease-in-out;
}

#navbar.scrolled .logo {
  height: 70px;
  width: auto;
  
}



/*CONTENIDO*/

#content{
  width: 100%;
  min-height: 900px;
  background: white;
}

.icono-servicio {
  width: 60px;
  height: auto;
}

 #carouselExampleFade {
  max-width: 50%; /* Ancho máximo del carrusel */
  margin: 0 auto; /* Centrar el carrusel */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-carousel-img {
  height: 400px; /* Altura fija para las imágenes del carrusel */
  object-fit: contain; 
  background-color: #ffffff; /* Fondo blanco para las imágenes de marca */
  padding: 20px; /* Espaciado interno para que los logos no toquen los bordes */
}

@media (max-width: 768px) {
  #carouselExampleFade {
      max-width: 90%; /* Ajustar ancho en pantallas pequeñas */
  }
  .custom-carousel-img {
      height: 250px;
  }
}

#servicios{
  background: #dbe3ec;
  width: 100%;
}



/*FOOTER*/






/*ETIQUETA DE REDES FIJA*/

.whatsapp{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0px;
  left: auto;
  top: 29%;
  background: #0bc042;
  border-radius: 5px;
  z-index: 2;

}

.bi-whatsapp{
  color: white;
  height: 100%;
  width: 100%;
  padding: 5px;
 
}

.whatsapp:hover{
  height: 75px;
  width: 75px;
}

.facebook{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0px;
  left: auto;
  top: 38%;
  background: #0533ff;
  border-radius: 5px;
  z-index: 2;
}

.bi-facebook{

  color: white;
  height: 100%;
  width: 100%;
  padding: 5px;
}

.facebook:hover{
  height: 75px;
  width: 75px;
}

/*GALERIA*/

body {
  font-family: 'Inter', sans-serif;
  background-color: #f3f4f6;
}

.card {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.card-img-top {
  width: 100%;
  height: 225px;
  object-fit: contain;
  background-color: #55595c;
}

.gallery-img {
  cursor: pointer;
}

.pagination-button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-button:not(.disabled):hover {
  transform: translateY(-2px);
}

.pagination-button.prev {
  background-color: #4f46e5;
  color: #ffffff;
}

.pagination-button.prev:not(.disabled):hover {
  background-color: #4338ca;
}

.pagination-button.next {
  background-color: #10b981;
  color: #ffffff;
}

.pagination-button.next:not(.disabled):hover {
  background-color: #059669;
}

.pagination-button.disabled {
  background-color: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}


/*SOBRE NOSOTROS*/

.fondo {
  background-image: url("../imagenes/paisaje.webp");
  background-size: cover; /* Asegura que la imagen cubra todo el elemento */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  background-attachment: fixed; 
}

/* Capa oscura sobre la imagen para mejorar la legibilidad del texto */

.fondo2{
  width: 100%;
  min-height: 340px;
  background: #000000a3;
  z-index: 0;
}

.text-primary-custom {
  color: #007bff; /* Azul principal */
}
.text-secondary-custom {
  color: #0056b3; /* Azul oscuro */
}
.text-accent-custom {
  color: #28a745; /* Verde para acentos */
}
.rounded-2xl-custom {
  border-radius: 1.5rem; /* Bordes más redondeados que los predeterminados de Bootstrap */
}
.shadow-lg-custom {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; /* Sombra más pronunciada */
}
.hover-scale-105:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}





/* CONTACTO */
.contact-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%; /* Asegura que todas las tarjetas tengan la misma altura */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.contact-item .icon {
  font-size: 2.5rem;
  color: var(--text-primary-custom); /* Usar el color primario para los iconos */
  margin-bottom: 15px;
}
.contact-item h3 {
  font-size: 1.5rem;
  color: var(--text-secondary-custom);
  margin-bottom: 10px;
}
.contact-item p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0;
}
.contact-item a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}
.contact-item a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Estilos específicos para el iframe de mapa */
.map-container {
  position: relative;
  width: 75%;
  padding-bottom: 75%; /* Proporción 4:3 (altura / ancho * 100%) */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

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