/* Page-specific styles for programmes.html */
.hero-programs {
    position: relative;
    padding: 5rem 0;
    min-height: 520px;
    color: #fff;
    overflow: hidden;
}

.hero-programs .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/evenements/Atelier.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.45) contrast(1.05);
    z-index: 0;
}

.hero-programs::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 107, 58, 0.58), rgba(15, 107, 58, 0.35));
    z-index: 1;
}

.hero-programs .hero-inner {
    position: relative;
    z-index: 2;
}

.hero-programs .hero-copy {
    max-width: 720px;
}

.hero-programs .eyebrow {
    color: var(--zoo-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-programs h1 {
    color: #f5f2e9;
    text-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.25rem;
}

.hero-programs .lead {
    max-width: 44rem;
    color: rgba(245, 242, 233, 0.92);
    line-height: 1.8;
}

.filters-section {
    padding: 2rem 0;
    background: #f9f9f9;
}

.filter-buttons {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center
}

.filter-btn {
    padding: .5rem 1rem;
    border: 1px solid var(--zoo-green);
    background: #fff;
    color: var(--zoo-green);
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s ease
}

.filter-btn.active {
    background: var(--zoo-green);
    color: #fff
}

.filter-btn:hover {
    background: var(--zoo-green);
    color: #fff
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0
}

.program-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(11, 11, 11, .08);
    transition: all .28s ease
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(11, 11, 11, .12)
}

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

.program-content {
    padding: 1.25rem
}

.program-badge {
    background: var(--zoo-gold);
    color: var(--zoo-black);
    padding: .25rem .5rem;
    border-radius: 6px;
    font-size: .8rem;
    display: inline-block
}

.program-date,
.program-time,
.program-location {
    font-size: .9rem;
    color: #666;
    margin: .3rem 0
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0
}

.info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(11, 11, 11, .05)
}

.info-card h3 {
    margin: 0 0 .8rem;
    color: var(--zoo-green)
}

.info-card p {
    margin: .3rem 0;
    color: #555;
    font-size: .95rem
}

@media(max-width:480px) {
    .filter-buttons {
        flex-direction: column
    }

    .programs-grid {
        grid-template-columns: 1fr
    }
}