/* Custom Styles for Mythic Beasts & Brews */

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

body {
    background-color: #F9F7F2; /* mythic-cream */
    color: #2C3E3A; /* mythic-text */
    font-family: 'Lato', sans-serif;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
}

/* Animation Classes */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navbar Transition */
#navbar {
    background-color: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: #F9F7F2;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1A5240;
}

/* Mobile Menu Animation */
#mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateY(0);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
a:focus, button:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}
