/* css/detail.css */
.detail-main {
  padding-bottom: 6rem;
}

.story-section {
  padding: 10rem 0;
  display: flex;
  justify-content: center;
}

.story-text {
  max-width: 800px;
  text-align: center;
}

.story-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  color: var(--color-text);
}

.story-text h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.story-text p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.full-media {
  width: 100vw;
  height: 80vh;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
}

.full-media img, .full-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* slightly scaled to allow parallax effect if needed in future */
}

/* Collection Grids */
.collection-section {
  padding: 6rem 0;
}

.collection-header {
  text-align: center;
  margin-bottom: 4rem;
}

.collection-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.collection-theme {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}


.product-card {
  position: relative;
  display: block;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
  position: absolute;
  inset: 0;
  margin-bottom: 0;
  border-radius: 0;
  background-color: var(--color-bg);
  box-shadow: none;
}

/* Subtle dark gradient overlay from bottom */
.product-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
  transition: background 0.4s ease;
}

.product-card:hover .product-image-wrapper::after {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.1) 70%);
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.08);
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  text-align: left;
}

.product-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.4rem;
  font-family: 'Inter', sans-serif;
  transition: transform 0.4s ease;
}

.product-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  transition: transform 0.4s ease;
}

.product-card:hover .product-name,
.product-card:hover .product-desc {
  transform: translateY(-3px);
}
