/* Globale Reset & Basisstijlen */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #011627;
}

/* Diepzee achtergrond met verloop en afbeelding */
body {
    background-image:
        linear-gradient(rgba(1, 22, 39, 0.75), rgba(1, 32, 58, 0.85)),
        url("background.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero {
    min-height: 100vh;
    background: transparent;
}

.hero-body {
    padding: 3rem 1.5rem;
}

/* Animatie voor de binnenkomst van de pagina */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hoofdcontainer (witte kaart) met zachte schaduw en fade-in */
.main-box {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    padding: 3rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    animation: fadeInPage 1s ease-out forwards;
}

/* Typografie & Titels */
.title-main {
    color: #0077b6;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.subtitle-main {
    color: #0096c7;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.title-divider {
    background-color: #ade8f4;
    height: 2px;
}

.intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

/* Informatiekaarten met Hover-Animes */
.info-card {
    height: 100%;
    padding: 1.8rem;
    border-radius: 16px;
    background: #caf0f8;
    border-top: 6px solid #0077b6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Als de muis over de informatiekaart beweegt */
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 119, 182, 0.15);
    background: #ade8f4;
}

.info-card h2 {
    color: #03045e;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.info-card p {
    color: #023e8a;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Statistiekenblokken */
.stat {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    background: rgba(0, 119, 182, 0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Als de muis over de statistiekcijfers beweegt */
.stat:hover {
    transform: scale(1.05);
    background: rgba(0, 119, 182, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0077b6;
    line-height: 1.2;
}

.stat-text {
    color: #023e8a;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Waarschuwingsblok (Feitje) */
.warning {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: #ffe3a8;
    border-left: 6px solid #f77f00;
    color: #d62828;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(247, 127, 0, 0.1);
}

/* Grote Actieknop met Hover-effect */
.action-button {
    background: #0077b6;
    color: white !important;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    padding: 0.75rem 2rem;
    height: auto;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.4);
    transition: all 0.3s ease;
}

.action-button:hover {
    background: #03045e;
    box-shadow: 0 6px 20px rgba(3, 4, 94, 0.4);
    transform: translateY(-3px);
}

/* Footer onderaan de witte box */
footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
}

footer small {
    font-size: 0.9rem;
}

/* Mobiele responsive instellingen */
@media (max-width: 768px) {
    .main-box {
        padding: 1.75rem;
    }

    .title-main {
        font-size: 2.2rem;
    }

    .hero-body {
        padding: 1.5rem 1rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
}
