/* Header Section */
.product-header {
  position: relative;
  width: 100%;
  height: 60vh; /* responsive height */
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Background Image with Zoom Animation */
.product-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url("img/testing_img/gallery_header.jpg") center/cover no-repeat; /* replace with your image */
  transform: scale(1);
  filter: brightness(0.7);
  animation: zoomEffect 15s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes zoomEffect {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

/* Overlay for dark effect */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* Header Content (Text) */
.product-header-content {
  position: relative;
  z-index: 3;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.5s ease forwards;
  animation-delay: 0.5s; /* starts after background shows */
  margin-top: 100px;
}

.product-header-content h1 {
  font-size: 3rem;
  margin: 0;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.product-header-content p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #f1f1f1;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .product-header {
    height: 80vh;
    min-height: 250px;
  }
  .product-header-content h1 {
    font-size: 2rem;
  }
  .product-header-content p {
    font-size: 1rem;
  }
}
