/* Generieke instellingen */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    background-color: #f4f6f9;
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top bar (Bellen & Pools) */
.top-bar {
    background-color: #0b1c3c;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: bold;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
}

/* Header & Navigatie */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #0b1c3c;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #0073e6;
}

/* Hero Section / USP Driehoek */
.usps-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.usp-card {
    text-align: center;
    padding: 25px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.usp-card img {
    height: 70px;
    margin-bottom: 20px;
}

.usp-card h3 {
    color: #0b1c3c;
    font-size: 20px;
    margin-bottom: 12px;
}

.usp-card p {
    color: #666666;
    font-size: 14px;
}

/* Blauwe Cijfers Banner */
.banner-stats {
    background-color: #0b1c3c;
    color: #ffffff;
    padding: 50px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-item h2 {
    font-size: 48px;
    color: #0073e6;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 16px;
}

/* Branches Section */
.branches-section {
    padding: 60px 0;
    text-align: center;
}

.branches-section h2 {
    color: #0b1c3c;
    font-size: 28px;
    margin-bottom: 30px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.branch-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.branch-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.branch-card h4 {
    padding: 15px;
    color: #0b1c3c;
}

.btn {
    display: inline-block;
    background-color: #0073e6;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn:hover {
    background-color: #005bb5;
}

/* Footer */
footer {
    background-color: #08142c;
    color: #cccccc;
    padding: 40px 0 20px 0;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-logos img {
    height: 45px;
    filter: brightness(0) invert(1);
}

/* Responsive voor Mobiel */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Klikbare Branch Cards Styling */
.branch-card {
    display: block;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.branch-img-wrapper {
    width: 100%;
    height: 170px;
    background-color: #e2e8f0; /* Grijze achtergrond als afbeelding laadt */
    overflow: hidden;
}

.branch-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.branch-card h4 {
    padding: 15px;
    color: #0b1c3c;
    font-size: 16px;
    font-weight: bold;
}

/* Partner Logo Slider */
.slider-section {
    padding: 40px 0 60px 0;
    background-color: #ffffff;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.slider-section h3 {
    color: #0b1c3c;
    margin-bottom: 25px;
    font-size: 20px;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slide-track {
    display: flex;
    width: calc(200px * 8);
    animation: scroll 20s linear infinite;
}

.slide {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.slide img {
    max-width: 100%;
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 4)); }
}

/* Grote Hero Banner Bovenaan */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: #ffffff;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    background-color: #0052cc;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    padding: 12px 24px;
    display: inline-block;
    margin-bottom: 25px;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #0b1c3c;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
}

.hero-btn:hover {
    background-color: #e6b800;
    transform: scale(1.03);
}

/* Pijlen links en rechts */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #ffffff;
    opacity: 0.7;
    cursor: pointer;
    padding: 10px 15px;
    user-select: none;
    z-index: 3;
    transition: opacity 0.2s;
}

.slider-arrow:hover {
    opacity: 1;
}

.arrow-left {
    left: 15px;
}

.arrow-right {
    right: 15px;
}

/* Responsive instelling voor mobiel */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 300px;
    }
    .hero-title {
        font-size: 20px;
        padding: 8px 14px;
    }
    .hero-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slider-arrow {
    z-index: 10;
}
