/* Cities Index Page Styling */
.text-gray {
  color: #6c757d;
}
#first {
  min-height: 100vh;
  padding: 120px 0 80px;
}

#first h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

#first .lead {
  font-size: 1.5rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

#first p {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

/* Cities Grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.city-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.city-card:hover::before {
  opacity: 1;
}

.city-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.city-card a {
  display: block;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: white;
  position: relative;
  z-index: 1;
}

.city-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.city-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.city-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.city-card:nth-child(1) { animation-delay: 0.05s; }
.city-card:nth-child(2) { animation-delay: 0.1s; }
.city-card:nth-child(3) { animation-delay: 0.15s; }
.city-card:nth-child(4) { animation-delay: 0.2s; }
.city-card:nth-child(5) { animation-delay: 0.25s; }
.city-card:nth-child(6) { animation-delay: 0.3s; }
.city-card:nth-child(7) { animation-delay: 0.35s; }
.city-card:nth-child(8) { animation-delay: 0.4s; }
.city-card:nth-child(9) { animation-delay: 0.45s; }
.city-card:nth-child(10) { animation-delay: 0.5s; }
.city-card:nth-child(11) { animation-delay: 0.55s; }
.city-card:nth-child(12) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
  #first h1 {
    font-size: 2rem;
  }
  
  #first .lead {
    font-size: 1.2rem;
  }
  
  #first p {
    font-size: 1rem;
  }
  
  .cities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .city-card h3 {
    font-size: 1.4rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


.text-gray {
  color: #555 !important;
}
