/* ============================================================
   ELHASSANE STUDIO - AI Construction Manager
   الملف: public/css/site-photos.css - أنماط صور الموقع
   ============================================================ */

.photo-card {
  overflow: hidden;
  transition: all 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.photo-card .photo-thumbnail {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: #f1f5f9;
}

.dark .photo-card .photo-thumbnail {
  background: #1a1a2e;
}

.photo-card .photo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.photo-card:hover .photo-thumbnail img {
  transform: scale(1.05);
}

.photo-card .photo-gps-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.photo-card .photo-category-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
}

.photo-card .photo-info {
  padding: 12px;
}

.photo-card .photo-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.photo-card .photo-meta {
  font-size: 11px;
  color: #718096;
}

.dark .photo-card .photo-meta {
  color: #94a3b8;
}

.photo-card .photo-desc {
  font-size: 12px;
  color: #4a5568;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .photo-card .photo-desc {
  color: #a0aec0;
}

.photo-card .photo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.photo-tag {
  font-size: 10px;
  color: #3b82f6;
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: 10px;
}

.dark .photo-tag {
  background: #1e3a5f;
  color: #93c5fd;
}

.photo-marker {
  font-size: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.upload-zone {
  transition: all 0.3s ease;
}

.upload-zone:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.dark .upload-zone {
  border-color: #374151;
}

.dark .upload-zone:hover {
  background: rgba(59, 130, 246, 0.1);
}
