/* css/component/hero.css */

.hero-section {
  position: relative;
  height: 85vh; /* Занимает 85% высоты экрана */
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -120px; /* Чтобы баннер залез ПОД прозрачную шапку сайта, если нужно. Иначе удали эту строку */
  padding-top: 120px; 
}

/* Затемнение картинки, чтобы белый текст читался идеально */
.hero-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.hero-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-section__title {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-section__subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  line-height: 1.5;
  opacity: 0.9;
}

.hero-section__actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Стили для ссылок внутри полей Drupal */
.btn-primary a {
  background-color: var(--brand-red);
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 50px; /* Скругляем, если хотим мягкости, или оставляем 0 для минимализма */
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.2s, background-color 0.2s;
  display: inline-block;
}

.btn-primary a:hover {
  background-color: #c01420;
  transform: translateY(-2px);
}

.btn-secondary a {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-secondary a:hover {
  background-color: white;
  color: var(--text-color);
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
  .hero-section__title {
    font-size: 3rem;
  }
  .hero-section__subtitle {
    font-size: 1.2rem;
  }
  .hero-section__actions {
    flex-direction: column;
  }
}