/* Minimal custom CSS to complement Bootstrap 5.3 */

/* Brand color definitions */
:root {
  --brand-primary: #0066cc;
  --brand-primary-rgb: 0, 102, 204;
}

/* Gallery card styling */
.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border-color: var(--brand-primary);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Image overlay styling */
.card-img-overlay-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img-overlay-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .card-img-overlay-wrapper img {
  transform: scale(1.05);
}

.card-img-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 70%);
  transition: background 0.3s ease;
}

.gallery-card:hover .card-img-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.overlay-content {
  padding: 15px;
}

/* Button styling */
.price-button {
  transition: all 0.3s ease;
}

.price-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animation classes */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .card-img-overlay-wrapper {
    height: 160px;
  }
}
