/* ===============================
   HEADER BASIS
   =============================== */

.site-header {
    position: sticky;
    top: 0;
    height: 60px;
    z-index: 9999;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    display: flex;
    align-items: center;
    justify-content: space-between; /* optioneel, maar netjes */
    transition: background 0.3s ease, color 0.3s ease;
}

/* Logo */
.site-header .logo a {
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
}

/* Menu links */
.site-header nav a {
    margin-left: 25px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

.site-header nav a:hover {
    opacity: 0.6;
}

/* Sticky (donkere header) */
.site-header.sticky {
    background: rgba(0, 0, 0, 0.85);
}

.site-header.sticky .menu a {
    color: #ffffffd4;
}

.site-header.sticky .menu a:hover {
    color: #fff;
    opacity: 0.7;
}

/* .header-left {
    padding-left: 40px;
} */

.logo {
    display: flex;
    align-items: center;
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    flex: 0 0 auto;
    padding-left: 40px; /* ~1 cm vanaf de linkerkant */
    /* margin-right: 20px; */
}
.logo {
    font-family: 'Advent Pro', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    letter-spacing: 2px;
}

/* Menu rechts */
.header-center {
    flex: 1;
    justify-content: flex-end;
    /* max-width: calc(100% - 200px); */
}

/* Hamburger rechts */
.header-right {
    flex: 0 0 auto;
    margin-left: 40px;
}

.site-header.sticky .logo {
    color: #fff;
}

/* ===============================
   MENU
   =============================== */

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0 20px 0 0;
}

.menu li a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Advent Pro', sans-serif;
    transition: opacity .2s ease, color .2s ease;
}

.menu li a:hover {
    opacity: 0.6;
}

/* ===============================
   INLINE LOGIN
   =============================== */

.inline-login-form {
    display: none;
    gap: 10px;
}

.inline-login-form.active {
    display: flex;
}

.inline-login-form input {
    padding: 6px 10px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
}

.inline-login-form button {
    padding: 6px 12px;
    border: none;
    background: white;
    color: black;
    border-radius: 4px;
    cursor: pointer;
}

/* ===============================
   HAMBURGER
   =============================== */

.hamburger {
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (min-width: 901px) {
    .menu {
        display: flex;
    }
    .hamburger {
        display: none;
    }
}

@media (max-width: 900px) {
    .menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .menu.open {
        display: flex;
        flex-direction: column;
        background: rgba(0,0,0,0.6);
        padding: 20px;
        gap: 20px;
        position: absolute;
        top: 70px;
        right: 20px;
        border-radius: 8px;
        backdrop-filter: blur(6px);
    }

    .menu.open a {
        color: #fff !important;
    }

    .menu.open a:hover {
        color: #000000 !important;
        opacity: 0.7;
    }

    /* Hamburger animatie */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    .inline-login-form {
        flex-direction: column;
        width: 100%;
    }

    .inline-login-form input,
    .inline-login-form button {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Container van het dropdown-item */
.dropdown {
    position: relative;
}

/* Verberg submenu standaard */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255,255,255,0.95);
    padding: 10px 0;
    list-style: none;
    margin: 0;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
}

/* Toon submenu bij hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Items in submenu */
.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(0,0,0,0.05);
}

/* ===============================
   2FA PAGINA STYLING
   =============================== */

.twofa-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 40px 20px;
}

.twofa-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 40px 50px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    text-align: center;
    max-width: 420px;
    width: 100%;
    font-family: 'Advent Pro', sans-serif;
    animation: fadeIn 0.4s ease-out;
}

.twofa-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 600;
}

.twofa-sub {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 25px;
}

.twofa-error {
    background: rgba(255, 0, 0, 0.12);
    color: #b30000;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

.twofa-input {
    width: 100%;
    padding: 15px;
    font-size: 36px; /* jouw wens */
    text-align: center;
    border: none;
    border-radius: 10px;
    margin-bottom: 25px;
    letter-spacing: 6px;
    font-weight: 600;
    background: rgba(255,255,255,0.95);
    box-shadow: inset 0 0 8px rgba(0,0,0,0.08);
}

.twofa-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
}

.twofa-button {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: black;
    color: white;
    letter-spacing: 1px;
    transition: 0.2s;
    font-weight: 500;
}

.twofa-button:hover {
    opacity: 0.8;
}

/* Subtiele fade-in animatie */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Onthoud-apparaat checkbox */
.remember-device {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Shake animatie */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.twofa-error.shake {
    animation: shake 0.4s ease;
}
