:root {
  --color-primary: #2d6a4f;
  --color-secondary: #40916c;
  --color-accent: #d8f3dc;
  --color-bled: #1b4332;
  --color-kobarid: #40916c;
  --color-vorderboden: #74c69d;
  --color-prahay: #95d5b2;
  --color-home: #b7e4c7;
  --color-germany: #2d6a4f;
  --color-bg: #f8f9fa;
  --color-text: #1b1b1b;
  --color-muted: #6c757d;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.pexels.com/photos/258136/pexels-photo-258136.jpeg?auto=compress&cs=tinysrgb&h=650&w=940") center/cover;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 2rem;
}

.trip-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.location-nav {
  position: sticky;
  top: 0;
  background: white;
  padding: 1rem;
  box-shadow: var(--shadow);
  z-index: 100;
  overflow-x: auto;
}

.location-nav ul {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  min-width: max-content;
}

.location-nav button {
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.location-nav button:hover,
.location-nav button.active {
  background: var(--color-primary);
  color: white;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  transform: translateX(-50%);
  border-radius: 2px;
}

.location-section {
  margin-bottom: 3rem;
  position: relative;
}

.location-header {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.location-header h2 {
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.location-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.activities-list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-accent);
}

.activities-list h4 {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.activities-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.activities-list li {
  padding: 0.5rem 0.75rem;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activities-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: bold;
}

.location-meta {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.day-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.day-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.day-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.day-number {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.day-date {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.875rem;
}

.day-weekday {
  font-weight: 500;
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.day-card-body {
  padding: 1.25rem;
}

.day-location {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.day-tips {
  font-size: 0.875rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.payment-status.betaald {
  background: #d4edda;
  color: #155724;
}

.payment-status.aanbetaling {
  background: #fff3cd;
  color: #856404;
}

.payment-status.locatie {
  background: #d1ecf1;
  color: #0c5460;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-muted);
  line-height: 1;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-content {
  padding: 2rem;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.modal-links {
  margin-top: 1.5rem;
}

.modal-links h4 {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.link-list {
  list-style: none;
}

.link-list li {
  margin-bottom: 0.75rem;
}

.link-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.link-list a:hover {
  background: var(--color-primary);
  color: white;
}

.link-icon {
  font-size: 1.25rem;
}

.route-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.map-image-container {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
}

.map-drop-zone {
  width: 100%;
  min-height: 300px;
  position: relative;
  transition: all 0.3s ease;
  border: 3px dashed var(--color-muted);
}

.map-drop-zone:hover {
  border-color: var(--color-primary);
  background: var(--color-accent);
}

.route-map-image {
  width: 100%;
  height: auto;
  display: block;
}

.route-map-image {
  width: 100%;
  height: auto;
  display: block;
}

.map-placeholder {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, #e8f5e9 100%);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  background: linear-gradient(135deg, var(--color-prahay) 0%, #d4edda 100%);
}

.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.map-placeholder p {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.placeholder-note {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.placeholder-note code {
  background: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
}

.route-section h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.route-timeline {
  position: relative;
  padding: 2rem 0;
}

.route-map-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #e8f5e9 100%);
  border-radius: var(--radius);
}

.map-route-line {
  position: relative;
  height: 60px;
  margin-bottom: 1rem;
}

.map-route-bar {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--color-home) 0%, 
    var(--color-germany) 15%, 
    var(--color-bled) 40%, 
    var(--color-kobarid) 55%, 
    var(--color-vorderboden) 70%, 
    var(--color-prahay) 85%, 
    var(--color-home) 100%);
  transform: translateY(-50%);
  border-radius: 2px;
}

.map-route-dots {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.map-dot {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.route-subtitle {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0;
}

.route-steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.route-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.route-step.heen {
  flex-direction: row;
}

.route-step.terug {
  flex-direction: row;
}

.route-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.marker-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: var(--shadow);
  z-index: 2;
}

.marker-dot.heen {
  background: var(--color-primary);
}

.marker-dot.terug {
  background: var(--color-secondary);
}

.marker-line {
  width: 3px;
  flex-grow: 1;
  min-height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-muted));
  opacity: 0.5;
}

.route-step-card {
  flex: 1;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.route-step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.route-step-card.heen {
  border-left: 4px solid var(--color-primary);
}

.route-step-card.terug {
  border-left: 4px solid var(--color-secondary);
}

.route-card-header {
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.route-type-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.route-type-badge.heen {
  color: var(--color-primary);
}

.route-type-badge.terug {
  color: var(--color-secondary);
}

.route-card-body {
  padding: 1rem;
}

.route-from-to {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.route-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.route-point.from {
  color: var(--color-muted);
}

.route-point.to {
  color: var(--color-text);
  font-weight: 600;
}

.point-icon {
  font-size: 1rem;
}

.route-arrow-container {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
  gap: 0.5rem;
}

.route-arrow-line {
  flex: 1;
  height: 2px;
  background: var(--color-accent);
  min-width: 20px;
}

.route-arrow {
  font-size: 1.25rem;
  color: var(--color-secondary);
  font-weight: bold;
}

.route-step-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-item {
  font-size: 0.875rem;
  color: var(--color-muted);
  background: var(--color-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.route-total {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius);
  margin-top: 2rem;
  color: white;
}

.route-total h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.total-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.total-stat {
  text-align: center;
}

.total-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
}

.total-label {
  font-size: 0.75rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.route-countries {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

.footer {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--color-primary);
  color: white;
}

.footer-note {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

:root {
  --color-primary: #2d6a4f;
  --color-secondary: #40916c;
  --color-accent: #d8f3dc;
  --color-bled: #1b4332;
  --color-kobarid: #40916c;
  --color-vorderboden: #74c69d;
  --color-prahay: #95d5b2;
  --color-home: #b7e4c7;
  --color-germany: #2d6a4f;
  --color-terug: #74c69d;
  --color-bg: #f8f9fa;
  --color-text: #1b1b1b;
  --color-muted: #6c757d;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .route-timeline::before {
    left: 20px;
  }
  
  .route-step,
  .route-step.terug {
    flex-direction: column;
  }
  
  .route-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }
  
  .location-nav {
    top: auto;
    bottom: 0;
    border-top: 1px solid var(--color-accent);
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .trip-stats {
    gap: 2rem;
  }
  
  .location-image {
    height: 150px;
  }
}
