:root {
    /* Color Palette - Industrial Professional Theme (REVISED 3D v2) */
    --clr-bg: #020617;
    /* Deepest Slate for maximum depth */

    /* Surface Colors - More opaque for better readability */
    --clr-surface: rgba(15, 23, 42, 0.85);
    /* Darker, more solid glass */
    --clr-surface-light: rgba(30, 41, 59, 0.6);

    /* Pro Luminous Blue Palette (Matches Store Awnings) */
    --clr-primary: #2563eb;
    /* Electric Royal Blue */
    --clr-primary-light: #60a5fa;
    /* Vibrant Sky Blue Highlight */
    --clr-primary-dark: #1d4ed8;
    /* Deep Industrial Blue */

    --clr-secondary: #f59e0b;
    /* Amber/Yellow Accent (Complementary to Blue) */
    --clr-accent: #10b981;
    /* Success Green */

    /* Text Colors - High Contrast Pro Mode */
    --clr-text: #ffffff;
    /* Pure Brilliant White */
    --clr-text-muted: #cbd5e1;
    /* Cool Grey for secondary text (readable on dark) */
    --clr-text-dark: #0f172a;
    /* Ink Blue/Black for light badges/sections */

    /* Gradients */
    --grad-industrial: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --grad-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    --grad-header: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), transparent);

    /* Shadows & Effects */
    --glow-primary: 0 0 35px rgba(37, 99, 235, 0.5);
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.12);
    /* Slightly stronger border */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

/* --- Premium UI Enhancements --- */

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

::-webkit-scrollbar-track {
    background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--clr-primary);
    border-radius: 5px;
    border: 2px solid var(--clr-bg);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--clr-primary-dark);
}

/* Text Selection */
::selection {
    background: rgba(255, 102, 0, 0.3);
    color: #fff;
}

/* Focus Visibility */
:focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 4px;
}

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

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

/* Glassmorphism */
/* Glassmorphism - Darker for High Contrast */
.glass {
    background: rgba(15, 23, 42, 0.7);
    /* Darker blue-black tint */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    /* Stronger shadow for lift */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    /* Reduced padding */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-flex {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    /* Precise columns for perfect centering */
    align-items: center;
}

@media (max-width: 968px) {
    .nav-flex {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo,
    nav,
    .weather-box {
        justify-self: center;
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo img {
        height: 60px;
    }
}

.logo {
    justify-self: start;
}

nav {
    justify-self: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 110px;
    /* Increased by 25% */
    margin-right: 25px;
    /* More margin */
    /* Soft Glow/Shadow as requested */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo img {
    height: 60px;
}

.logo span {
    color: var(--clr-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    /* Increased for better spacing */
}

/* Nav Link Hover Effect */
.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    /* Light Grey Default */
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
    /* Pure White on Hover */
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
    /* Blue Glow */
}

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

.nav-links a:hover {
    color: var(--clr-primary);
}

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

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    z-index: 1;
}

/* Background Image on Pseudo-element to allow Filters */
/* Background Image on Pseudo-element */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Default fallback */
    background: url('../img/maurer_standard.jpg') center/cover no-repeat;
    z-index: -2;
    transition: background-image 1s ease-in-out, transform 10s ease;
    animation: slowZoom 20s infinite alternate;
    /* Blur 3-5px and Saturation -15% as requested */
    filter: blur(4px) saturate(0.85) contrast(1.1);
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Dark Overlay */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay 45% as requested */
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* Seasonal Variations (Artistic Filters on Shop Image) - FORCE APPLY */
/* Seasonal Images Logic */

/* 1. STANDARD (Jan 8 - Apr 30 AND Sep 11 - Dec 6) */
/* Seasonal Images Logic - 4 Maurer Seasons (Updated with User Images) */

/* WINTER (Dec - Feb) */
.hero.season-winter::before {
    background: url('../img/maurer_winter.jpg') center/cover no-repeat !important;
    filter: brightness(1.05) !important;
}

/* SPRING (Mar - May) - Using Standard Image */
.hero.season-spring::before {
    background: url('../img/maurer_standard.jpg') center/cover no-repeat !important;
    filter: brightness(1.05) saturate(1.05) !important;
}

/* SUMMER (Jun - Aug) */
.hero.season-summer::before {
    background: url('../img/maurer_summer.jpg') center/cover no-repeat !important;
    filter: brightness(1.1) saturate(1.1) !important;
}

/* AUTUMN (Sep - Nov) - Using Standard Image */
.hero.season-autumn::before {
    background: url('../img/maurer_standard.jpg') center/cover no-repeat !important;
    filter: brightness(1.05) contrast(1.05) !important;
}



.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

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

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

.hero-inner>* {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-inner h1 {
    animation-delay: 0.2s;
}

.hero-inner p {
    animation-delay: 0.4s;
}

.hero-inner .cta {
    animation-delay: 0.6s;
}

h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
}

h1 span {
    display: block;
    /* Back to block for second line */
    /* Clean white style */
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
    /* Minimal Orange Underline Accent for branding */
    border-bottom: 3px solid #ff5600;
    padding-bottom: 5px;
    width: fit-content;
    /* Reduced visual noise */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    filter: none;
}

.hero p {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Buttons */
/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.btn:active {
    transform: scale(0.97) translateY(0);
}

.btn-primary,
.btn-solid {
    background: var(--clr-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 86, 0, 0.3);
    border: none;
}

.btn-primary:hover,
.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 86, 0, 0.5);
    background: linear-gradient(to bottom, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
}

.btn-outline,
.btn-glass {
    /* Strong visible border */
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    margin-left: 1rem;
    /* Transparent background */
    background: transparent;
    backdrop-filter: blur(4px);
}

.btn-outline:hover,
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* Sections */
.section {
    padding: 6rem 0;
    scroll-margin-top: 90px;
}

.section-title {
    margin-bottom: 5rem;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title .bar {
    width: 60px;
    height: 4px;
    background: var(--clr-primary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--clr-primary);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Color Sampling Section */
.sampling-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sampling-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.sampling-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.sampling-content p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Partners */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    opacity: 0.6;
}

.brands-grid img {
    max-width: 120px;
    filter: grayscale(1) brightness(2);
    transition: all 0.3s ease;
}

.brands-grid img:hover {
    filter: none;
    opacity: 1;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: var(--glass-border);
    text-align: center;
    color: var(--clr-text-muted);
    /* Better contrast */
}

@media (max-width: 968px) {
    h1 {
        font-size: 3rem;
    }

    .hero-inner,
    .sampling-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2.5rem;
        color: #e2e8f0;
        /* Ensure readable on mobile hero */
    }
}

/* Service Cards Premium Hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--clr-text);
}

.service-card ul li {
    margin-bottom: 0.5rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.store-visuals img {
    transition: transform 0.3s ease;
}

.store-visuals img:hover {
    transform: scale(1.05);
}

/* Mobile Optimization Classes */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.split-layout>div {
    flex: 1;
    min-width: 300px;
}

.padded-box {
    padding: 3rem;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .split-layout>div {
        width: 100%;
        min-width: 0;
    }

    .padded-box {
        padding: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .store-visuals img {
        max-height: 250px;
    }

    .services-extra-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Weather Widget */
.weather-box {
    justify-self: end;
    /* Align to right in grid */
    position: relative;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease-out;
    background: rgba(255, 255, 255, 0.08);
    /* Slightly more visible */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    /* Higher blur for premium glass feel */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    /* Discrete mode */
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
}

.weather-box:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 968px) {
    .weather-box {
        /* Mobile Positioning: Visible initially, hidden on scroll */
        position: absolute;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: center;
        background: rgba(15, 23, 42, 0.95);
        margin: 0;
    }
}

/* Hide Widget on Scroll (Smart UX) */
header.scrolled .weather-box {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    visibility: hidden;
    position: absolute;
    /* Take out of flow */
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Hidden initially */
    left: 0;
    right: 0;
    background: #1e293b;
    color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    max-width: 800px;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--clr-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.cookie-buttons .btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Promo Popup Styles */
.promo-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    left: auto;
    width: 350px;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 102, 0, 0.4);
    /* Orange border glow */
    transform: translateY(150%);
    /* Hidden initially */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(15, 23, 42, 0.95);
}

.promo-popup.show {
    transform: translateY(0);
}

.promo-content {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.promo-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
}

.promo-text h3 {
    color: var(--clr-primary);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.promo-text p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

.close-promo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.close-promo:hover {
    color: #fff;
}

@media (max-width: 480px) {
    .promo-popup {
        left: 50%;
        right: auto;
        margin-left: -175px;
        bottom: 90px;
        width: 350px;
    }
}