/*
Theme Name: 易畅进出口有限公司
Description: 专为易畅进出口有限公司设计的企业官网主题，突出全产业链优势与品牌矩阵
Version: 1.1.0
Author: Yichang Export Team
*/

/* 字体优化 - 预加载系统字体 */
@font-face {
    font-family: 'System';
    src: local('Microsoft YaHei'), local('PingFang SC'), local('Helvetica Neue'), local('Arial');
    font-display: swap;
}

/* 全局样式重置 - 优化版本 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'System', 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #1a1a1a; /* 深空灰背景 */
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 主色调定义 */
:root {
    --primary-dark: #1a1a1a; /* 深空灰 */
    --primary-gold: #d4af37; /* 鎏金 */
    --accent-red: #c41e3a; /* 中国红 */
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.site-header {
    background: rgba(26, 26, 26, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-gold);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
}

/* 移动端导航菜单 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    background: var(--primary-dark);
    width: 80%;
    max-width: 300px;
    height: 100%;
    padding: 60px 30px 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--primary-gold);
    font-size: 30px;
    cursor: pointer;
}

.mobile-menu-content .nav-menu {
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-content .nav-menu a {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

/* 语言切换器样式 */
.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: 0;
}

.language-switcher.mobile {
    margin-left: 0;
    margin-top: 20px;
    justify-content: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.lang-btn.active {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

/* 首屏样式 */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--text-light);
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-red));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* 关于我们部分 */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: var(--text-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 60px;
}

.about-text {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-dark);
}

.advantage-item h3 {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* 产品矩阵3D展示台 */
.product-matrix {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.matrix-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.matrix-stage {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.brand-card {
    flex: 0 1 calc(20% - 16px);
    min-width: 200px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.brand-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.brand-products {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* 全球地图 */
.global-map {
    padding: 100px 0;
    background: var(--primary-dark);
}

.map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-gold);
}

.world-map,
.world-map-fallback {
    width: 100%;
    height: auto;
    border-radius: 10px;
    opacity: 0.9;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(26, 26, 26, 0.8);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid var(--primary-gold);
    backdrop-filter: blur(5px);
}

.map-title {
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.map-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.map-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, var(--accent-red) 0%, #ff4444 50%, var(--accent-red) 100%);
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 0 0 25px rgba(220, 20, 60, 0.4);
    animation: markerPulse 3s infinite;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-marker:hover {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 35px rgba(220, 20, 60, 0.6);
}

.map-marker::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    animation: markerRipple 3s infinite;
}

@keyframes markerPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes markerRipple {
    0% { transform: scale(1); opacity: 0; }
    50% { transform: scale(2); opacity: 0.6; }
    100% { transform: scale(3); opacity: 0; }
}

/* 信任背书部分 */
.trust-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: var(--text-light);
}

.certifications {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-gold);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.cert-icon:hover {
    transform: scale(1.1);
    background: rgba(212, 175, 55, 0.2);
}

.brand-logos {
    text-align: center;
    overflow: hidden;
}

.logo-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 联系我们部分 */
.contact-section {
    padding: 100px 0;
    background: var(--primary-dark);
    color: var(--text-light);
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.contact-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.contact-cta {
    text-align: center;
    margin-top: 50px;
}

.contact-cta h3 {
    font-size: 2rem;
    color: var(--primary-gold);
    font-weight: bold;
}

/* 页脚样式 */
.site-footer {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.certifications-footer {
    margin-top: 20px;
    color: var(--text-gray);
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.social-link {
    color: var(--text-gray);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--text-gray);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    text-align: center;
}

.slogan {
    color: var(--primary-gold);
    font-weight: bold;
    margin-top: 5px;
}

.footer-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-gold);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-navigation .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-content .nav-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .matrix-stage {
        flex-direction: column;
        align-items: center;
    }
    
    .brand-card {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    
    .map-container {
        padding: 20px;
        margin: 0 15px;
    }
    
    .map-overlay {
        padding: 15px 20px;
    }
    
    .map-title {
        font-size: 1.4rem;
    }
    
    .map-subtitle {
        font-size: 0.9rem;
    }
    
    .map-marker {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .certifications {
        gap: 20px;
    }
    
    .cert-icon {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .map-container {
        padding: 15px;
        margin: 0 10px;
    }
    
    .map-overlay {
        padding: 10px 15px;
    }
    
    .map-title {
        font-size: 1.2rem;
    }
    
    .map-subtitle {
        font-size: 0.8rem;
    }
    
    .map-marker {
        width: 10px;
        height: 10px;
        border-width: 1px;
    }
    
    .footer-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}

/* 图标样式 */
.icon-chain::before { content: '🔗'; }
.icon-lightning::before { content: '⚡'; }
.icon-trophy::before { content: '🏆'; }
.icon-globe::before { content: '🌍'; }

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

::-moz-selection {
    background: var(--primary-gold);
    color: var(--primary-dark);
}