:root {
  --bg-color: #0a192f;       /* كحلي داكن */
  --card-bg: #112240;
  --text-primary: #f8f9fa;   /* أبيض ثلجي */
  --text-secondary: #a8b2d1;
  --accent: #64ffda;
  --shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.8);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  padding: 20px;
}

.header { text-align: center; margin-bottom: 40px; padding: 30px 0; border-bottom: 2px solid #1d3557; }
.header h1 { font-size: 2.5rem; margin-bottom: 10px; color: var(--accent); }
.subtitle { color: var(--text-secondary); font-size: 1.1rem; }

.container { max-width: 1200px; margin: 0 auto; }

.search-box { margin-bottom: 30px; }
#searchInput {
  width: 100%; padding: 16px 20px; font-size: 1.1rem;
  border: 2px solid #233554; border-radius: 14px;
  background-color: var(--card-bg); color: var(--text-primary);
  margin-bottom: 15px; transition: all 0.3s ease;
}
#searchInput:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 12px rgba(100, 255, 218, 0.3); }

.region-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-btn {
  padding: 10px 18px; border: none; border-radius: 25px;
  background-color: #233554; color: var(--text-secondary);
  font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active { background-color: var(--accent); color: #0a192f; font-weight: bold; }

.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }

.lake-card {
  background-color: var(--card-bg); border-radius: 16px; padding: 26px;
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #233554; position: relative; overflow: hidden;
}
.lake-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px -15px rgba(100, 255, 218, 0.15); }
.lake-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.lake-title { font-size: 1.55rem; margin-bottom: 6px; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
.lake-local { font-size: 0.95rem; color: var(--text-secondary); font-style: italic; margin-bottom: 16px; }
.lake-desc { color: var(--text-secondary); margin-bottom: 18px; min-height: 65px; }
.lake-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #8892b0; }
.meta-tag { background-color: #1d3557; padding: 5px 12px; border-radius: 14px; font-size: 0.8rem; }

.footer { text-align: center; margin-top: 60px; padding: 24px; color: var(--text-secondary); font-size: 0.9rem; border-top: 1px solid #233554; }

@media (max-width: 768px) {
  .header h1 { font-size: 2rem; }
  .results-grid { grid-template-columns: 1fr; }
}
/* --- Suggest Lake Feature --- */
.suggest-box { position: fixed; bottom: 24px; right: 24px; z-index: 1000; }
.suggest-trigger {
  background: linear-gradient(135deg, #64ffda, #00c9b1);
  color: #0a192f; border: none; padding: 14px 22px; border-radius: 30px;
  font-weight: 600; cursor: pointer; box-shadow: 0 8px 25px rgba(100,255,218,0.4);
  transition: all 0.3s ease; display: flex; align-items: center; gap: 8px;
}
.suggest-trigger:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(100,255,218,0.6); }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10,25,47,0.92); z-index: 1001; justify-content: center; align-items: center; }
.modal-content {
  background: var(--card-bg); padding: 28px; border-radius: 20px; width: 90%; max-width: 480px;
  border: 1px solid #233554; position: relative; animation: modalFade 0.3s ease;
}
@keyframes modalFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.close { position: absolute; top: 16px; right: 20px; font-size: 1.8rem; color: var(--text-secondary); cursor: pointer; transition: color 0.2s; }
.close:hover { color: var(--accent); }
.suggest-submit {
  width: 100%; padding: 14px; background: var(--accent); color: #0a192f; border: none;
  border-radius: 12px; font-weight: 600; cursor: pointer; margin-top: 10px; transition: all 0.3s;
}
.suggest-submit:hover { background: #4fd1c5; transform: translateY(-2px); }
