:root {
    --primary-color: #000000;    /* Schwarz */
    --secondary-color: #8BA83B;  /* Grünton */
    --text-color: #e0e0e0;       /* Hellgrau für Text */
    --background-color: #000000; /* Schwarz */
    --card-background: #1e1e1e;  /* Dunkelgrau für Karten */
    --hover-color: #9CBA4B;      /* Hellerer Grünton für Hover-Effekte */
    --heading-color: #ffffff;    /* Weiß für Überschriften */
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

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

.nav-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
    padding: 80px 20px 20px 20px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-in;
}

.slogan {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in 0.3s backwards;
    color: #ffffff; /* Explizit weiß für den Slogan */
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in 0.6s backwards;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.hero-content p {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    background-color: var(--background-color);
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Grid Layouts */
.beer-grid, .recipe-grid, .event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards */
.beer-card, .recipe-card, .event-card {
    background: var(--card-background);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.beer-card:hover, .recipe-card:hover, .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 168, 59, 0.2);
}

.beer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.timeline-title {
    color: #ffffff; /* Weiß für die Überschrift */
    margin-bottom: 3rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-grid {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-grid::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-card {
    background: var(--card-background);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: left;
    width: calc(50% - 30px);
    margin-bottom: 1rem;
    position: relative;
}

.timeline-card:nth-child(odd) {
    margin-left: auto;
}

.timeline-card:nth-child(even) {
    margin-right: auto;
}

.timeline-card::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-card:nth-child(odd)::before {
    left: -40px;
}

.timeline-card:nth-child(even)::before {
    right: -40px;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 168, 59, 0.2);
}

.timeline-year {
    background: var(--secondary-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: bold;
}

.timeline-content {
    color: #ffffff; /* Weiß für den Inhalt */
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 2rem;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Mobile Navigation */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--primary-color);
        width: 100%;
        padding: 1rem;
    }

    .nav-links.active a {
        margin: 1rem 0;
    }

    .nav-logo {
        height: 30px;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .ingredient-img {
        width: 120px;
        height: 120px;
    }

    .beer-img {
        width: 150px;
        height: 150px;
    }

    .slogan {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .timeline-grid::before {
        left: 31px;
    }

    .timeline-card {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }

    .timeline-card::before {
        left: -40px !important;
        right: auto !important;
    }
}

/* Event Cards */
.event-card {
    background: var(--card-background);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.event-card p {
    color: var(--text-color);
}

/* Beer Cards */
.beer-card {
    background: var(--card-background);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: center;
}

.beer-card h3 {
    color: var(--text-color);
    margin: 1rem 0;
}

.beer-card p {
    color: var(--text-color);
}

.event-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin: 1rem 0;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9) contrast(1.1);
    transition: transform 0.3s ease;
}

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

.event-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.beer-details {
    margin-top: 1rem;
    text-align: left;
    padding: 0 1rem;
}

.beer-details p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.beer-details strong {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.about-card {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.about-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Dark Mode spezifische Anpassungen */
.section {
    background-color: var(--background-color);
}

.section h2 {
    color: var(--heading-color);
}

.beer-card, .recipe-card, .event-card {
    background: var(--card-background);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.beer-card:hover, .recipe-card:hover, .event-card:hover {
    box-shadow: 0 5px 15px rgba(139, 168, 59, 0.2);
}

.timeline-card {
    background: var(--card-background);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.timeline-card:hover {
    box-shadow: 0 5px 15px rgba(139, 168, 59, 0.2);
}

.timeline-content {
    color: #ffffff; /* Weiß für den Inhalt */
}

.about-card {
    background-color: var(--card-background);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.about-text {
    color: var(--text-color);
}

.beer-details p {
    color: var(--text-color);
}

.beer-details strong {
    color: var(--secondary-color);
}

/* Anpassung der Bilder für Dark Mode */
.beer-image, .event-image {
    filter: brightness(0.9) contrast(1.1);
}

/* Anpassung der Timeline für Dark Mode */
.timeline-grid::before {
    background: var(--secondary-color);
}

.timeline-card::before {
    background: var(--secondary-color);
}

.timeline-year {
    background: var(--secondary-color);
    color: var(--background-color);
}

/* Footer Anpassungen */
footer {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.social-links a {
    color: var(--text-color);
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Mobile Navigation Anpassungen */
.burger div {
    background-color: var(--text-color);
}

.nav-links.active {
    background-color: var(--primary-color);
}

/* Zutaten Sektion */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ingredient-card {
    background: var(--card-background);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 168, 59, 0.2);
}

.ingredient-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.ingredient-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ingredient-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.ingredient-card p {
    color: var(--text-color);
    line-height: 1.6;
} 