/* FONTS */
@import url(../css/clash-display.css);

/* VARIABLES */
:root {
    --c-dark: #212529;
    --c-brand: #274787;
    --c-brand-light: #274787;
    --c-brand-rgb: 27, 47, 87;
    --c-body: #274787;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 600;
    color: var(--c-dark);
}

/* Override for full-screen sections */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4,
.content-section h5,
.content-section h6,
.services-section h1,
.services-section h2,
.services-section h3,
.services-section h4,
.services-section h5,
.services-section h6,
.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section h4,
.contact-section h5,
.contact-section h6,
.counter-section h1,
.counter-section h2,
.counter-section h3,
.counter-section h4,
.counter-section h5,
.counter-section h6,
.over-ons-section h1,
.over-ons-section h2,
.over-ons-section h3,
.over-ons-section h4,
.over-ons-section h5,
.over-ons-section h6 {
    color: white !important;
}

.hero-section p,
.content-section p,
.services-section p,
.contact-section p,
.counter-section p,
.over-ons-section p {
    color: white !important;
}

/* Additional text visibility fixes */
.text-white {
    color: white !important;
}

.hero-title,
.hero-subtitle,
.content-title,
.content-subtitle,
.services-title,
.services-subtitle,
.contact-title,
.contact-subtitle,
.counter-title,
.over-ons-title,
.over-ons-text {
    color: white !important;
}

/* Ensure all text in full-screen sections is white */
.hero-section *,
.content-section *,
.services-section *,
.contact-section *,
.counter-section *,
.over-ons-section * {
    color: white !important;
}

/* Exception for form elements and buttons */
.hero-section input,
.hero-section textarea,
.hero-section button,
.hero-section .btn,
.content-section input,
.content-section textarea,
.content-section button,
.content-section .btn,
.services-section input,
.services-section textarea,
.services-section button,
.services-section .btn,
.contact-section input,
.contact-section textarea,
.contact-section button,
.contact-section .btn,
.counter-section input,
.counter-section textarea,
.counter-section button,
.counter-section .btn,
.over-ons-section input,
.over-ons-section textarea,
.over-ons-section button,
.over-ons-section .btn {
    color: inherit !important;
}

a {
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 140px;
    padding-bottom: 140px;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    /* overflow: hidden; */
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img {
    transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}


/* NAVBAR */
.navbar {
    box-shadow: var(--box-shadow);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--c-dark);
}

.navbar-nav .nav-link.active {
    color: var(--c-brand);
}

.setHeight {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    /* Verdeelt de ruimte tussen de elementen */
}

.button-container {
    display: flex;
    justify-content: center;
    /* Centreert de knop horizontaal */
    margin-top: auto;
    /* Zorgt ervoor dat de knop naar de onderkant van de div wordt geduwd */
}


/* BTN */
.btn {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
}

.testBtn {
    background-color: var(--c-brand);
    color: white;
}

.testBtn:hover {
    background-color: white;
}

.btn-brand {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}

.offerteBtn {
    background-color: var(--c-brand-light);
    color: white;
}

.offerteBtn :hover {
    background-color: white;
    color: white;
}


/* SPLIT SCREEN HERO */
#splitHero {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.main-logo {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.split-content {
    height: calc(100vh - 200px);
}

.split-half {
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
    cursor: pointer;
}

.split-half:hover {
    transform: scale(1.02);
}

.pallets-half {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.7), rgba(var(--c-brand-rgb), 0.7)), url(../images/Pallets.webp);
}

.metal-half {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.7), rgba(var(--c-brand-rgb), 0.7)), url(../images/Metalrecycling.webp);
}

.split-overlay {
    padding: 2rem;
    z-index: 2;
}

.split-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.split-description {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 400px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .split-content {
        flex-direction: column;
        height: auto;
    }

    .split-half {
        width: 100%;
        height: 50vh;
        min-height: 300px;
    }

    .main-logo {
        max-height: 80px;
    }

    .split-title {
        font-size: 2.5rem !important;
    }

    .split-description {
        font-size: 1.1rem !important;
    }
}

/* HERO */
#heroMain {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/vvLogo.webp);
    background-position: center;
    background-size: cover;
    height: 400px;
}

#heroPallet {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/inkoopPallets.webp);
    background-position: center;
    background-size: cover;
    height: 400px;
}

#heroRecycling {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/Metalrecycling.webp);
    background-position: center;
    background-size: cover;
    height: 400px;
}

#heroContainer {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/container.webp);
    background-position: center;
    background-size: cover;
    height: 400px;
}

#headerLogo {
    height: 80px;
    width: 250px;
}

#header1 {
    background-color: #949191;
}

/* SECTION TITLE */
.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ICONBOX */
.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 34px;
    flex: none;
}

/* SERVICE */
.service {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service::after {
    content: "";
    width: 40px;
    height: 40px;
    background: rgba(var(--c-brand-rgb), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
}


.service:hover::after {
    width: 100%;
    height: 100%;
    background: var(--c-brand);
    z-index: -1;
}

.service:hover h5,
.service:hover p {
    color: white !important;
}

.service:hover .iconbox {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* COUNTER */
#counter {
    /* background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/Pallets.webp); */
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/Pallet1.webp);
    background-position: center;
    background-size: cover;
}

#counterm {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/Metalrecycling.webp);
    background-position: center;
    background-size: cover;
}

/* PORTFOLIO */
.portfolio-item .iconbox {
    background-color: var(--c-brand);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portfolio-item:hover .iconbox {
    opacity: 1;
    top: 50%;
}

/* REVIEW */
.review small {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-brand);
}

.review-head {
    position: relative;
}

.review-head::after {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    bottom: -14px;
    background-color: white;
    transform: rotate(45deg);
}

/* TEAM */
.team-member-content {
    background-color: var(--c-brand);
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: calc(100% - 50px);
    transform: translateX(-50%);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
}

.team-member:hover .team-member-content {
    opacity: 1;
    bottom: 24px;
}

/* CONTACT */
#contact {
    position: relative;
    z-index: 2;
}

#contact::after {
    content: "";
    width: 100%;
    height: 70%;
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/Pallet1.webp);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contact .form-control {
    border-radius: 0;
}

#contact .form-control:focus {
    box-shadow: none;
    border-color: var(--c-brand);
}

/* FOOTER */
footer {
    padding-top: 120px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}


footer li,
footer p,
footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--c-brand);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--c-brand);
    color: white;
}

.modalBtn {
    background-color: #274787;
    /* color: white; */
}

/* Language switcher styling */
.navbar-nav .dropdown-menu {
    min-width: 140px;
    border-radius: 0;
    margin-top: 0;
    border: none;
    box-shadow: var(--box-shadow);
}

.navbar-nav .dropdown-item {
    font-size: 14px;
    padding: 8px 16px;
    transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--c-brand);
    color: white !important;
}

/* Footer taalwisselaar */
.footer-top .row.mt-4 a {
    transition: var(--transition);
    text-decoration: none;
}

.footer-top .row.mt-4 a:hover {
    color: var(--c-brand) !important;
}

/* Optioneel: vlaggen als afbeeldingen (als je die gebruikt) */
.lang-flag {
    width: 20px;
    height: auto;
    margin-right: 5px;
    vertical-align: middle;
}