/* Custom styles for Mike Robinson Handyman Services */

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

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7a2535;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(148, 48, 66, 0.2);
}

/* Button hover effects */
button,
a {
    transition: all 0.2s ease-in-out;
}

/* Image loading placeholder */
img {
    background-color: #f2dcd0;
}

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

/* Navbar scroll effect */
nav.scrolled {
    background-color: rgba(253, 246, 227, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Service card hover */
.group:hover .group-hover\:translate-y-1 {
    transform: translateY(-0.25rem);
}

/* Geometric decorations */
.geometric-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

/* Ensure proper spacing for fixed navbar */
body {
    padding-top: 96px;
}
