/* Custom Styles for The Village Keep */

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

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(45deg);
    }
    50% {
        transform: translateY(-20px) rotate(45deg);
    }
}

/* Geometric decorations animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
    background: #3a1721;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #fcd34d;
}

/* Ensure all text has proper contrast */
.text-plum-950 {
    color: #3a1721;
}

.text-plum-900 {
    color: #5f2a38;
}

.text-plum-800 {
    color: #732d41;
}

.text-plum-700 {
    color: #8b314c;
}

.text-plum-600 {
    color: #a53d5c;
}

.text-plum-500 {
    color: #c05273;
}

.text-plum-400 {
    color: #d97391;
}

.text-plum-300 {
    color: #ebabb8;
}

.text-plum-200 {
    color: #f5d0d9;
}

.text-plum-100 {
    color: #fae8ec;
}

.text-plum-50 {
    color: #fdf4f6;
}

/* Amber colors */
.text-amber-900 {
    color: #78350f;
}

.text-amber-800 {
    color: #92400e;
}

.text-amber-700 {
    color: #b45309;
}

.text-amber-600 {
    color: #d97706;
}

.text-amber-500 {
    color: #f59e0b;
}

.text-amber-400 {
    color: #fbbf24;
}

.text-amber-300 {
    color: #fde68a;
}

.text-amber-200 {
    color: #fde68a;
}

.text-amber-100 {
    color: #fef3c7;
}

.text-amber-50 {
    color: #fffbeb;
}

/* Background colors */
.bg-plum-950 {
    background-color: #3a1721;
}

.bg-plum-900 {
    background-color: #5f2a38;
}

.bg-plum-800 {
    background-color: #732d41;
}

.bg-plum-700 {
    background-color: #8b314c;
}

.bg-plum-600 {
    background-color: #a53d5c;
}

.bg-plum-500 {
    background-color: #c05273;
}

.bg-plum-200 {
    background-color: #f5d0d9;
}

.bg-plum-100 {
    background-color: #fae8ec;
}

.bg-plum-50 {
    background-color: #fdf4f6;
}

.bg-amber-900 {
    background-color: #78350f;
}

.bg-amber-800 {
    background-color: #92400e;
}

.bg-amber-700 {
    background-color: #b45309;
}

.bg-amber-600 {
    background-color: #d97706;
}

.bg-amber-500 {
    background-color: #f59e0b;
}

.bg-amber-400 {
    background-color: #fbbf24;
}

.bg-amber-300 {
    background-color: #fde68a;
}

.bg-amber-200 {
    background-color: #fde68a;
}

.bg-amber-100 {
    background-color: #fef3c7;
}

.bg-amber-50 {
    background-color: #fffbeb;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
}
