/* Hero.css */

html {
  scroll-behavior: smooth;
}


@font-face {
  font-family: 'Smythe';
  src: url('../fonts/Smythe-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff0f5;
  margin: 10vh auto;
  min-height: 20vh;
  padding: 5px;
  flex-wrap: wrap;
  /* Allows wrapping on small screens */
}

.hero-content {
  flex: 1;
  margin: 20px;
  padding: 30px;
}

.hero-content b{
  color: black;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  font-family: 'Smythe';
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}

.hero-button {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-button:hover {
  color: #ff9900;
}

.hero-image {

  justify-content: center;
  align-items: center;
  margin-right: 20px;
  max-width: 50%;
  /* Prevents the image from overflowing */
}

.hero-image img {
  width: 100%;
  height: 400px;
  border-radius: 20px;
}


/* Responsive Styles */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    /* Stacks content vertically */
    text-align: center;
    padding: 10px;
  }

  .hero-content {
    margin-right: 0;
    /* Removes unnecessary spacing */
    margin-bottom: 20px;
    /* Adds spacing below the content */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .hero-image {
    max-width: 100%;
    /* Adjusts image size for smaller screens */
    margin: 0 auto;
    /* Centers the image */
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-button {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .hero-image {
    max-width: 100%;
        margin: 0 auto;
    /* Allows full-width on very small screens */
  }
}