/*
Theme Name: Venus Investment Alliance
Theme URI: https://venus-investment-alliance.com
Author: Venus Team
Author URI: https://venus-investment-alliance.com
Description: A custom theme developed for Venus Investment Alliance
Version: 1.2.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: venus-investment
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

变更日志:
1.0.0 - 初始版本
1.1.0 - 添加关于我们页面和联系页面
1.2.0 - 增强移动端适配，改进UI/UX
1.2.1 - 修复移动端菜单不响应问题，优化移动端体验
1.2.2 - 修复移动菜单双击缩放问题，完善移动菜单触摸交互
1.2.3 - 优化德语导航菜单间隔，减少横向空间占用
*/

/* 导入自定义样式 */
@import url('css/custom.css');

/* 基本样式覆盖 */
:root {
  --primary-color: #011F5B; /* 沃顿蓝色 */
  --secondary-color: #990000; /* 宾大红色 */
  --accent-color: #82AFD3; /* 浅蓝色 */
  --light-gray: #f4f4f4;
  --dark-gray: #333;
  --text-color: #333;
  --white: #fff;
  --font-primary: 'Open Sans', sans-serif;
  --font-secondary: 'Playfair Display', serif;
}

/* 全局样式 */
body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-top: 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* 框架样式 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #001844;
  border-color: #001844;
}

.btn-secondary {
  color: var(--white);
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: #7a0000;
  border-color: #7a0000;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* 网站标题特别样式 */
.site-title {
  font-size: 2.25rem;
  white-space: nowrap;
  display: inline-block;
  letter-spacing: -0.01em;
}

.site-title a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.site-title a:hover {
  color: var(--secondary-color);
}

/* 响应式布局优化 */
@media (min-width: 992px) {
  .site-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .site-title {
    font-size: 2rem;
  }
  
  .main-header .row > div {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .site-title {
    font-size: 1.75rem;
  }
}

/* 确保顶部联系信息在移动设备上正确显示 */
@media (max-width: 576px) {
  .top-bar .contact-info {
    font-size: 0.85rem;
  }
  
  .top-bar .contact-info .me-3 {
    margin-right: 0.5rem !important;
  }
}

/* 确保hero区块在所有设备上美观 */
.hero-section {
  padding: 4rem 0;
}

@media (max-width: 767px) {
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }
  
  .hero-section img {
    margin-top: 2rem;
  }
} 