/* ============================================
   ESTILOS PRINCIPALES - DVS360
   ============================================ */

/* Configuración base del cuerpo */
body {
    background-color: #0f172a;
    color: #f8fafc;
    overflow-x: hidden;
    perspective: 1000px; /* Esencial para efectos 3D */
}

/* Barra de desplazamiento personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #00e7ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00b0c2;
}

/* Texto con gradiente */
.text-gradient {
    background: linear-gradient(to right, #00e7ff, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tarjetas con efecto glassmorphism */
.glass-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 231, 255, 0.5);
    box-shadow: 0 10px 30px -10px rgba(0, 231, 255, 0.3);
}

/* Contenedor de marquesina para tecnologías */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Animaciones de revelación al hacer scroll */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.9); }

.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delays para animaciones */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* Estilos para tabs */
.tab-panel {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ICONO FLOTANTE DE WHATSAPP
   ============================================ */

/* Botón flotante de WhatsApp fijo en la esquina inferior derecha */
/* Se usa !important para asegurar que los estilos no sean sobrescritos por otros CSS */
/* El elemento debe estar directamente en el body para funcionar correctamente */
body > .whatsapp-float,
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important; /* Color verde oficial de WhatsApp */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
    z-index: 99999 !important; /* Z-index muy alto para estar por encima de todo */
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 32px !important;
    animation: pulse-whatsapp 2s ease-in-out infinite !important;
    pointer-events: auto !important; /* Asegurar que sea clickeable */
    visibility: visible !important; /* Asegurar que sea visible */
    opacity: 1 !important; /* Asegurar opacidad completa */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Efecto hover para el botón de WhatsApp */
.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6) !important;
    background-color: #20BA5A !important; /* Verde más oscuro al hacer hover */
}

/* Animación de pulso para llamar la atención */
@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* Responsive: ajustar tamaño en dispositivos móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px !important;
        height: 56px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 28px !important;
    }
}

