/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0,0,0,0.6);
  flex-wrap: wrap;
  border-radius: 0 0 20px 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.header-text h1 {
  font-size: 28px;
  color: #00ffb3;
}

.header-text p {
  font-size: 14px;
  color: #caff00;
  margin-top: 5px;
}

.navbar {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
}

.navbar li a {
  color: #caff00;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.navbar li a:hover {
  color: #00e676;
  transform: scale(1.05);
}

/* City Section */
.city {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 20px 40px;
  flex: 1;
}

/* City Card */
.city-card {
  background: #ffffff;
  color: #000;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}

.city-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.city-card h2 {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
}

.city-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.city-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

/* Property Link */
.property-link {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 12px;
  transition: all 0.3s;
}

.property-link:hover {
  background: linear-gradient(90deg, #00e676, #00bfa5);
  color: #000;
  transform: scale(1.05);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0;
  background-color: rgba(0,0,0,0.5);
  font-size: 14px;
  color: #fff;
  border-top: 1px solid #00e676;
  margin-top: auto;
  border-radius: 20px 20px 0 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-text h1 {
    font-size: 24px;
  }
  .city {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .header-text h1 {
    font-size: 20px;
  }
  .city-card img {
    height: 140px;
  }
}