/* Custom styles that extend Tailwind */

/* Smooth focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #be185d;
    color: #fffbeb;
}

/* Navbar transition helper */
#navbar.scrolled {
    background: rgba(2, 6, 2, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* Hero image parallax-like subtle movement */
#hero .relative > div:first-child {
    will-change: transform;
}

/* Card hover lift effect */
section #experience .group {
    will-change: transform, box-shadow;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}
