/* Reset and Base Styles */
:root {
    /* Light theme colors */
    --primary-bg: #ffffff;
    --secondary-bg: #fafafa;
    --text-primary: #333;
    --text-secondary: #666;
    --text-on-primary: #000000;
    --text-on-secondary: #ffffff;
    --accent-color: #ECC114;
    --dark-bg: #000000;
    --nav-bg: rgba(0, 0, 0, 0.95);
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --heading-color: #333;
    --button-text: #000000;
    /* Offset used to account for fixed navbar when jumping to anchors */
    --nav-offset: 120px;
}

[data-theme="dark"] {
    /* Dark theme colors */
    --primary-bg: #1a1a1a;
    --secondary-bg: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-on-primary: #ffffff;
    --text-on-secondary: #000000;
    --accent-color: #ECC114;
    --dark-bg: #000000;
    --nav-bg: rgba(0, 0, 0, 0.98);
    --card-bg: #333333;
    --border-color: #444444;
    --heading-color: #ffffff;
    --button-text: #000000;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--heading-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--button-text);
    box-shadow: 0 4px 15px rgba(236, 193, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 193, 20, 0.4);
    background: #d4a313;
}

.btn-secondary {
    background: transparent;
    color: rgba(251, 250, 249, 0.972);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: var(--card-bg);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    /* Navbar should sit above hero and other content */
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ECC114;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ECC114;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ECC114;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.theme-toggle,
.language-toggle {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.theme-toggle:hover,
.language-toggle:hover {
    background: var(--accent-color);
    color: var(--button-text);
    transform: scale(1.1);
}

.language-toggle .lang-text {
    font-size: 12px;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-on-secondary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('images/rustika_header_bg_v2.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    /* Prevent any parallax transform from moving the hero and causing overlap */
    transform: none !important;
}

.hero-background {
    display: none;
}

/* Mobile hero background image — hidden on desktop, shown on mobile */
.hero-bg-img {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.brush-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            black 0%,
            black 45%,
            transparent 50%,
            transparent 55%,
            black 60%,
            black 100%);
    z-index: 2;
    animation: brushSweep 2s ease-out forwards;
    transform: skewX(-10deg);
    filter: blur(0.5px);
    opacity: 0;
    /* Start invisible */
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 3;
    opacity: 0;
    animation: fadeInUp 0.8s ease 2.2s both;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 0rem;
    opacity: 0;
    animation: brushRevealFadeIn 0.8s ease 2.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: .5rem;
    color: rgba(224, 224, 224, 0.9);
    opacity: 0;
    animation: brushRevealFadeIn 0.8s ease 2.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: brushRevealFadeIn 0.8s ease 2.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    animation: bounce 2s infinite 2.8s both;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
    color: #ECC114;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #ECC114;
    font-style: italic;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--secondary-bg);
    margin-top: 0;
    scroll-margin-top: 120px;
    /* Ensure proper spacing when scrolled to */
}

.about .section-header {
    margin-bottom: 3rem;
    padding-top: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ECC114;
    font-weight: 500;
}

.feature i {
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    /* Limit image height */
}

.about-image img {
    width: 100%;
    height: 400px;
    /* Fixed height for better proportions */
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Ensure story images/logos have transparent backgrounds */
.about-image img,
.story-img {
    background: transparent !important;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Menu Section */
.menu {
    padding: 6rem 0;
    background: var(--secondary-bg);
    scroll-margin-top: 120px;
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ECC114;
    color: #ECC114;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #ECC114;
    color: var(--button-text);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(236, 193, 20, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover .menu-overlay {
    opacity: 1;
}

.menu-overlay i {
    color: white;
    font-size: 2rem;
}

.menu-content {
    padding: 1.5rem;
}

.menu-content h3 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.menu-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ECC114;
}

/* Menu Image Styles */
.menu-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--secondary-bg);
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-image img {
    transform: scale(1.05);
}

/* Featured cocktail image */
.menu-item.featured {
    grid-column: 1 / -1;
}

.menu-image.featured-image {
    height: 300px;
}

/* Slideshow Styles */
.menu-image.slideshow {
    position: relative;
}

.menu-image.slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.menu-image.slideshow .slide.active {
    opacity: 1;
    position: relative;
}

/* Beer CTA Section */
.beer-cta-section {
    padding: 6rem 0;
    background: var(--secondary-bg);
    color: var(--text-primary);
    scroll-margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.beer-cta-section .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.beer-cta-section .section-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: brightness(1);
}

.beer-cta-section .container {
    position: relative;
    z-index: 1;
}

.beer-cta-section .section-header h2,
.beer-cta-section .section-header .section-subtitle {
    color: #ffffff;
    text-shadow: none;
}

.beer-cta-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.beer-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.beer-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.beer-preview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 600px;
    text-shadow: none;
}

/* Cocktail Button */
.cocktail-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cocktail-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.cocktail-btn i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.cocktail-btn:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* Beer Brand CTA */
.beer-cta {
    text-align: center;
    margin-top: 4rem;
}

.beer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #000000, #000000);
    color: var(--accent-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(236, 193, 20, 0.3);
}

.beer-brand-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236, 193, 20, 0.5);
    background: linear-gradient(135deg, #ecdfba, #080706);
}

.beer-brand-link i {
    transition: transform 0.3s ease;
}

.beer-brand-link:hover i {
    transform: translateX(5px);
}

/* Beer CTA Responsive */
@media (max-width: 768px) {
    .beer-cta-content {
        gap: 2rem;
    }

    .beer-logo {
        max-width: 150px;
    }

    .beer-preview p {
        font-size: 1rem;
    }

    .beer-brand-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: var(--secondary-bg);
    scroll-margin-top: 120px;
}

.reviews .section-header h2,
.reviews .section-header .section-subtitle {
    color: var(--text-primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.review-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.review-item:hover {
    transform: translateY(-5px);
}

.review-stars {
    margin-bottom: 1.5rem;
}

.review-stars i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0 2px;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.author-info span {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-stars {
    margin-top: 0.5rem;
}

.stat-stars i {
    color: var(--accent-color);
    font-size: 1rem;
    margin: 0 1px;
}

/* Reservations Section */
.reservations {
    padding: 6rem 0;
    background: var(--secondary-bg);
    scroll-margin-top: 120px;
}

.reservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.reservation-info h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.event-features {
    margin-top: 2rem;
}

.event-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-feature i {
    color: #ECC114;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.event-feature h4 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    min-width: 0;
}

.form-group {
    margin-bottom: 1rem;
    min-width: 0;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    color: #333333;
    background-color: #ffffff;
    box-sizing: border-box;
}

.form-group input[type="date"],
.form-group input[type="time"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #333333;
    background-color: #ffffff;
    box-sizing: border-box;
    color-scheme: light;
    -webkit-text-fill-color: #333333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ECC114;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--secondary-bg);
    scroll-margin-top: 120px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--heading-color);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: #ECC114;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.map-placeholder {
    background: var(--secondary-bg);
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-secondary);
    border: 2px dashed var(--border-color);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact map container when using iframe */
.contact-map {
    width: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Footer */
.footer {
    background: black;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* Make footer and beer logos visible on dark backgrounds; header/hero logos remain transparent */
/* Background removed per user request */

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #ECC114;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ECC114;
}

.footer-section h4 {
    color: #ECC114;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Animations */
@keyframes brushSweep {
    0% {
        left: -100%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 48%,
                transparent 50%,
                transparent 52%,
                black 54%,
                black 100%);
    }

    5% {
        left: -90%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 47%,
                transparent 49.5%,
                transparent 52.5%,
                black 55%,
                black 100%);
    }

    10% {
        left: -80%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 46%,
                transparent 49%,
                transparent 53%,
                black 56%,
                black 100%);
    }

    15% {
        left: -70%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 45%,
                transparent 48.5%,
                transparent 53.5%,
                black 57%,
                black 100%);
    }

    20% {
        left: -60%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 44%,
                transparent 48%,
                transparent 54%,
                black 58%,
                black 100%);
    }

    25% {
        left: -50%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 43%,
                transparent 47.5%,
                transparent 54.5%,
                black 59%,
                black 100%);
    }

    30% {
        left: -40%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 42%,
                transparent 47%,
                transparent 55%,
                black 60%,
                black 100%);
    }

    35% {
        left: -30%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 41%,
                transparent 46.5%,
                transparent 55.5%,
                black 61%,
                black 100%);
    }

    40% {
        left: -20%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 40%,
                transparent 46%,
                transparent 56%,
                black 62%,
                black 100%);
    }

    45% {
        left: -10%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 39%,
                transparent 45.5%,
                transparent 56.5%,
                black 63%,
                black 100%);
    }

    50% {
        left: 0%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 38%,
                transparent 45%,
                transparent 57%,
                black 64%,
                black 100%);
    }

    55% {
        left: 10%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 37%,
                transparent 44.5%,
                transparent 57.5%,
                black 65%,
                black 100%);
    }

    60% {
        left: 20%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 36%,
                transparent 44%,
                transparent 58%,
                black 66%,
                black 100%);
    }

    65% {
        left: 30%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 35%,
                transparent 43.5%,
                transparent 58.5%,
                black 67%,
                black 100%);
    }

    70% {
        left: 40%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 34%,
                transparent 43%,
                transparent 59%,
                black 68%,
                black 100%);
    }

    75% {
        left: 50%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 33%,
                transparent 42.5%,
                transparent 59.5%,
                black 69%,
                black 100%);
    }

    80% {
        left: 60%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 32%,
                transparent 42%,
                transparent 60%,
                black 70%,
                black 100%);
    }

    85% {
        left: 70%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 31%,
                transparent 41.5%,
                transparent 60.5%,
                black 71%,
                black 100%);
    }

    90% {
        left: 80%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 30%,
                transparent 41%,
                transparent 61%,
                black 72%,
                black 100%);
    }

    95% {
        left: 90%;
        opacity: 1;
        background: linear-gradient(90deg,
                black 0%,
                black 29%,
                transparent 40.5%,
                transparent 61.5%,
                black 73%,
                black 100%);
    }

    100% {
        left: 100%;
        opacity: 0;
        /* Fade out to reveal background image */
        background: linear-gradient(90deg,
                transparent 0%,
                transparent 28%,
                transparent 40%,
                transparent 62%,
                transparent 74%,
                transparent 100%);
    }
}

@keyframes brushSweepMobile {
    0% {
        left: -100%;
        background: linear-gradient(90deg,
                black 0%,
                black 46%,
                transparent 49%,
                transparent 53%,
                black 56%,
                black 100%);
    }

    10% {
        left: -80%;
        background: linear-gradient(90deg,
                black 0%,
                black 44%,
                transparent 48%,
                transparent 54%,
                black 58%,
                black 100%);
    }

    20% {
        left: -60%;
        background: linear-gradient(90deg,
                black 0%,
                black 42%,
                transparent 47%,
                transparent 55%,
                black 60%,
                black 100%);
    }

    30% {
        left: -40%;
        background: linear-gradient(90deg,
                black 0%,
                black 40%,
                transparent 46%,
                transparent 56%,
                black 62%,
                black 100%);
    }

    40% {
        left: -20%;
        background: linear-gradient(90deg,
                black 0%,
                black 38%,
                transparent 45%,
                transparent 57%,
                black 64%,
                black 100%);
    }

    50% {
        left: 0%;
        background: linear-gradient(90deg,
                black 0%,
                black 36%,
                transparent 44%,
                transparent 58%,
                black 66%,
                black 100%);
    }

    60% {
        left: 20%;
        background: linear-gradient(90deg,
                black 0%,
                black 34%,
                transparent 43%,
                transparent 59%,
                black 68%,
                black 100%);
    }

    70% {
        left: 40%;
        background: linear-gradient(90deg,
                black 0%,
                black 32%,
                transparent 42%,
                transparent 60%,
                black 70%,
                black 100%);
    }

    80% {
        left: 60%;
        background: linear-gradient(90deg,
                black 0%,
                black 30%,
                transparent 41%,
                transparent 61%,
                black 72%,
                black 100%);
    }

    90% {
        left: 80%;
        background: linear-gradient(90deg,
                black 0%,
                black 28%,
                transparent 40%,
                transparent 62%,
                black 74%,
                black 100%);
    }

    100% {
        left: 100%;
        background: linear-gradient(90deg,
                black 0%,
                black 26%,
                transparent 39%,
                transparent 63%,
                black 76%,
                black 100%);
    }
}

@keyframes brushRevealFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
        opacity: 1;
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
        opacity: 1;
    }
}

@keyframes organicBrushStrokeMobile {
    0% {
        clip-path: polygon(0% 0%,
                0% 0%,
                0% 100%,
                0% 100%);
    }

    10% {
        clip-path: polygon(0% 0%,
                15% 3%,
                12% 97%,
                0% 100%);
    }

    25% {
        clip-path: polygon(0% 0%,
                35% 2%,
                32% 94%,
                0% 100%);
    }

    45% {
        clip-path: polygon(0% 0%,
                58% 4%,
                55% 92%,
                0% 100%);
    }

    65% {
        clip-path: polygon(0% 0%,
                78% 1%,
                76% 96%,
                0% 100%);
    }

    85% {
        clip-path: polygon(0% 0%,
                95% 3%,
                93% 98%,
                0% 100%);
    }

    100% {
        clip-path: polygon(0% 0%,
                100% 0%,
                100% 100%,
                0% 100%);
    }
}

@keyframes brushStrokeRevealMobile {
    0% {
        clip-path: polygon(0% 50%, 0% 50%, 0% 50%, 0% 50%);
    }

    10% {
        clip-path: polygon(0% 40%,
                20% 35%,
                25% 65%,
                0% 60%);
    }

    30% {
        clip-path: polygon(0% 30%,
                40% 25%,
                45% 75%,
                0% 70%);
    }

    50% {
        clip-path: polygon(0% 20%,
                60% 15%,
                65% 85%,
                0% 80%);
    }

    70% {
        clip-path: polygon(0% 10%,
                80% 8%,
                85% 92%,
                0% 90%);
    }

    90% {
        clip-path: polygon(0% 5%,
                95% 2%,
                98% 98%,
                0% 95%);
    }

    100% {
        clip-path: polygon(0% 0%,
                100% 0%,
                100% 100%,
                0% 100%);
    }
}

@keyframes brushGlintMobile {
    0% {
        transform: translateX(-120%) skewX(-15deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%) skewX(-15deg);
        opacity: 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-offset);
    /* Account for fixed navbar + extra spacing */
}

/* Anchor offset for fixed navbar: create a pseudo-element so anchors land below the navbar */
section::before {
    content: '';
    display: block;
    height: var(--nav-offset);
    margin-top: calc(-1 * var(--nav-offset));
    visibility: hidden;
}

/* Enhanced smooth scrolling support */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --nav-offset: 90px;
    }

    html {
        scroll-padding-top: var(--nav-offset);
        /* Reduced for mobile navbar */
    }

    .nav-container {
        padding: 0.5rem 1rem;
        /* Reduce padding to prevent crowding */
    }

    /* Keep nav controls in the flex flow, centered between logo and hamburger */
    .nav-controls {
        gap: 0.5rem;
        margin-left: auto;
        margin-right: 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
        /* Reduce logo text size on mobile */
    }

    .about,
    .menu,
    .beer-cta-section,
    .reviews,
    .reservations,
    .contact {
        scroll-margin-top: 90px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--nav-bg);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .theme-toggle,
    .language-toggle {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reviews-stats {
        gap: 2rem;
    }

    .hero {
        height: 65vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo {
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Mobile hero: disable CSS background (path unreliable on Hostinger),
       use the <img class="hero-bg-img"> tag instead */
    .hero {
        background: none !important;
    }

    .hero-bg-img {
        display: block;
    }

    .brush-overlay {
        display: none;
    }

    /* Dark overlay on top of the bg image */
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1;
    }

    /* Force hero content above the overlay.
       Base styles have opacity:0 for desktop animation — override here. */
    .hero-content,
    .hero-logo,
    .hero-subtitle,
    .hero-buttons,
    .scroll-indicator {
        opacity: 1 !important;
        animation: none !important;
        position: relative;
        z-index: 2;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .menu-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        padding-bottom: 1rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .beer-grid {
        grid-template-columns: 1fr;
    }

    .reservation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 25px;
        /* Standard increased padding */
    }

    h2 {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .menu-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a313;
}

/* Menu Note Styling */
.menu-note {
    text-align: center;
    margin: 1.5rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

.menu-note p {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    color: var(--text-secondary);
}

.menu-note p:last-child {
    margin-bottom: 0;
}