/* ==========================================================================
   HOMEPAGE (index.html)
   ========================================================================== */

/* Hero Section */
.hero {
  position: relative;
  height: calc(90vh - 116px);
  min-height: 500px;
  background-color: var(--color-charcoal);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.95);
  transition: transform 12s ease;
}

.hero:hover .hero-bg img {
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 600px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.15;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 span {
  font-style: italic;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeInUp 1.2s ease 0.4s forwards;
  opacity: 0;
}

.hero-cta {
  animation: fadeInUp 1.4s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Cards & Grid */
.product-card {
  background-color: var(--color-white);
  border: var(--border-neutral-light);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-luxury);
  border-color: var(--color-gold);
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--color-cream-dark);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 12px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-charcoal);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-top: auto;
  margin-bottom: 16px;
}

.product-card-cta {
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.product-card:hover .product-card-cta {
  opacity: 1;
  background-color: var(--color-gold);
  color: var(--color-charcoal);
}

/* Editorial Brand Story (Split layout) */
.brand-story {
  background-color: var(--color-cream-dark);
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.brand-story-content {
  padding-right: 40px;
}

.brand-story h2 {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.brand-story h2 span {
  font-style: italic;
}

.brand-story-lead {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--color-charcoal);
}

.brand-story p {
  margin-bottom: 32px;
  color: #555;
  font-size: 0.95rem;
}

.brand-story-img {
  position: relative;
  border: var(--border-gold-light);
  padding: 12px;
  background-color: var(--color-cream);
}

.brand-story-img img {
  width: 100%;
  box-shadow: var(--shadow-luxury);
}

/* Category Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--border-neutral-light);
}

.category-card img {
  width: 100%;
  height: 100%;
  transition: transform 8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(18, 18, 18, 0.7) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.category-card h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.category-card h3 span {
  font-style: italic;
}

.category-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-gold);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(18, 18, 18, 0.85) 100%
  );
}

/* Testimonial Section */
.testimonials {
  background-color: var(--color-white);
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background-color: var(--color-cream);
  padding: 40px;
  border-top: 3px solid var(--color-gold);
  border-radius: 4px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--color-gold);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial-title {
  font-size: 0.75rem;
  color: var(--color-muted-gray);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .brand-story h2 {
    font-size: 2rem;
  }
  .brand-story-lead {
    font-size: 1.1rem;
  }
  .brand-story-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .brand-story-content {
    padding-right: 0 !important;
    text-align: center !important;
  }
  .testimonial-slider {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

