/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* Hero-секция */
.hero {
  height: 100vh;
  background: url('/static/img/background.png') no-repeat center center/cover;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hero-content {
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;
}

/* Форма */
.hero-form .form-group {
  margin-bottom: 15px;
  text-align: left;
}

.hero-form input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
}

.hero-form button {
  width: 100%;
  padding: 12px;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-form button:hover {
  background: #0056b3;
}

/* Footer */
.footer {
  background-color: #111;
  color: #eee;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Анимация */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Мобильная адаптация */
@media (max-width: 480px) {
  .hero-content {
    padding: 30px 20px;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-form input,
  .hero-form button {
    font-size: 0.95rem;
  }

  .footer {
    font-size: 0.8rem;
  }
}