:root {
    --bg-color: #faf9f6;
    --bg-accent: #f0ebe1;
    --text-primary: #2b2b2b;
    --text-secondary: #5c5c5c;
    --accent-color: #d35400; /* Vibrant Orange/Amber */
    --accent-dark: #a04000;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(211, 84, 0, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

/* Sections */
.page-section {
    display: none;
    min-height: 100vh;
    padding-top: 90px;
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: panRight 30s infinite;
}

/* 6 slides, 5 seconds each */
.hero-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow .slide:nth-child(2) { animation-delay: 5s; }
.hero-slideshow .slide:nth-child(3) { animation-delay: 10s; }
.hero-slideshow .slide:nth-child(4) { animation-delay: 15s; }
.hero-slideshow .slide:nth-child(5) { animation-delay: 20s; }
.hero-slideshow .slide:nth-child(6) { animation-delay: 25s; }

@keyframes panRight {
    0% { opacity: 0; transform: scale(1.1) translateX(-30px); }
    5% { opacity: 1; }
    20% { opacity: 1; }
    25% { opacity: 0; transform: scale(1.1) translateX(10px); }
    100% { opacity: 0; }
}

.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    max-width: 700px;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
}

.hero-text {
    margin-bottom: 40px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 14px 35px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.4);
    background: var(--accent-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(211, 84, 0, 0.05);
    transform: translateY(-2px);
}


/* Instagram Section */
.instagram-section {
    padding: 80px 0;
    background: #faf9f6;
    text-align: center;
}

/* Hide Elfsight Watermark */
a[href*="elfsight.com"],
a[title*="Free Instagram"],
[class*="eapps-link"],
div[class*="eapps-link"],
.eui-banner,
.eapps-instagram-feed-title-link,
[class*="elfsight-app"] > div > a {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.instagram-section h3 {
    font-size: 2.5rem;
    color: #2c1e16;
    margin-bottom: 10px;
}

.instagram-subtitle {
    font-size: 1.1rem;
    color: #5a4a42;
    margin-bottom: 40px;
}

.instagram-subtitle a {
    color: #d35400;
    font-weight: 600;
    text-decoration: none;
}

.instagram-subtitle a:hover {
    text-decoration: underline;
}

.widget-placeholder {
    border: 2px dashed #cccccc;
    padding: 60px 20px;
    border-radius: 12px;
    background: #ffffff;
    max-width: 900px;
    margin: 0 auto;
}

.widget-placeholder p {
    color: #888888;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Headers */
#pouring {
    background: url('images/PXL_20240719_185238835.MP.jpg') center/cover fixed no-repeat;
    position: relative;
    z-index: 1;
}
#pouring::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250, 249, 246, 0.88);
    z-index: -1;
}

#menu {
    background: url('images/PXL_20240316_202401818.MP.jpg') center/cover fixed no-repeat;
    position: relative;
    z-index: 1;
}
#menu::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250, 249, 246, 0.88);
    z-index: -1;
}

#contact {
    background: url('images/PXL_20240719_185312689.MP.jpg') center/cover fixed no-repeat;
    position: relative;
    z-index: 1;
}
#contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250, 249, 246, 0.92);
    z-index: -1;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
}

/* Beer Filters */
.beer-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 2px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 6px 15px rgba(211, 84, 0, 0.2);
}

.pouring-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 10px auto 40px;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 500;
}

/* Beer Grid */
.beer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    padding-bottom: 80px;
}

.inventory-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(213, 175, 49, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.beer-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.beer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(211, 84, 0, 0.1);
}

/* Compact Grid modifications */
.compact-grid .beer-card {
    padding: 20px;
}

.compact-grid .pump-clip {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.clickable-img {
    cursor: pointer;
    transition: transform 0.2s;
}

.clickable-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.compact-grid .beer-info h3 {
    font-size: 1.25rem;
}

.compact-grid .beer-desc {
    font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    animation: lbPop 0.3s forwards;
}

@keyframes lbPop {
    to { transform: scale(1); }
}

.beer-type-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    top: 0; right: 0;
    padding: 6px 15px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    border-bottom-left-radius: 20px;
}

.beer-place-badge {
    position: absolute;
    top: 0; left: 0;
    padding: 6px 15px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom-right-radius: 20px;
    background: rgba(0,0,0,0.05);
    color: var(--text-secondary);
}

.beer-type-badge.cask { background: #d4af37; color: #fff; } /* Gold */
.beer-type-badge.keg { background: #27ae60; color: #fff; } /* Green */
.beer-type-badge.can { background: #8e44ad; color: #fff; } /* Purple */

.beer-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 15px;
}

.pump-clip {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: contain;
    background: #fcfcfc;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.beer-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.beer-info .brewery {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.beer-meta span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.beer-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    flex-grow: 1;
    line-height: 1.6;
}

/* Menus */
.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 80px;
}

.menu-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(211, 84, 0, 0.1);
}

.menu-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.menu-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Images inside Menu section to preview some menu items if needed */
.menu-card img {
    height: 100px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 60px auto 0;
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.contact-details {
    text-align: left;
    padding-right: 20px;
}

.contact-details h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 800;
}

.address-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.hours-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li .closed {
    color: #e74c3c;
    font-weight: 600;
}

.contact-map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Google Reviews Scroller */
.reviews-container {
    max-width: 900px;
    margin: 30px auto 0;
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 15px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    border-right: 2px solid rgba(0,0,0,0.05);
    padding-right: 20px;
    z-index: 2;
    background: var(--glass-bg); /* Ensure background is solid behind text */
}

.reviews-header .stars {
    color: #fbbc04; /* Google Yellow */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.reviews-header .header-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reviews-ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.reviews-ticker {
    display: inline-flex;
    animation: tickerScroll 30s linear infinite;
}

.reviews-ticker:hover {
    animation-play-state: paused;
}

.review-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    background: var(--text-primary);
    color: #fff;
    margin-top: 50px;
}

/* Loader */
.loader {
    border: 4px solid #eee;
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 60px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utilities */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }
}
