/* Hovedmenu styling */
.navigation__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
}

/* Menu punkter */
.navigation__list-item {
    position: relative;
}

.navigation__link {
    text-decoration: none;
    color: #ffffff;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
}

.navigation__link:hover {
    color: #edcado; /* Hover-farve */
}

.navigation__list-item--active > .navigation__link {
    color: #edcado;
    font-weight: bold;
}

/* Dropdown menu */
.navigation__dropdown {
    display: none; /* Skjul som standard */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

/* Dropdown links */
.navigation__dropdown li a {
    color: #7e2d44;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    transition: background 0.3s ease, color 0.3s ease;
}

.navigation__dropdown li a:hover {
    background: #edcado;
    color: #000000;
}

/* Vis dropdown ved hover */
.navigation__list-item.has-dropdown:hover .navigation__dropdown {
    display: block !important;
    animation: fadeIn 0.2s ease-in-out !important;
}

.navigation__list-item--active .navigation__dropdown {
    display: none;
}

/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}