/* 
 * L & M Medical Group Custom Styles
 * Premium Dark Luxury Theme
 */

:root {
    --color-navy: #0f172a;
    --color-navy-light: #1e293b;
    --color-gold: #d4af37;
    --color-gold-light: #fcd34d;
    --color-gold-dark: #b45309;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-navy);
    color: #f8fafc;
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-navy);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden for animation */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Navbar Transition */
.nav-scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Gold Gradient Text Utility */
.text-gold-gradient {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    border-color: var(--color-gold);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Focus Styles for Accessibility */
a:focus, button:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Responsive Typography Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}
