/* Banner Section */
#home {
  position: relative;
  width: 100%;
  height: 500px; /* Full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Image */
#home .banner-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* Cover entire banner */
  z-index: -1;
  filter: brightness(70%); /* Dark overlay for better text visibility */
}

/* Banner Text */
#home .banner-content {
  text-align: center;
  color: #fff;
  z-index: 1;
  padding: 20px;
}

#home .banner-content h1 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
}



/*2 *//* Section */
#collections {
  padding: 60px 20px;
  text-align: center;
  background: #fff0f6;
}
#collections h2 {
  font-size: 2.2rem;
  margin-bottom: 28px;
  color: #c2185b;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Slider */
.slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden; /* important */
}
.slider {
  display: flex;
  gap: 20px;                  /* used in JS calc */
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

/* Card (fixed size) */
.card {
  width: 280px;               /* fixed card width */
  height: 200px;              /* fixed card height */
  flex: 0 0 auto;
  background: #E30B5C;
  color: #ffffff;
  padding: 20px;
  border-radius: 16px;
box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(0, 0, 0, 0.08) 0px 1px 0px inset;  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card h3 { margin-bottom: 10px; font-size: 1.3rem;  color: #ffffff;}
.card p { font-size: 0.95rem; line-height: 1.4; }

/* Hover */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Nav buttons */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #c2185b;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}
.nav:hover { background: #a3154c; }
.prev { left: 10px; }
.next { right: 10px; }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .slider { transition: none; }
  .card { transition: none; }
}
