/* ========================================================================
   OYROPA HEADER - SIMPLE 5 PAGES (OHNE UNTERMENUS)
   Nur: Bewertung | Marktplatz | Türkei | DEFEND | Kontakt
   ======================================================================== */

/* HEADER CONTAINER */
.site-header {
    background: #1A365D;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
    color: #FFFFFF;
}

/* NAVIGATION */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.header-nav li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* NAVIGATION LINKS */
.header-nav a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.header-nav a:hover {
    color: #D69E2E;
    background: rgba(214, 158, 46, 0.1);
}

/* Active Link */
.header-nav a.active {
    color: #D69E2E;
    background: rgba(214, 158, 46, 0.15);
}

/* Gold Underline Effekt beim Hover */
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #D69E2E;
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 80%;
}

/* DROPDOWN FÜR "MARKTPLATZ" */
.header-nav .has-dropdown {
    position: relative;
}

.header-nav .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;

    min-width: 220px;

    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 8px;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Dropdown sichtbar bei Hover */
.header-nav .has-dropdown:hover .dropdown-menu,
.header-nav .has-dropdown.active .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Dropdown Links */
.header-nav .dropdown-menu a {
    color: #1A365D;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 0;
}

.header-nav .dropdown-menu a:hover {
    background: rgba(214, 158, 46, 0.1);
    color: #D69E2E;
}

/* MOBILE MENU (unter 968px) */
@media (max-width: 968px) {
    .header-container {
        padding: 0 1rem;
    }

    /* Mobile: Navigation vertikal */
    .header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #1A365D;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

        /* Versteckt by default */
        display: none;
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .header-nav li {
        width: 100%;
    }

    .header-nav a {
        width: 100%;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-nav a::after {
        display: none;
    }

    /* Dropdown auf Mobile: direkt unter Link */
    .header-nav .dropdown-menu {
        position: static;
        margin-top: 0;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.05);
    }

    .header-nav .has-dropdown:hover .dropdown-menu,
    .header-nav .has-dropdown.open .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .header-nav .dropdown-menu a {
        color: #FFFFFF;
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }

    .header-nav .dropdown-menu a:hover {
        background: rgba(214, 158, 46, 0.2);
    }

    /* Hamburger Button */
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: #FFFFFF;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        transition: color 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        color: #D69E2E;
    }
}

/* Desktop: Hamburger verstecken */
@media (min-width: 969px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* KEINE SCROLLBARS IM HEADER */
.site-header,
.header-container,
.header-nav,
.header-nav ul,
.header-nav li {
    overflow: visible !important;
    max-height: none !important;
}
