/* Fuentes y reset */
body {
  font-family: "Poppins", sans-serif;

  /* espacio para navbar fijo */
}

h1,
h2,
h3,
h4 {
  color: #006642;
  font-family: "Josefin Sans", sans-serif;
}

h1 {
  font-size: 50px;
}

h2 {
  font-size: 43px;
}

h3 {
  font-size: 20px !important;
}

.card .p-1 {
  font-size: 13px;
}

/* === Scroll Progress Bar === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background-color: #006642;
  z-index: 10000;
  transition: width 0.2s ease-out;
}

/* Elimina el borde y sombra al hacer foco en el botón hamburguesa */
.custom-toggler:focus,
.custom-toggler:active,
.custom-toggler:hover {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.custom-navbar {
  background-color: #ffff;
  transition: background-color 0.4s ease, color 0.4s ease;
  padding: 1rem 2rem;
}

.custom-navbar .nav-links,
.custom-navbar .navbar-brand {
  color: #3da446 !important;
  font-weight: 700;
  position: relative;
  font-size: 14px;
  transition: color 0.3s ease;
  text-decoration: none;
}
.bg-primary{
  background-color: #3da446 !important;
}
.bg-secondary{
  background-color: #f2f2f2 !important;
}

.custom-navbar .nav-links::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #006642;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
  pointer-events: none;
}


.custom-navbar .nav-links:hover::after {
  width: 50%;
}

.custom-navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.custom-toggler:focus {
  outline: none !important;
  box-shadow: none !important;
}

.custom-toggler {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.custom-toggler .toggler-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #006642;
  margin: 5px 0;
  transition: all 0.4s ease;

}

.custom-toggler[aria-expanded="true"] .top-bar {
  transform: rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .middle-bar {
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] .bottom-bar {
  transform: rotate(-45deg);
}

.section-boca-1 {
  font-size: 19px;
}

        /* Ajusta el slider */
        .carousel {
            position: relative;
        }

        .carousel-inner img {
            object-fit: cover;
            height: 400px;
            /* Ajusta según tu necesidad */
        }

        /* Contenedor de las cards */
        .cards-container {
            position: absolute;
            top: 800px;
            /* Posiciona las cards encima del slider */
            width: 100%;
            z-index: 10;
        }

        .cards-container .container {
            background: white;
            /* Fondo opcional para destacar las cards */
            border-radius: 10px;
            /* Bordes redondeados */
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Cards */
        .card {
            transition: transform 0.2s ease-in-out;
        }

        .card:hover {
            transform: scale(1.05);
        }
        
        
        
    .hero {
      min-height: 60vh;               /* altura del hero en pantallas grandes */
      background-size: cover;        /* evita expandir / deforma: recorta en su lugar */
      background-position: center;   /* centra la imagen */
      background-repeat: no-repeat;
      display: flex;
      align-items: center;           /* si quieres centrar contenido (texto, botones) */
      justify-content: center;
    }

    /* Ajuste para móviles: reducir altura para que no "coma" pantalla */
    @media (max-width: 576px) {
      .hero {
        min-height: 20%;
      }
    }



/* === Sección de cita === */
.quote-section {
  position: relative;
  background-image: url('https://images.pexels.com/photos/14590693/pexels-photo-14590693.jpeg');
  background-size: cover;
  background-position: center;
  height: 400px;
  /* Ajusta según necesites */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay para mejorar la legibilidad del texto */
.quote-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Fondo negro semi-transparente */
}

/* Contenido de la sección */
.quote-section .container {
  position: relative;
  z-index: 2;
  /* Asegura que el texto esté encima del overlay */
}

/* Estilo del texto de la cita */
.quote-section .quote {
  font-size: 2rem;
  color: white;
  font-style: italic;
  line-height: 1.5;
  padding: 20px;
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  margin: 0 auto;
  max-width: 800px;
}


.text-primary{
  color: #0c71c3 !important;
}



/* === Tarjetas del slider === */
.card-e {
  transition: transform 0.3s ease;
  /* Animación suave al hacer hover */
  cursor: pointer;
  /* Indica interactividad */
}

.card-e:hover {
  transform: translateY(-10px);
  /* Desplaza la tarjeta hacia arriba al hacer hover */
}

.btn-warning{
  border-radius: 30px !important;
  padding: 15px !important;
}

/* === Estilos generales del botón === */
.btn-primary {
  background-color: #3da446;
  /* Azul principal */
  color: #fff;
  border-radius: 30px;
  /* Bordes redondeados */
  padding: 10px 20px;
  /* Espaciado interno */
  font-weight: 600;
  transition: all 0.3s ease;
  /* Transición suave */
  position: relative;
  /* Para posicionar el icono */
  border: none !important;
}
.btn-primary:hover{
  background-color: #3da446 !important;
}

/* === Flecha de FontAwesome === */
.arrow-icon {
  display: inline-block;
  margin-left: 5px;
  /* Espacio entre texto e icono */
  transform: translateX(0);
  /* Posición inicial */
  transition: transform 0.3s ease;
  /* Animación suave */
}

/* === Animación al hacer hover === */

.btn-primary:hover .arrow-icon {
  transform: translateX(10px);
  /* Mueve la flecha hacia la derecha */
}

/* === Eliminar borde del menú hamburguesa al hacer clic === */
.custom-toggler:focus,
.custom-toggler:active,
.custom-toggler:hover {
  outline: none !important;
  box-shadow: none !important;

}

.img-rounded {
  border-radius: 10px;
}




/* === Sección Why Choose Us === */
.why-choose-us {
  background-color: #FFD700;
  /* Fondo amarillo vibrante */
  padding: 2rem 0;
  /* Espaciado superior e inferior */
}

.container-choose {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  /* Espacio entre la imagen y el texto */
}

.image-container img {
  width: 100%;
  border-radius: 8px;
  /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Sombra suave */
}

.content-container {
  text-align: left;
  max-width: 600px;
  /* Ajusta según necesites */
}

.content-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.content-container p {
  font-size: 1.1rem;
  line-height: 1.6;
}




.image-container {
  width: 100%;
  height: 50vh;
  /* Altura igual a la mitad del alto de la pantalla */
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ajusta la imagen sin deformarla */
}

.image-container-instagram {
  width: 100%;
  height: 100%;
  /* Altura igual a la mitad del alto de la pantalla */
  overflow: hidden;
}

.image-container-instagram img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ajusta la imagen sin deformarla */
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  padding: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}


/* === Sección Hero con Parallax === */
.hero-image {
  position: relative;
  background-image: url('https://images.pexels.com/photos/696218/pexels-photo-696218.jpeg');
  background-size: cover;
  background-position: center;
  height: 100vh; /* Ajusta según necesites */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay para mejorar legibilidad del texto */
.hero-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fondo negro semi-transparente */
  z-index: 1;
}

/* Contenido del Hero */
.hero-image .container {
  position: relative;
  z-index: 2; /* Asegura que el texto esté encima del overlay */
  max-width: 800px;
  padding: 2rem;
}


.hero-image p {
  font-size: 1.2rem;
  color: #dcdcdc;
  margin-bottom: 2rem;
}


/* === Estilos generales del footer === */
.footer {
  background-color: #3da446; /* Azul claro */
  padding: 3rem 1rem;
}

/* === Logo del footer === */
.footer-logo {
  max-width: 200px; /* Ajusta según necesites */
  height: auto;
}

/* === Links de los brands === */
.footer-link {
  color: #0c71c3; /* Azul principal */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #095a9d; /* Azul más oscuro al hacer hover */
}



/* === Responsividad === */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 2rem;
  }

  .return-home-btn {
    display: block;
    margin: 0 auto;
  }
}



.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: none;
  /* Oculto por defecto */
  background-color: #27ae60;
  color: white;
  border: none;  
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.back-to-top:hover {
  background-color: #27ae60;
  transform: scale(1.1);
  text-decoration: none;
}
