/* Custom styles for Victoria Primary Care Associates */

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

/* Base styles */
body {
    background-color: #1A0A17;
    color: #ffffff;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #fcd34d 0%, #D4A017 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #1A0A17;
}

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

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

/* Input autofill styling for dark theme */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0d0510 inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Focus visible styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
}

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

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

/* Gold shimmer effect for special elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer-text {
    background: linear-gradient(
        90deg,
        #fcd34d 0%,
        #D4A017 25%,
        #fcd34d 50%,
        #D4A017 75%,
        #fcd34d 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Subtle pulse for status indicators */
@keyframes softPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.animate-soft-pulse {
    animation: softPulse 2s ease-in-out infinite;
}

/* Card hover glow effect */
.glow-hover:hover {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.1);
}

/* Hero text animation - only for below fold or reduced motion safe */
@media (prefers-reduced-motion: no-preference) {
    .hero-fade-in {
        animation: heroFadeIn 1s ease-out forwards;
    }
    
    .hero-fade-in-delay {
        animation: heroFadeIn 1s ease-out 0.2s forwards;
        opacity: 0;
    }
    
    .hero-fade-in-delay-2 {
        animation: heroFadeIn 1s ease-out 0.4s forwards;
        opacity: 0;
    }
}

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

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none;
    }
}
