/* ===================================
   Hero Section Styles
   Whistol Website
   =================================== */

.hero {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  background: var(--bg-white);
  padding: var(--spacing-12) 0 120px 0;
  width: 100%;
  transition: padding 0.4s ease;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--spacing-16);
  width: 100%;
}

.hero__content {
  max-width: 600px;
}

.hero__tagline {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--accent-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-4);
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: var(--spacing-6);
}

.hero__subtitle {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--text-gray);
  margin-bottom: var(--spacing-8);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

/* Hero Image */
.hero__image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.hero__image-img {
  width: 100%;
  height: 100%;
  max-width: 600px;
  min-height: 500px;
  object-fit: cover;
  object-position: center top;
  animation: fadeIn 0.8s ease-out;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2);
  animation: bounce 2s infinite;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hero__scroll-text {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__scroll-icon {
  color: var(--accent-orange-dark);
  width: 24px;
  height: 24px;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--spacing-12);
    text-align: center;
  }

  .hero__content {
    max-width: 700px;
    margin: 0 auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__image {
    order: -1; /* Move image above content on mobile */
    min-height: 400px;
  }

  .hero__image-img {
    max-width: 450px;
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: var(--spacing-8) 0 100px 0;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-lg);
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__image {
    min-height: 350px;
  }

  .hero__image-img {
    max-width: 350px;
    min-height: 350px;
  }

  .hero__scroll {
    bottom: 32px;
    left: 0;
    right: 0;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  .hero__image {
    min-height: 300px;
  }

  .hero__image-img {
    max-width: 280px;
    min-height: 300px;
  }
}
