/* Estilos personalizados adicionales a Tailwind */

/* --- FUENTES Y ESTILOS BASE --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

a, button {
    transition: all 0.3s ease;
}

/* --- ANIMACIONES --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clases de utilidad para animación */
.hero-logo {
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-title {
    animation: fadeInDown 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 1s;
    animation-fill-mode: both;
}

.hero-button {
    animation: fadeInUp 1s ease-out 1.4s;
    animation-fill-mode: both;
}


/* --- COMPONENTES --- */

/* Efecto de vidrio para el navbar */
.glass-nav {
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* La regla .hero-section ha sido eliminada de aquí */

/* Estilos para el formulario de contacto */
#contactForm input:focus, #contactForm textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.6); /* Color slate-400 con opacidad */
    border-color: rgba(148, 163, 184, 0.8);
}

/* Notificación de formulario (reemplazo de alert) */
.notification-toast {
    position: fixed;
    bottom: -100px; /* Inicia fuera de la pantalla */
    left: 50%;
    transform: translateX(-50%);
    background-color: #2dd4bf; /* Color verde azulado brillante */
    color: #0a192f; /* Texto oscuro para contraste */
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
}

.notification-toast.show {
    bottom: 30px; /* Se desliza hacia arriba */
}

/* Animación de entrada */
@keyframes fadeInUpScroll {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUpScroll 0.8s ease-out forwards;
}
