/* Animations */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes slide {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
}

/* Elemento decorativo - Versión responsive */

.logoDec {
  position: absolute;
  width: clamp(80px, 12vw, 160px); /* Tamaño responsive entre 80px y 160px */
  height: auto;
  z-index: 10;
  opacity: 0.8; /* Ligera transparencia para no competir con el contenido */
  transition: all 0.3s ease;

  /* Posicionamiento responsive */
  top: clamp(20px, 5vh, 50px);
  right: clamp(10px, 3vw, 20px);
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  .logoDec {
    width: 70px;
    opacity: 0.7;
    top: 15px;
    right: 10px;
  }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
  .logoDec {
    width: 60px;
    display: none; /* Opcional: ocultar en móviles muy pequeños */
  }
}
.limonDecorativo {
  position: absolute;
  bottom: -20%;

  width: 300px;
  height: auto;
  z-index: 99;
  rotate: -30deg;
}

.tituloIntro {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.2rem;
  max-width: 90%;
  text-align: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.371); /* verde con transparencia */
  padding: 20px 30px;
  border-radius: 100px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  animation: aparecerTitulo 1.5s ease-out forwards;
  opacity: 0;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: bold;
}

/* Animación suave */
@keyframes aparecerTitulo {
  0% {
    transform: translate(-50%, -60%);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
/* Tipografías mejoradas */
h1,
h2,
h3,
h4 {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}
.h2 .text-center mb-5 {
  color: #ffffff;
}
h2 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
}
.destinations h2 {
  color: #000;
}

h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
}

h3 {
  font-size: 2rem;
  color: var(--accent-red);
}

.photo-gallery h2 {
  color: #000 !important;
}

.featured-fruits h2 {
  font-family: "Merriweather", serif;
  font-style: italic;
  color: var(--primary-color);
}

.featured-fruits h2 span {
  color: var(--accent-red);
}

/* Contenedor de decoración dentro de la sección */
/* Contenedor de decoración */
.decoracion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.circulo {
  position: absolute;
  border-radius: 50%;
  animation: flotar-circulo 15s ease-in-out infinite;
  transition: transform 0.5s ease;
  pointer-events: none;
  z-index: 1;
  opacity: 0.2;
}

/* Posiciones variadas y tamaños distintos */
.circulo1 {
  top: 5%;
  left: 10%;
  width: 80px;
  height: 80px;
  opacity: 0.25;
}
.circulo2 {
  top: 20%;
  right: 10%;
  width: 60px;
  height: 60px;
  opacity: 0.3;
}
.circulo3 {
  bottom: 15%;
  left: 8%;
  width: 100px;
  height: 100px;
  opacity: 0.15;
}
.circulo4 {
  bottom: 10%;
  right: 20%;
  width: 70px;
  height: 70px;
  opacity: 0.2;
}
.circulo5 {
  top: 45%;
  left: 20%;
  width: 90px;
  height: 90px;
  opacity: 0.1;
}
.circulo6 {
  top: 35%;
  right: 25%;
  width: 50px;
  height: 50px;
  opacity: 0.35;
}
.circulo7 {
  bottom: 30%;
  left: 35%;
  width: 110px;
  height: 110px;
  opacity: 0.2;
}
.circulo8 {
  bottom: 8%;
  right: 5%;
  width: 40px;
  height: 40px;
  opacity: 0.3;
}
.circulo9 {
  top: 60%;
  left: 5%;
  width: 55px;
  height: 55px;
  opacity: 0.2;
}
.circulo10 {
  top: 15%;
  right: 35%;
  width: 95px;
  height: 95px;
  opacity: 0.25;
}
.circulo11 {
  bottom: 20%;
  left: 50%;
  width: 65px;
  height: 65px;
  opacity: 0.1;
}
.circulo12 {
  top: 70%;
  right: 15%;
  width: 75px;
  height: 75px;
  opacity: 0.18;
}

/* Animación suave de flotación */
@keyframes flotar-circulo {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Animación flotante suave */
@keyframes flotar-circulo {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Animación */
@keyframes flotar-circulo {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(10deg);
  }
}

/* Animación de flotación */
@keyframes flotar-circulo {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Decoraciones circulares */
.decoraciones-circulares {
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.circulo {
  position: absolute;
  border-radius: 50%;
  background: rgba(106, 200, 42, 0.1);
}

.circulo-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.circulo-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
}

/* Animaciones */
@keyframes flotar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .tituloIntro {
    font-size: 1.8rem;
  }

  .seccion-imagen-fondo {
    padding: 80px 0;
  }

  .decoracion {
    width: 80px;
  }
}

/* Estilos base mejorados */
.seccion-blanca {
  position: relative;
  overflow: visible; /* Cambiado de hidden a visible */
  min-height: 60vh; /* Asegura suficiente espacio */
  padding: 1rem 0; /* Espacio interno */
}

.floating-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Permite interactuar con elementos debajo */
  z-index: 0; /* Detrás del contenido pero sobre el fondo */
}

.circle {
  position: absolute;
  border-radius: 50%;

  opacity: 0.8;
  animation: float 12s infinite ease-in-out;
  transform-origin: center center;
  box-shadow: 0 0 20px rgba(34, 34, 34, 0);
}

/* Tamaños y posiciones mejoradas */

.circle-2 {
  width: 300px;
  height: 300px;
  top: -60%;
  left: 70%;
  animation-delay: 2s;
  background: radial-gradient(
    circle,
    rgba(199, 226, 181, 0.084) 0%,
    rgba(105, 200, 42, 0.253) 70%
  );
}
.circle-3 {
  width: 180px;
  height: 180px;
  top: 30%;

  left: 50%;
  animation-delay: 4s;
}
.circle-4 {
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(199, 226, 181, 0.084) 0%,
    rgba(88, 213, 5, 0.253) 70%
  );
  top: 20%;
  left: 15%;
  animation-delay: 1s;
}
.circle-5 {
  width: 200px;
  height: 200px;
  top: -150%;
  background: radial-gradient(
    circle,
    rgba(133, 196, 26, 0.084) 0%,
    rgba(170, 44, 44, 0.253) 70%
  );
  left: 80%;
  animation-delay: 0.9s;
}

/* Animación más suave */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  25% {
    transform: translateY(-30px) translateX(10px) scale(1.05);
  }
  50% {
    transform: translateY(20px) translateX(-15px) scale(0.95);
  }
  75% {
    transform: translateY(-15px) translateX(20px) scale(1.02);
  }
}
/* Animación de flotación */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

/* Imágenes decorativas - Estilos base */
.img-decorativa {
  position: absolute;
  width: auto;
  height: auto;
  max-width: 700%;
  z-index: 10;
  transition: all 0.5s ease;
}

/* Aguacate */
.decoracion-aguacate {
  position: absolute;
  top: 30%;
  left: -5%;
  width: 500px;
  rotate: 70deg;
}

/* Limón */
.decoracion-limon {
  position: absolute;
  bottom: 50%;
  right: -5%;
  width: 600px;
  rotate: 0deg;
  float: right;
}

@keyframes fancy-float {
  0% {
    transform: translateY(0) rotate(-40deg) scale(1);
  }
  25% {
    transform: translateY(-15px) rotate(-45deg) scale(1.05);
  }
  50% {
    transform: translateY(0) rotate(-35deg) scale(1);
  }
  75% {
    transform: translateY(-10px) rotate(-42deg) scale(1.03);
  }
  100% {
    transform: translateY(0) rotate(-40deg) scale(1);
  }
}

.img-decorativa {
  animation: fancy-float 8s ease-in-out infinite;
}

/* RESPONSIVE DESIGN */
/* Tablet */
@media (max-width: 992px) {
  .circle-1 {
    width: 180px;
    height: 180px;
    left: 3%;
  }
  .circle-2 {
    width: 250px;
    height: 250px;
    left: 65%;
  }
  .circle-4 {
    width: 220px;
    height: 220px;
  }

  .decoracion-aguacate,
  .decoracion-limon {
    width: 400px;
    top: 55%;
    right: 2%;
  }
  .decoracion-aguacate {
    width: 400px;
    top: 35%;
    left: -5%;
    rotate: 70deg;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .circle {
    display: none; /* Ocultamos círculos en móvil para no saturar */
  }

  .circle-1,
  .circle-2 {
    display: block;
    width: 120px;
    height: 120px;
  }

  .decoracion-aguacate {
    top: 5%;
    left: -12%;
    width: 100px;
    rotate: 70deg;
    display: none;
  }

  .decoracion-limon {
    top: 50%;
    right: -20%;
    width: 100px;
    display: none;
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
  .decoracion-aguacate,
  .decoracion-limon {
    width: 100px;
    opacity: 0.7;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}
/* Contenedor principal de decoraciones */
.decoraciones {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Estilos base para ambas decoraciones */
.decoracion-right,
.decoracion-left {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  max-width: 45%;
  height: auto;
  z-index: 1;
}

/* Decoración derecha */
.decoracion-right {
  right: -5%;
  width: 45%;
}

/* Decoración izquierda */
.decoracion-left {
  left: -5%;
  width: 45%;
}

/* Media Queries para responsive */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .decoracion-right,
  .decoracion-left {
    opacity: 0.35;
    max-width: 40%;
  }

  .decoracion-right {
    right: -4%;
  }

  .decoracion-left {
    left: -4%;
  }
}

/* Móviles (hasta 767px) - Versión visible */
@media (max-width: 767px) {
  .decoraciones {
    display: block !important; /* Fuerza a mostrar */
  }

  .decoracion-right,
  .decoracion-left {
    opacity: 0.3;
    max-width: 35%;
  }

  .decoracion-right {
    right: -3%;
  }

  .decoracion-left {
    left: -3%;
  }
}

/* Móviles pequeños (hasta 575px) */
@media (max-width: 575px) {
  .decoracion-right,
  .decoracion-left {
    opacity: 30;
    max-width: 30%;
  }

  /* Asegurar que sean visibles */
  .decoracion-right {
    right: -2%;
    display: block !important;
  }

  .decoracion-left {
    left: -2%;
    display: block !important;
  }
}
