/* Стили для главной страницы */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('/static/images/sunnn.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.5em;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5em;
  color: var(--text-gold);
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeInUp 1s ease 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--luxury-gradient);
  color: var(--dark-blue);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.2em;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
}

.hero-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: buttonShine 3s infinite;
}

/* Основное содержимое */
.main-content {
  background: rgba(10, 20, 40, 0.95);
  padding: 80px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
}

.feature-icon {
  font-size: 2.5em;
  color: var(--gold);
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  color: var(--text-gold);
  margin-bottom: 15px;
}

.feature-description {
  color: #f3f0e6;
  font-size: 1em;
  line-height: 1.8;
}

/* Контактная секция */
.contact-section {
  background: linear-gradient(rgba(10, 20, 40, 0.97), rgba(10, 20, 40, 0.97));
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  font-size: 2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  color: var(--text-gold);
  font-size: 1.3em;
  margin-bottom: 15px;
}

.contact-info {
  color: #f3f0e6;
  font-size: 1.1em;
  line-height: 1.8;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5em;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-link:hover {
  background: var(--gold);
  color: var(--dark-blue);
  transform: translateY(-5px);
}

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

@keyframes buttonShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3em;
  }

  .hero-subtitle {
    font-size: 1.2em;
  }

  .feature-card {
    padding: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
