/* Custom styles for Marann's Housekeeping */

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

/* Service card image hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 77, 101, 0.03) 0%, rgba(255, 202, 0, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(76, 37, 47, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-scrolled .nav-logo-text,
.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Mobile menu link hover */
.mobile-nav-link:hover {
    padding-left: 0.5rem;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(168, 77, 101, 0.1);
}

/* Hero parallax effect */
#hero {
    perspective: 10px;
}

#hero .absolute {
    will-change: transform;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    a,
    button {
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: rgba(168, 77, 101, 0.2);
    color: #4c252f;
}
