:root {
  --primary-color: #01cc01;
  --secondary-color: #add447;
  --accent-red: #a3c783;
  --accent-pink: #f9f9f9;
  --accent-orange: #82d138;
  --text-green: #6ac82a;
  --white: #ffffff;
}

body {
  font-family: "Roboto", sans-serif;
  color: #333;
  padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: "Roboto", sans-serif;
  color: #333;
  padding-top: 80px;
}

/* Header - Versión optimizada sin transparencia */
header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important; /* Sombra visible */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: white !important; /* Fuerza el fondo blanco */
}

.navbar-solid {
  background-color: white !important;
  transition: none !important; /* Elimina cualquier transición */
}
/* Logo y marca */
.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand .logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  margin-left: 10px;
  color: #ffffff;
}

.logo-img {
  height: auto;
  width: 4px;
  max-height: 60px;
  transition: all 0.3s ease;
}

/* Menú desplegable móvil - Fondo sólido */
.navbar-collapse {
  background-color: #ffffff !important; /* Fondo blanco para el menú móvil */
  padding: 15px;
  margin-top: 10px; /* Separación del borde superior */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
}

/* Enlaces de navegación */
.nav-link {
  font-weight: 300;
  margin: 0 10px;
  position: relative;
  color: #000000 !important;
  padding: 8px 0 !important;
  font-family: "Urbanist", sans-serif;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color, #6ac82a);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color, #6ac82a) !important;
}

/* Efecto hero */
.hero-section h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgb(255, 255, 255);
  margin-bottom: 1rem;
}

/* Media Queries para responsive */
@media (max-width: 992px) {
  .logo-img {
    width: 80px;
    max-height: 80px;
  }

  .navbar-brand .logo-text {
    font-size: 1.2rem;
  }

  .nav-link {
    margin: 5px 0;
    padding: 5px 0 !important;
    color: #333 !important; /* Color oscuro para mejor legibilidad en móvil */
  }

  /* Asegurar que el menú móvil tenga buen contraste */
  .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}
.navbar {
  min-height: 60px !important;
  background-color: rgb(255, 255, 255) !important;
}

.logo-img {
  width: 100px !important;
}

.nav-link {
  padding: 0.3rem 0.6rem !important;
  font-size: 0.9rem !important;
}

@media (max-width: 992px) {
  .navbar {
    max-height: 200px !important;
  }

  .logo-img {
    width: 120px !important;
    height: 200px;
    translate: 90%;
  }
  .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
    translate: -40%;
  }
}

/*botones es y en */

.language-dropdown {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ced4da;
  color: #000;
}

.language-dropdown::after {
  margin-left: 5px;
}

.dropdown-item {
  display: flex;
  align-items: center;
}

.flag-icon {
  width: 20px;
  margin-right: 8px;
}

/* Imagen de fondo completa */
.seccion-imagen-fondo {
  background: url("../img/cartasFotos/fondo.jpeg") center center/cover no-repeat;
  height: 90vh;
  position: relative;

  z-index: 0;
}

/* Contenedor del video */
.contenedor-video {
  position: relative;
  width: 100%;
  margin: 0; /* Elimina márgenes no deseados */
  padding: 0; /* Elimina relleno no deseado */
  display: flex;
  justify-content: center;
  align-items: center; /* Centra verticalmente si es necesario */
  margin-top: -120px; /* Ajusta este valor según necesites */
  z-index: 5;
}

.contenedor-video video {
  width: 80%;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: none; /* Elimina sombra si no es necesaria */
  border: none; /* Elimina borde si no es necesario */
  display: block;
  object-fit: cover; /* Evita espacios vacíos en el video */
}

/* Contenedor de contenido principal */
.contenido {
  position: relative;
  z-index: 2; /* Asegura que el contenido esté sobre las decoraciones */
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Sección blanca posterior */
.seccion-blanca {
  position: relative;
  background-color: white;
  padding: 80px 15px;
  text-align: center;
  overflow: hidden; /* Previene que los elementos hijos causen scroll */
  width: 100%;
  box-sizing: border-box;
}

/* Watermark de fondo optimizado */
.logo-watermark-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(0%, 50%);
  z-index: 0;
  width: 100%;
  text-align: center;
}

.watermark-logo {
  opacity: 2;
  max-width: 200px;
  width: 20%;
  height: auto;
}

/* Decoraciones de frutas */

.seccion-blanca h2 {
  font-size: 2.5rem;
  color: #01cc01;
  margin-bottom: 1rem;
}

.seccion-blanca p {
  font-size: 1.2rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}

.btn-sobre-nosotros {
  background-color: #01cc01;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 12px rgba(1, 204, 1, 0.25);
  font-weight: 600;
}

.btn-sobre-nosotros:hover {
  background-color: #00a600;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(1, 204, 1, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #00b300;
  border-color: #00b300;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Estilos para sección libre */
.seccion-frutas-libre {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden; /* Esto previene scroll horizontal */
}

.contenedor-limon,
.contenedor-aguacate {
  position: relative;
  padding: -3rem 0;
}

/* Imágenes con efecto libre */
.imagen-fruta-libre {
  max-height: 500px;
  width: auto;
  filter: drop-shadow(0 20px 15px rgba(0, 0, 0, 0.1));
  transition: all 0.5s ease;
  z-index: 1;
  position: relative;
}
/* Contenedor de la sección con posición relativa para contener las decoraciones */
.seccion-frutas-libre {
  position: relative;
  overflow: hidden; /* Esto evita que las decoraciones se salgan de la sección */
}

/* Estilos para el contenedor de decoraciones */
.decoraciones2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  z-index: 0; /* Asegura que esté detrás del contenido */
  pointer-events: none; /* Permite hacer clic a través de las imágenes */
}

/* Estilos base para las decoraciones */
.decoraciones2 img {
  opacity: 40%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 100%;
}

.decoracion-right {
  right: -30px;
  width: 45%;
  max-width: 500px;
}

.decoracion-left {
  left: -10px;
  width: 45%;
  max-width: 500px;
}

/* Asegúrate que el contenido de la sección tenga un z-index mayor */
.contenedor-limon,
.contenedor-aguacate,
.text-center {
  position: relative;
  z-index: 1;
}

/* Ajustes para tablets */
@media (max-width: 992px) {
  .decoracion-right,
  .decoracion-left {
    width: 40%;
    opacity: 30%;
    margin-top: -20%;
  }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .decoracion-right,
  .decoracion-left {
    width: 30%;
    opacity: 20%;
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 576px) {
  .decoracion-right,
  .decoracion-left {
    display: none; /* Ocultar completamente en móviles pequeños */
  }
}
/* Ajuste específico para el aguacate - movido más a la derecha */
.contenedor-aguacate .imagen-fruta-libre {
  margin-left: 15%;
}

/* Textos */
.texto-fruta-libre {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 2rem;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.titulo-fruta-libre {
  font-family: "Poppins", sans-serif;
  color: #2e7d32;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.titulo-fruta-libre:hover {
  color: #1b5e20;
}

.descripcion-fruta {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  max-width: 400px;
}

/* Animaciones de flotación */
.flotar-limon {
  animation: flotar-limon 6s ease-in-out infinite;
  transform-origin: center 70%;
}

.flotar-aguacate {
  animation: flotar-aguacate 7s ease-in-out infinite 0.5s;
  transform-origin: center 80%;
}

@keyframes flotar-limon {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes flotar-aguacate {
  0%,
  100% {
    transform: translateY(0) rotate(3deg) scale(1);
  }
  50% {
    transform: translateY(-25px) rotate(-3deg) scale(1.05);
  }
}

/* Efectos hover */
.imagen-fruta-libre:hover {
  transform: scale(1.05); /* Suaviza un poco el efecto */
  filter: drop-shadow(0 25px 20px rgba(0, 0, 0, 0.15));
  /* Ya NO pausamos la animación */
}

/* Fondos orgánicos */
.contenedor-limon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(234, 255, 200, 0.3) 0%,
    transparent 70%
  );
  z-index: 0;
}

.contenedor-aguacate::after {
  content: "";
  position: relative;
  bottom: 0;
  right: -10%; /* Ajustado para coincidir con la nueva posición */
  width: 80%; /* Aumentado para cubrir más área */
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(200, 255, 210, 0.3) 0%,
    transparent 70%
  );
  z-index: 0;
}
.contenedor-aguacate .row > .col-lg-6:last-child {
  position: relative;
  left: 50px; /* Mueve solo la imagen, no el contenedor */
  max-width: calc(100% - 50px); /* Previene desbordamiento */
}
/* Ajuste para mover texto del aguacate */
.contenedor-aguacate .texto-fruta-libre {
  transform: translateX(40%); /* Mueve el texto a la izquierda */
  padding-right: 30px; /* Compensa el movimiento */
}
.contenedor-limon .texto-fruta-libre {
  transform: translateX(-40px); /* Mueve a la izquierda */
  padding-left: 20px; /* Espaciado interno opcional */
}

/* Ajuste para imagen de aguacate */
.contenedor-aguacate .imagen-fruta-libre {
  transform: translateX(50px); /* Mueve imagen a derecha */
}

/* Asegurar que no cause desbordamiento */
.contenedor-aguacate .row {
  overflow: hidden;
}

@media (max-width: 992px) {
  .contenedor-limon,
  .contenedor-aguacate {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /* Prevenir scroll horizontal en toda la página */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .texto-fruta-libre {
    padding: 1rem;
    margin: 0 auto;
    max-width: 90%;
    backdrop-filter: none;
    text-align: center;
    transform: none !important; /* Este es clave */
  }

  .imagen-fruta-libre {
    max-height: 200px;
    margin: 2rem auto;
    display: block;
    animation: flotar-aguacate 7s ease-in-out infinite;
  }

  .contenedor-aguacate::after {
    right: -20%;
    width: 50%;
  }
}

.btn-mas-informacion {
  background-color: #35de35;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 8px 15px rgba(1, 204, 1, 0.2);
  font-weight: bold;
  transform: translateY(-10px); /* subir botón */
}

.btn-mas-informacion:hover {
  transform: translateY(-15px) scale(1.05); /* sube más en hover */
  box-shadow: 0 12px 20px rgba(1, 204, 1, 0.4);
  background-color: #00b300;
  color: white;
}

/* Image Carousel */
.carousel-item {
  height: 500px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.441);
  padding: 15px;
  border-radius: 70px;
}

/* Photo Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(171, 170, 170, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.overlay .text {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:hover .overlay .text {
  transform: translateY(0);
}

/* Estilo para el botón de procesos */
.btn-procesos {
  background-color: #6ac82a;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(106, 200, 42, 0.3);
  font-family: "Urbanist", sans-serif;
  font-size: 1.1rem;
}

.btn-procesos:hover {
  background-color: #5ab025;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(106, 200, 42, 0.4);
}

/* Tablet (768px - 992px) */
@media (max-width: 992px) {
  .btn-mas-informacion {
    padding: 0.65rem 1.75rem;
    font-size: 1.1rem;
    transform: translateY(-8px);
  }

  .btn-mas-informacion:hover {
    transform: translateY(-12px) scale(1.05);
  }

  /* Prevenir scroll horizontal en toda la página */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }
}

/* Móvil grande (576px - 767px) */
@media (max-width: 767px) {
  .btn-mas-informacion {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    transform: translateY(-5px);
    white-space: normal; /* Permite que el texto se ajuste */
    line-height: 1.3;
  }

  .btn-mas-informacion:hover {
    transform: translateY(-8px) scale(1.03);
  }
}

/* Móvil pequeño (hasta 575px) */
@media (max-width: 575px) {
  .btn-mas-informacion {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    transform: none;
    box-shadow: 0 6px 12px rgba(1, 204, 1, 0.2);
    width: 90%; /* Ocupa casi todo el ancho */
    max-width: 280px; /* Pero con un máximo */
    margin: 0 auto; /* Centrado */
    display: block; /* Para que ocupe su propia línea */
  }

  .btn-mas-informacion:hover {
    transform: translateY(-3px) scale(1.02);
  }
  /* Prevenir scroll horizontal en toda la página */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }
}

.btn-procesos i {
  transition: transform 0.3s ease;
}

.btn-procesos:hover i {
  transform: rotate(30deg);
}

/* Benefits */
.benefits {
  background-color: var(--primary-color);
  color: white;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

/* Estilos para la lista de destinos */
.destination-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.destination-item {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  padding: 10px 15px;
  border-radius: 30px; /* Más redondeado */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 160px; /* Ancho mínimo para uniformidad */
  flex: 1 1 auto; /* Crecimiento flexible */
}

.destination-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Círculos con banderas */
.flag-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  margin-right: 10px;
  flex-shrink: 0; /* Evita que se encoja */
}
.flag-img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Mejor para banderas */
}

/* Estilos del mapa */
.map-container {
  height: 100%;
  display: flex;
  align-items: center; /* Centrado vertical */
}

.map-container img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}
.destinations .lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1.5rem !important;
  font-family: "Quicksand", sans-serif;
}

/* Responsive para tablets */
@media (max-width: 992px) {
  .destination-list-container {
    gap: 10px;
  }

  .destination-item {
    padding: 8px 12px;
    min-width: 140px;
    font-size: 0.9rem;
  }

  .flag-circle {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  .flag-img {
    width: 85%;
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .destination-list-container {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 8px;
  }

  .destination-item {
    min-width: auto;
    padding: 6px 10px;
    font-size: 0.85rem;
    justify-content: center;
  }

  .flag-circle {
    width: 28px;
    height: 28px;
  }

  .flag-img {
    width: 85%;
  }
}
/* CTA Contacto - estilo tranquilo y profesional */
.cta-contact {
  background-color: #dff4df; /* Verde muy claro */
  color: #2e7d32; /* Verde oscuro para el texto */
  padding: 2rem 0;
}

.cta-contact h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2e7d32; /* Aseguramos contraste */
  margin-bottom: 1rem;
  font-family: quicksand, sans-serif; /* Fuente amigable */
}

.cta-contact p {
  font-size: 1.2rem;
  color: #4b654e;
  padding: 2rem rem; /* Aumenta el espacio inferior */
}

/* Botón personalizado */
.cta-contact .btn {
  background-color: #01cc01;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 8px 15px rgba(1, 204, 1, 0.2);
  font-family: quicksand, sans-serif; /* Fuente amigable */
  font-weight: 600;
}

.cta-contact .btn:hover {
  background-color: #00b300;
  box-shadow: 0 12px 20px rgba(1, 204, 1, 0.4);
  transform: scale(1.05);
}

/* Estilos optimizados para alineación */
.footer-title {
  min-height: 72px; /* Altura fija para los títulos */
  display: flex;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.footer-logo-container {
  min-height: 60px; /* Misma altura que los títulos */
  display: flex;
  align-items: flex-end;
}

.footer-logo {
  height: 150px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.hover-green {
  transition: all 0.3s ease;
}

.hover-green:hover {
  color: #6ac82a !important;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #6ac82a;
}

.contact-list li {
  transition: transform 0.3s ease;
}

.contact-list li:hover {
  transform: translateX(5px);
}

.contact-icon {
  transition: transform 0.3s ease;
}

.contact-list li:hover .contact-icon {
  transform: scale(1.1);
}

@media (max-width: 767.98px) {
  .footer-title {
    min-height: auto;
    justify-content: center;
    text-align: center;

    font-family: quicksand, sans-serif;
  }

  .footer-logo {
    height: 100px;
    margin: 0 auto 15px;
    translate: -150px;
  }

  .contact-list li {
    justify-content: center;
    transform: translateX(0px);
  }
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    transform: translatex(200%);
  }

  .social-icons a:hover {
    background-color: #6ac82a;
  }
}
/* Baja toda la sección de Enlaces Rápidos */
.col-md-12.col-lg-4.mt-4.mt-lg-0 {
  margin-top: 19px !important; /* Ajusta este valor */
}

/* Asegura que en móvil no se desalinee */
@media (max-width: 767.98px) {
  .col-md-12.col-lg-4.mt-4.mt-lg-0 {
    margin-top: 20px !important;
  }
}

/* Animaciones mejoradas */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-float {
  animation: float 8s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 6s ease infinite;
}

.animate-rotate {
  animation: rotate 20s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .carousel-item {
    height: 300px;
  }
}
body {
  overflow-x: hidden;
}

.main-sections-container {
  position: relative;
  isolation: isolate; /* Crea nuevo contexto de apilamiento */
}

.logo-watermark-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/img/logo2.png") center/contain no-repeat;
  opacity: 20%;
  z-index: -1; /* Lo envía al fondo */
  pointer-events: none;
}

/* Ajuste para imágenes de la galería */

/* Estilos base para las decoraciones */
.decoraciones img {
  opacity: 40%;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  max-width: 100%;
  pointer-events: none; /* Permite hacer clic a través de las imágenes */
}

.decoracion-right {
  right: -30px;
  width: 45%;
  max-width: 500px; /* Ancho máximo para pantallas grandes */
}

.decoracion-left {
  left: -10px;
  width: 45%;
  max-width: 500px; /* Ancho máximo para pantallas grandes */
}

/* Ajustes para tablets */
@media (max-width: 992px) {
  .decoracion-right,
  .decoracion-left {
    width: 0%;
    opacity: 30%;
    margin-top: -20%;
  }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .decoracion-right,
  .decoracion-left {
    width: 0%;
    opacity: 0.3%;
    z-index: 0;
    margin-top: 0px;
  }
}

/* Pantallas muy pequeñas (ocultar o reducir más) */
@media (max-width: 576px) {
  .decoracion-right,
  .decoracion-left {
    width: 0%;
    opacity: 0%;
    margin-top: -39%;
  }

  /* Opcional: ocultar completamente en móviles muy pequeños */
  /* display: none; */
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  /* Oculta o ajusta elementos decorativos en móviles */
  .decoracion-right,
  .decoracion-left {
    display: none;
  }

  /* Ajusta el padding para evitar desbordamiento */
  .seccion-blanca,
  .seccion-frutas-libre {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Asegura que las imágenes animadas no se salgan */
  .imagen-fruta-libre {
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }

  /* Ajusta los contenedores de texto */
  .texto-fruta-libre {
    width: 90%;
    margin: 0 auto;
    transform: none !important;
  }
}

/* Estilos para el fondo del logo */
.logo-watermark2-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Detrás del contenido pero delante del body */
  pointer-events: none; /* Permite interactuar con elementos debajo */
  display: flex;
  justify-content: center;
  align-items: center;
}

.watermark2-logo {
  width: 30%;
  max-width: 300px;
  opacity: 0.3; /* Ajusta esta valor para la transparencia deseada */
  animation: pulse 8s infinite ease-in-out;
}

/* Animación sutil para el watermark */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Estilos responsivos para el carrusel */
.image-carousel {
  position: relative;
  z-index: 1; /* Asegura que esté sobre el watermark */
}

.carousel-item {
  height: 60vh;
  min-height: 400px;
  max-height: 800px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 20px;
  bottom: 20%;
}

/* Media queries para responsive */
@media (max-width: 992px) {
  .watermark2-logo {
    width: 40%;
    opacity: 0.2;
  }

  .carousel-item {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .watermark2-logo {
    width: 50%;
    opacity: 0.15;
  }

  .carousel-item {
    height: 45vh;
    min-height: 300px;
  }

  .carousel-caption {
    bottom: 15%;
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .watermark2-logo {
    display: none; /* Opcional: ocultar en móviles */
  }

  .carousel-item {
    height: 40vh;
    min-height: 250px;
  }

  .carousel-caption {
    bottom: 10%;
    padding: 10px;
  }

  .carousel-caption h5 {
    font-size: 1rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
    display: none; /* Opcional: ocultar texto en móviles pequeños */
  }
}
