/* Custom styles that extend Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    /* Prevent layout shift */
    min-height: 100vh;
}

/* Animation utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Subtle hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Selection color */
::selection {
    background-color: #99f6e4;
    color: #134e4a;
}

/* Form focus styles */
input:focus, textarea:focus {
    border-bottom-width: 2px;
}
