/* ============================
   HERO SLIDER (FULL SCREEN)
============================ */

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;

  background-size: cover; /* FIXED */
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: rgba(255,255,255,0.6);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.slider-btn:hover {
  color: #fff;
}

.prev { left: 20px; }
.next { right: 20px; }

/* ============================
   PRODUCT DETAILS
============================ */

.product-details {
  display: flex;
  gap: 4rem;
  padding: 4rem 5%;
  align-items: center;
}

.details-left {
  max-width: 600px;
}

.details-left h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.desc {
  color: #ccc;
  margin-bottom: 2rem;
}

/* Specs */
.specs {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.specs span {
  display: block;
  font-size: 0.8rem;
  color: #888;
}

.specs strong {
  color: #F97316;
}

/* ============================
   MASONRY GALLERY
============================ */

.details-gallery {
  column-count: 3;
  column-gap: 1rem;
  padding: 2rem 5%;
}

.details-gallery img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.details-gallery img:hover {
  transform: scale(1.05);
}

/* ============================
   MOBILE
============================ */

@media (max-width: 768px) {

  .product-details {
    flex-direction: column;
  }

  .details-gallery {
    column-count: 1;
  }
}
/* ============================
   LIGHTBOX FULLSCREEN VIEW
============================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.96);

  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  z-index: 99999;
}

.lightbox.show {
  display: flex;
}

/* Image */
.lightbox-img {
  max-width: 92%;
  max-height: 85%;
  object-fit: contain;
}

/* Close button (top right) */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 38px;
  color: #fff;
  cursor: pointer;
}

/* Caption */
.lightbox-caption {
  color: #aaa;
  font-size: 14px;
  margin-top: 10px;
}

/* Arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #fff;
}
/* ============================
   GALLERY HOVER + SHARE
============================ */

.details-gallery .gallery-item {
  position: relative;
  overflow: hidden;
}

/* Wrap images */
.details-gallery img {
  display: block;
}

/* ORANGE OVERLAY */
.details-gallery .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 115, 22, 0.75);
  opacity: 0;
  transition: 0.3s ease;
}

/* SHOW ON HOVER */
.details-gallery .gallery-item:hover::after {
  opacity: 1;
}

/* SHARE ICON */
.share-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;

  width: 36px;
  height: 36px;
  border-radius: 50%;

  background: #000;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  cursor: pointer;

  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
}

/* SHOW BUTTON ON HOVER */
.gallery-item:hover .share-btn {
  opacity: 1;
  transform: translateY(0);
}
