/* =============================================
   HERO — главный баннер
   Фоновая картинка логотипа + градиентный оверлей
   ============================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #2c3e35;
  margin-top: 80px;
}

/* Фоновое изображение логотипа */
.hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url('/static/assets/logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 420px auto;
  opacity: 0.12;
  filter: blur(1px);
}

.hero--small {
  min-height: 320px;
}

.hero--small .hero__bg-image {
  background-size: 280px auto;
  opacity: 0.08;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Градиентный оверлей поверх картинки */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(52, 72, 64, 0.75) 0%,
    rgba(28, 58, 43, 0.85) 40%,
    rgba(20, 45, 35, 0.9) 100%
  );
}

.hero--small .hero__overlay {
  background: linear-gradient(
    165deg,
    rgba(52, 72, 64, 0.8) 0%,
    rgba(28, 58, 43, 0.88) 40%,
    rgba(20, 45, 35, 0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--spacing-xl) var(--container-padding);
  max-width: 850px;
}

.hero__slogan {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero__slogan span {
  background: linear-gradient(135deg, #FFFFFF, #4CAF50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero__buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Фигуры на фоне */
.hero__shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: float 8s ease-in-out infinite;
}

.hero__shape:nth-child(1) {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.5);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.hero__shape:nth-child(2) {
  width: 250px;
  height: 250px;
  background: #4CAF50;
  bottom: -80px;
  left: -80px;
  animation-delay: 2.5s;
}

.hero__shape:nth-child(3) {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.4);
  top: 35%;
  left: 10%;
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-25px) scale(1.05) rotate(5deg); }
}

/* Стрелка вниз */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-light);
  opacity: 0.6;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.hero__scroll:hover {
  opacity: 1;
  color: var(--text-light);
}

.hero__scroll svg {
  width: 32px;
  height: 32px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
