/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image using user's image.png */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../image.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Subtle overlay to ensure text contrast if needed, but not too strong to preserve the background colors */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(248, 245, 239, 0.45) 0%, rgba(248, 245, 239, 0) 60%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-top: 80px;
}

.hero-text {
  width: 45%;
  padding-left: 0;
}

.hero-image {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatCan 6s ease-in-out infinite;
  z-index: 5;
}

.hero-image img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@keyframes floatCan {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.hero-text .section-label {
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--green-900);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  font-size: 16px;
  color: #3e5239;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Hero CTA Style (underlined text + circle arrow) */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--green-900);
  cursor: pointer;
  transition: color 0.3s ease;
}

.hero-cta:hover {
  color: var(--green-700);
}

.hero-cta-text {
  border-bottom: 1.5px solid var(--green-900);
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}

.hero-cta:hover .hero-cta-text {
  border-color: var(--green-700);
}

.hero-cta-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--green-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-cta:hover .hero-cta-arrow {
  background-color: var(--green-600);
  transform: scale(1.05) translateX(4px);
}

/* Slider Nav on the right */
.hero-slider-nav {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.slide-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--green-900);
}

.slide-line {
  width: 1px;
  height: 120px;
  background: rgba(30, 43, 28, 0.15);
  position: relative;
}

.slide-dot {
  width: 6px;
  height: 6px;
  background: var(--green-900);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20%; /* Represents Slide 1 of 5 */
}

/* Hero Scroll CTA on the bottom right */
.hero-scroll-cta {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 20;
}

/* Scroll indicator on bottom right */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-indicator span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.scroll-cta-graphic {
  position: relative;
  width: 36px;
  height: 72px; /* 36px circle + 36px line */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-circle {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.45);
  position: absolute;
  top: 36px; /* Touch the bottom of the 36px circle */
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: #f5f3eb; /* light cream bead */
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  box-shadow: 0 0 6px rgba(245, 243, 235, 0.8);
  animation: scrollDown 2.2s infinite cubic-bezier(0.15, 0.85, 0.35, 1);
}

@keyframes scrollDown {
  0% {
    top: -18px; /* start in the middle of the 36px circle */
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 36px; /* slide to the bottom of the 36px line */
    opacity: 0;
  }
}

/* Mobile & Tablet responsiveness */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .hero-text {
    width: 100%;
    padding: 0 20px;
    z-index: 15;
  }
  .hero-scroll-cta {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
  .hero-slider-nav {
    display: none;
  }
  .hero-cta {
    justify-content: center;
  }
}
