/* /css/gallery.css */
/* Investment Properties Gallery */

.gallery {
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}

.gallery-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.gallery-title {
  margin-bottom: var(--spacing-sm);
  animation: fadeIn 0.8s ease;
}

.gallery-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  animation: fadeIn 0.8s ease 0.2s both;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-md);
}

/* Property Card */
.property-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  animation: fadeIn 0.8s ease;
}

.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 110, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.property-card:hover::before {
  opacity: 1;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-color: var(--neon-cyan);
}

/* Stagger animation */
.property-card:nth-child(2) { animation-delay: 0.1s; }
.property-card:nth-child(3) { animation-delay: 0.2s; }
.property-card:nth-child(4) { animation-delay: 0.3s; }
.property-card:nth-child(5) { animation-delay: 0.4s; }
.property-card:nth-child(6) { animation-delay: 0.5s; }

/* Property Image */
.property-image {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.1);
}

/* Placeholder for images */
.property-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 110, 0.1));
  position: relative;
}

.property-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Property Badge (Coming Soon, New, etc.) */
.property-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

/* Property Content */
.property-content {
  padding: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.property-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.property-location {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

.property-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Property Footer */
.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--glass-border);
}

.property-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.property-price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.property-price-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.property-cta {
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--neon-cyan);
  border-radius: var(--radius-sm);
  color: var(--neon-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.property-cta:hover {
  background: var(--neon-cyan);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

/* Property Features */
.property-features {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .property-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .property-content {
    padding: var(--spacing-sm);
  }
  
  .property-footer {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
  }
  
  .property-cta {
    width: 100%;
    text-align: center;
  }
}
