/* ==========================================
   Paul Jacobs — Custom Styles
   ========================================== */

/* Hero Grid Background */
.hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Slow Pulse Animation */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}
.animate-pulse-slow {
    animation: pulse-slow 6s ease-in-out infinite;
}

/* Animation Delay Utility */
.animation-delay-2000 {
    animation-delay: 2s;
}

/* Scroll Bounce Animation */
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
}
.animate-scroll-bounce {
    animation: scroll-bounce 2s ease-in-out infinite;
}

/* Glow hover effect for cards */
.glow-card {
    position: relative;
    overflow: hidden;
}
.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.03), transparent);
    transition: left 0.6s ease;
}
.glow-card:hover::before {
    left: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
    background: #1a1a25;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #22222f;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Selection color */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #fff;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Timeline ping animation — reduce motion */
@media (prefers-reduced-motion: reduce) {
    .animate-ping,
    .animate-pulse-slow,
    .animate-scroll-bounce,
    .animate-pulse {
        animation: none;
    }
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
