/* Custom styles for Southgate Medical Center */

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

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation-name: fadeIn;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.1);
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(2, 44, 34, 0.95);
    backdrop-filter: blur(20px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

::-webkit-scrollbar-track {
    background: #022c22;
}

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

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

/* Selection color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #f8fafc;
}

/* Form select styling */
select option {
    background: #064e3b;
    color: #f8fafc;
}

/* Gold shimmer on hover for buttons */
button:hover, a:hover {
    cursor: pointer;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}

/* Subtle gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f0d060 50%, #b08d1f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print styles */
@media print {
    nav, #contact-form, button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
