/* Custom Styles for Mid Atlantic Beverage Services */

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

body {
    background-color: #f8fafc;
}

/* Typography Adjustments */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

p, li, a, span, button, input, textarea {
    font-family: 'DM Sans', sans-serif;
}

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

.reveal-on-scroll.delay-100 {
    transition-delay: 100ms;
}

.reveal-on-scroll.delay-200 {
    transition-delay: 200ms;
}

/* Hide elements initially for JS to reveal (Progressive Enhancement: if JS fails, content is still visible) */
/* We use a class that is added by JS, but default state is visible to ensure no blank flashes */
.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Form Focus States */
input:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.1);
}

/* Mobile Menu Transitions */
#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: 400px;
    opacity: 1;
}
