/* Bliss Ave Brewing Company — Custom Styles */

/* Base resets */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Selection */
::selection {
    background: #0d9488;
    color: #fff;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Scroll reveal — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
#mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}
#mobile-menu.closed {
    max-height: 0;
    opacity: 0;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(13, 148, 136, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Stat card hover */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Beer card hover */
.beer-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.beer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Menu item hover */
.menu-item {
    transition: background 0.2s ease;
}
.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}
.btn-shine:hover::after {
    left: 125%;
}

/* Decorative divider */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: 12px;
}
.divider-ornament::before,
.divider-ornament::after {
    content: '';
    flex: 0 0 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Print styles */
@media print {
    nav, #mobile-menu, .reveal, .stat-card, .beer-card, .btn-shine::after {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
