/* ================================
   HEADER – 08er Vereinsportal
   Desktop + Mobile Navigation
   Farben: Blau #0070D1 / Grau #333
================================ */

/* HEADER-Bereich */
.main-header {
    background: rgb(255, 255, 255);
    border-bottom: 5px solid #0070D1;
    padding: 10px 0;
    width: 100%;
    z-index: 999;
}

/* Flex-Container */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo + Titel */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-area img {
    margin-right: 12px;
}

.club-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

/* DESKTOP NAVIGATION */
.main-menu {
    display: flex;
    gap: 15px;
}

.main-menu a {
    color: #0070D1;
    font-weight: 600;
    text-decoration: none;
}

.main-menu a:hover {
    text-decoration: underline;
}

/* Desktop Logout Button */
.logout-area .btn {
    font-weight: 600;
}

/* Mobile Button (Hamburger) */
.mobile-menu-btn {
    font-size: 2rem;
    cursor: pointer;
    color: #0070D1;
    user-select: none;
    display: block;
}

/* MOBILE NAVIGATION DROPDOWN */
.mobile-nav {
    display: none;
    background: white;
    border-top: 3px solid #0070D1;
    padding: 15px;
    width: 100%;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: #0070D1;
    border-bottom: 1px solid #eee;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Mobile Logout Button */
.logout-mobile {
    margin-top: 12px;
    padding: 10px;
    background: #d9534f;
    color: white !important;
    text-align: center;
    border-radius: 6px;
}

/* RESPONSIVE (ab 768px Navigation Desktop) */
@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    .main-menu {
        display: flex !important;
    }

    .logout-area {
        display: block !important;
    }
}