/* Стили для секции героя (шапки) */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-color: var(--section-bg-pink);
  overflow: hidden;
  padding-top: 80px;
}

.hero-container {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-title span {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-title span:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background-color: var(--primary-light);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--section-bg-pink) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.hero-swiper {
  width: 100%;
  height: 60vh;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--section-bg-pink) 40%,
    rgba(255, 245, 248, 0.8) 100%
  );
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 0 20px;
}

.hero-scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.hero-scroll-down span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero-scroll-down i {
  color: var(--primary-color);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

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

/* Адаптивные стили */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: auto;
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-image {
    display: none;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      var(--section-bg-pink) 0%,
      rgba(255, 245, 248, 0.8) 100%
    );
  }

  .hero-slide-overlay {
    background: linear-gradient(
      180deg,
      var(--section-bg-pink) 0%,
      rgba(255, 245, 248, 0.8) 100%
    );
  }

  .hero-slide-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }
}

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

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
}
