/* Custom styles for Synergy Spine and Injury Clinic */

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

/* Selection color */
::selection {
    background: rgba(200, 168, 78, 0.3);
    color: #0a1628;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #c8a84e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8983e;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #c8a84e;
    outline-offset: 2px;
}

/* Form input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover effects */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200, 168, 78, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-1px);
}

/* Mobile menu backdrop */
#mobile-overlay {
    backdrop-filter: blur(4px);
}

/* Hero image gradient overlay */
.hero-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(10, 22, 40, 0.15));
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.hero-img-wrapper img {
    position: relative;
    z-index: 0;
}

/* Nav link underline animation */
nav a:not(.btn-primary):hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c8a84e;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #mobile-overlay { display: none; }
    body { color: #000; background: #fff; }
}
