/* Lumley Services - Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #ecfdf5;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Selection color */
::selection {
    background: #047857;
    color: #fefdf8;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(4, 120, 87, 0.08);
}

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

#hero {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pulse animation for badge */
@keyframes softPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Service card hover glow */
.group:hover .w-14 {
    box-shadow: 0 0 30px rgba(4, 120, 87, 0.3);
}

/* Form input focus animation */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15);
}

/* Testimonial card hover */
#testimonials .bg-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(4, 120, 87, 0.12);
}

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

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

/* Back to top button transition */
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#back-to-top:not(.visible) {
    transform: translateY(16px);
}

/* Print styles */
@media print {
    nav, #back-to-top, #contact-form, .reveal-on-scroll {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
