/* hero.css - Hero section styles */

/* Mobile styles first */
.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  margin: 80px auto 0 auto;
  gap: 2rem;
  padding: 0 1.25rem;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: var(--h2);
  color: var(--text-color);
  margin-bottom: 2vh;
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: var(--p1);
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 3vh;
}

.hero-desc ,.hero-extended{
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: var(--p2);
  line-height: 1.5;
  color: var(--text-light);
  width: 100%;
  margin-bottom: 3vh;
}


.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1vh;
}

.hero-btn {
  border-radius: 30px;
  padding: 3vh 6vw;
  font-family: 'Poppins', sans-serif;
  font-size: var(--font-size-base);
  font-weight: 400;
  width: 100%;
  text-align: center;
}

.btn.btn-primary.hero-btn {
  background: var(--bg-color);
  color: var(--primary-color);
}

.btn.btn-secondary.hero-btn {
  background: rgba(234, 234, 234, 0.1);
  color: var(--text-color);
  border: 2px solid var(--bg-color);
}

.hero-image {
  width: 100%;
  height: 35vh;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  object-fit: contain;
}

/* Desktop styles */
@media (min-width: 768px) {
  .hero {
    margin: 0 auto;
    max-width: 1440px;

  }
  .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6vw;
    padding: 0 2rem;

    margin: 0 auto;
  }

  .hero-content {
    padding-top: 2rem;
    align-items: flex-start;
    text-align: left;
    max-width: 630px;
  }

  .hero-title {
    font-size: var(--h1);
    width: auto;
    max-width: 40rem;
    line-height: 1.5;
  }

  .hero-subtitle {
    font-size: var(--p1);
    line-height: 1.2;
    max-width: 40rem;
  }

  .hero-desc {
    font-size: var(--p2);
    width: auto;
    max-width: 40rem;
  }
  .hero-extended {
    font-size: var(--p2);
    width: auto;
    max-width: 40rem;
  }

  .hero-actions {
    flex-direction: row;
    width: auto;
    gap: 1vw;
  }

  .hero-btn {
    font-size: var(--font-size-base);
    padding: 2vh 3vw;
    width: auto;
  }

  .hero-image {
    width: 100%;
    height: auto;
    max-width: 650px;
  }
  .hero-img {
    width: 100%;
    height: auto;
    max-width: 500px;
    opacity: 1;
  }
}
