/* Custom styles and overrides */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B6B;
}

/* Reveal animation for scroll-triggered elements */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobileMenu.open {
    max-height: 300px;
}

/* Button focus states */
button:focus,
a:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Input focus states */
input:focus,
textarea:focus {
    outline: none;
}

/* Ensure all text meets WCAG AA contrast */
.text-charcoal-600 {
    color: #4a4a4a;
}

/* Subtle hover effects for cards */
.group:hover .group-hover\\:bg-coral-500 {
    background-color: #FF6B6B;
}

/* Hero image parallax effect */
@media (prefers-reduced-motion: no-preference) {
    header {
        background-attachment: fixed;
    }
}
