/* Hero Gallery Styles */
.hero-gallery-thumbnails {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.hero-gallery-thumb {
  width: 60px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, border-color 0.3s;
}
.hero-gallery-thumb:hover { opacity: 0.9; }
.hero-gallery-thumb.active { opacity: 1; border-color: #f5a623; }
.hero-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-gallery-enlarge-btn {
  position: absolute;
  bottom: 62px;
  right: 15px;
  z-index: 25;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}
.hero-gallery-enlarge-btn:hover { background: rgba(0,0,0,0.85); transform: scale(1.1); }
.hero-gallery-enlarge-btn svg { width: 20px; height: 20px; }

/* Lightbox */
.hero-gallery-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}
.hero-gallery-lightbox.open { display: flex; }
.hero-gallery-lightbox-content { max-width: 90vw; max-height: 85vh; }
.hero-gallery-lightbox-image { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.hero-gallery-lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fff; background: none; border: none; cursor: pointer; }
.hero-gallery-lightbox-prev, .hero-gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 8px;
  opacity: 0.6;
  transition: 0.3s;
}
.hero-gallery-lightbox-prev { left: 20px; }
.hero-gallery-lightbox-next { right: 20px; }
.hero-gallery-lightbox-prev:hover, .hero-gallery-lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.hero-gallery-lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .hero-gallery-enlarge-btn { bottom: 12px; right: 12px; }
}