body {
    font-family: "Inter", "Segoe UI", "Lucida Grande", Verdana, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a, a:visited {
    color: #333;
}

a:hover, a:active {
    color: #D4A843;
}

.modal p > a {
  text-decoration: underline;
}

.navbar-mapnificent {
  background-color: rgba(26, 26, 26, 0.92);
  border-color: #333;
  backdrop-filter: blur(10px);
}

.navbar-mapnificent .navbar-brand {
    color: #D4A843;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    height: auto;
    line-height: 30px;
}

.navbar-mapnificent .navbar-brand .brand-text {
    color: #D4A843;
}

.navbar-mapnificent .navbar-brand .city {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-left: 8px;
}

.navbar-mapnificent .nav > li > a {
  color: #ccc;
}

.navbar-mapnificent .nav > li > a:hover {
  color: #D4A843;
  background: rgba(255,255,255,0.05);
}

.navbar-mapnificent .navbar-toggle .icon-bar {
  background-color: #D4A843;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #333;
}

#mapnificent-map {
    width: 100%;
    height: 100%;
}

#map {
  height: 400px;
  width: 100%;
}

a.thumbnail {
  border: 2px solid #eee;
  border-radius: 8px;
  transition: all 0.2s;
}

a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
  border-color: #D4A843;
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.2);
}

a.thumbnail:hover .caption,
a.thumbnail:focus .caption,
a.thumbnail.active .caption {
  color: #D4A843;
}

.index-page {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 60px 0;
}

.index-page h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.index-page .brand-gold {
  color: #D4A843;
}

.index-page .subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.index-page .stat-badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  margin: 4px;
  font-size: 13px;
  color: #D4A843;
}

#about-header {
    color: #D4A843;
    height: 30px;
    width: 150px;
    margin: 0 0 0 20px;
    text-align: center;
    padding: 30px 10px 0px 10px;
}

#mapnificent-map .leaflet-top .leaflet-control {
    margin-top: 60px;
}

.position-control {
  padding: 10px 5px;
}

.position-control .position-remove {
  cursor: pointer;
}

.position-control .position-remove:hover {
  color: red;
}

.progress-bar-mapnificent {
  background-color: #D4A843;
}

.btn-certihomes {
  background-color: #D4A843;
  color: #fff !important;
  border-color: #D4A843;
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 24px;
}

.btn-certihomes:hover, .btn-certihomes:focus, .btn-certihomes:active {
  color: #fff;
  background-color: #c49a38;
  border-color: #D4A843;
}

.btn-mapnificent {
  background-color: #D4A843;
  color: #fff !important;
  border-color: #D4A843;
}

.btn-mapnificent:hover, .btn-mapnificent:focus, .btn-mapnificent:active, .btn-mapnificent.active, .open>.dropdown-toggle.btn-mapnificent {
  color: #fff;
  background-color: #c49a38;
  border-color: #D4A843;
}

.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 30px 0;
  text-align: center;
}

.footer a {
  color: #D4A843;
}

.footer .footer-tagline {
  font-size: 13px;
  margin-top: 8px;
  color: rgba(255,255,255,0.5);
}

.city-list-section {
  padding: 40px 0;
  background: #f8f9fa;
}

.city-list-section h3 {
  font-weight: 700;
  margin-bottom: 25px;
  color: #1a1a2e;
}

.region-heading {
  font-size: 14px;
  font-weight: 600;
  color: #D4A843;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #D4A843;
}

.city-count {
  font-size: 12px;
  color: #999;
  font-weight: 400;
}

.leaflet-popup-content h2 a {
  text-decoration: underline;
  color: #D4A843;
}

.search-box {
  margin-bottom: 20px;
}

.search-box input {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 10px 16px;
  width: 100%;
  max-width: 400px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: #D4A843;
}
