#hero,
#overview,
#contacts {
  padding: 40px;
}

.hero-cont {
  align-items: end;
}

.glass-panel {
  margin: 10px auto !important;
}

@media (max-width: 767px) {
  #hero,
  #overview,
  #contacts {
    padding: 15px;
  }
  .glass-panel {
    margin: 0px auto !important;
    padding: 15px !important;
  }
  h1 {
    font-size: 42px !important;
  }
  h2 {
    font-size: 24px !important;
  }
  h4 {
    font-size: 18px !important;
  }
  #hero > div {
    min-height: 600px !important;
    background-size: cover !important;
    background-position: left top !important;
    padding: 20px !important;
  }
  p {
    font-size: 13px !important;
  }
  .mail {
    font-size: 20px !important;
  }
}

#hero > div,
#overview > div,
#contacts > div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

body {
  background-color: #0a1118;
  background-image: radial-gradient(
    circle at top right,
    #1c2d3d 0%,
    #0a1118 60%
  );
  color: #f3f4f6;
}

/* Эффект стеклянной/металлической панели как на слайдах */
.glass-panel {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Свечение на краях панели */
.glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

/* Анимация появления */
.fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Фоновые изображения из презентации */
.hero-bg {
  background-image: linear-gradient(
      to bottom,
      rgba(10, 17, 24, 0.1),
      rgba(10, 17, 24, 0.3)
    ),
    url("images/slide1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.overview-bg {
  background-image: linear-gradient(
      to right,
      rgba(10, 17, 24, 0.5) 0%,
      rgba(10, 17, 24, 0.3) 45%,
      rgba(10, 17, 24, 0.1) 100%
    ),
    url("images/slide2.jpg");
  background-size: cover;
  background-position: center;
}

.contacts-bg {
  background-image: linear-gradient(
      to bottom,
      rgba(10, 17, 24, 0.3),
      rgba(10, 17, 24, 0.5)
    ),
    url("images/slide3.jpg");
  background-size: cover;
  background-position: center;
}

.text-glow {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
