/* ===== Custom Styles for Pulmonary & Critical Care Consultants ===== */

:root {
    --burgundy-700: #9a1e40;
    --burgundy-950: #3a0c15;
    --blush-50: #fff5f7;
}

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

/* Custom animation for floating cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(154, 30, 64, 0.08);
}

.navbar-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* Intersection Observer fade-in animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }
.fade-in-up.delay-4 { transition-delay: 0.4s; }

/* Selection color */
::selection {
    background: #f9cfd9;
    color: #6b1a34;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #9a1e40;
    outline-offset: 2px;
}

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

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

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

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

/* Image loading placeholder */
img {
    background-color: #fce7eb;
}

/* Print styles */
@media print {
    nav, #appointment-form, .animate-float, .animate-float-delayed {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
