/*
Theme Name: Avondvierdaagse Custom
Author: Jouw naam
Version: 1.0
*/

/* Begin met body verborgen */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Zodra alles geladen is, fade in */
body.loaded {
    opacity: 1;
}

html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
    background-color: white;
 
}


#main-content {
    flex: 1; /* neemt alle beschikbare ruimte tussen header en footer */
}

.layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: grid;
    gap: 2rem;
}

.block {
    background: #fff;
}

.hero-grid {
    border-radius: 12px;
}

.hero-image {
    border-radius: 12px;
}

.hero-content{
    padding: 10px;
}

.news-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.1rem 1.4rem;

    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 8px 18px rgba(37, 180, 228, 0.14);

    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-item:hover{
    transform: translateY(-3px); /* lichte lift bij hover */
    box-shadow:
        0 4px 12px rgba(0,0,0,0.12),
        0 12px 24px rgba(37,180,228,0.2);
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-link {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    text-decoration: none;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;

    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 8px 18px rgba(37, 180, 228, 0.14);
}

.feature-link:hover{
    transform: translateY(-3px); /* lichte lift bij hover */
    box-shadow:
        0 4px 12px rgba(0,0,0,0.12),
        0 12px 24px rgba(37,180,228,0.2);
}

.feature-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text {
    padding: 1rem 1.2rem;
}

.feature-text h3 {
    margin: 0 0 0.25rem;
    color: #178fbc;
}

/* =========================
   Sponsoren horizontaal
========================= */
.sponsors {
    margin-top: 4rem;
    text-align: center;
}

.sponsors h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.sponsor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sponsor-item {
    display: flex;
    justify-content: center;
}

.sponsor-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.08),
        0 8px 18px rgba(37,180,228,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sponsor-list a:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.12),
        0 12px 24px rgba(37,180,228,0.2);
}

.sponsor-list img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}


/* desktop */
@media (min-width: 1024px) {
    .layout {
        grid-template-columns: 3fr 1.2fr;
        grid-template-areas:
            "hero volunteers"
            "highlights news"
            "highlights social";
        align-items: start;
        margin-top: 30px;
    }

    .hero { grid-area: hero; }
    .volunteers {
        grid-area: volunteers;
        position: sticky;
        top: 1rem;
    }
    .news { grid-area: news; }
    .social { grid-area: social; }
    .highlights { grid-area: highlights; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background-color: #eef8fc

}

.hero-image {
    width: 80%;
    height: auto;
    padding: 5%;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.highlight img {
    width: 100%;
    border-radius: 6px;
}



@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .feature-link {
        grid-template-columns: 1fr;
    }

    .sponsor-list {
        grid-template-columns: 1fr 1fr;
    }
}


/*
Footer
*/

.site-footer {
    background-color: #178fbc; /* donkere afgeleide van #25b4e4 */
    color: #ffffff;
    
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;

    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.footer-left h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.footer-left p {
    max-width: 420px;
    line-height: 1.5;
    opacity: 0.95;
}

.footer-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;

    background-color: #ffffff;
    color: #178fbc;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.12);
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

.footer-links a:hover,
.footer-btn:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-left p {
        margin-left: auto;
        margin-right: auto;
    }
}

/*
Neon verlichting
*/
.neon-sign {
    transition: opacity 0.1s ease, filter 0.1s ease;
}

.neon-low {
    filter: brightness(0.5) saturate(1.2);
}

.neon-medium {
    filter: brightness(0.8) saturate(1.3);
}

.neon-strong {
    filter: brightness(1) saturate(1.5);
}

/* Zorg dat de tekst normaal blijft, ook al staat het in een link */
.feature-link .feature-text h3,
.feature-link .feature-text p {
    color: #000000;        /* of je gewenste tekstkleur */
    text-decoration: none;  /* verwijdert onderstreping */
}

/* Eventueel hover-effect alleen op de card laten, niet op de tekst */
.feature-link:hover .feature-text h3,
.feature-link:hover .feature-text p {
    color: #000000; /* blijft gewoon zwart of dezelfde kleur */
   
}

/* Nieuws: hele link niet onderstrepen en tekstkleur zwart */
.news-item a {
    text-decoration: none; /* verwijdert onderstreping */
    color: inherit;        /* zorgt dat tekstkleur de normale kleur wordt */
}

/* Nieuws: titel en excerpt geen linkkleur of onderstreping */
.news-item a h3,
.news-item a p {
    color: #000000;        /* gewenste tekstkleur */
    text-decoration: none; /* verwijdert onderstreping */
}

/* Hover-effect alleen op de hele kaart, niet op de tekst */
.news-item a:hover,
.news-item a:hover h3,
.news-item a:hover p {
    color: #000000;        /* blijft gewoon zwart */
    text-decoration: none;
}

