/* Custom styles that go beyond Tailwind utilities */

html {
    scroll-behavior: smooth;
}

body {
    /* Prevents text from being selected when double clicking */
    -webkit-user-select: none;
    user-select: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: #94e2b8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3ab575;
}

/* Smooth transition for navbar */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Ensure images don't overflow rounded containers */
img {
    max-width: 100%;
    height: auto;
}
