/* Bootstrap 自定义样式 - 基于原有样式迁移 */

/* 基础重置和变量 */
:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4cc9f0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

/* 自定义按钮样式 */
.btn-custom-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-custom-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
}

.btn-custom-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-custom-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* 导航栏样式 */
.navbar-custom {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  min-height: 70px;
  height: 70px;
}

.navbar-custom .container {
  height: 100%;
}

.navbar-custom .navbar-collapse {
  height: 100%;
}

.navbar-custom .navbar-nav {
  align-items: center;
  height: 100%;
}

.navbar-brand {
  color: var(--primary-color) !important;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  color: var(--dark-color) !important;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem !important;
  line-height: 1;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-nav .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .dropdown-menu {
  min-width: 200px;
}

.navbar-nav .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

/* 英雄区域样式 */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 150px 0 100px;
  text-align: center;
  margin-top: 0;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 特性卡片样式 */
.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  border: none;
}

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

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* 关于页面样式 */
.about-section {
  padding: 100px 0;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 15px;
}

.about-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.team-member {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: none;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* 联系表单样式 */
.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

/* 页脚样式 */
.footer-custom {
  background-color: var(--dark-color);
  color: white;
  padding: 1px 0 1px;
}

.footer-custom h3 {
  color: white;
  margin-bottom: 10px;
}

.footer-custom p {
  color: #aaa;
}

.footer-custom a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-custom a:hover {
  color: var(--accent-color);
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
  margin-right: 15px;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* 信息项样式 */
.info-item {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 120px 0 80px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 20px;
  }
}

@media screen and (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
}