/* Unterwerk - Custom Design */
/* Clean, modern design with warm accents and electric highlights */

:root {
    /* Base Colors - Warm & Clean */
    --bg-light: #FAF8F5;
    --bg-white: #FFFFFF;
    --bg-warm: #F4EFE8;

    /* Text Colors */
    --text-dark: #1A1816;
    --text-body: #3A3632;
    --text-light: #6B6763;

    /* Accent Colors - Electric & Warm */
    --accent-electric: #FFD54F;
    --accent-warm: #D4853D;
    --accent-copper: #B87333;

    /* Dark Background */
    --bg-dark: #2D2724;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

.intro {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: var(--spacing-md);
}

/* Links */
a {
    color: var(--accent-warm);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-copper);
    border-bottom-color: var(--accent-copper);
}

/* Override for navigation links */
nav a {
    border-bottom: none;
}

nav a:hover {
    border-bottom: none;
}

/* Header */
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 133, 61, 0.1);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.logo img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: 'Amatic SC', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-dark);
}

.logo-subtitle {
    font-family: 'Amatic SC', cursive;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--text-light);
    margin-top: -2px;
    padding-left: 2px;
}

nav {
    display: flex;
    gap: var(--spacing-md);
}

nav a {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-warm);
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.language-toggle button {
    background: transparent;
    border: none;
    padding: 4px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.language-toggle button:hover {
    color: var(--accent-electric);
}

.language-toggle button.active {
    color: var(--accent-electric);
    text-decoration: underline;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #3d3430 100%);
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 70px;
}

#hero h1 {
    font-family: 'Amatic SC', cursive;
    font-weight: 400;
    letter-spacing: 8px;
    font-size: 5em;
    color: white;
    margin-bottom: -20px;
    text-shadow: 0 0 40px rgba(255, 213, 79, 0.3);
}

#hero .tagline {
    font-family: 'Amatic SC', cursive;
    font-weight: 800;
    letter-spacing: 14px;
    font-size: 1.5em;
    color: white;
    margin-bottom: var(--spacing-md);
    padding-left: 15px;
    white-space: nowrap;
}

.hero-image {
    max-width: 200px;
    width: 60%;
    filter: invert(1);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-electric);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #FFE082;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 213, 79, 0.4);
}

/* About Section */
#about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

#about h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: left;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-body);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.feature {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
}

.icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.badges {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-dark);
    color: var(--accent-electric);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--accent-electric);
    transition: all 0.3s ease;
}

.badge:hover {
    background: var(--accent-electric);
    color: var(--text-dark);
    transform: scale(1.05);
}

.badge i {
    font-size: 1.1rem;
}

/* Beers Section */
#beers {
    padding: var(--spacing-xl) 0;
    background: var(--bg-warm);
}

#beers h2 {
    text-align: center;
}

.beer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.beer-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 133, 61, 0.15);
}

.beer-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--bg-warm);
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.beer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beer-card h3 {
    color: var(--accent-warm);
    margin-bottom: var(--spacing-xs);
}

.beer-style {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

/* Philosophy Section */
#philosophy {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
    text-align: center;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: left;
}

.philosophy-item {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-warm);
}

.philosophy-item h3 {
    color: var(--accent-warm);
    margin-bottom: var(--spacing-sm);
}

/* Contact Section */
#contact {
    padding: var(--spacing-xl) 0;
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

#contact h2 {
    color: white;
}

#contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.contact-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.contact-button {
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid var(--accent-electric);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: var(--accent-electric);
    color: var(--text-dark);
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    background: #1a1816;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .logo {
        gap: 8px;
    }

    .logo img {
        height: 32px;
    }

    .logo-text {
        display: none;
    }

    nav {
        gap: var(--spacing-sm);
    }

    nav a {
        font-size: 0.9rem;
    }

    .beer-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* Voltage Meter */
.voltage-meter {
    position: relative;
    height: 6px;
    background: #374151;
    overflow: hidden;
    border-radius: 3px;
    margin: 20px auto 40px;
    max-width: 600px;
}

.voltage-meter::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--percentage);
    background: linear-gradient(90deg, #F59E0B, #EF4444);
    animation: voltagePulse 2s infinite alternate;
}

@keyframes voltagePulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Voltage Badge */
.voltage-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Voltage Badge Variants */
.voltage-badge--dark-current {
    background: linear-gradient(135deg, #1F2937, #4B5563);
    color: #F59E0B;
}

.voltage-badge--conductor {
    background: linear-gradient(135deg, #B45309, #D97706);
}

.voltage-badge--low-voltage {
    background: linear-gradient(135deg, #059669, #10B981);
}

/* Bolt Rating */
.bolt-rating {
    display: flex;
    gap: 3px;
    margin: 8px 0;
    font-size: 1.1em;
}

.bolt-rating i {
    color: #F59E0B;
}

/* Meter Label */
.meter-label {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto 5px;
    font-size: 0.9em;
    color: #F59E0B;
}

/* Feature Icons */
.feature .icon i {
    font-size: 2.5em;
    color: #F59E0B;
}

/* Smooth animations */
section {
    opacity: 1;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
