/* Custom styles that complement Tailwind */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #742a2a;
}

/* Fade in animation for mobile menu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu.show {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Subtle hover effects for cards */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Ensure images have consistent aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Custom focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #8c3232;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navigation background transition */
.nav-scrolled #nav-bg {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}
