/* ============================================
   HOME PAGE – Specific Styles
   ============================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Placeholder gradient backgrounds (replace with real images) */
.slide-1 {
  background-image: url('../assets/hero/hero-1.jpg');
  background-color: #152570;
}

.slide-2 {
  background-image: url('../assets/hero/paper-bag.png');
  background-color: #182d78;
}

.slide-3 {
  background-image: url('../assets/hero/paper-bag.png');
  background-color: #121e58;
}

.slide-4 {
  background-image: url('../assets/hero/hero-4.jpg');
  background-color: #0e1e3f;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 23, 48, 0.78) 0%,
      rgba(30, 64, 175, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.hero-content .hero-tag {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}


/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- PRODUCT IMAGE FALLBACKS ---- */
.product-img[style*="fibc"] {
  background-color: #c8d4f0;
}

.product-img[style*="laminated"] {
  background-color: #d4e8d4;
}

.product-img[style*="multilayer"] {
  background-color: #e8d4c8;
}

.product-img[style*="liner"] {
  background-color: #d4d4e8;
}

.product-img[style*="woven"] {
  background-color: #e8e4c8;
}