/* 
 * MSA Orthopedics - Premium Dark Luxury Theme
 * Custom styles for typography, animations, and layout
 */

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

body {
    background-color: #020617; /* Navy 900 */
    color: #cbd5e1; /* Slate 300 */
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}

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

/* Reveal Animations */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Navbar Glass Effect */
.nav-scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Gold Gradient Text Utility */
.text-gold-gradient {
    background: linear-gradient(to right, #fcd34d, #d4af37, #b4941f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Map Invert Filter for Dark Mode */
/* The iframe uses a CSS filter to invert colors for dark mode compatibility */
iframe[src*="google.com/maps"] {
    filter: invert(90%) hue-rotate(180deg) brightness(0.8) contrast(1.1);
}
