/* ✅ Algemene styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* ✅ Hero Titel & Introductie */
.sponsoren-header {
    text-align: center;
    padding: 60px 20px;
}

.sponsoren-header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #d4af37;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.sponsoren-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ✅ Sponsoren Info Sectie */
.sponsoren-info {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
    border-left: 0px solid #d4af37;
}

.sponsoren-info h2 {
    font-size: 28px;
    color: #c79c60;
    margin-bottom: 12px;
    font-weight: bold;
}

.sponsoren-info p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ✅ CTA-knop */
.cta-button {
    display: inline-block;
    padding: 12px 22px;
    background: #d4af37;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
    font-size: 16px;
}

.cta-button:hover {
    background: #b88a2e;
    transform: translateY(-2px);
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.2);
}

/* 📌 CTA-knop centreren */
.sponsoren-info .cta-button {
    display: inline-block;
    margin-top: 20px;
}

/* ✅ Sponsoren Grid */
.sponsoren-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.sponsoren-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

/* 📌 Sponsorkaarten */
.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    height: 180px; /* Exacte hoogte voor elke kaart */
    text-align: center;
    overflow: hidden; /* Zorgt ervoor dat alles binnen blijft */
    position: relative;
}

/* 🔥 Luxe Hover-effect */
.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* ✅ Afbeelding vult de hele container */
.sponsor-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Afbeelding vult de hele container zonder vervorming */
    object-position: center; /* Centreert de afbeelding netjes */
    transition: transform 0.3s ease-in-out;
}

/* 🔥 Hover-effect op afbeelding */
.sponsor-item:hover img {
    transform: scale(1.05);
}

/* ✅ Melding als er geen sponsoren zijn */
.geen-sponsoren {
    text-align: center;
    font-size: 18px;
    color: #888;
    font-style: italic;
    margin-top: 20px;
}

/* ✅ Responsive Aanpassingen */
@media (max-width: 768px) {
    .sponsoren-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }

    .sponsor-item {
        height: 140px; /* Kleinere hoogte voor mobiel */
    }

    .sponsoren-info {
        padding: 20px;
    }

    .sponsoren-header h1 {
        font-size: 2.5rem;
    }

    .sponsoren-header p {
        font-size: 1rem;
    }
}
