/* ---
   Stylesheet voor Overzicht Routes Pagina
   AANGEPAST om de stijl van opmaak-home.css te gebruiken voor de route cards
   --- */

/* --- Algemene Body Stijl --- */
body {
    background-color: #008080;
    color: #f0f0f0;
}

/* --- Pagina Layout & Titel --- */
.page-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 180px 2rem 3rem 2rem;
}

.page-title {
    text-align: center;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: #FFFFFF;
    margin-bottom: 2rem;
}

/* --- Thema Filters --- */
.theme-filters {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.theme-filters a {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.theme-filters a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.theme-filters a.active {
    background-color: #9B6B35;
    color: #FFFFFF;
    border-color: #9B6B35;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* ---
   AANGEPAST: VOLLEDIGE OPMAAK VOOR ROUTE CARDS (van opmaak-home.css)
   --- */
.route-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.route-card {
    background-color: #9B6B35;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #FFFFFF;
    position: relative;
    border: 4px solid #fff;
    box-shadow: 
        inset 0 0 8px rgba(0,0,0,0.5),
        0 8px 16px rgba(0,0,0,0.2);
    flex-basis: 350px; 
    flex-grow: 1;
    max-width: 450px;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.route-card:hover {
    transform: translateY(4px);
    border-color: #FFD800;
    box-shadow: 
        inset 0 0 15px rgba(0,0,0,0.8),
        0 2px 4px rgba(0,0,0,0.4);
}

.route-card__image-container {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.route-card__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-card__content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.route-card__content h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.6rem;
    color: #FFFFFF;
}

.route-card__content .startplaats {
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.route-card__params {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.route-card__params span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-card__params img {
    width: 24px;
    height: 24px;
}
/* --- EINDE AANGEPAST GEDEELTE --- */


/* Aanpassing voor eenvoudigere kaarten (Artikels & Tools) */
.card-container--simple .route-card__content {
    justify-content: center;
    text-align: center;
}

/* --- RESPONSIVE AANPASSINGEN VOOR MOBIEL --- */
@media (max-width: 768px) {
    .page-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .route-container {
        gap: 1.5rem;
    }
    
    .route-card {
        flex-basis: 100%;
    }
}