/* ============================================
 * 通用样式库 - 完整优化版
 * 文件: common-styles.css
 * 版本: 3.0.0 (统一优化系统)
 * ============================================ */

/* ========== CSS变量定义 ========== */
:root {
    --wz-primary-color: #D4AF37;
    --wz-dark-bg: #0d1117;
    --wz-card-bg: #1a1a1a;
    --wz-text-light: #ffffff;
    --wz-text-gray: #cccccc;
    --wz-border-color: rgba(212, 175, 55, 0.3);
    --wz-shadow-color: rgba(0, 0, 0, 0.5);
}

/* ========== 基础重置和工具类 ========== */
.wz-reset {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wz-container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== 文字样式 ========== */
.wz-text-lg {
    font-size: 1.3rem;
    line-height: 1.8;
    font-family: 'Open Sans', sans-serif;
}

.wz-text-light {
    color: var(--wz-text-light);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.wz-text-gray {
    color: var(--wz-text-gray);
}

/* ========== 标签样式 ========== */
.wz-tag {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 2.5rem;
}

.wz-tag-gold {
    background: var(--wz-primary-color);
    color: var(--wz-dark-bg);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ========== 按钮样式 ========== */
.wz-btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 200px;
    text-align: center;
}

.wz-btn-outline-gold {
    background: transparent;
    color: var(--wz-primary-color);
    border: 2px solid var(--wz-primary-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.wz-btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* ========== 分隔线 ========== */
.wz-divider {
    height: 4px;
    width: 120px;
    margin: 2.5rem 0;
    border-radius: 2px;
}

.wz-divider-gold {
    background: var(--wz-primary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ========== 联系信息组件 ========== */
.wz-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.wz-contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wz-contact-icon {
    width: 40px;
    text-align: center;
}

.wz-icon-gold {
    color: var(--wz-primary-color);
    font-size: 1.8rem;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.wz-contact-text {
    font-size: 1.4rem;
    color: var(--wz-text-light);
    font-weight: 500;
    font-family: 'Open Sans', sans-serif;
}

/* ========== 图片容器和懒加载样式 ========== */
.wz-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: var(--wz-card-bg);
}

.wz-lazy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wz-img-loaded {
    opacity: 1 !important;
}

.wz-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: wz-shimmer 2s infinite;
    z-index: 1;
}

/* ========== 模块动画 ========== */
.wz-module-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.wz-module-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 动画关键帧 ========== */
@keyframes wz-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ========== 响应式调整 ========== */
@media (max-width: 1024px) {
    .wz-text-lg { font-size: 1.2rem; }
    .wz-tag { font-size: 1.1rem; }
    .wz-contact-text { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    .wz-text-lg { font-size: 1.15rem; }
    .wz-contact-text { font-size: 1.2rem; }
    .wz-contact-icon { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    .wz-text-lg, .wz-contact-text { font-size: 1.1rem; }
    .wz-tag { 
        font-size: 1rem; 
        padding: 0.7rem 1.8rem;
    }
    .wz-btn { 
        font-size: 0.95rem; 
        padding: 0.8rem 1.2rem;
    }
}

/* ========== 原有修复代码保留 ========== */
body .nav-container nav.carbon-nav::before,
body .nav-container nav.carbon-nav::after,
.dropdown-menu a::before,
.nav-menu a.current::after {
    content: none !important;
    display: none !important;
}

.wz-debug-box,
div[style*="position:fixed"][style*="bottom:10px"][style*="right:10px"][style*="background:#000"],
div[style*="WZARROW优化调试"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}