/* ===============================
   HİZMET BÖLGELERİ SAYFASI - GÖRSELLİ TASARIM
   =============================== */

:root {
  --primary-color: #002b5c;
  --secondary-color: #ffcc00;
  --text-color: #222;
  --light-bg: #f9fafc;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* === GENEL ALAN === */
.city-list-section {
  background: var(--light-bg);
  padding-top: -200px;   /* 🔹 Navbar’a daha yakın */
  padding-bottom: -200px;
}

/* === BAŞLIK === */
.fancy-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: -30px;    /* 🔹 Yukarı taşındı */
  margin-bottom: -30px; /* 🔹 Kartlara daha yakın */
  background: linear-gradient(90deg, #002b5c, #0056b3, #00b4d8, #90e0ef, #0056b3);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradient 6s ease infinite;
  text-align: center;
  position: relative;
}

/* 🔹 Alt çizgi tamamen kaldırıldı */
.fancy-title::after {
  display: none !important;
}

/* 🔹 Eski h2 alt çizgisi iptal edildi */
.city-list-section h2::after {
  display: none !important;
  content: none !important;
}

/* === Renk geçiş animasyonu === */
@keyframes titleGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* === CARD === */
.city-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.city-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* === GÖRSEL === */
.city-card .city-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid var(--secondary-color);
}

/* === CARD BODY === */
.city-card .card-body {
  text-align: center;
  padding: 20px;
  flex-grow: 1;
}

.city-card .card-title {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.city-card .card-text {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* === BUTON === */
.city-card .btn-view {
  font-size: 0.85rem;
  border-radius: 20px;
  padding: 6px 16px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: transparent;
}

.city-card .btn-view:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .city-card .city-image {
    height: 140px;
  }

  .city-card .card-title {
    font-size: 1rem;
  }

  .fancy-title {
    font-size: 2.2rem;
  }
}
