/* public/modules/city-cards-styles.css */
/* Miestų kortelių papildomi stiliai */

/* Miestų tipo ženklelis */
.city-type-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 10px;
  display: inline-block;
}

/* Miesto statistikos sekcija */
.city-stats-section {
  margin-top: 20px;
}

.city-stats-section strong {
  color: #374151;
  font-weight: 600;
}

.stats-loading {
  color: #6b7280;
  font-style: italic;
  padding: 10px 0;
}

.city-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.city-stat-item {
  text-align: center;
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.city-stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  display: block;
}

.city-stat-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* Fallback foto galerija */
.city-photos-fallback {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.city-photos-fallback .city-photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.city-photos-fallback .city-photo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.city-photos-fallback .city-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.city-photos-fallback .city-photo-item:hover img {
  transform: scale(1.05);
}

.city-photos-fallback .city-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.city-photos-fallback .city-photo-item:hover .city-photo-overlay {
  opacity: 1;
}

.city-photos-fallback .city-photo-overlay i {
  color: white;
  font-size: 24px;
}

.city-photos-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
  .city-type-badge {
    margin-left: 0;
    margin-top: 8px;
    display: block;
    width: fit-content;
  }
  
  .city-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .city-photos-fallback {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .city-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .city-photos-fallback {
    grid-template-columns: 1fr;
  }
}