/* Custom styles for Beaty Chiropractic Clinic */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #020617;
    color: #e2e8f0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

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

/* Reveal animations */
.reveal-on-scroll {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Mobile menu animations */
#mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Hover effects for cards */
.group:hover .group-hover\:translate-x-0 {
    transform: translateX(0);
}

/* Gold gradient text */
.text-transparent.bg-clip-text.bg-gradient-to-r.from-gold-400.via-gold-500.to-mint-400 {
    background: linear-gradient(135deg, #fbbf24, #d4af37, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
}

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

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Smooth transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Prevent layout shift */
img {
    max-width: 100%;
    height: auto;
}
