/* === Viloyatlar card grid === */

.viloyat-banner-section h2 {
  text-align: center !important;
  font-size: 22px;
  margin-bottom: 12px; /* oraliq kamaytirildi */
}

.viloyat-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px auto;
  padding: 20px 0;
  max-width: 1080px;
}

.viloyat-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}
.viloyat-card:hover {
  transform: translateY(-4px);
}

.viloyat-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
}
.viloyat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.viloyat-title-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0,0,0,0.5);
}
.viloyat-card-footer {
  padding: 12px;
  text-align: center;
}
.btn-batafsil {
  display: inline-block;
  background-color: #0077cc;
  color: #fff;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-batafsil:hover {
  background-color: #005fa3;
}

/* === Mobil responsive === */
@media (max-width: 480px) {
  .viloyat-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .viloyat-card {
    border-radius: 10px;
    margin: 0 8px;
  }

  .viloyat-card-footer {
    padding: 8px;
  }

  .viloyat-banner-section h2 {
    font-size: 20px;
    margin-bottom: 10px; /* mobil uchun ham oraliq ixchamlandi */
  }
}
