/* style.css (CSS文件) */
/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

/* 导航栏 - 默认透明 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent; /* 默认全透明 */
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar.scrolled .logo {
  color: #333;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.nav-links a i {
  margin-right: 8px;
}

.navbar.scrolled .nav-links a {
  color: #333;
}

.nav-links a:hover {
  color: #007BFF;
}

.cta-btn {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid white;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.cta-btn i {
  margin-right: 8px;
}

.navbar.scrolled .cta-btn {
  border-color: #007BFF;
  color: #007BFF;
}

.cta-btn:hover {
  background: white;
  color: #333;
}

.navbar.scrolled .cta-btn:hover {
  background: #007BFF;
  color: white;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
  color: #333;
}

@media (max-width: 768px) {
  .nav-links, .cta-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  transition: right 0.3s;
  z-index: 1001;
  padding: 40px 20px;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  margin-top: 40px;
}

.mobile-nav-links li {
  margin-bottom: 20px;
}

.mobile-nav-links a {
  color: #333;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  padding: 10px;
  display: flex;
  align-items: center;
}

.mobile-nav-links a i {
  margin-right: 10px;
}

/* 第一屏 - 性别选择 (保持锁定不变) */
.gender-choice {
  height: 100vh;
  display: flex;
  overflow: hidden;
  position: relative;
}

.gender-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: flex 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

/* 全屏展开状态 */
.gender-section.expanded {
  flex: 1;
}

.gender-section.collapsed {
  flex: 0;
}

.gender-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.gender-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gender-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 1rem;
}

.gender-content h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
}

.cta-button {
  padding: 1rem 2rem;
  border: 2px solid white;
  background: transparent;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-button:hover {
  background: white;
  color: #333;
}

/* 右下角切换按钮 */
.toggle-button {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.toggle-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* 第二屏 - 定制服务 */
.custom-services {
  padding: 120px 40px;
  background: #f8f8f8;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
  margin-bottom: 20px;
  font-size: 3rem;
  color: #007BFF;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 客户评价 - 优化轮播效果 */
.testimonials-section {
  padding: 120px 40px;
  background: #f8f8f8;
}

.testimonials-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.testimonials-container {
  display: flex;
  transition: transform 0.5s ease;
  overflow: hidden;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  min-width: 100%;
  margin-right: 30px;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: calc(50% - 15px);
  }
}

.testimonial-card:last-child {
  margin-right: 0;
}

.testimonial-card .quote {
  margin-bottom: 20px;
}

.testimonial-text {
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.client-details h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 5px;
}

.client-details p {
  color: #888;
  font-size: 0.9rem;
}

.testimonial-controls {
  display: none; /* 隐藏左右箭头 */
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.testimonial-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: background-color 0.3s;
}

.testimonial-indicator.active {
  background-color: #007BFF;
}

/* 第六屏 - 优势展示 */
.advantages-section {
  padding: 120px 40px;
  background: white;
}

.advantages-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 30px 20px;
}

.advantage-item i {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #FFD700;
}

.advantage-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #333;
}

.advantage-item p {
  color: #666;
  line-height: 1.6;
}

/* 页脚 */
footer {
  padding: 80px 40px 40px;
  background: #111;
  color: white;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-column p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 15px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #007BFF;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #007BFF;
}

.qr-code {
  margin-top: 20px;
  text-align: center;
}

.qr-code img {
  width: 120px;
  height: 120px;
  background: white;
  padding: 5px;
  border-radius: 5px;
}

.qr-code p {
  margin-top: 10px;
  color: #ccc;
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
  margin-top: 60px;
  color: #888;
  padding-top: 20px;
  border-top: 1px solid #333;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}