/* ========================================== */
/* PRODUCT PAGE STYLES                        */
/* ========================================== */

:root {
  --color-accent: #FF9136;
  --color-black: #000000;
}

/* --- 1. HERO SECTION --- */
.product-hero-section {
  position: relative;
  width: 100%;
  background-color: var(--color-black);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* Removed all padding so it snaps to the very top */
  margin: 0;
  overflow: hidden;
}

.product-hero-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.product-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-hero-title {
  position: absolute;
  bottom: 5%;
  left: 5%;
  color: #FFFFFF;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.6);
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .product-hero-img {
    max-width: 75%;
  }
}

@media (max-width: 767px) {
  .product-hero-section {
    padding: 0; /* Ensures no padding on mobile */
    min-height: 50vh;
  }
  
  .product-hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* --- 2. PROJECT INFO --- */
.product-info-section {
  background-color: var(--color-black);
  padding: 80px 0;
  color: #FFFFFF;
}

.product-info-title {
  color: var(--color-accent);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.product-info-subtitle {
  color: #FFFFFF;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin: 0 0 40px 0;
  max-width: 900px;
}

.product-meta-row {
  margin-bottom: 40px;
  row-gap: 24px;
}

.product-meta-col {
  display: flex;
  flex-direction: column;
}

.meta-title {
  color: var(--color-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.meta-content {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
}

.product-summary-text {
  color: #FFFFFF;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  max-width: 800px;
  margin: 0;
}

/* --- 3+. CONTENT SECTIONS --- */
.product-content-section {
  padding: 80px 0;
}

.theme-light {
  background-color: #FFFFFF;
  color: var(--color-dark);
}

.theme-dark {
  background-color: var(--color-black);
  color: #FFFFFF;
}

.content-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.content-paragraph {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  margin: 0 0 40px 0;
  max-width: 800px;
}

/* Gallery & Interactive Images */
.gallery-row {
  row-gap: 24px;
}

.gallery-img, .side-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-img:hover, .side-img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.large-inline-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Side by Side layout */
.side-by-side-row {
  align-items: center;
  row-gap: 40px;
}

/* --- LIGHTBOX STYLES --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img-wrapper {
  max-width: 95%;
  max-height: 85vh;
}

#lightbox-main-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s ease;
}

.lightbox-close-btn:hover {
  color: var(--color-accent);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  padding: 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2001;
  transition: background 0.3s ease;
  display: none !important; /* Rely on swipe on mobile */

}

.lightbox-nav-btn:hover {
  background: var(--color-accent);
}

.prev-btn { left: 32px; }
.next-btn { right: 32px; }

/* Responsive adjustments */
@media (min-width: 768px) {
  .product-hero-img {
    max-width: 75%;
  }
}


@media (max-width: 767px) {
  .product-hero-section {
    padding: 0; /* Ensures no padding on mobile */
    min-height: 50vh;
  }
  

  
}