:root {
    /* Traditionele Beierse kleuren */
    --lh-primary: #0072bb;
    --lh-secondary: #ffffff;
    --lh-accent: #d4af37;
    --lh-dark: #2c2416;
    --lh-light: #f8f9fc;
    
    /* Beierse thema kleuren */
    --bavarian-blue: #0072bb;
    --bavarian-blue-dark: #005a94;
    --bavarian-blue-light: #e6f3fb;
    --bavarian-white: #ffffff;
    
    /* Accent kleuren */
    --beer-gold: #f4a300;
    --beer-gold-dark: #d48f00;
    --leather-brown: #8b4513;
    --wood-brown: #5c4033;
    --alpine-green: #2d5016;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--lh-dark);
    background: var(--lh-light);
}

/* Bavarian checkered pattern background - subtiel ruitpatroon */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 30px,
            rgba(0, 114, 187, 0.03) 30px,
            rgba(0, 114, 187, 0.03) 60px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 30px,
            rgba(0, 114, 187, 0.03) 30px,
            rgba(0, 114, 187, 0.03) 60px
        );
    pointer-events: none;
    z-index: 0;
}

/* Houttextuur voor speciale secties */
.wood-texture {
    background: 
        linear-gradient(90deg, rgba(92, 64, 51, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(92, 64, 51, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, #d4a574 0%, #c9956c 50%, #b8845a 100%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
}

/* Hero Banner Oktoberfest */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner img {
    transition: transform 0.3s ease;
}

.hero-banner:hover img {
    transform: scale(1.05);
}

.text-shadow {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-banner .badge {
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-banner .btn-warning {
    background: var(--beer-gold);
    border-color: var(--beer-gold);
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero-banner .btn-warning:hover {
    background: #8b4513;
    border-color: #8b4513;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139,69,19,0.4);
}

body > * {
    position: relative;
    z-index: 1;
}

a {
    color: var(--lh-primary);
    transition: color 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--beer-gold);
}

/* Bootstrap overrides */
.btn-primary {
    background: linear-gradient(135deg, var(--bavarian-blue), var(--bavarian-blue-dark));
    border: 2px solid var(--beer-gold);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 114, 187, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--bavarian-blue-dark), var(--bavarian-blue));
    border-color: var(--beer-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 114, 187, 0.4);
}

.text-primary {
    color: var(--lh-primary) !important;
}

.bg-primary {
    background-color: var(--lh-primary) !important;
}

/* Header */
.top-bar {
    font-size: 0.9rem;
    background: linear-gradient(90deg, var(--bavarian-blue), var(--bavarian-blue-dark));
    color: white;
    border-bottom: 3px solid var(--beer-gold);
}

.top-bar a {
    color: white;
}

.top-bar a:hover {
    color: var(--beer-gold);
}

.site-header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 114, 187, 0.15);
    border-bottom: 4px solid;
    border-image: repeating-linear-gradient(
        90deg,
        var(--bavarian-blue) 0px,
        var(--bavarian-blue) 40px,
        white 40px,
        white 80px
    ) 4;
}

.site-header .navbar-brand img {
    max-height: 80px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    color: var(--lh-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--beer-gold);
    transition: width 0.3s ease;
}

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

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--bavarian-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bavarian-blue) 0%, var(--bavarian-blue-dark) 50%, #004a75 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 40px,
            rgba(255, 255, 255, 0.08) 40px,
            rgba(255, 255, 255, 0.08) 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 40px,
            rgba(255, 255, 255, 0.08) 40px,
            rgba(255, 255, 255, 0.08) 80px
        );
    z-index: 1;
}

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

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    font-family: 'Georgia', serif;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 300;
}

.hero-section .btn-light {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--beer-gold), #d4941b);
    color: var(--lh-dark);
    border: 3px solid white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-light:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #d4941b, var(--beer-gold));
}

/* Product Cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin-bottom: 2.5rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
    border-color: var(--beer-gold);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1rem;
    color: var(--bavarian-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce ul.products li.product img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 3px solid var(--lh-light);
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.08);
    border-color: var(--beer-gold);
}

.woocommerce ul.products li.product .price {
    color: var(--beer-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

.woocommerce ul.products li.product .button {
    background: linear-gradient(135deg, var(--bavarian-blue), #0052a3);
    color: white;
    border: 2px solid var(--beer-gold);
    border-radius: 25px;
    padding: 0.6rem 1.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce ul.products li.product .button:hover {
    background: linear-gradient(135deg, #0052a3, var(--bavarian-blue));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Single Product */
.woocommerce div.product .summary {
    margin-bottom: 2rem;
}

.woocommerce div.product .product_title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--lh-primary);
}

.woocommerce div.product p.price {
    color: var(--lh-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.woocommerce div.product form.cart .button {
    background-color: var(--lh-primary);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.woocommerce div.product form.cart .button:hover {
    background-color: var(--lh-secondary);
}

/* Categories */
.product-categories {
    margin-bottom: 3rem;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1rem 1rem;
    color: white;
}

.category-card-overlay h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

/* USP Section */
.usp-section {
    background: white;
    padding: 5rem 0;
    margin: 0;
    position: relative;
    border-top: 5px solid var(--beer-gold);
    border-bottom: 5px solid var(--beer-gold);
}

.usp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        var(--bavarian-blue) 0px,
        var(--bavarian-blue) 40px,
        white 40px,
        white 80px
    );
}

.usp-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        var(--bavarian-blue) 0px,
        var(--bavarian-blue) 40px,
        white 40px,
        white 80px
    );
}

.usp-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.usp-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
    background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
}

.usp-item i {
    font-size: 4rem;
    color: var(--beer-gold);
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.usp-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bavarian-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.usp-item p {
    color: #6c757d;
    margin: 0;
    font-size: 1.05rem;
}

/* Testimonials */
.testimonial-section {
    padding: 3rem 0;
    background-color: white;
}

.testimonial-card {
    background-color: var(--lh-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    background: linear-gradient(180deg, var(--bavarian-blue-dark) 0%, #003d6b 100%);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--bavarian-blue) 0px,
        var(--bavarian-blue) 40px,
        white 40px,
        white 80px
    );
}

.site-footer h5 {
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--beer-gold);
}

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

.site-footer a:hover {
    color: var(--beer-gold) !important;
}

/* Sidebar */
.widget {
    background-color: var(--lh-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.widget-title {
    color: var(--lh-primary);
    font-weight: bold;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--lh-primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--lh-dark);
}

/* WooCommerce specific */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    border-top-color: var(--lh-primary);
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
    color: var(--lh-primary);
}

/* Cart */
.woocommerce table.shop_table {
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    background-color: var(--lh-light);
    padding: 2rem;
    border-radius: 8px;
}

/* Checkout */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
    color: var(--lh-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .navbar-brand img {
        max-height: 60px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Oktoberfest Decorative Elements */
h2.text-center::before {
    content: '🍺 ';
}

h2.text-center::after {
    content: ' 🍺';
}

/* Beer animation for icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.usp-item i {
    animation: float 3s ease-in-out infinite;
}

.usp-item:nth-child(2) i {
    animation-delay: 0.5s;
}

.usp-item:nth-child(3) i {
    animation-delay: 1s;
}

/* Section background patterns */
.container.my-5 {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.container.my-5::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        var(--bavarian-blue) 0px,
        var(--bavarian-blue) 40px,
        white 40px,
        white 80px
    );
}
