/* ==========================================================================
   ABACUS BREWING CO. & KITCHEN - Premium Brewpub Styles
   Built by: Encrypted (Digital Studio)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --dark-gray: #2a2a2a;
    --gray: #444444;
    --light-gray: #888888;
    
    --amber: #d4a03a;
    --amber-light: #e8b84a;
    --amber-dark: #b8882a;
    --gold: #ffd700;
    
    --orange: #ff6b35;
    --orange-glow: rgba(255, 107, 53, 0.3);
    
    --neon-amber: #ffaa00;
    --neon-glow: rgba(255, 170, 0, 0.4);
    
    --white: #ffffff;
    --off-white: #f5f5f5;
    --cream: #faf8f5;
    
    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1400px;
    --container-padding: 40px;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    
    /* Z-indices */
    --z-canvas: -1;
    --z-content: 1;
    --z-nav: 100;
    --z-menu: 90;
    --z-cursor: 1000;
    --z-loader: 2000;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto; /* Lenis handles smooth scroll */
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Selection */
::selection {
    background: var(--amber);
    color: var(--black);
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-fluid {
    padding: 0 var(--container-padding);
}

/* Section */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Custom Cursor
   -------------------------------------------------------------------------- */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--amber);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--amber);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--amber);
    mix-blend-mode: normal;
}

.cursor-follower.hover {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

/* --------------------------------------------------------------------------
   Canvas Background
   -------------------------------------------------------------------------- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-canvas);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: var(--z-loader);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--amber);
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s 0.3s var(--ease-out-expo) forwards;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--amber), var(--orange));
    border-radius: 2px;
    animation: loadProgress 2s 0.5s var(--ease-out-expo) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes loadProgress {
    to { width: 100%; }
}

.loader.loaded {
    animation: loaderExit 1s var(--ease-in-out-circ) forwards;
}

@keyframes loaderExit {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: var(--z-nav);
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    padding: 15px 40px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    color: var(--amber);
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--light-gray);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--amber);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.nav-cta {
    background: var(--amber);
    color: var(--black);
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--neon-glow);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.nav-burger span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .nav-burger {
        display: flex;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    z-index: var(--z-menu);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--white);
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link:hover {
    color: var(--amber);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--black) 70%);
}

.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero-title-wrapper {
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 12rem);
    line-height: 0.9;
    letter-spacing: 0.05em;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(100%);
}

.title-line.accent {
    color: var(--amber);
    font-size: 0.5em;
    letter-spacing: 0.15em;
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    opacity: 0;
}

.tag {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-gray);
}

.tag-separator {
    color: var(--amber);
    font-size: 0.8rem;
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 18px 45px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
    background: var(--amber);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--amber-light);
    transform: translateY(-3px);
}

.btn-primary .btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--neon-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.btn-primary:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray);
}

.btn-secondary:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.btn-outline {
    background: transparent;
    color: var(--amber);
    border: 2px solid var(--amber);
}

.btn-outline:hover {
    background: var(--amber);
    color: var(--black);
}

.btn-large {
    padding: 22px 55px;
    font-size: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-gray);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--amber), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.7);
    }
}

/* Beer Drip Effect */
.hero-beer-drip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--amber) 0%, transparent 100%);
    opacity: 0.05;
    transform: translateY(100%);
}

/* --------------------------------------------------------------------------
   Section Common Styles
   -------------------------------------------------------------------------- */
.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--amber);
}

.label-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 30px;
}

.section-title .accent {
    color: var(--amber);
}

.section-header.center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.center .section-label {
    justify-content: center;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--gray);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.image-placeholder.dark {
    background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 100%);
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about {
    background: var(--charcoal);
}

.section-bg-element {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
    opacity: 0.03;
    filter: blur(100px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    margin-bottom: 50px;
}

.about-text p {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--off-white);
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.about-stats {
    display: flex;
    gap: 50px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--amber);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--amber);
}

.stat-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-top: 5px;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: transform 0.6s var(--ease-out-expo);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-frame {
    position: absolute;
    top: 30px;
    left: 30px;
    right: -30px;
    bottom: -30px;
    border: 1px solid var(--amber);
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
}

/* --------------------------------------------------------------------------
   Craft Beer Section
   -------------------------------------------------------------------------- */
.brews {
    background: var(--black);
    position: relative;
}

.foam-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

.foam-overlay.top {
    top: 0;
    background: linear-gradient(to bottom, var(--charcoal), transparent);
}

.foam-overlay.bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--charcoal), transparent);
}

.brews-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.brew-card {
    background: var(--charcoal);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    opacity: 1;
    visibility: visible;
}

.brew-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--amber);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.brew-card:hover::before {
    transform: scaleX(1);
}

.brew-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.brew-visual {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 30px;
}

.brew-glass {
    position: relative;
    width: 80px;
    height: 160px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px 5px 10px 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.beer-liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85%;
    transition: height 0.5s var(--ease-out-expo);
}

.beer-liquid.golden {
    background: linear-gradient(to top, #c4a030, #e8c850);
}

.beer-liquid.amber {
    background: linear-gradient(to top, #8b4513, #cd853f);
}

.beer-liquid.dark {
    background: linear-gradient(to top, #1a1a1a, #3a2a1a);
}

.beer-liquid.ipa {
    background: linear-gradient(to top, #b87333, #daa520);
}

.beer-foam {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(to bottom, #fff9e6, #f5e6c8);
    border-radius: 50% 50% 0 0;
}

.beer-bubbles {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
}

.beer-bubbles::before,
.beer-bubbles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: bubble 2s infinite;
}

.beer-bubbles::before {
    left: 20%;
    animation-delay: 0s;
}

.beer-bubbles::after {
    left: 60%;
    animation-delay: 0.5s;
}

@keyframes bubble {
    0% {
        bottom: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

.brew-info {
    text-align: center;
}

.brew-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.brew-type {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 15px;
    display: block;
}

.brew-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.abv, .ibu {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--light-gray);
    padding: 5px 12px;
    border: 1px solid var(--gray);
}

.brew-notes {
    font-size: 0.85rem;
    color: var(--light-gray);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.brew-card:hover .brew-notes {
    opacity: 1;
    max-height: 100px;
    margin-top: 15px;
}

@media (max-width: 1200px) {
    .brews-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .brews-showcase {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Kitchen Section
   -------------------------------------------------------------------------- */
.kitchen {
    background: var(--charcoal);
}

.kitchen-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.kitchen-images {
    position: relative;
    height: 600px;
}

.kitchen-img {
    position: absolute;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}

.kitchen-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1) saturate(1.1);
    transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
}

.kitchen-img:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1) saturate(1.2);
}

.kitchen-img.main {
    width: 70%;
    height: 400px;
    top: 0;
    left: 0;
    z-index: 3;
}

.kitchen-img.secondary {
    width: 50%;
    height: 250px;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.kitchen-img.tertiary {
    width: 40%;
    height: 200px;
    top: 50%;
    right: 20%;
    z-index: 1;
    opacity: 0.7;
}

.kitchen-text {
    margin-bottom: 40px;
}

.kitchen-text p {
    font-size: 1.2rem;
    color: var(--off-white);
    margin-bottom: 10px;
}

.kitchen-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
}

.highlight:hover {
    background: var(--gray);
    transform: translateX(10px);
}

.highlight-icon {
    font-size: 1.5rem;
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

@media (max-width: 968px) {
    .kitchen-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .kitchen-images {
        height: 400px;
        order: -1;
    }
}

/* --------------------------------------------------------------------------
   Events Section
   -------------------------------------------------------------------------- */
.events {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.events-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stage-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.light {
    position: absolute;
    width: 300px;
    height: 600px;
    background: linear-gradient(to bottom, var(--amber) 0%, transparent 100%);
    opacity: 0;
    transform-origin: top center;
    filter: blur(50px);
}

.light-1 { left: 10%; transform: rotate(-15deg); animation: stageLight 4s 0s infinite; }
.light-2 { left: 35%; transform: rotate(-5deg); animation: stageLight 4s 1s infinite; }
.light-3 { right: 35%; transform: rotate(5deg); animation: stageLight 4s 2s infinite; }
.light-4 { right: 10%; transform: rotate(15deg); animation: stageLight 4s 3s infinite; }

@keyframes stageLight {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.1; }
}

.sound-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    padding: 0 20%;
}

.wave {
    width: 4px;
    background: var(--amber);
    opacity: 0.2;
    animation: soundWave 1s infinite;
}

.wave:nth-child(1) { height: 20%; animation-delay: 0s; }
.wave:nth-child(2) { height: 40%; animation-delay: 0.1s; }
.wave:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.wave:nth-child(4) { height: 40%; animation-delay: 0.3s; }
.wave:nth-child(5) { height: 20%; animation-delay: 0.4s; }

@keyframes soundWave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

.stage-reveal .accent {
    opacity: 0;
    animation: stageLightReveal 0.5s forwards;
}

@keyframes stageLightReveal {
    to { opacity: 1; }
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.event-card {
    background: var(--charcoal);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 30px;
    transition: all 0.5s var(--ease-out-expo);
    opacity: 1;
    visibility: visible;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--amber);
    transition: height 0.5s var(--ease-out-expo);
}

.event-card:hover::before {
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--neon-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.event-card:hover .event-glow {
    width: 400px;
    height: 400px;
    opacity: 0.3;
}

.event-date {
    text-align: center;
    min-width: 60px;
}

.event-date .day {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--amber);
}

.event-date .date {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
}

.event-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.event-desc {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-bottom: 15px;
}

.event-time {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--amber);
}

.events-cta {
    text-align: center;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

@media (max-width: 968px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Gallery Section
   -------------------------------------------------------------------------- */
.gallery {
    background: var(--charcoal);
    padding-bottom: 80px;
}

.gallery-wrapper {
    margin-top: 60px;
    overflow: hidden;
    cursor: grab;
}

.gallery-wrapper:active {
    cursor: grabbing;
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    flex-shrink: 0;
    width: 350px;
    height: 400px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s var(--ease-out-expo);
    opacity: 1;
    visibility: visible;
}

.gallery-item.tall {
    height: 500px;
}

.gallery-item.wide {
    width: 500px;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s var(--ease-out-expo);
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(0.9);
    transition: filter 0.4s ease, transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover .gallery-img img {
    filter: brightness(1) contrast(1.1) saturate(1.1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-drag-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    color: var(--light-gray);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.drag-arrow {
    width: 40px;
    height: 2px;
    background: var(--amber);
    position: relative;
}

.drag-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--amber);
    border-right: 2px solid var(--amber);
    transform: translateY(-50%) rotate(45deg);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
}

.contact-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-cta {
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--amber);
    color: var(--black);
    transform: translateY(-5px);
}

.contact-map {
    height: 100%;
    min-height: 500px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--gray);
}

.map-pin {
    width: 30px;
    height: 40px;
    background: var(--amber);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    animation: pinBounce 1s infinite;
}

.map-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--black);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pinBounce {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-10px); }
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-map {
        min-height: 300px;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--charcoal);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-bg-motion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, var(--amber) 0%, transparent 70%);
    opacity: 0.02;
    animation: footerPulse 5s infinite;
}

@keyframes footerPulse {
    0%, 100% { opacity: 0.02; transform: scale(1); }
    50% { opacity: 0.04; transform: scale(1.1); }
}

.footer-content {
    position: relative;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-text {
    font-size: 2.5rem;
}

.footer-logo .logo-sub {
    font-size: 0.7rem;
    display: block;
    margin-top: 5px;
}

.footer-tagline {
    margin-bottom: 40px;
}

.footer-tagline p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--light-gray);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--amber);
}

.footer-legal {
    padding-top: 40px;
    border-top: 1px solid var(--dark-gray);
}

.footer-legal p {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.footer-credit a {
    color: var(--amber);
    transition: opacity 0.3s ease;
}

.footer-credit a:hover {
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.parallax-img {
    will-change: transform;
}

.split-text .char {
    display: inline-block;
}

.text-reveal {
    overflow: hidden;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .lenis, .lenis body {
        scroll-behavior: auto;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --container-padding: 20px;
    }
    
    .hero-title {
        font-size: clamp(3rem, 12vw, 6rem);
    }
    
    .section-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-tagline {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Reduce animations on mobile */
    .light,
    .sound-waves,
    .beer-bubbles::before,
    .beer-bubbles::after {
        animation: none;
    }
    
    .stage-lights,
    .sound-waves {
        display: none;
    }
}

/* Print Styles */
@media print {
    .loader,
    .nav,
    #bg-canvas,
    .cursor,
    .cursor-follower,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* No-JS Fallback - ensure content is visible */
.no-js .loader {
    display: none;
}

.no-js .title-line,
.no-js .hero-tagline,
.no-js .hero-cta,
.no-js .scroll-indicator,
.no-js .brew-card,
.no-js .event-card,
.no-js .gallery-item,
.no-js .kitchen-img,
.no-js .contact-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Ensure visibility after page load */
.js-loaded .brew-card,
.js-loaded .event-card,
.js-loaded .gallery-item {
    visibility: visible;
}
