/* Algemene basis */
body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    font-family: "Segoe UI", sans-serif;
    color: #111;
}

/* Header met meer wit in de clubkleuren */
.topbar {
    background: linear-gradient(
        90deg,
        #d40000 0%,
        #ffffff 52.5%,
        #0033aa 100%
    );
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Ronde logocontainer – nu 200px */
.logo-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Logo zelf */
.logo-container img {
    width: 103%;
    height: 103%;
    object-fit: cover;
}

/* Navigatie */
.menu {
    display: flex;
    justify-content: space-around;
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 3px solid #0033aa;
}

/* Dropdown container */
.dropdown {
    position: relative;
    cursor: pointer;

    /* FIX 1 — buffer zodat submenu niet wegvalt */
    padding-bottom: 10px;
}

/* Menu item */
.menu-item {
    text-decoration: none;
    color: #0033aa;
    font-weight: bold;
    font-size: 15px;
    padding: 6px 10px;
    border-radius: 4px;
    transition: 0.2s;
}

.menu-item:hover {
    background: #0033aa;
    color: #fff;
}

/* Submenu standaard verborgen */
.submenu {
    display: none;
    position: absolute;

    /* FIX 2 — dichter tegen menu aan */
    top: 32px;

    left: 0;
    background: #ffffff;
    border: 2px solid #0033aa;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    min-width: 150px;
    z-index: 999;

    /* FIX 3 — stabiel klikbaar */
    pointer-events: auto;
}

/* Submenu items */
.submenu-item {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #0033aa;
    font-weight: bold;
    border-bottom: 1px solid #e5e5e5;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    background: #0033aa;
    color: #fff;
}

/* FIX 4 — submenu blijft open bij hover én focus */
.dropdown:hover .submenu,
.dropdown:focus-within .submenu {
    display: block;
}

/* Mobiel: submenu openen bij tikken */
.dropdown:active .submenu {
    display: block;
}

/* Content */
.content {
    max-width: 420px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Welkomstkaart */
.welcome-card {
    background: #ffffff;
    border-left: 6px solid #d40000;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.welcome-card h2 {
    margin-top: 0;
    color: #0033aa;
}

/* Terugknop */
.back-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 10px; /* center */
    padding: 8px 16px;
    background: #d40000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.2s;
}

.back-btn:hover {
    background: #0033aa;
}

/* =========================================
   VR1 BUTTON STYLE
   ========================================= */

.vr1-button {
    display: inline-block;
    padding: 14px 26px;
    background: #0033aa; /* VR1 blauw */
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #0033aa;
    transition: 0.25s ease;
    box-shadow: 0 0 10px rgba(0, 51, 170, 0.4);
}

/* Hover effect */
.vr1-button:hover {
    background: #1a57ff; /* lichtere VR1 blauw */
    border-color: #1a57ff;
    box-shadow: 0 0 16px rgba(26, 87, 255, 0.7);
    transform: translateY(-2px);
}

/* Centraal uitlijnen */
.signoff-button {
    display: block;
    width: fit-content;
    margin: 30px auto; /* centreren */
}

/* =========================================
   INDEX / HOOFDPAGINA ACHTERGROND
   ========================================= */

.index-page {
    background: url("./afbeelding/index.JPG") no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Donkere overlay */
.index-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    z-index: -1;
}