/* Toast Notification Styles */
#toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    min-width: 300px;
    backdrop-filter: blur(4px);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    background-color: rgba(34, 197, 94, 0.9);
    /* Green translucent */
}

.toast-error {
    background-color: rgba(239, 68, 68, 0.9);
    /* Red translucent */
}

/* Mobile Responsive Override */
@media (max-width: 768px) {


    /* Specific override for text containers if they are too narrow */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 95% !important;
    }

    /* Force text to use available width */
    p.text-lg,
    p.text-xl {
        width: 100%;
        max-width: 100%;
    }
}

/* Hero Overlay - Gradiente negro de arriba hacia abajo */
.hero-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 100%);
    z-index: 9;
    pointer-events: none;
}

/* Efecto de brillo amarillo recorriendo el texto */
.text-shimmer {
    background: linear-gradient(90deg,
            #ffffff 0%,
            #ffffff 40%,
            #facc15 50%,
            #ffffff 60%,
            #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Animaciones de scroll - elementos aparecen de derecha a izquierda */
.scroll-animate {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Delay escalonado para elementos en grid */
.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}