/* Hero Section Styles */

.hero {
  padding: 160px 0 0;
}

.hero .container {
  background: linear-gradient(117deg, #f5efd7 0%, #f5efd7 55%, #aecaba 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
}

.hero__content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 460px;
}

.hero__text {
  height: 100%;
  max-width: 370px;
  z-index: 3;
  position: relative;
  padding: 50px;
}

.hero__image {
  height: 100%;
  margin: 100px;
}

.hero__image img {
  height: 100%;
  object-fit: cover;
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0;
  line-height: 1.1;
  width: max-content;
}

.hero__subtitle {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 11.5rem;
  font-weight: 400;
  width: max-content;
}

.hero__cta {
  background: var(--accent-color);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 27px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  border: none;
  width: max-content;
}

.hero__cta:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Image is now handled by background-image in ::before pseudo-element */

/* Responsive Design */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    font-size: 1.3rem;
  }

  .hero::before {
    background-size: 60%;
    background-position: right center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero__content {
    text-align: center;
    justify-content: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .hero::before {
    background-size: 50%;
    background-position: center bottom;
    opacity: 0.8;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 40px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .hero__cta {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .hero::before {
    background-size: 40%;
    background-position: center bottom;
    opacity: 0.6;
  }
}

@media (max-width: 400px) {

  .hero__subtitle {
    margin-bottom: 3.5rem;
  }

  .hero__image {
    display: none;
  }
}
