@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');


* {
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  font-family: 'Roboto', sans-serif;
  color: #F1F8E9;
}

/* Center */
section, .right, .left, .social, .social i {
  display: flex;
  justify-content: center;
  align-items: center;
}

section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* 添加视频背景样式 */
.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

/* 调整原有模糊层样式 */
.section-wrap {
  position: relative; /* 确保内容在视频上方 */
  z-index: 1;
  /* 其他原有样式保持不变 */
  background-color: rgba(255, 255, 255, 0.2);
  height: 75vh;
  width: 75%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  backdrop-filter: blur(24px);
  padding: 50px 100px;
  overflow: hidden;
}


/* Header */

nav, .head-cta {
  z-index: 1;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.head-logo {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}
.head-logo span {
  color:#f6ad2a;
}

.nav-items {
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin: 20px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}

.nav-items::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  height: 2px;
  width: 100%;
  background-color: #f6ad2a;
  transition: 0.3s;
  box-shadow: 0 0 3px #f6ad2a;
}

.nav-items:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-items:hover {
  text-shadow: 0 0 10px #f6ad2a;
}

.header-cta-btn {
  font-size: 1.2rem;
  font-weight: bold;
  background-color: transparent;
  border: 1px solid #F1F8E9;
  padding: 10px 40px;
  border-radius: 25px;
  margin-left: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.header-cta-btn:hover {
  background-color: #f6ad2a;
  border-color: #f6ad2a;
  box-shadow: 0 0 50px #f6ad2a;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.left {
  flex-direction: column;
  align-items: start;
}

.main-text {
  font-size: 6rem;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
}

.main-text span {
  color: #f6ad2a;
}

.sub-text {
  font-size: 1.2rem;
  letter-spacing: 1px;
  font-weight: 400;
  color: rgba(241, 248, 233, 0.8);
  margin-bottom: 50px;
}

.hero-cta-btn {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  padding: 15px 50px;
  background-color: #f6ad2a;
  color: #424242;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 30px;
  margin-right: 20px;
}

.btn2 {
  background-color: #F1F8E9;
}

.hero-cta-btn:hover {
  box-shadow: 0 0 80px #f6ad2a;
}

.btn2:hover {
  box-shadow: 0 0 80px #F1F8E9;
}

.right img {
  width: 85%;
  filter: drop-shadow(0 0 20px #f6ad2a);
  animation: 30s treeScale linear infinite;
  pointer-events: none;
}

.social i {
  height: 40px;
  width: 40px;
  font-size: 1.2rem;
  border: 1px solid #F1F8E9;
  border-radius: 25px;
  margin: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.social i:hover {
  border-color: #f6ad2a;
  box-shadow: 0 0 25px #f6ad2a;
  text-shadow: 0 0 25px #f6ad2a;
  transform: rotate(360deg);
  color: #f6ad2a;
}

/* About */
.section-title {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 50px;
  text-align: center;
}

.section-title span {
  color: #f6ad2a;
}

#about p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 50px;
}

.section-btn {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 25px;
  color: #424242;
  background-color: #F1F8E9;
  padding: 12px 50px;
  cursor: pointer;
  transition: 0.3s;
}

.section-btn:hover {
  background-color: #f6ad2a;
  box-shadow: 0 0 50px #f6ad2a;
}
#about {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-image: url('https://www-static.warframe.com/images/promo/1999/logo-lotus-animated.gif'); /* 替换为你的图片路径 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* 可选：添加视差滚动效果 */
}
#about img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0.7;
  pointer-events: none;
}

/* Project */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 50px;
}

#project img {
  width: 100%;
  border-radius: 10px;
}

.card {
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 50px;
  margin-top: 20px;
}

.card-title {
  font-size: 1.2rem;
  margin: 30px 0 20px;
  
}

.card:hover {
  background-color: rgba(139, 195, 74, 0.2);
  box-shadow: 0 0 50px #f6ad2a;
}

#project .section-btn {
 width: 100%;
 margin-top: 50px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#contact .right img {
  width: 85%;
  margin-top: 100px;
  margin-right: 100px;
}

#contact p {
  font-size: 1.2rem;
  margin-bottom: 50px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

input, textarea {
  background-color: transparent;
  color: #F1F8E9;
  font-size: 1.2rem;
  padding: 15px;
  border: 1px solid #F1F8E9;
  border-radius: 15px;
}

input::placeholder, textarea::placeholder {
  color: #F1F8E9;
}

textarea {
  height: 180px;
}

form button {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #424242;
  background-color: #F1F8E9;
  padding: 15px;
  border-radius: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background-color: #f6ad2a;
  box-shadow: 0 0 10px #f6ad2a;
}

/* Footer */

#footer {
  height: auto;
  background-image: none;
  background-color: #132217;
}

#footer .section-wrap {
  height: auto;
  margin: 50px 0;
}

.copyright {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 10px;
}