/* === Simple Hero Section ===  */
.hero-simple {
  background-color: #f8f3e9;
  padding: 180px 0 60px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-simple-content {
  max-width: 100%;
  padding: 0 var(--spacing-md) var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.hero-simple-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6B5D52;
  margin-bottom: var(--spacing-xs);
}

.hero-simple-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 600;
  color: #3D3127;
  line-height: 1.4;
  margin-bottom: 0;
}

.hero-simple-script {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  font-size: 0.7em;
  color: #6B5D52;
  font-style: italic;
}

/* === Infinite Carousel === */
.hero-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
  /* Increased to accommodate scale transform */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-carousel-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.hero-carousel-item {
  width: 400px;
  height: 600px;
  border-radius: 20px;
  /* More distinct rounded corners */
  overflow: hidden;
  flex-shrink: 0;
  /* Fix for Safari border-radius clipping during transform */
  transform: translateZ(0);
}

.hero-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition removed to allow smooth JS animation */
  will-change: transform;
}

/* Hover effect handled by JS now, or removed to reduce conflict */
/* .hero-carousel-item:hover img {
  transform: scale(1.1);
} */

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 15px));
    /* Move half way minus half gap */
  }
}

/* Pause animation on hover if desired */
/* .hero-carousel-track:hover {
  animation-play-state: paused;
} */