/* Fonts */
@font-face {
    font-family: 'Elza';
    src: url(font/Elza.otf);
  }
  @font-face {
    font-family: 'Elza-bold';
    src: url(font/Elza\ bold.otf);
  } 
  @font-face {
    font-family: 'miguel';
    src: url(font/Miguel\ Regular.ttf);
  } 
* {
    margin: 0;
    padding: 0;
}
.header{
    min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),url(images/agenda.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.header-content {
    position: absolute;
    top: 65%;                 
    left: 50%;                
    transform: translate(-50%, -50%);
    color: white;             
    font-size: 50px;
    font-family: 'miguel'; 
    text-align: center;       
}
nav {
    display: flex;
    padding: 2% 5%;
    justify-content: space-between;
    align-items: center;
    background-color: #fff; /* Witte achtergrond toegevoegd */
}

nav img {
    width: 190px;
}

.nav-links {
    flex: 1;
    text-align: right;
}
.nav-links a.active {
    color: #9abebc; 
    font-weight: bold;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #333; 
    text-decoration: none;
    font-size: 13px;
    font-family: Elza;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #9abebc;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

:root {
    --today: #9abebc;     /* De paarse kleur uit je screenshot */
  
    --reserved: #f0f0f0;  /* Lichtgrijs voor bezet */
    --calendar-bg: #fff;
}

.agenda-section {
    min-height: calc(100vh - 200px);
    background: #f5f5f5; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar {
    background: var(--calendar-bg);
    padding: 25px;
    border-radius: 14px;
    width: 360px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-header h2 {
    font-family: 'Elza-bold', sans-serif;
    font-size: 20px;
    color: #333;
}

.weekdays, .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.weekdays div {
    font-weight: bold;
    color: #333; /* Dagen bovenin blijven zwart voor duidelijkheid */
    font-family: 'Elza', sans-serif;
    padding-bottom: 10px;
}

.day {
    font-family: 'Elza', sans-serif;
    color: #333; /* Standaard tekst zwart */
    aspect-ratio: 1 / 1;
    width: 40px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border-radius: 50%;
    cursor: default;
    transition: all 0.2s ease; /* 'all' zorgt dat zowel kleur als achtergrond zacht overgaan */
}

/* Hover effect: Paarse cirkel en witte tekst */
.day:not(.weekend):not(.reserved):hover {
    background-color: #d8f0ef; /* Dezelfde paars als 'today' */
    color: #ffffff;            /* Tekst wordt wit */
    cursor: pointer;
}

/* Weekend: Altijd lichtgrijs, geen hover effect */
.day.weekend {
    background: transparent !important;
    color: #ccc !important; /* !important om de hover te blokkeren */
    cursor: default;
}

/* Vandaag: De paarse cirkel */
.day.today {
    background: #31665e; 
    color: white;
}

/* Gereserveerd: Lichtgrijze cirkel */
.day.reserved {
    background: #9abebc;
    color: #fff;
    cursor: not-allowed;
}
.nav-btn {
    background: none;
    border: none;
    font-size: 20px; /* Iets groter voor betere klikbaarheid */
    cursor: pointer;
    color: #9abebc; /* De blauwe kleur van je logo */
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    color: #7ba8a5; /* Iets donkerder blauw bij hover */
    transform: scale(1.2); /* Het pijltje wordt iets groter als je erover hovert */
}

/* Zorg dat de header de knoppen goed verdeelt */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 10px;
}
/* Legende container */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 10px; /* Iets meer ruimte tussen de items */
    margin-top: 20px;
    padding: 15px;
    background: #fff; /* Wit vlak onder de agenda */
    border-radius: 10px;
    font-family: 'Elza', sans-serif;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-item p {
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

/* De kleurenvakjes (swatches) */
.box {
    width: 20px;
    height: 20px;
    border-radius: 4px; /* Licht afgeronde hoekjes voor een zachte look */
    display: inline-block;
}

/* Kleur voor Bezet (Gereserveerd) */
.box.reserved {
    background-color: #9abebc;
}

.footer {
    background-color: #fff;
    color: #333;
    padding: 40px 0 20px;
    font-family: elza;
}

.footer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px; /* afstand eerste en laatste kolom tot schermranden */
    align-items: flex-start;
}

/* eerste en laatste kolom normaal */
.footer-column {
    min-width: 200px;
}
.footer-column img{
    width: 150px;
}
/* middle kolom krijgt grote afstand links */
.middle-column {
    margin-left: 350px; /* enorme ruimte tussen kolom 1 en 2 */
    margin-right: 50px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-column h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-family: miguel;
    color: #9abebc;
}

.footer-column p {
    margin: 5px 0;
    font-size: 14px;
    font-family: poppins;
}

.footer-column a {
    color: #333;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #9abebc;
    font-family: poppins;
}


/* ============================= */
/* MOBILE STYLING (<768px) */
/* ============================= */
@media (max-width: 768px) {

    /* NAVIGATION */
    nav {
        padding: 10px 15px;
    }

    nav img {
        width: 140px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
        background: #333;
        border-radius: 3px;
        transition: 0.3s ease;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
    }

    .nav-links ul li {
        display: block;
        padding: 20px 0;
    }

    .nav-links ul li a {
        font-size: 18px;
        color: #333;
        text-decoration: none !important;
    }

    .nav-links ul li a:hover {
        color: #9abebc;
        text-decoration: none !important;
    }

    /* HEADER */
    .header {
        min-height: 25vh;
    }

    .header-content {
        font-size: 28px;
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 0 15px;
    }

    /* AGENDA SECTION */
    .agenda-section {
        min-height: 50vh;       /* geen overbodige hoogte */
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center; /* vertical center */
        align-items: center;     /* horizontal center */
        gap: 20px;
    }


    .calendar {
        width: 100%;
        max-width: 360px;
        padding: 15px;
        margin: 0 auto;          /* horizontaal centreren */
    }
    .calendar-header {
        justify-content: space-between;
        padding: 0 10px;
        width: 100%;
    }
    .calendar-header h2 {
        font-size: 18px;
    }

    .weekdays, .days {
        gap: 3px;
    }

    .day {
        width: 35px;
        aspect-ratio: 1 / 1;
        font-size: 12px;
    }

    /* LEGEND */
    .calendar-legend {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center; /* horizontaal centreren */
        gap: 10px;
        margin-top: 20px;
        padding: 10px;
        width: 100%;
        max-width: 360px;
        background: #fff;
        border-radius: 10px;
    }

    .legend-item p {
        font-size: 12px;
    }

    /* FOOTER */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 15px;
        gap: 30px;
    }

    .footer-column {
        width: 100%;
        max-width: 400px;
        margin: 0;
    }

    .middle-column {
        margin: 0; /* reset grote desktop margin */
    }

    .footer-column img {
        margin: 0 auto 10px;
        display: block;
    }

    .footer-bottom {
        margin-top: 15px;
    }
}

