/* Custom Styles for Pediatric Heart Specialists */

:root {
    --charcoal: #2C3E50;
    --charcoal-light: #5D6D7E;
    --coral: #FF6B6B;
    --coral-light: #FF8787;
    --coral-dark: #E55A5A;
}

/* Typography */
.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--coral);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Hover Effects */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--coral);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Input Focus Effects */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--coral) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
}

/* Card Hover Effects */
.group:hover .group-hover\\:bg-coral\\/20 {
    background-color: rgba(255, 107, 107, 0.2);
}

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

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Image Hover Effects */
.group:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: 2rem;
    }
    
    .font-cormorant.text-4xl {
        font-size: 2.5rem;
    }
    
    .font-cormorant.text-5xl {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
