/* Custom Animations and Overrides */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FDFBF7; /* Cream */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #78202F;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4a0f17;
}

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

.animate-bounce-slow {
    animation: float 3s ease-in-out infinite;
}

/* Focus styles for accessibility */
button:focus, input:focus, select:focus, textarea:focus, a:focus {
    outline: 2px solid #78202F;
    outline-offset: 2px;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Nav Scrolled State */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
