/* Custom styles for Andrea Lewis CPA */

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

/* Scroll reveal base - always visible, JS adds animation */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed.animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
}

/* Mobile menu animation */
#mobile-menu.open .menu-line:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}
#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu.open .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(4px, -4px);
    margin-left: auto;
}

/* Active nav link */
.nav-link-active {
    color: #102a43 !important;
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #d49a0f;
    border-radius: 1px;
}

/* Custom selection color */
::selection {
    background: #f6e0a0;
    color: #102a43;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Subtle hover lift for cards */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Ensure hero image doesn't shift layout */
img {
    max-width: 100%;
    height: auto;
}
