/*
 * logstorparkhotel_test — topbar, header, hovedmenu + megamenu, mobilmenu, bookbar, footer.
 * Mobil er under 760 px (designets brudpunkt).
 */

/* ---- Topbar ---- */
.lp-topbar {
    background: var(--lp-ink);
    color: var(--lp-on-dark);
    font-size: 13px;
}
.lp-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
    justify-content: space-between;
    padding-block: 8px;
}
.lp-topbar__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lp-topbar a { color: var(--lp-on-dark); text-decoration: none; }
.lp-topbar a:hover { color: #fff; text-decoration: underline; }

/* ---- Header ---- */
.lp-header {
    position: relative;
    z-index: 40;
    background: var(--lp-surface);
    border-bottom: 1px solid var(--lp-line);
}
.lp-header__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    align-items: center;
    justify-content: space-between;
    padding-block: 14px;
}
.lp-header__logo { display: flex; align-items: center; }
.lp-header__logo img { display: block; height: 60px; width: auto; }
.lp-header__actions { display: flex; gap: 10px; align-items: center; }

/* ---- Hovedmenu ---- */
.lp-nav { border-top: 1px solid var(--lp-line-soft); }
.lp-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    margin-block: 0;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
}
.lp-nav__item { display: flex; align-items: stretch; }
.lp-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 6px 0 14px;
    border-bottom: 3px solid transparent;
    color: var(--lp-body);
    text-decoration: none;
}
.lp-nav__item:not(.lp-nav__item--mega) .lp-nav__link { padding-right: 14px; }
.lp-nav__link:hover { color: var(--lp-ink); }
.lp-nav__link.is-active { border-bottom-color: var(--lp-primary); color: var(--lp-ink); }
.lp-nav__toggle {
    display: inline-flex;
    align-items: center;
    padding: 0 10px 0 2px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--lp-body);
    cursor: pointer;
}
.lp-nav__link.is-active + .lp-nav__toggle { border-bottom-color: var(--lp-primary); }
.lp-nav__toggle .lp-icon { transition: transform .15s ease; }
.lp-nav__toggle[aria-expanded="true"] { color: var(--lp-ink); }
.lp-nav__toggle[aria-expanded="true"] .lp-icon { transform: rotate(180deg); }

/* ---- Megamenu ---- */
.lp-nav { position: relative; }
.lp-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    background: var(--lp-surface);
    border-top: 1px solid var(--lp-line);
    border-bottom: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-mega);
    font-size: 16px;
}
.lp-mega[hidden] { display: none; }
.lp-mega__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 40px;
    padding-block: 36px 44px;
}
.lp-mega__col { display: flex; flex-direction: column; gap: 4px; }
.lp-mega__col .lp-overline { margin-bottom: 10px; font-size: 12px; }
.lp-mega__list { margin: 0; padding: 0; list-style: none; }
.lp-mega__link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #EEF2F3;
    color: var(--lp-ink);
    font-weight: 600;
    text-decoration: none;
}
.lp-mega__link:hover,
.lp-mega__link.is-active { color: var(--lp-fjord); }
.lp-mega__meta { font-weight: 500; color: var(--lp-muted); white-space: nowrap; }
.lp-mega__more { display: inline-block; margin-top: 12px; font-weight: 700; }
.lp-mega__feature {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: var(--lp-ink);
    color: #fff;
    text-decoration: none;
}
.lp-mega__feature:hover { color: #fff; }
.lp-mega__feature-img { display: block; width: 100%; height: 170px; object-fit: cover; }
.lp-mega__feature-body { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.lp-mega__feature-body .lp-overline { font-size: 12px; }
.lp-mega__feature-title { font-family: var(--lp-font-display); font-size: 22px; line-height: 1.15; }
.lp-mega__feature-text { color: var(--lp-on-dark); }

/* ---- Indhold ---- */
.lp-main { display: block; }
.lp-main:focus { outline: none; }

/* ---- Footer ---- */
.lp-footer {
    background: var(--lp-ink);
    color: var(--lp-on-dark-muted);
    font-size: 15px;
    line-height: 1.55;
}
.lp-footer a { color: var(--lp-on-dark-muted); }
.lp-footer a:hover { color: #fff; }
.lp-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 36px;
    padding-block: 64px 32px;
}
.lp-footer__brand,
.lp-footer__col { display: flex; flex-direction: column; gap: 8px; }
.lp-footer__name { font-family: var(--lp-font-display); font-weight: 800; font-size: 22px; color: #fff; }
.lp-footer__strong,
.lp-footer .lp-footer__strong { color: #fff; }
.lp-footer__coltitle { color: #fff; }
.lp-footer__col ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-footer .lp-footer__cta { align-self: flex-start; margin-top: 4px; color: #fff; }
.lp-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    padding-block: 20px 32px;
    border-top: 1px solid var(--lp-panel-line);
    font-size: 13px;
}
.lp-footer__legal { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }

/* ---- Bookbar (kun mobil) ---- */
.lp-bookbar { display: none; }

/* ---- Mobilmenu ---- */
.lp-mobilemenu {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--lp-surface);
    color: var(--lp-ink);
}
.lp-mobilemenu::backdrop { background: rgba(14, 36, 51, .5); }
.lp-mobilemenu__top {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--lp-line);
    background: var(--lp-surface);
}
.lp-mobilemenu__logo { display: block; height: 44px; width: auto; }
.lp-mobilemenu__list,
.lp-mobilemenu__sublist,
.lp-mobilemenu__utility { margin: 0; padding: 0; list-style: none; }
.lp-mobilemenu__list > li { border-bottom: 1px solid var(--lp-line-soft); }
.lp-mobilemenu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    color: var(--lp-ink);
    font-family: var(--lp-font-display);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}
.lp-mobilemenu__link::-webkit-details-marker { display: none; }
.lp-mobilemenu__group[open] .lp-mobilemenu__chevron { transform: rotate(180deg); }
.lp-mobilemenu__sublist { padding: 0 16px 12px; }
.lp-mobilemenu__sublink {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #EEF2F3;
    color: var(--lp-ink);
    font-weight: 600;
    text-decoration: none;
}
.lp-mobilemenu__sublink--overview { border-top: 0; color: var(--lp-fjord); font-weight: 700; }
.lp-mobilemenu__meta { padding: 20px 16px 32px; display: flex; flex-direction: column; gap: 16px; }
.lp-mobilemenu__utility { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; }
.lp-mobilemenu__contact { margin: 0; color: var(--lp-muted); }

/* ---- Mobil ---- */
@media (max-width: 760px) {
    .lp-topbar,
    .lp-nav { display: none; }
    .lp-header__bar { padding-block: 10px; flex-wrap: nowrap; }
    .lp-header__logo img { height: 46px; }
    .lp-header__actions { gap: 8px; }

    .lp-bookbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 16px;
        background: var(--lp-surface);
        border-top: 1px solid var(--lp-line);
        box-shadow: var(--lp-shadow-bar);
    }
    .lp-bookbar .lp-btn { min-height: 48px; }
    .lp-footer { padding-bottom: 72px; }
}
