/* Lydia Floyd Law Firm — Custom Styles */

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

/* Fade-in animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out both;
}

/* Staggered animation delays */
.animate-delay-100 { animation-delay: 100ms; }
.animate-delay-200 { animation-delay: 200ms; }
.animate-delay-300 { animation-delay: 300ms; }
.animate-delay-400 { animation-delay: 400ms; }

/* Header transition for scroll state */
#site-header {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Practice area card hover lift */
.group:hover {
    transform: translateY(-2px);
}

/* Dropdown transition fine-tuning */
.dropdown-menu {
    pointer-events: none;
}

.dropdown-menu.visible {
    pointer-events: auto;
}

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

/* Selection color */
::selection {
    background-color: rgba(194, 24, 91, 0.15);
    color: inherit;
}
