/* Custom styles for Backwoods Services LLC */

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

/* Navbar styles */
.nav-text {
    color: rgb(127, 29, 79);
}

.nav-scrolled .nav-text {
    color: rgb(102, 24, 67);
}

/* Mobile menu link styles */
.mobile-link {
    color: rgb(127, 29, 79);
}

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

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

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

::-webkit-scrollbar-track {
    background: rgb(253, 244, 248);
}

::-webkit-scrollbar-thumb {
    background: rgb(219, 39, 119);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(190, 24, 93);
}

/* Form input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, rgb(253, 244, 248) 25%, rgb(251, 207, 212) 50%, rgb(253, 244, 248) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    
    .scroll-reveal.hidden {
        opacity: 1;
        transform: none;
    }
    
    img {
        animation: none;
    }
    
    .group:hover img {
        transform: none;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Print styles */
@media print {
    nav,
    .scroll-reveal,
    button,
    form {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
