/* Custom Styles for Sarah Grewal, M.D. */

/* Color Palette */
:root {
    --burgundy-900: #581b2e;
    --burgundy-700: #8b2f4a;
    --burgundy-100: #fce4e8;
    --rose-50: #fff5f7;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-900: #1c1917;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-900);
}

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

/* Selection color */
::selection {
    background-color: var(--burgundy-100);
    color: var(--burgundy-900);
}

/* Navbar scroll effect */
.navbar-scrolled #nav-bg {
    opacity: 1;
}

/* Hover transitions for cards */
.group:hover .group-hover\:bg-burgundy-900 {
    background-color: var(--burgundy-900);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(139, 47, 74, 0.1);
}

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

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

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

.floating-card-delay {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.floating-card-delay-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 4s;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Print styles */
@media print {
    nav,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
