:root {
    --primary-color: #3067a2;
    --primary-color-light: #4273a7;
    --secondary-color: #dee1e2;
    --black-color: #000000;
  }

/* ------------------- Hero ------------------- */

.hero {
    height: 90vh;
    background: url('../img/heroFoto.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}


.hero-text {
    color: var(--primary-color);
    font-weight: bold !important;
    font-size: 6rem !important;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-text-p {  
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    font-size: 2.5rem !important;
}

.hero-text-p-small {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    font-size: 1.5rem !important;
}

.hero-btn {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    border: none !important;
    padding: 12px 25px !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out;
}

.hero-btn:hover {
    background-color: var(--primary-color-light) !important;
    transform: scale(1.05);
}

/* ------------------- Over Ons ------------------- */

.over-ons {
    padding: 80px 20px;
}

.over-ons h2 {
    color: var(--primary-color);
}

.fw-bold {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.over-ons p {
    font-size: 1.2rem;
    color: #333;
}

.over-ons img {
    max-width: 60%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.over-ons img:hover {
    transform: scale(1.05);
}

/* ------------------- Diensten ------------------- */

.diensten {
    padding: 80px 20px;
}

.diensten h2 {
    color: var(--primary-color);
}

.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.card i {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card h4 {
    color: var(--primary-color);
    font-weight: bold;
}

.card p {
    font-size: 1rem;
    color: #555;
}

.dienst-card {
    text-decoration: none;
    color: inherit;
}

/* Zorgt ervoor dat alle cards dezelfde hoogte hebben */
.diensten .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Gelijke hoogte voor alle cards */
    min-height: 300px; /* Stel een minimumhoogte in */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    background-color: #f8f9fa;
}

.dienst-card .card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

/* Voorkomt dat de inhoud de kaart oprekt */
.diensten .card p {
    flex-grow: 1;
}

/* Zorgt ervoor dat alle teksten binnen de cards gelijk uitgelijnd blijven */
.card h4 {
    text-align: center;
}

/* Voegt een extra hoogtebeperking toe aan de iconen zodat ze de tekst niet verschuiven */
.card i {
    font-size: 3rem;
    margin-bottom: 15px;
}


/* ------------------- Cookies ------------------- */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    pointer-events: auto;
}

.cookie-banner a {
    color: #ffcc00;
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #ffffff;
}

#accept-cookies, #reject-cookies {
    background-color: #3067a2;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 1rem;
    cursor: pointer;
}

#reject-cookies {
    background-color: gray;
}

#accept-cookies:hover {
    background-color: #4273a7;
}

#reject-cookies:hover {
    background-color: #555;
}



/* ------------------- Responsiveness ------------------- */

/* Tablet */
@media (max-width: 992px) {
    .hero-text {
        font-size: 2.5rem !important;
    }

    .hero-text-p {
        font-size: 2rem !important;
    }

    .hero-text-p-small {
        font-size: 1.7rem !important;
    }

    .hero-btn {
        font-size: 1.2rem !important;
    }

    .card {
        margin-bottom: 20px;
    }
}

/* Mobiel */
@media (max-width: 768px) {
    .hero-text {
        font-size: 1.8rem !important;
    }

    .hero-text-p {
        font-size: 1.5rem !important;
    }

    .hero-text-p-small {
        font-size: 1.2rem !important;
    }

    .hero-btn {
        font-size: 1rem !important;
        padding: 10px 20px !important;
    }

    .over-ons img {
        margin-bottom: 30px;
    }

    .card {
        padding: 20px;
    }

    .reviews .row {
        flex-direction: column;
        align-items: center;
    }
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text, .hero-text-p, .hero-btn {
    animation: fadeSlide 1s ease-in-out;
}
