/* Home */
/* Home - Hero */
.home-hero.container {
    background: var(--color-tertiary);
}
.home-hero.content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.home-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.home-hero-logo {
    display: none;
}
.home-hero-buttons {
    display: flex;
    flex-direction: row;
    margin-top: 12px;
    gap: 16px;
}
.home-hero-img-container {
    position: relative;
    width: 500px;
    height: 300px;
    background: var(--color-light-gray);
    border-radius: var(--radius);
}
.home-hero-img-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
}
.home-hero-img-placeholder img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;

    transition: opacity 0.5s ease;
    pointer-events: none;
}
.home-hero-img-placeholder img.active {
    opacity: 1;
}
.home-hero-img-beschrijving {
    position: absolute;
    bottom: 15px;
    left: 20px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1px 6px;
}
.home-hero-img-beschrijving p {
    color: var(--color-secondary);
}
.home-hero-image-scroll {
    position: absolute;
    bottom: 10px;
    right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.home-hero-arrow {
    height: 35px;
    width: 35px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--color-secondary);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.5s ease;
}
.home-hero-arrow i {
    color: var(--color-secondary);
    transition: color 0.5s ease;
}

/* Home - Services */
.home-services.container {
    background: var(--color-secondary);
}
.home-services.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
}
.home-services.content > p {
    padding: 0 56px;
}
.home-services.cards p, .home-services.cards h3 {
    text-align: left;
    max-width: 100%;
}
.home-services.cards h3 {
    color: var(--color-tertiary);
}
.home-services.cards p {
    color: var(--color-dark-gray);
    font-weight: 500;
}
.home-services.cards a {
    color: var(--color-primary);
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
}
.home-services.cards > .card {
    justify-content: space-between;
}
.home-services.cards > .card > .card-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.home-services.cards {
    width: 100%;
}
.card-icon {
    transition: transform 0.5s ease;
}
.card-icon i {
    color: var(--color-primary);
}
.home-services .card i.arrow {
    transition: transform 0.5s ease;
}

/* Home - About */
.home-about.container {
    background: var(--color-light-gray);
}
.home-about.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
}
.home-about.content > p {
    max-width: 800px;
}


/* Only enable hover effects on mouse devices */
@media (hover: hover) and (pointer: fine) {
    .home-hero-arrow:hover {
        border-color: var(--color-primary);
    }
    .home-hero-arrow:hover i {
        color: var(--color-primary);
    }

    .home-services .card:hover i.arrow {
        transform: translateX(5px);
    }
}

/* Small Screens: < 900px */
@media (max-width:900px) {
    .home-hero.content {
        flex-direction: column;
    }
    .home-hero-text {
        text-align: center;
    }
    .home-hero-buttons {
        flex-direction: column;
        gap: 16px;
    }
    .home-hero-img-slider {
        margin-top: 20px;
    }

    .home-services.content h1, .home-services.content p {
        max-width: 100%;
        padding: 0;
    }

    .home-about.content h1, .home-about.content p {
        max-width: 100%;
        padding: 0;
    }
}

/* Small Screens: < 500px */
@media (max-width:500px) {
    .home-hero-logo {
        display: block;
    }

    .home-hero-img-container {
        width: 350px;
        height: 210px;
    }
}