/* =====================================
   Algemene styling
===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: #f4f4f4;
    color: #333;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Scrollbars verbergen voor alle scrollbare elementen */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE en Edge */
}

*::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


/* =====================================
   Navbar
===================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(31, 27, 85, 0.85);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo img {
    height: 60px;
    justify-content: left;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    
    align-items: center;
}

.nav-menu li {
    position: relative; /* belangrijk voor dropdown positioning */
}

.nav-menu a {
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #b32b71;
    background: rgba(255,255,255,0.05);
}


/* =====================================
   Dropdown main
===================================== */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f1b55;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 5px;
    z-index: 999;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 15px;
    white-space: nowrap;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    color: #b32b71;
    background: rgba(255,255,255,0.05);
}


/* =====================================
   Nested submenu
===================================== */
.sub-dropdown {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #1f1b55;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.sub-dropdown:hover .sub-menu {
    display: block;
}

.sub-menu li a:hover {
    color: #b32b71;
    background: rgba(255,255,255,0.05);
}


/* =====================================
   Hero
===================================== */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    flex-direction: column;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg_main.png') center center no-repeat;
    background-size: 60%;
    opacity: 0.5;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow:
        2px 2px 4px rgba(0,0,0,0.8),
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    text-shadow:
        1px 1px 3px rgba(31, 27, 85, 0.85),
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}


/* =====================================
   Staff Cards
===================================== */
#staff-cards {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(85, 27, 80, 0.596);
    color: rgb(80, 27, 85);
}

.card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.card h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card p {
    font-size: 1rem;
    line-height: 1.5;
}


/* =====================================
   Staff Content / Bio
===================================== */
.staff-content {
    padding: 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.banner {
    text-align: center;
    margin-bottom: 20px;
}

.staff-role {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

.bio-box {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

.bio-box:hover {
    transform: translateY(-3px);
}

.bio-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #222;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.bio-box p {
    font-size: 1rem;
    color: #444;
    white-space: pre-line; /* zorgt dat enters in de bio zichtbaar zijn */
}


/* =====================================
   Footer
===================================== */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(31, 27, 85, 0.85);
    color: #ff69b4;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

footer a.footer-link {
    color: #ff69b4;
    text-decoration: underline;
    transition: color 0.2s;
}

footer a.footer-link:hover {
    color: #b32b71;
}


/* =====================================
   GitBook Layout
===================================== */
.gitbook-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
    height: calc(100vh - 120px - 70px);
    margin-top: 90px;
    margin-bottom: 70px;
    overflow: hidden;
}

.gitbook-sidebar {
    width: 320px; /* aangepaste breedte */
    background: rgba(31, 27, 85, 0.85);
    color: #fff;
    border-radius: 8px;
    padding: 125px; /* iets meer padding voor meer ruimte */
    height: calc(100% + 0px);
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.gitbook-sidebar h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.gitbook-sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.gitbook-sidebar li {
    margin-bottom: 8px;
}

.gitbook-sidebar li ul {
    margin-left: 15px;
    margin-top: 5px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 10px;
}

.gitbook-sidebar a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.2s;
}

.gitbook-sidebar a:hover {
    color: #fff;
    background: rgba(151,6,66,0.3);
}

.gitbook-content {
    flex-grow: 1;
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #333;
    height: calc(100% + 0px);
    overflow-y: auto;
}

.gitbook-content h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.6rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.gitbook-content h3 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: #444;
}

.gitbook-content p,
.gitbook-content ul {
    margin: 10px 0;
    line-height: 1.6;
}

.gitbook-content ul {
    margin-left: 20px;
}

.gitbook-content li {
    margin-bottom: 6px;
}


/* =====================================
   Staff Page Layout
===================================== */
.staff-page {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 70px auto;
    height: calc(100vh - 140px);
}

.staff-cards {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    overflow-y: auto;
}

.staff-cards .card {
    background: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
}

.staff-cards .card h2 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.staff-cards .card .info {
    display: none;
    font-size: 0.9rem;
    margin-top: 5px;
    color: #555;
}

.staff-cards .card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.staff-cards .card:hover .info {
    display: block;
}

.staff-content {
    flex: 1;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    text-align: center;
    color: #000;
}

.staff-content .banner {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.staff-content .staff-img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0.5;
}

.staff-content .banner h2,
.staff-content .banner p strong {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    margin: 0;
    z-index: 2;
    text-shadow:
        1px 1px #b32b71,
        -1px -1px #ff69b4,
        1px -1px #ff69b4,
        -1px 1px #ff69b4;
}

.staff-content .banner h2 {
    top: 53px;
    font-size: 2.1rem;
}

.staff-content .banner p strong {
    top: 103px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .staff-page {
        flex-direction: column;
        height: auto;
        margin: 70px 20px;
    }

    .staff-cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        height: auto;
    }

    .staff-cards .card {
        flex: 1 0 45%;
        margin-bottom: 10px;
    }

    .staff-content {
        max-height: none;
        margin-top: 20px;
    }

    .staff-content .banner h2 {
        top: 15px;
    }

    .staff-content .banner p strong {
        top: 45px;
    }

    .staff-content .staff-img {
        height: 150px;
        opacity: 0.5;
    }
}


/* =====================================
   Profiel pagina styling - Professioneel
===================================== */
.profile-container {
    width: 100%;
    max-width: 800px;
    padding-bottom: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    height: 100vh;
}

.profile-box {
    background: #fff;
    padding: 25px 25px 45px 25px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.profile-box:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.profile-box h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #1f1b55;
    letter-spacing: 1px;
}

.profile-box .user-role {
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #1f1b55;
    font-weight: 500;
}

.profile-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.profile-box .name-row {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.profile-box .name-row input {
    width: 48%;
}

.profile-box label {
    font-weight: 500;
    margin-bottom: 4px;
    color: #1f1b55;
    font-size: 0.9rem;
}

.profile-box input[type="text"],
.profile-box input[type="date"],
.profile-box input[type="password"],
.profile-box input[type="email"],
.profile-box textarea {
    width: 50%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    background-color: #fafafa;
}

.profile-box input:focus,
.profile-box textarea:focus {
    border-color: #b32b71;
    box-shadow: 0 0 8px rgba(179,43,113,0.3);
    background-color: #fff;
}

.profile-box textarea {
    resize: vertical;
    min-height: 70px;
    max-height: 110px;
}

/* Buttons */
.profile-box .button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.profile-box button {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: #b32b71;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.profile-box button:hover {
    background: #ff69b4;
    transform: translateY(-1px);
}

/* Velden die niet bewerkbaar zijn */
.profile-box input[readonly],
.profile-box textarea[readonly] {
    background: #eaeaea;
    cursor: not-allowed;
    color: #666;
}

/* Responsive */
@media (max-width: 600px) {
    .profile-box {
        padding: 20px 15px 40px 15px;
    }
    .profile-box input[type="text"],
    .profile-box input[type="date"],
    .profile-box input[type="password"],
    .profile-box input[type="email"],
    .profile-box textarea {
        width: 80%;
    }
    .profile-box .name-row input {
        width: 48%;
    }
}

/* =====================================
   Dashboard-specifieke extra styling
===================================== */
.dashboard-container {
    display: flex;
    gap: 10px;
    padding: 10px;
    margin: 70px 10px 70px 10px; /* top 70px, bottom 70px, sides 10px */
}

/* Sidebar */
.users-cards {
    width: 250px;
    overflow-y: auto;
}

.alert-success, .alert-error {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#new-user-btn {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px; /* ruimte tussen knop en cards */
    border-radius: 8px;
    background: #2b2d42;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

#new-user-btn:hover {
    background: #4a4c69;
}

