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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f172a, #111827);
  color: white;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.site-title-header {
  font-size: 28px;
  font-weight: 600;
  background: linear-gradient(45deg, #ff7a18, #ff4b2b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
nav a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
nav a:hover {
  opacity: 1;
}

/* HERO */
.hero {
  text-align: center;
  padding: 120px 20px 80px 20px;
}
.hero h2 { font-size: 42px; margin-bottom: 20px; }
.hero p { opacity: 0.8; max-width: 600px; margin: auto; }

.search-box {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.search-box input {
  padding: 14px;
  border-radius: 10px;
  border: none;
  width: 260px;
}
.search-btn {
  background: #ff4b2b;
  border: none;
  padding: 14px 20px;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.location-btn {
  background: #2563eb;
  border: none;
  padding: 14px 20px;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.search-btn:hover,
.location-btn:hover {
  transform: scale(1.05);
}

/* MAP */
.map-section { padding: 80px 0; }
.map-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 30px;
}
#map { height: 420px; border-radius: 14px; }

/* RESTAURANT LIST */
.restaurant-list {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 14px;
  max-height: 420px; /* Vaste hoogte, scrollbaar bij >6 restaurants */
  overflow-y: auto;
}
.restaurant-list h3 { margin-bottom: 15px; }
.restaurant-list ul { list-style: none; }
.restaurant-list li {
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.05);
}
.restaurant-list ul li a {
  color: white !important; /* alle links wit */
  text-decoration: none;
}
.restaurant-list ul li a:hover {
  text-decoration: underline;
}

/* Scrollbar styling voor lijst */
.restaurant-list::-webkit-scrollbar {
  width: 6px;
}
.restaurant-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}
.restaurant-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
}

/* LOADER */
#loader {
  margin-top: 10px;
  font-style: italic;
  opacity: 0.8;
}

/* PROVINCIES */
.provincies {
  padding: 80px 0;
  text-align: center;
}
.grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.grid button {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}
.grid button:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .map-wrapper { grid-template-columns: 1fr; }
  #map { height: 350px; }
  .hero h2 { font-size: 32px; }
}