/* ===================================================================
   HOMEPAGE
   =================================================================== */

.home-hero {
    position: relative;
    /* Hoogte: Minimaal 600px, maar liefst 90% van het scherm */
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center; /* Verticaal centreren van de .container */
    color: var(--clr-white);
    overflow: hidden;
}

/* --- ACHTERGRONDEN & OVERLAY --- */
.home-hero__bg {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    z-index: 0; /* Helemaal achteraan */
}

/* Video Support (Zorg dat video ook 'cover' pakt) */
.home-hero__bg video,
.home-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* De Gradients Overlay */
.home-hero .overlay {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    z-index: 1; /* Bovenop de video/foto */
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 40%), 
        linear-gradient(68deg, rgb(0 8 16) 10%, rgba(0, 0, 0, 0) 80%);
}

/* Ken Burns Animatie */
@keyframes kenBurns {
    0% { 
        transform: scale(1.0);
        transform-origin: 10% 10%;
    }
    100% { 
        transform: scale(1.25);
        transform-origin: 90% 90%;
    }
}

.ken-burns {
    animation: kenBurns 15s infinite alternate ease-in-out;
    will-change: transform; /* Performance optimalisatie */
}

/* --- CONTENT --- */
.home-hero__content {
    position: relative;
    z-index: 2; /* MOET hoger zijn dan .overlay (1) */
    max-width: 800px;
    padding-top: 60px; /* Visuele correctie voor header */
}

/* Typografie */
#hero-title {
    /* Font-size staat al in je globale CSS, maar hier specifiek: */
    margin-bottom: 1.5rem;
    color: var(--clr-white);
}

.hero-lead {
    font-size: 1.5rem; /* Lekker groot leesbaar intro */
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
    color: var(--clr-white);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

/* --- MOBIEL --- */
@media (max-width: 768px) {
    .home-hero {
        height: auto; /* Op mobiel mag hij gewoon zo hoog zijn als de content */
        min-height: 500px;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-lead {
        font-size: 1.2rem;
    }
    
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-actions .button {
        width: 100%;
        justify-content: center; /* Tekst centreren */
    }
}

/* Container voor de divider */
.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3; /* Bovenop de video/foto/overlay */
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px); /* Voorkomt kiertjes */
    fill: #e7f4f9;
}

/* De kleur van de golf */
.hero-divider .shape-fill {
    fill: var(--clr-bg-light); /* MATCH DIT MET DE ACHTERGROND VAN BLOK 2! */
}

/* --- AUDIENCE BOX --- */
.audience-box {
  background-color: #fff;
  border-radius: var(--radius-std);
  color: #001158;
  border: 3px solid #ededed;
  overflow: hidden;
}

.audience-box-header {
  padding: 3rem 3rem 0;
}

.audience-box h2 {
  font-size: 52px;
  margin-bottom: 4px;
  line-height: 1;
  margin-top: 10px;
}

.audience-box h2 span {
  color: var(--clr-accent);
}

.audience-card {
    background-color: var(--clr-dark-blue); /* Donkerblauw voor contrast */
    color: var(--clr-white);
    border-radius: var(--radius-std);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%; /* Even hoog als rechts */
    box-shadow: 0 10px 30px rgba(0, 17, 88, 0.15);
}

.audience-card h3 {
    color: var(--clr-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.audience-card p {
    color: var(--clr-accent);
    font-weight: 600;
    margin-bottom: 2rem;
}

.audience-options {
    display: flex;
    margin-block: 0 2.5rem; 
    flex-direction: column;
    flex-grow: 1;
}

.audience-option {
  display: flex;
  justify-content: space-between; 
  align-items: center;           
  gap: 20px;                      
  padding: 1.5rem 3rem;
  border-bottom: 1px solid #ededed;
  text-decoration: none;        
  transition: all 0.2s ease-in-out;
}

.audience-option:first-child {
  padding: 2rem 3rem 1.5rem;
}

.audience-option:hover {
  background-color: #f0fbff;
}

.audience-option strong {
  color: var(--clr-med-blue);
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.audience-option span {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  font-weight: normal;
}

.audience-box-button {
  padding: 0 3rem 2rem;
}

.option-icon {
  display: flex;  
  color: var(--clr-accent);
  flex-shrink: 0;      
}

.option-icon svg {
    width: 24px;
    height: 24px;
}

/* --- NIEUWS DASHBOARD  --- */

.news-header {
  font-size: 32px;
  color: var(--clr-med-blue);
}

.news-dashboard-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 900px) {
   .news-dashboard-list {
      margin-top: 74px;
    }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.news-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.news-item-horizontal {
    display: flex;
    text-decoration: none;
    gap: 1.5rem;
    transition: all 0.13s ease-in-out;
}

.news-item-horizontal:hover {
   transform: translateY(-5px);
}

.horizontal-thumb {
    background: var(--clr-accent);
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizontal-thumb.is-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-icon {
  width: 40px;
  height: 40px;
  color: var(--clr-bg-light);
}

.horizontal-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%;
}

.horizontal-title {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
    color: var(--clr-dark-blue);
    font-weight: 600;
    text-transform: none;
}

.horizontal-title strong {
    color: var(--clr-med-blue);
  font-weight: 600;
}

.horizontal-thumb.is-date-box {
    background-color: #001158;
    color: #ffffff;
    flex-direction: column;
    line-height: 1;
}

.date-box-content .day {
    display: block;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 2px;
}

.date-box-content .month {
    display: block;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    color: #aed5e7;
}

.more-link {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: var(--clr-med-blue);
}

.more-link:hover {
  text-decoration: underline;
}

/* --- NIEUWS EN AGENDA OVERZICHT --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* --- DE KAART --- */
.news-card {
    background: var(--clr-white);
    border-radius: var(--radius-std);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Zorgt dat ze even hoog zijn */
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Afbeelding Area */
.news-card__image {
    height: 200px;
    position: relative;
    background-color: var(--clr-bg-pale);
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder als er geen foto is */
.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--clr-med-blue), var(--clr-accent));
    opacity: 0.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img svg {
    width: 110px;
    height: 110px;
    color: #fff;
}

/* --- BADGES (Datum & Type) --- */
.date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--clr-dark-blue);
    padding: 18px 12px;
    border-radius: 8px;
    text-align: center;
    color: var(--clr-white);
    line-height: 1;
    min-width: 70px;
}

.date-badge .day {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}

.date-badge .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
      color: #aed5e7;
}

.type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--clr-med-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- CONTENT --- */
.news-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.meta-date {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin-bottom: 0.5rem;
}

.news-card__title {
    font-size: 28px;
    margin: 0 0 0.75rem 0;
    line-height: 1.15;
    color: var(--clr-dark-blue);
}

.news-card__title strong {
      color: var(--clr-accent);
}

.news-card__intro {
    font-size: 18px;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-family: var(--font-serif);
}

.read-more {
    margin-top: auto;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: var(--clr-med-blue);
}

.news-card:hover .read-more {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}


/* --- PARALLAX SECTIE --- */
.parallax-section {
    position: relative;
    min-height: 600px;
    padding-block: 6rem;
    background-image: var(--parallax-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    display: flex;
    align-items: center; 
  
}

.parallax-section.parallax-right {
    justify-content: flex-end;
}

/* Donkere laag voor contrast */
.parallax-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 17, 88, 0.4); 
    z-index: 1;
}

.parallax-container {
    position: relative;
    z-index: 2;
}

.parallax-right .parallax-container {
    display: flex; justify-content: flex-end;
}

.parallax-card {
    background-color: rgb(255 255 255 / 85%);
    padding: 3.5rem;
    max-width: 560px;
    border-radius: var(--radius-std);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.parallax-card h2 {
    margin-bottom: 1.5rem;
}

.parallax-card p {
    font-size: 18px;
    font-family: var(--font-serif);
}

.usp-list {
    padding: 0;
    margin: 0 0 2.5rem 0;
    list-style: none;
}

.usp-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--clr-dark-blue);
    font-size: 1.05rem;
}

.check-icon {
    color: var(--clr-accent); 
}

@media (max-width: 900px) {
    .parallax-section {
        background-attachment: scroll;
        padding-block: 4rem;
        align-items: flex-start; 
    }
    .parallax-card {
        padding: 2rem;
        width: 100%;
    }
}

/* --- SPOTLIGHT --- */
.spotlight-content p {
  font-size: 18px;
  font-family: var(--font-serif);
  margin-bottom: 3rem;
}

.spotlight-image-wrapper img {
  border-radius: 20px;
}

/* Video variant */
.spotlight-section.is-video .container {
    max-width: 960px;
}

.spotlight-video .responsive-video-wrapper {
    border-radius: var(--radius-std);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
