/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 26 may 2025, 22:59:41
    Author     : Avril
*/

/* Estilo general de la página */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #e1f0f6, #e8f5e9);
    color: #333;
}


/* Créditos */
/* Contenedor de tarjetas */
.creditos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    z-index: 1;
}

/* Tarjetas */
.tarjeta {
    background: linear-gradient(135deg, #7b1fa2, #26a69a);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(38, 166, 154, 0.5);
    padding: 2rem;
    color: white;
    opacity: 1; /* Mostrarlas siempre */
    transform: none;
    transition: none;
}

.tarjeta-contenido {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Justificar texto */
.tarjeta-contenido .texto {
    flex: 1 1 50%;
    text-align: justify;
}

/* Imagen alineada al lado */
.tarjeta-contenido .imagen {
    flex: 1 1 40%;
    text-align: center;
}

.tarjeta-contenido .imagen img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: floatImage 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px #26a69a);
}

/* Zigzag automático: pares al revés */
.tarjeta:nth-child(even) .tarjeta-contenido {
    flex-direction: row-reverse;
}
.tarjeta-invertida .tarjeta-contenido {
    flex-direction: row !important;
}


/* Responsivo: en pantallas pequeñas apilar todo */
@media (max-width: 768px) {
    .tarjeta-contenido {
        flex-direction: column !important;
    }
    .tarjeta-contenido .texto,
    .tarjeta-contenido .imagen {
        flex: 1 1 100%;
    }
}


/* Hover ligero para tarjeta */
.tarjeta:hover {
    transform: translateY(-5px);
}

/* Títulos */
.tarjeta h2 {
    color: #e0f7f5;
    margin-bottom: 15px;
}

/* Listas */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

ul li::before {
    content: "✔";
    color: #e0f7f5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Botón WhatsApp */
.boton-whatsapp {
    display: block;
    background-color: #25D366;
    color: white;
    padding: 5px 25px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin: 10px auto 0;
    max-width: 350px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.boton-whatsapp:hover {
    transform: scale(1.05);
    background-color: #128C7E;
}

/* Animación imagen flotante */
@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Intro */
.introduccion {
    padding: 20px 20px;
    margin: 20px auto;
    max-width: 1100px;
    animation: fadeIn 1s ease forwards;
}

.intro-contenedor {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.intro-icono img {
    width: 140px;
    height: auto;
    animation: pulse 2s infinite;
}

.intro-texto {
    max-width: 1100px;
    text-align: justify;
}

.intro-texto h2 {
    font-size: 2.2em;
    color: #4a148c;
    margin-bottom: 15px;
}

.intro-texto p {
    font-size: 1.2em;
    line-height: 1.8;
    color: #333;
}

/* Animación entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación para ícono */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.video-cliente {
    padding: 40px 20px;
    text-align: center;
}

.video-cliente-contanedor {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.video-cliente-contanedor video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}
p {
  text-align: justify;
}
h4 {
  text-align: center;
}

/* BLOBS ANIMADOS PARA LA SECCIÓN DE CRÉDITOS */
.animated-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.creditos {
  position: relative;
  z-index: 2; /* Asegura que el contenido esté por encima */
}

.blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: moveBlob 15s ease-in-out infinite alternate,
             colorShift 10s ease-in-out infinite;
  mix-blend-mode: screen;
}

.blob1 {
  background: #773bf0; /* morado */
  top: 0%;
  left: 0%;
}

.blob2 {
  background: #6eeccd; /* aqua */
  top: 30%;
  left: 55%;
}

.blob3 {
  background: #ff6fcf; /* rosa */
  top: 60%;
  left: 25%;
}

@keyframes moveBlob {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50% 40%;
  }
  50% {
    transform: translate(40px, -30px) scale(1.2);
    border-radius: 60% 40% 55% 70%;
  }
  100% {
    transform: translate(-30px, 20px) scale(1.1);
    border-radius: 50% 60% 40% 50%;
  }
}

@keyframes colorShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
