/* Custom styles for Mello Motion Chiropractic */

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

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

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

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hero parallax effect */
#hero {
    background-attachment: fixed;
}

/* Service card hover effect */
.group:hover .w-16 {
    transform: scale(1.1) rotate(5deg);
}

.w-16 {
    transition: transform 0.3s ease;
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(232, 93, 42, 0.2);
}

/* Testimonial card hover */
.bg-white:hover {
    transform: translateY(-4px);
}

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

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

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

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

/* Pulse animation for CTA buttons */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(232, 93, 42, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(232, 93, 42, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(232, 93, 42, 0);
    }
}

.btn-pulse {
    animation: pulse-ring 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero {
        background-attachment: scroll;
    }
    
    .font-serif {
        font-size: 2.5rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
