.nav-links {
  text-align: center;
  margin-bottom: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: background 0.3s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.stats-card {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-bottom: 20px;
}

.stat {
  flex: 1;
}

.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #667eea;
}

.stat-label {
  color: #666;
  margin-top: 5px;
}

.filters {
  text-align: center;
  padding: 15px;
}

.filters label {
  cursor: pointer;
  font-size: 16px;
}

.filters input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

#galleryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.duck-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.duck-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.duck-card-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.duck-card h3 {
  color: #333;
  margin: 0 0 5px 0;
}

.duck-card-id {
  color: #667eea;
  font-size: 14px;
  font-weight: 600;
}

.duck-card-desc {
  color: #666;
  font-size: 14px;
  margin: 10px 0;
  font-style: italic;
}

.duck-card-stats {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
  color: #666;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
}

.status-found {
  background: #4CAF50;
  color: white;
}

.status-waiting {
  background: #ff9800;
  color: white;
}

.journey-section h4 {
  color: #667eea;
  font-size: 16px;
  margin: 15px 0 10px;
}

.journey-item {
  background: #f9f9f9;
  padding: 10px;
  margin: 8px 0;
  border-radius: 5px;
  border-left: 3px solid #667eea;
  font-size: 14px;
}

.journey-location {
  font-weight: 600;
  color: #333;
}

.journey-name {
  color: #666;
  margin-top: 3px;
}

.journey-name.hidden {
  color: #999;
  font-style: italic;
}

.journey-time {
  color: #999;
  font-size: 12px;
  margin-top: 3px;
}

.empty-journey {
  text-align: center;
  color: #999;
  padding: 20px;
  font-style: italic;
}

.empty-gallery {
  text-align: center;
  color: white;
  padding: 60px 20px;
  font-size: 18px;
}

#map {
  height: 500px;
  width: 100%;
  border-radius: 10px;
  margin-top: 15px;
}

.duck-marker {
  background: none;
  border: none;
}

.duck-marker-icon {
  font-size: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  line-height: 40px;
}

.leaflet-popup-content-wrapper {
  border-radius: 10px;
}

.popup-content {
  padding: 5px;
}

.popup-content h3 {
  margin: 0 0 10px 0;
  color: #667eea;
  font-size: 16px;
}

.popup-sighting {
  background: #f9f9f9;
  padding: 8px;
  margin: 5px 0;
  border-radius: 5px;
  font-size: 13px;
}

.popup-sighting strong {
  color: #333;
}

.popup-sighting small {
  color: #999;
  display: block;
  margin-top: 3px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .nav-links a {
    margin: 0;
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .stats-card {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-number {
    font-size: 2em;
  }
  
  #galleryGrid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .duck-card {
    padding: 15px;
  }
  
  .duck-card-stats {
    flex-direction: column;
    gap: 5px;
  }
  
  #map {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 1.8em;
  }
  
  .duck-card {
    padding: 12px;
  }
  
  #map {
    height: 300px;
  }
}
