/* Custom Styles for Good Samaritan Regional Health Center */

/* Base Reset & Typography */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f1115;
    color: #d1d5db;
}

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

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

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

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

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Gradient Text Utility */
.text-gradient {
    background: linear-gradient(135deg, #ff7f5f 0%, #ff6347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #ff6347;
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.1);
}

/* Card Hover Effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gold Accent */
.text-gold {
    color: #d4af37;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
