/* === Custom Styles for Christina Lampone Medical & Wellness === */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #faf0f6;
}
::-webkit-scrollbar-thumb {
    background: #db7fb2;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #962862;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(123, 45, 107, 0.08);
}

.nav-scrolled .nav-text {
    color: #4f1c43 !important;
}

.nav-scrolled .nav-link {
    color: rgba(79, 28, 67, 0.7) !important;
}

.nav-scrolled .nav-link:hover {
    color: #7B2D6B !important;
}

.nav-scrolled #line1,
.nav-scrolled #line2,
.nav-scrolled #line3 {
    background: #4f1c43 !important;
}

/* Mobile menu */
.mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(6) { transition-delay: 0.3s; }

/* Service cards */
.service-card {
    padding: 2rem;
    border-radius: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    background: rgba(250, 240, 246, 0.6);
    transform: translateY(-2px);
}

/* Approach steps */
.approach-step {
    padding: 1.5rem;
}

/* Scroll reveal animations — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Hero image hover */
.group:hover .aspect-\[4\/5\] img {
    transform: scale(1.02);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aspect-\[4\/5\] img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle line animations */
@keyframes drawLine {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

/* Button ripple effect on focus */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,0.05) inset !important;
    -webkit-text-fill-color: white !important;
}

/* Print styles */
@media print {
    nav, .scroll-indicator, #contact-form button {
        display: none;
    }
    body {
        color: #1a1a1a;
        background: white;
    }
}
