/* Hero Component Styles */

.hero {
  display: flex;
  flex-direction: column;
  gap: 54px;
  min-height: 500px;
  background-color:#ffffff;
  overflow: hidden;
  padding-top: 32px;
  position: relative;
}

.hero__container {
  display: flex;
  gap: var(--grid-gap);
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 2;
}

/*!* Hero Content *!*/
.hero__content {
  max-width: 70%;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-white);
  /*font-family: var(--font-family-primary);*/
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.hero__title {
  color: var(--color-primary);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.50), 0 0 40px #000, 0 0 60px #000;
  /* H1 */
  font-family: "Tilt Neon";
  font-size: 52px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px; /* 115.385% */
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  color: var(--color-white);
  text-shadow: 0 0 20px #000, 0 0 40px #000;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 73%;
  max-width: 51.25rem;
}

.hero__subtitle.ahe-subtitle {
  max-width: 840px;
  width: 100%;
}


.hero__subtitle--strong {
    font-weight: 700;
}

.hero__text {
  p {
    color: var(--color-white);
  }
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
}

/* Hero Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Hero Media */
.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Hero Background */
.hero__background {
  position: absolute;

  inset: 0;
  z-index: 0;
}

.hero__background img {
  width: 100%;
  /*height: 100%;*/
  object-fit: cover;
}

/* Hero Variants */
.hero--rounded {
  border-radius: 0 0 80px 80px;
}

.hero--textured {
  background: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
}

.hero--textured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../../images/backgrounds/hero-dark-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 1;
}

.hero--textured .hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.hero--textured .hero__title {
  color: var(--color-white);
  font-size: 52px;
  line-height: 60px;
  text-align: center;
  font-family: var(--font-agenda);
}

.hero--textured .hero__subtitle {
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  font-family: var(--font-agenda);
  margin-bottom: 0;
  opacity: 0.9;
}

/* Full Height Hero */
.hero--full {
  min-height: 100vh;
}

/* Centered Hero */
.hero--centered {
  text-align: center;
}

.hero--centered .hero__content {
  margin: 0 auto;
}

.hero--centered .hero__actions {
  justify-content: center;
}

/* Dark Hero */
.hero--dark {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.hero--dark .hero__title {
  color: var(--color-white);
}

.hero--dark .hero__subtitle,
.hero--dark .hero__text {
  color: var(--color-overlay-light);
}

/* Gradient Hero */
.hero--gradient {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-white);
}

.hero--gradient .hero__title {
  color: var(--color-white);
}

.hero--gradient .hero__subtitle,
.hero--gradient .hero__text {
  color: var(--color-overlay-light);
}

.hero--gradient .hero__badge {
  background-color: var(--color-overlay-light);
  color: var(--color-white);
}

/* Split Hero */
.hero--split {
  padding: 0;
}

.hero--split .hero__container {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
  padding: 0;
}

.hero--split .hero__content {
  padding: var(--space-4xl) var(--space-3xl);
}

.hero--split .hero__media {
  height: 100%;
  min-height: 600px;
}

.hero--split .hero__image {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
}

/* Reverse Hero */
.hero--reverse .hero__media {
  order: -1;
}

/* Overlay Hero */
.hero--overlay {
  color: var(--color-white);
}

.hero--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background-color: var(--color-overlay-dark);*/
  z-index: 1;
}

.hero--overlay .hero__container {
  z-index: 2;
}

.hero--overlay .hero__subtitle,
.hero--overlay .hero__text {
  color: var(--color-white);
}

/* Pattern Background */
.hero--pattern {
  position: relative;
}

.hero--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, var(--color-primary-light) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--color-primary-light) 0%, transparent 50%);
  opacity: 0.1;
  z-index: 0;
}

/* Hero Features */
.hero__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.hero__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.hero__feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: var(--space-sm);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hero__feature-content {
  flex: 1;
}

.hero__feature-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.hero__feature-text {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* Responsive */
@media (max-width: 991px) {
  .hero {
    padding: var(--space-3xl) 0;
  }

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

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

  .hero--split .hero__container {
    grid-template-columns: 1fr;
  }

  .hero--split .hero__media {
    min-height: 300px;
  }

  .hero--split .hero__content {
    padding: var(--space-3xl) var(--space-2xl);
  }
}

/* Hero CGI Variant - Overlay Layout */
.hero--cgi {
  min-height: 700px;
  position: relative;
  background: linear-gradient(135deg, rgba(241, 107, 80, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}



.hero--cgi .hero__container {
  position: relative;
  z-index: 2;
  display: block;
  height: 100%;
  min-height: 700px;
}



/* Hero Content - Positioned on the right */
.hero__content {
  z-index: 4;
}

.hero--cgi .hero__title-main {
  color: var(--color-primary);
  font-size: 5rem;
  font-weight: var(--font-weight-bold);
  display: block;
  margin-bottom: var(--space-sm);
  line-height: 1.1;
  text-shadow: 0 2px 8px var(--color-overlay-dark);
}

.hero--cgi .hero__title-sub {
  color: var(--color-secondary);
  font-size: 1.8rem;
  font-weight: var(--font-weight-medium);
  display: block;
  line-height: 1.3;
  margin-bottom: var(--space-xl);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero--cgi .hero__title-main {
    font-size: 4rem;
  }

  .hero--cgi .hero__title-sub {
    font-size: 1.6rem;
  }
}

@media (max-width: 991px) {
  .hero--cgi {
    min-height: 600px;
  }

  .hero--cgi .hero__container {
    min-height: 600px;
  }


  /*!* Hero Content *!*/
  .hero__content {
    max-width: 95%;
  }

  .hero--cgi .hero__title-main {
    font-size: 3rem;
  }

  .hero--cgi .hero__title-sub {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .hero--cgi {
    min-height: 500px;
  }

  .hero--cgi .hero__container {
    min-height: 500px;
  }

  .hero--cgi .hero__title-main {
    font-size: 2.5rem;
  }

  .hero--cgi .hero__title-sub {
    font-size: 1.1rem;
  }
  /*!* Hero Content *!*/
  .hero__content {
    max-width: 100%;
  }
}

/* Enhanced Hero Variants from Figma */

/* CGI Style Variant - Enhanced Layout */
.hero--cgi {
  position: relative;
  height: 625px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59.03% 49.34%;
}

.hero__cgi-overlay {
  position: absolute;
  top: -143px;
  left: -44px;
  width: 1877px;
  height: 1044px;
  z-index: 2;
}

.hero__cgi-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--cgi .hero__container {
  position: relative;
  z-index: 3;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.hero--cgi .hero__content {
  max-width: 366px;
  text-align: left;
  margin-top: -100px;
}

.hero--cgi .hero__title {
  font-family: var(--font-tilt-neon);
  margin-bottom: var(--space-xl);
  line-height: 1.2;
}

.hero__title-main {
  display: block;
  font-size: 52px;
  color: var(--color-primary-dark);
  line-height: 60px;
  margin-bottom: var(--space-sm);
}

.hero__title-sub {
  display: block;
  font-size: 32px;
  color: var(--color-text-primary);
  line-height: 1.2;
}

/* Responsive Design for CGI Variant */
@media (max-width: 768px) {
  .hero--cgi {
    height: 500px;
  }

  .hero--cgi .hero__content {
    max-width: 300px;
    margin-top: -50px;
  }

  .hero__title-main {
    font-size: 36px;
    line-height: 44px;
  }
  .hero__title {
    line-height: 38px;
  }
  .hero__title-sub {
    font-size: 24px;
  }
}
