/* Custom styles for Quality Lawn Mowing */

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

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

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

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

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

/* Selection color */
::selection {
    background: #dc4d6a;
    color: white;
}

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

/* Floating card animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation for the live indicator */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-pulse {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #dc4d6a, #a42841);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Subtle hover lift effect for cards */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(220, 77, 106, 0.15);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.5s ease;
}

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

/* Nav scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Custom focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 77, 106, 0.2);
}

/* Reduced motion */
@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;
    }
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form input transitions */
input,
select,
textarea {
    transition: all 0.3s ease;
}

/* Button hover glow */
button:hover {
    box-shadow: 0 10px 30px rgba(220, 77, 106, 0.3);
}

/* Service card icon animation */
.group:hover .group-hover\\:bg-burgundy-200 {
    background-color: #f4a8b8;
}

.group:hover .group-hover\\:bg-sage-300 {
    background-color: #cecfc0;
}

.group:hover .group-hover\\:bg-blush-300 {
    background-color: #ffb3c7;
}

/* Testimonial card hover */
.bg-white\\/10:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

/* Footer link hover */
footer a:hover {
    color: white;
    text-decoration: none;
}
