/* --- Estilos base y configuración de fuente --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #e5e7eb;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Desplazamiento suave */
}

/* --- Estilo para esconder parte del Form --- */
#opciones-pdf {
  display: none;
}

/* --- Estilo para el texto con degradado --- */
.text-gradient {
    background-image: linear-gradient(to right, #fb923c, #f43f5e); /* from-orange-400 to-rose-500 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Cursor Personalizado --- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #fb923c; /* Naranja del degradado */
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    z-index: 9999;
}
.custom-cursor.hovered {
    width: 40px;
    height: 40px;
    background-color: rgba(251, 146, 60, 0.2);
}

/* --- Partículas de Fondo para el Hero --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* --- Animaciones de Entrada (On-Scroll) --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Clases de Retraso para Animaciones --- */
.delay-150ms { transition-delay: 150ms; }
.delay-200ms { transition-delay: 200ms; }
.delay-250ms { transition-delay: 250ms; }
.delay-300ms { transition-delay: 300ms; }
.delay-350ms { transition-delay: 350ms; }
.delay-400ms { transition-delay: 400ms; }
.delay-500ms { transition-delay: 500ms; }
.delay-600ms { transition-delay: 600ms; }


/* --- Estilo para el header al hacer scroll --- */
.header-scrolled {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* --- Estilos para el Lightbox --- */
#lightbox {
    transition: opacity 0.3s ease;
    opacity: 0;
}
#lightbox.active {
    opacity: 1;
}
.portfolio-image {
    transition: transform 0.3s ease;
}
.portfolio-image:hover {
    transform: scale(1.05);
}

/* --- Estilos para Boton WhatsApp --- */
.whatsapp_button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: transform 0.3s ease-in-out;
}

.whatsapp_button img {
    width: 100%;
    height: auto;
}

.whatsapp_button:hover {
    transform: scale(1.1);
}

/* --- Optimización de Animaciones para Móviles --- */
@media (max-width: 768px) {
    .reveal {
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .delay-150ms, .delay-200ms, .delay-250ms, .delay-300ms, .delay-350ms, .delay-400ms, .delay-500ms, .delay-600ms {
        transition-delay: 0s;
    }
}