/* Custom Styles for Peppertree Apartments */

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

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

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

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

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(250, 251, 249, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Fade In Animation for Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation Delays */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #4a7c4b;
    outline-offset: 2px;
}

/* Form Focus States */
input:focus,
textarea:focus {
    border-color: #4a7c4b !important;
    box-shadow: 0 0 0 3px rgba(74, 124, 75, 0.1) !important;
}
