/* Custom styles for Landers Power Washing */

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

/* Navigation transition */
.nav-text-color {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #b82847;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #fce7eb;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

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

/* Selection color */
::selection {
    background: #fce7eb;
    color: #6b1a2f;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

/* Print styles */
@media print {
    nav, #contact-form, .reveal[data-reveal] {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
