/* ===================================
   RanchoWest Clinic - Custom Styles
   Premium Dark Luxury Theme
   =================================== */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: #020617;
}

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

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

/* Selection Color */
::selection {
    background: rgba(45, 212, 191, 0.2);
    color: #5eead4;
}

/* Navbar Transition */
#navbar {
    background: transparent;
    transition: all 0.5s ease;
}

#navbar.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
}

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Input Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2dd4bf !important;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

/* Button Hover Effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Mobile Menu */
#mobile-menu {
    backdrop-filter: blur(20px);
}

#mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Gold Accent Line */
.gold-line {
    background: linear-gradient(90deg, #fbbf24, transparent);
}

/* Mint Glow Effect */
.mint-glow {
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.2);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
}

/* 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;
    }
}

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