/* Custom Styles for Michel's */

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

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

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

/* Scroll Reveal Styles */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar Scroll State */
header.scrolled {
    background-color: rgba(45, 22, 34, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Typography adjustments */
.font-serif {
    line-height: 1.1;
}

/* Button Focus States */
button:focus, a:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Input Focus States */
input:focus, textarea:focus {
    box-shadow: 0 0 0 1px #f59e0b;
}

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

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

::-webkit-scrollbar-thumb {
    background: #4a235a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d1622;
}

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

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

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

/* Map Inversion for Dark Mode */
/* Applied via inline style for simplicity, but could be enhanced with CSS filters */
