/* ===============================
   HİZMETLER SAYFASI - GRID CARD TASARIMI
   =============================== */

:root {
  --primary-color: #002b5c;
  --secondary-color: #ffcc00;
  --text-color: #222;
  --light-bg: #f9fafc;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* === GENEL === */
.city-list-section {
  background: var(--light-bg);
  padding: 120px 20px 60px 20px; /* navbar boşluğu ile üst padding */
}

.fancy-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #002b5c, #0056b3, #00b4d8, #90e0ef, #0056b3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradient 6s ease infinite;
  text-align: center;
}

/* === GRID === */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* === CARD === */
.city-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.city-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* === IMAGE === */
.city-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.city-card .city-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 3px solid var(--secondary-color);
  transition: transform 0.3s ease;
}

.city-card:hover .city-image {
  transform: scale(1.05);
}

/* === CARD CONTENT === */
.card-body {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}

/* === BUTTON === */
.btn-view {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 25px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-view:hover {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* TITLE GRADIENT ANIMATION */
@keyframes titleGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .city-image-wrapper { height: 160px; }
}

@media (max-width: 768px) {
  .fancy-title { font-size: 2.4rem; margin-bottom: 40px; }
  .city-image-wrapper { height: 140px; }
  .card-title { font-size: 1.2rem; }
}

@media (max-width: 576px) {
  .city-image-wrapper { height: 120px; }
  .card-title { font-size: 1.1rem; }
}
