/* Custom styles for Crystal Lake Food and Liquor */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefcf9;
}
::-webkit-scrollbar-thumb {
    background: #c44040;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a33232;
}

/* Hero parallax effect */
#hero {
    scroll-snap-align: start;
}

/* Animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Nav scroll state */
nav.scrolled {
    background: rgba(254, 252, 249, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(110, 37, 37, 0.08);
}

nav.scrolled .font-display {
    color: #1f2937 !important;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Image hover zoom */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Selection color */
::selection {
    background: #c44040;
    color: white;
}

/* Subtle gradient border effect */
.ring-burgundy {
    position: relative;
}

.ring-burgundy::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #fce7e7, #c44040, #fce7e7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
