/* AtSea: menu over het hele scherm. */
.atsea-fm-knop, .atsea-fm { --fm-rood: #d63127; --fm-donker: #1b1b1f; font-family: Poppins, sans-serif; }

/* Knop in de kop */
/* "body button." wint van de knopopmaak van het thema en de Elementor-kit. */
body button.atsea-fm-knop { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 12px 22px 12px 16px; border: 1.5px solid var(--fm-donker); border-radius: 99px; background: transparent; box-shadow: none; color: var(--fm-donker); font: 600 15px/1 Poppins, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
body button.atsea-fm-knop:hover, body button.atsea-fm-knop:focus, body button.atsea-fm-knop:focus-visible { background: var(--fm-donker); border-color: var(--fm-donker); color: #fff; }
.atsea-fm-streepjes, .atsea-fm-label { line-height: 1; }
.atsea-fm-streepjes { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.atsea-fm-streepjes i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: width .3s ease; }
.atsea-fm-streepjes i:nth-child(2) { width: 70%; }
body button.atsea-fm-knop:hover .atsea-fm-streepjes i:nth-child(2) { width: 100%; }

/* Het scherm */
.atsea-fm { position: fixed; inset: 0; z-index: 100000; overflow-y: auto; color: #fff;
    background: radial-gradient(circle at 85% 15%, rgba(214, 49, 39, .35), transparent 45%), var(--fm-donker);
    opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.atsea-fm.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.atsea-fm[hidden] { display: block; }
html.atsea-fm-open, html.atsea-fm-open body { overflow: hidden; }

.atsea-fm-binnen { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto 1fr; gap: 40px 80px; min-height: 100%; padding: 28px 5% 56px; box-sizing: border-box; }
.atsea-fm-boven { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; }
body button.atsea-fm-sluit { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 12px 22px 12px 16px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 99px; background: transparent; box-shadow: none; color: #fff; font: 600 15px/1 Poppins, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .25s, color .25s; }
body button.atsea-fm-sluit:hover, body button.atsea-fm-sluit:focus, body button.atsea-fm-sluit:focus-visible { background: #fff; border-color: #fff; color: var(--fm-donker); }
.atsea-fm-kruis { position: relative; width: 18px; height: 18px; }
.atsea-fm-kruis i { position: absolute; top: 8px; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.atsea-fm-kruis i + i { transform: rotate(-45deg); }
.atsea-fm .atsea-fm-merk { color: rgba(255, 255, 255, .6); font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none; }

/* Grote links */
.atsea-fm-nav { align-self: center; }
.atsea-fm .atsea-fm-lijst { margin: 0; padding: 0; list-style: none; counter-reset: fm; }
.atsea-fm-lijst li { counter-increment: fm; overflow: hidden; }
.atsea-fm .atsea-fm-lijst a { display: flex; align-items: baseline; gap: 22px; padding: 6px 0; color: #fff; font-size: clamp(38px, 6vw, 84px); font-weight: 700; line-height: 1.08; letter-spacing: -1.5px; text-decoration: none;
    transform: translateY(105%); transition: transform .6s cubic-bezier(.2, .7, .2, 1), color .25s; }
.atsea-fm .atsea-fm-lijst a::before { content: counter(fm, decimal-leading-zero); min-width: 34px; color: var(--fm-rood); font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.atsea-fm .atsea-fm-tekst { position: relative; transition: transform .35s ease; }
.atsea-fm .atsea-fm-lijst a:hover, .atsea-fm .atsea-fm-lijst a:focus-visible { color: var(--fm-rood); }
.atsea-fm .atsea-fm-lijst a:hover .atsea-fm-tekst { transform: translateX(14px); }
.atsea-fm .atsea-fm-lijst .current-menu-item > a { color: var(--fm-rood); }
.atsea-fm.is-open .atsea-fm-lijst a { transform: none; }
.atsea-fm.is-open .atsea-fm-lijst li:nth-child(2) a { transition-delay: .05s; }
.atsea-fm.is-open .atsea-fm-lijst li:nth-child(3) a { transition-delay: .1s; }
.atsea-fm.is-open .atsea-fm-lijst li:nth-child(4) a { transition-delay: .15s; }
.atsea-fm.is-open .atsea-fm-lijst li:nth-child(5) a { transition-delay: .2s; }
.atsea-fm.is-open .atsea-fm-lijst li:nth-child(6) a { transition-delay: .25s; }
.atsea-fm.is-open .atsea-fm-lijst li:nth-child(7) a { transition-delay: .3s; }
.atsea-fm.is-open .atsea-fm-lijst li:nth-child(n+8) a { transition-delay: .35s; }

/* Zijkant */
.atsea-fm-zij { align-self: center; display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(20px); transition: opacity .5s ease .25s, transform .5s ease .25s; }
.atsea-fm.is-open .atsea-fm-zij { opacity: 1; transform: none; }
.atsea-fm-blok { padding: 26px 28px; border-radius: 28px; background: rgba(255, 255, 255, .06); }
.atsea-fm-blok.is-wit { background: #fff; color: var(--fm-donker); }
.atsea-fm-kop { margin-bottom: 12px; color: var(--fm-rood); font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.atsea-fm-blok p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.6; }
.atsea-fm .atsea-fm-blok a { color: #fff; }
.atsea-fm .atsea-fm-blok.is-wit a.atsea-vo-titel { color: var(--fm-donker); }
.atsea-fm .atsea-fm-blok.is-wit a.atsea-vo-titel:hover { color: var(--fm-rood); }
.atsea-fm .atsea-fm-blok.is-wit .atsea-fm-meer { display: inline-block; margin-top: 16px; color: var(--fm-rood); font-size: 14px; font-weight: 600; text-decoration: none; }

@media (max-width: 1024px) {
    .atsea-fm-binnen { grid-template-columns: 1fr; gap: 36px; padding: 22px 24px 48px; }
    .atsea-fm-nav { align-self: start; }
}
@media (max-width: 767px) {
    body button.atsea-fm-knop { padding: 12px 14px; }
    body button.atsea-fm-knop .atsea-fm-label { display: none; }
    .atsea-fm-binnen { padding: 18px 16px 40px; }
    .atsea-fm .atsea-fm-lijst a { gap: 14px; letter-spacing: -1px; }
    .atsea-fm .atsea-fm-merk { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .atsea-fm, .atsea-fm .atsea-fm-lijst a, .atsea-fm-zij { transition: none !important; transform: none !important; }
}
