/* Custom Styles for Robert Barnes Handy Man */

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

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

.scroll-reveal.animated {
    opacity: 0;
    transform: translateY(30px);
}

/* Geometric Decorations */
.geo-shape {
    position: absolute;
    z-index: 0;
}

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

::-webkit-scrollbar-track {
    background: #fdf4f6;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #84213c;
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #a52748 !important;
    box-shadow: 0 0 0 3px rgba(165, 39, 72, 0.1);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

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

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar Scroll State */
.nav-scrolled #nav-bg {
    display: block;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
