/* 1. 基础工具类样式 - 内容可见性与文本阴影 */
.content-auto {
    content-visibility: auto;
}
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 2. 渐变与特征卡片样式 */
.gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F0E68C 100%);
}
.feature-img-container {
    height: 180px;
    overflow: hidden;
    border-radius: 0.5rem;
}
.feature-img {
    transition: transform 0.5s ease;
}
.feature-card:hover .feature-img {
    transform: scale(1.05);
}

/* 3. 视频容器与播放按钮样式 */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
}
.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.play-button:hover {
    background-color: rgba(212, 175, 55, 1);
    transform: translate(-50%, -50%) scale(1.05);
}
.play-button i {
    color: #121212;
    font-size: 40px;
    margin-left: 10px;
}

/* 4. Logo样式 */
.company-logo {
    height: 120px;
    width: auto;
    border-radius: 0.25rem;
}

/* 5. 增强导航栏样式 */
#navbar {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.98) 0%, rgba(30, 30, 30, 0.95) 100%);
    box-shadow: 0 2px 15px rgba(212, 175, 55, 0.2);
}

/* 6. 导航链接增强效果 */
nav a {
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #D4AF37;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #F0E68C);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* 7. 增强移动菜单样式 */
#mobile-menu {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(45, 45, 45, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* 8. 增强按钮样式 */
.bg-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    transition: all 0.3s ease;
}

.bg-gold:hover {
    background: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* 9. 导航栏滚动效果 */
.navbar-shadow {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* 小屏幕媒体查询 - 导航文字变小 */
@media (max-width: 768px) {
  /* 桌面导航文字变小 */
  nav a {
    font-size: 0.875rem !important; /* 14px */
  }
  
  /* 移动端导航文字 */
  #mobile-menu a {
    font-size: 0.875rem !important; /* 14px */
  }
}

@media (max-width: 480px) {
  /* 更小屏幕的导航文字 */
  nav a {
    font-size: 0.75rem !important; /* 12px */
  }
  
  #mobile-menu a {
    font-size: 0.75rem !important; /* 12px */
  }
}
