@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Base Styles */
html {
    scroll-behavior: smooth;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* Scroll Reveal Classes */
.opacity-0 {
    opacity: 0;
}

.translate-y-10 {
    transform: translateY(2.5rem);
}

.opacity-100 {
    opacity: 1;
}

.translate-y-0 {
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: #625D39;
    border-radius: 5px;
    border: 2px solid #FDFCFB;
}

::-webkit-scrollbar-thumb:hover {
    background: #4A462B;
}

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

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

#mobile-menu:not(.hidden) {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
