/* ===================== Basis-Styling ===================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* ===================== Hero / Logo ===================== */
.hero-container {
    text-align: center;
    padding: 20px;
}

.hero-container img {
    max-width: 200px;
    height: auto;
}

/* ===================== About Me ===================== */
.aboutme-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    max-width: 90%;
    margin: 0 auto;
}

.hero-text {
    max-width: 800px;
    padding: 20px;
    flex: 1;
    text-align: center;
}

#meimg {
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin: 20px auto 0 auto;
    display: block;
}

/* ===================== Bier-Container ===================== */
.beer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.beer-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.beer-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ===================== Footer ===================== */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 20px;
}

.footer img {
    max-width: 100px;
    height: auto;
}

/* ===================== Lightbox ===================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* ===================== Navigation ===================== */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px 40px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav-logo a {
    font-size: 1.2em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #222;
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
}

.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu li a {
    display: block;
}

/* Desktop Hover für Dropdown */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ===================== Mobile Navigation ===================== */
.nav-toggle {
    display: none;
    font-size: 1.8em;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Hamburger sichtbar */
    .nav-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 18px;
        z-index: 1001;
    }

    /* Mobile Nav */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        max-width: 300px;
        height: 100%;
        background: #111;
        flex-direction: column;
        gap: 0;
        padding-top: 60px;
        transition: left 0.3s ease;
        z-index: 1000;
    }

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

    .nav-links li {
        padding: 15px 25px;
        border-bottom: 1px solid #222;
    }

    .nav-links li a {
        font-size: 1.1em;
    }

    /* Dropdown mobile */
    .dropdown-menu {
        display: none;
        flex-direction: column;
        background: #1a1a1a;
        padding-left: 15px;
    }

    .dropdown.open .dropdown-menu {
        display: flex;
    }

    .dropdown-menu li {
        padding: 10px 0;
    }
}

/* ===================== Responsive About & Beer ===================== */
@media (max-width: 768px) {
    .aboutme-container {
        flex-direction: column;
        max-width: 95%;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    #meimg {
        max-width: 80%;
    }

    .beer-container {
        flex-direction: column;
        align-items: center;
    }

    .beer-item {
        max-width: 90%;
    }
}
