/* Custom styles for Higgins Family Chiropractic */

:root {
    --charcoal: #2C3E50;
    --charcoal-light: #5D6D7E;
    --coral: #E74C3C;
    --cream: #FDF8F5;
    --warm-gray: #F5F0EB;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background-color: var(--cream);
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

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

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

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

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral);
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}

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

/* Form focus styles */
input:focus, textarea:focus {
    border-color: var(--coral) !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

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

#mobile-menu.active {
    max-height: 300px;
}

/* Service card hover effect */
.group:hover .group-hover\:bg-coral {
    background-color: var(--coral);
}

.group:hover .group-hover\:text-white {
    color: white;
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, button {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .bg-coral, .bg-charcoal {
        background: none !important;
        color: black !important;
        border: 1px solid black;
    }
}
