/* Custom styles for Labora Brewing Company */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f2fdf9;
}
::-webkit-scrollbar-thumb {
    background: #8ae3bd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4fd19c;
}

/* Selection color */
::selection {
    background: #bdf0da;
    color: #0f2233;
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(242, 253, 249, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(10, 24, 37, 0.06);
}

/* Hero parallax-like effect */
#hero {
    perspective: 1000px;
}

/* Beer card hover glow */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(43, 192, 127, 0.15);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile links */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(142, 203, 173, 0.15);
}
.mobile-link:last-child {
    border-bottom: none;
}

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

/* Print styles */
@media print {
    #navbar,
    #contact,
    button {
        display: none;
    }
}
