/* Custom styles for Geaux Pro Construction */

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

/* Scroll reveal base state — visible by default (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Scroll reveal animated state — only applied when JS runs */
@media (prefers-reduced-motion: no-preference) {
    .reveal.animated {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.animated.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(15, 76, 92, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F8FAFB;
}
::-webkit-scrollbar-thumb {
    background: #8FCCBA;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4FB396;
}

/* Selection color */
::selection {
    background: #C5E6DB;
    color: #0F4C5C;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid #0F4C5C;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Image aspect ratio fallbacks */
img {
    vertical-align: middle;
}
