:root {
    --polarsteps-blue: #fd5c63;
    --bg-color: #f4f5f7;
    --text-color: #333;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color); color: var(--text-color); margin: 0; padding: 0;
}

header {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: white; padding: 50px 20px; text-align: center;
}

header h1 { margin: 0; font-size: 2.2rem; font-weight: 700; }
.container { max-width: 900px; margin: 0 auto; padding: 30px 20px; }

.stats-bar {
    display: flex; justify-content: space-around; background: white;
    padding: 15px; border-radius: 16px; box-shadow: var(--shadow);
    margin-top: -30px; margin-bottom: 30px; text-align: center;
}
.stats-item h3 { margin: 0; color: var(--polarsteps-blue); font-size: 1.5rem; }
.stats-item p { margin: 5px 0 0 0; color: #666; font-size: 0.9rem; font-weight: 500; }

#map { height: 400px; width: 100%; border-radius: 16px; margin-top: -20px; margin-bottom: 30px; box-shadow: var(--shadow); z-index: 1; }

.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.trip-card { background: white; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform 0.2s; }
.trip-card:hover { transform: translateY(-4px); }
.trip-card-banner { height: 140px; background: #e0e0e0; background-size: cover; background-position: center; }
.trip-info { padding: 20px; }
.trip-info h2 { margin: 0 0 8px 0; font-size: 1.3rem; }
.trip-info p { margin: 0; color: #666; font-size: 0.9rem; }
.trip-meta-sub { margin-top: 8px; font-size: 0.8rem; color: #888; font-weight: 500; }

.back-btn { display: inline-block; color: white; text-decoration: none; margin-bottom: 15px; background: rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 20px; font-weight: 500; }
.bottom-container { text-align: center; margin: 50px 0 30px 0; width: 100%; }
.back-btn-bottom { display: inline-block; background-color: var(--polarsteps-blue); color: white; text-decoration: none; padding: 12px 24px; border-radius: 25px; font-weight: bold; box-shadow: 0 4px 12px rgba(253, 92, 99, 0.3); }

.timeline { position: relative; border-left: 3px solid #dee2e6; margin: 20px 0 20px 20px; padding-left: 35px; }
.step-card { background: white; border-radius: 16px; padding: 25px; margin-bottom: 35px; box-shadow: var(--shadow); position: relative; }
.step-card::before { content: ''; position: absolute; left: -46px; top: 28px; background: var(--polarsteps-blue); width: 14px; height: 14px; border-radius: 50%; border: 4px solid white; }
.step-meta { font-size: 0.9rem; color: #6c757d; margin-bottom: 12px; }
.step-location { font-weight: 600; color: var(--polarsteps-blue); }
.step-card h2 { margin: 0 0 12px 0; font-size: 1.5rem; }
.step-card p { line-height: 1.6; font-size: 1.05rem; white-space: pre-wrap; margin: 0 0 15px 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 20px; }
.gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; cursor: pointer; transition: opacity 0.2s; }
.gallery img:hover { opacity: 0.9; }

/* NIEUW: Video container styling */
.video-container { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.video-container video { width: 100%; max-height: 450px; background: #000; border-radius: 10px; box-shadow: var(--shadow); }

.lightbox { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.92); justify-content: center; align-items: center; }
.lightbox-content-wrapper { position: relative; display: flex; justify-content: center; align-items: center; max-width: 85%; max-height: 85vh; }
.lightbox img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 25px rgba(0,0,0,0.6); }
.lightbox-close { position: absolute; top: -45px; right: 0; color: #fff; font-size: 35px; font-weight: bold; cursor: pointer; opacity: 0.7; }
.lightbox-close:hover { opacity: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: white; background: rgba(0,0,0,0.4); border: none; font-size: 30px; font-weight: bold; padding: 15px 20px; cursor: pointer; border-radius: 50%; user-select: none; transition: background 0.2s, opacity 0.2s; opacity: 0.6; }
.lightbox-nav:hover { background: rgba(253, 92, 99, 0.8); opacity: 1; }
.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }

@media (max-width: 768px) {
    .lightbox-nav { padding: 10px 15px; font-size: 20px; }
    .lightbox-prev { left: 10px; background: rgba(0,0,0,0.6); }
    .lightbox-next { right: 10px; background: rgba(0,0,0,0.6); }
    .lightbox-close { top: 10px; right: 20px; font-size: 45px; z-index: 10000; }
}
