.home-page-container{
    min-height: 100vh;
}

.welcome-section-container{
    /*max-height: 500px;*/
    min-height: 52vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../public/welcomeAchtergrond.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.welcome-title{
    color: white; /* Basis kleur is nu wit */
    font-size: 5rem;
    font-weight: 800;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3); /* Maakt de witte tekst leesbaar */
    line-height: 1.1;
    margin-bottom: 10px;
}

.title-accent {
    color: #54c3ea;
}

.welcome-text{
    color: white;
    font-size: 1.5rem;
}

.welcome-register-btn {
    padding: 12px 24px;
    margin-top: 35px;
    background-color: #54c3ea;
    color: white;
    border: 1px solid #54c3ea;
    font-size: 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(84, 195, 234, 0.4);
    transition: all 0.4s ease;
}

.welcome-register-btn:hover{
    background-color: white;
    color: #54c3ea;
    border: 1px solid #54c3ea;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(84, 195, 234, 0.6);
}

.info-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    min-height: 40vh;
    margin: 0;
    background-color: white;
    padding: 40px 20px;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px; /* Meer witruimte binnenin */
    width: 350px;       /* Een flink stuk breder dan voorheen */
    min-height: 250px;  /* Zorgt dat ze allemaal even hoog zijn */
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* Iets zachtere, grotere schaduw */
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px); /* Subtiel effect bij hover */
}

/* De inhoud van de kaart groter maken */
.info-card i {
    font-size: 3rem;   /* Groot icoon */
    color: #3498db;
    margin-bottom: 20px;
}

.info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

/* Stappenplan */
.steps-section {
    padding: 80px 20px;
    background-color: #f9fbfd; /* Licht afwijkende kleur om secties te breken */
}

.steps-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.step-number {
    width: 45px;
    height: 45px;
    background-color: #54c3ea;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Over Ons */
.about-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Footer */
.home-footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h3 {
    color: #54c3ea;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* De stand wanneer ze in beeld komen */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Vertraging voor de stappen zodat ze na elkaar verschijnen */
.step-card:nth-child(2) { transition-delay: 0.2s; }
.step-card:nth-child(3) { transition-delay: 0.4s; }

.info-card:nth-child(1) { transition-delay: 0.1s; }
.info-card:nth-child(2) { transition-delay: 0.3s; }
.info-card:nth-child(3) { transition-delay: 0.5s; }

@media (max-width: 768px) {
    /* --- Bestaande info-card aanpassingen --- */
    .info-card-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* --- NIEUW: Welkomst gedeelte aanpassingen --- */
    .welcome-section-container {
        min-height: 400px; /* Iets minder hoog op mobiel */
        max-height: none;  /* Verwijder max-height zodat tekst altijd past */
        padding: 40px 20px;
        text-align: center;
    }

    .welcome-title {
        font-size: 2.5rem; /* Helft van de grootte voor mobiel */
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .welcome-text {
        font-size: 1.1rem; /* Iets kleiner voor leesbaarheid */
        max-width: 90%;
    }

    .welcome-register-btn {
        width: 80%; /* Knop is makkelijker aan te tikken als hij breed is */
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .info-card-container {
        flex-direction: column; /* Zet kaarten onder elkaar */
        align-items: center;
        gap: 20px;
    }

    .info-card {
        transition-delay: 0.1s !important;
        width: 90%;      /* Neemt bijna de hele breedte in op mobiel */
        max-width: 400px; /* Maar wordt nooit breder dan dit */
        min-height: auto; /* Laat de hoogte meebewegen met de tekst */
        padding: 30px 20px;
    }

    .info-card i {
        font-size: 2.5rem; /* Iets kleiner icoon op kleine schermen */
    }
}

@media (max-width: 768px) {
    /* --- Algemeen --- */
    .section-title {
        font-size: 2rem; /* Iets kleiner dan op desktop */
        margin-bottom: 30px;
    }

    /* --- Stappenplan Mobiel --- */
    .steps-section {
        padding: 50px 20px;
    }

    .steps-grid {
        flex-direction: column; /* Stappen onder elkaar */
        align-items: center;
        gap: 20px;
    }

    .step-card {
        width: 100%; /* Volledige breedte */
        max-width: 350px; /* Maar niet té breed op grote telefoons */
        padding: 30px 20px;
    }

    /* --- Over Ons Mobiel --- */
    .about-section {
        padding: 60px 20px;
    }

    .about-content p {
        font-size: 1.1rem; /* Iets kleinere tekst voor mobiele leesbaarheid */
        text-align: left; /* Vaak fijner leesbaar op smalle schermen */
    }

    /* --- Footer Mobiel --- */
    .home-footer {
        padding: 40px 20px;
    }

    .footer-container h3 {
        font-size: 1.5rem;
    }

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

    .step-card {
        transition-delay: 0s !important;
    }
}

@media (max-width: 1180px) and (orientation: landscape) {

    /* Maak de welkomstsectie compacter zodat de info-cards sneller in beeld komen */
    .welcome-section-container {
        min-height: 70vh;
        padding: 40px 20px;
        /* Zorg dat de flex-items (tekst en titel) gecentreerd blijven */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center; /* Forceert de tekstregels naar het midden */
    }

    .welcome-title {
        font-size: 3rem;
        width: 100%; /* Zorgt dat het tekstblok de volle breedte pakt om te centreren */
    }

    .welcome-text {
        font-size: 1.2rem;
        max-width: 80%;
        margin-left: auto;  /* Deze twee zorgen voor horizontale centering */
        margin-right: auto; /* van de paragraaf box zelf */
        text-align: center;
    }

    /* Info cards: zet ze in een grid of laat ze horizontaal scrollen */
    .info-card-container {
        gap: 20px;
        padding: 40px 20px;
        flex-wrap: wrap; /* Laat ze omvouwen als het scherm te smal is */
        justify-content: center; /* DIT ZET ZE IN HET MIDDEN */
        overflow-x: visible;
    }

    .info-card {
        flex: 0 1 300px; /* Laat ze krimpen indien nodig maar centreer ze */
        min-height: 220px;
        padding: 25px;
    }

    /* Stappenplan compacter */
    .steps-grid {
        gap: 20px;
    }

    .step-card {
        width: 280px;
        padding: 25px;
    }

    /* Over ons tekstbreedte aanpassen voor breed beeld */
    .about-content {
        max-width: 90%;
    }
}
