*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-family: 'Roboto', sans-serif;
}

h1{
    /* Updated to Red Gradient */
    background-image: linear-gradient(to right, #b91c1c, 80% , #ef4444);
    background-clip: text;
    color: transparent; 
    font-size: 1.5rem; 
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 2px solid #ddd;
    background: white;
}
header button{
    background-color: transparent;
    border: none;
}
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

nav{
    width: 250px;
    min-width: 250px;
    height: 100%;
    min-height: 100vh;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    background: white;
}

.listItem {
    display: flex;
    justify-content: flex-start; /* Align text to left */
    align-items: center; /* Center vertically */
    color: #4b5563; /* Softer text color */
    padding: 0.9rem 1.5rem; /* More padding */
    margin: 4px 12px;
    width: auto; /* Auto width */
    border-radius: 8px; /* Slightly squarer modern look */
    transition: all 0.2s ease;
    font-weight: 500;
}
a{
    text-decoration: none;
}

.listItem:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

.listItem.active {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
    font-weight: 600;
}

main{
    height: 100%;
    display: flex;
}

.searchHeader{
    background-color: white; /* Back to white */
    display: flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px; /* Back to Pill shape */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 350px;
    transition: all 0.2s ease;
}

.searchHeader:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.searchHeader i {
    color: #94a3b8;
}

.searchHeader input{
    border: none;
    background: transparent;
    outline: none;
    margin-left: 10px;
    width: 100%;
    font-size: 0.95rem;
    color: #334155;
    font-weight: normal;
}

.indexMain{
    background-color: #f8fafc; /* Standard background */
    width: 100%;
    padding: 2rem; /* Increased padding */
    overflow-y: auto;
}

.container4boxes{
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Unified gap */
    margin-bottom: 2rem;
}

.welkom{
    /* Updated to Red Theme Gradient */
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 12px;
    border: none;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(185, 28, 28, 0.4); /* Red glow shadow */
}

.welkom h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.box{
    flex: 1;
    min-width: 220px;
    height: auto;
    padding: 25px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    color: #1e293b;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.box h3 {
    color: #64748b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.box h2 {
    font-size: 2rem;
    color: #dc2626; /* Red accent */
}

.InkomendeEntry{
    background-color: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    margin: 2rem 0;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    overflow: hidden; /* Fix iframe corners */
}

.InkomendeEntry h2 i {
    color: #dc2626;
    margin-right: 10px;
}

li{
    margin: 20px;
    margin-top: 60px;
}

ul li:nth-child(1)::marker{
 color: red;
}

.TeamUrenOverzicht{
    border-radius: 16px;
    margin: 2rem 0;
    padding: 2rem;
    background-color: white;
    background-color: white;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.TeamUrenOverzicht h2 {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.TeamUrenOverzicht h2 i {
    color: #dc2626;
}

.TeamUren{
    background-color: transparent; /* Removed grey background */
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.TeamLeden{
    flex: 1; /* Equal width */
    display: flex;
    flex-direction: column; /* Stack text inside box */
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 25px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    text-align: center;
}

.TeamLeden p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.TeamLeden h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.TeamLeden:nth-child(1){
    background: linear-gradient(135deg, #10b981, #059669); /* Green modern */
    border: none;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.TeamLeden:nth-child(2){
    background: linear-gradient(135deg, #3b82f6, #2563eb); /* Blue modern */
    border: none;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.korteBeschrijving{
    background-color: white;
    margin: 20px 0;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    line-height: 1.6;
    color: #334155;
}

.buttonGSP{
    margin: 20px 0;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); /* Red button */
    border-radius: 8px;
    text-align: center;
    padding: 12px;
    border: none;
    width: 100%;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.2);
    transition: transform 0.2s;
}

.buttonGSP:hover {
    transform: translateY(-2px);
}

.buttonGSP a {
    color: white;
    font-weight: bold;
    display: block;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hamburger { display: block; }
    
    header { padding: 1rem; }
    .searchHeader { display: none; }

    nav {
        position: absolute;
        left: -100%;
        top: 70px;
        width: 100%;
        z-index: 1000;
        transition: 0.3s ease;
        height: calc(100vh - 70px);
    }
    nav.nav-active { left: 0; }

    .container4boxes { flex-direction: column; }
    .TeamUren { flex-direction: column; }
    .TeamLeden { width: 100%; margin: 5px 0; }
}