/* Custom styles for A Little Help - Home & Repair Services */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #fef9e7 100%);
}

/* Emerald gradient for buttons and CTAs */
.emerald-gradient {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Cream gradient for sections */
.cream-gradient {
    background: linear-gradient(135deg, #fffbf0 0%, #fef9e7 100%);
}

/* Text shadow for better readability */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Fade-in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

/* Image hover effect */
.img-hover {
    transition: transform 0.3s ease;
}

.img-hover:hover {
    transform: scale(1.02);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15);
}

/* Button focus states */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    nav,
    button,
    .mobile-menu {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
