/*
Theme Name: Bowling Vereniging Venray
Author: Giel van Gorp
Version: 1.0
*/

.header-overview{
    width: 100%;
    height: min(60vw, 400px);

    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: transparent;
}

#home-page-content {
    gap: 60px;
}

.btn-gold {
    background-color: #c9a24d;
    color: #000;
    border: none;
}

.btn-gold:hover {
    background-color: #b08f3f;
    color: #000;
}

.text-gold {
    color: #c9a24d;
}

.new-members-cta .cta-card {
    background: #f9f9f9; /* rustiger dan wit */
    border-left: 4px solid var(--gold);
}

.new-members-cta .page-title {
    color: var(--secondary-color);
}

.new-members-cta .cta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.new-members-cta .cta-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.new-members-cta .cta-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

/* CTA knop – rustiger maar duidelijk */
.btn-outline-gold {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    transition: all 0.25s ease;
}

.btn-outline-gold:hover {
    background: var(--secondary-color);
    color: #fff;
}

.header-overview .black-cover{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.55)
    );
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;
}

.header-overview .black-cover .header-content{
    text-align: center;
    font-family: var(--font);

    position: relative;
    z-index: 2;
}

.header-content .text-shadow{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.home-page-info-section { 
    color: var(--secondary-color);
    text-align: center;
    font-family: var(--font);
    font-weight: bolder;

    font-size: clamp(.8rem, 2.4vw, 1.1rem);
}

.title{
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.latest-news {
    font-size: 0.95rem;
}

.latest-news .page-title {
    font-weight: 600;
}

.latest-news .news-link {
    font-size: 0.9rem;
    color: var(--secondary-color);
    transition: color 0.2s ease;
}

.latest-news .news-link:hover {
    color: var(--gold);
    text-decoration: none;
}

/* List items */
.latest-news-list .list-group-item {
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 0.75rem 1rem;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.latest-news-list .list-group-item:last-child {
    border-bottom: 0;
}

.latest-news-list .list-group-item:hover {
    background-color: #fafafa;
    transform: translateX(4px);
}

/* Titel netjes afkappen */
.latest-news-list span {
    line-height: 1.3;
}

.sub-title{
    font-size: clamp(.8rem, 2.4vw, 1.2rem);
}

.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    background: #f8f8f8;
    padding: 10px 0;
}

.logos {
    display: flex;
    gap: 30px;
}

.logos img {
    height: 70px; /* Pas aan naar wens */
}

.sponsor-title {
    font-family: var(--font);
    color: var(--secondary-color);
}

.sponsor-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    background-color: #fff; /* Of andere achtergrondkleur */
    padding: 1rem 0;
}

.sponsor-carousel-track {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    object-fit: contain;
    transition: filter 0.3s ease;
    padding: 0 2rem;
}

.image-slider .slide {
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.news-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.card-header {
    background-color: var(--secondary-color) !important;
    width: 100%;
}

.card-header h5 {
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
}

.sponsor-overlay {
    z-index: 10; /* boven slider */
}

.sponsor-logo {
    object-fit: contain;
    transition: all 0.3s ease;
    flex-shrink: 0; /* voorkomt dat ze kleiner worden */
    width: 100%;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.sponsor-row {
    white-space: nowrap;
}

/* Tablet & kleiner */
@media (max-width: 991px) {
    .sponsor-carousel-track {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sponsor-logo {
        max-height: auto;
        margin: auto;
    }

    .logo {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 576px) {
    .sponsor-logo {
        max-height: auto;
        margin: auto;
        margin-bottom: 20px;
    }
}
