/* 封面部分样式 */
.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/home.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  z-index: 3;
  padding: 20px;
  max-width: 800px;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-title span {
  background: linear-gradient(90deg, #c90101, #ff5252);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  letter-spacing: 1px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-down {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  margin-top: 2rem;
  transition: transform 0.3s ease;
}

.scroll-down span {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  letter-spacing: 1px;
}

.scroll-down svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.scroll-down:hover {
  transform: scale(1.1);
}

/* 社交媒体图标样式 */
.social-icons {
  position: absolute;
  bottom: -30px;
  right: 10px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.social-icon-item {
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.social-text {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: white;
  margin-left: 0;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  opacity: 0;
}

.social-icon-item:hover .social-text {
  max-width: 150px;
  margin-left: 10px;
  opacity: 1;
}

.social-icon-item:hover .social-icon {
  background-color: rgba(255, 255, 255, 0.4);
}

.email-icon:hover {
  background-color: rgba(234, 67, 53, 0.5);
}

.ins-icon:hover {
  background-color: rgba(193, 53, 132, 0.5);
}

.youtube-icon:hover {
  background-color: rgba(255, 0, 0, 0.5);
}

.wechat-icon:hover {
  background-color: rgba(7, 193, 96, 0.5);
}

/* 覆盖body样式，确保垂直布局 */
body {
  display: block !important;
  overflow-y: auto !important;
  overflow-x: hidden;
}

/* 移除robot-section样式，已经放到robot.css中 */

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

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

  .social-icons {
    position: relative;
    bottom: auto;
    right: auto;
    justify-content: center;
    margin-top: 20px;
  }
}
