/* ========================================
   FORTUNE SCM - Global Supply Chain Management
   丰全供应链管理官网样式表
   ======================================== */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D32F2F;
    --primary-dark: #B71C1C;
    --secondary-color: #E53935;
    --accent-color: #FF5252;
    --text-dark: #212121;
    --text-light: #616161;
    --bg-light: #FAFAFA;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    font-size: 15px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.lang-switch {
    border-left: 1px solid #e0e0e0;
    padding-left: 35px;
}

.lang-switch a {
    color: var(--primary-color);
    font-weight: 600;
}

.lang-switch a:hover {
    opacity: 0.8;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 150px 20px 100px;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 45px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    font-size: 15px;
}

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

/* 章节标题 */
.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* 公司简介预览 */
.about-preview {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 15px;
    color: var(--text-light);
    margin-top: 5px;
}

/* 企业文化 */
.culture-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.culture-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.culture-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.culture-visual {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.culture-item:nth-child(1) .culture-visual {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
}

.culture-item:nth-child(2) .culture-visual {
    background: linear-gradient(135deg, #f5f8ff 0%, #e0ecff 100%);
}

.culture-item:nth-child(3) .culture-visual {
    background: linear-gradient(135deg, #f5fff8 0%, #e0f5e8 100%);
}

.culture-content {
    padding: 25px;
    text-align: center;
}

.culture-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.culture-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.culture-values {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.culture-value {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    transition: var(--transition);
}

.culture-value:hover {
    transform: translateY(-5px);
}

.culture-value-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.culture-value h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.culture-value p {
    font-size: 14px;
    color: var(--text-light);
}

/* 核心服务 */
.services-preview {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

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

/* 联系我们预览 */
.contact-preview {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.contact-info {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 28px;
}

.contact-item h4 {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo img {
    height: 45px;
    margin-bottom: 15px;
}

.footer-brand p {
    margin-top: 15px;
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    line-height: 2.3;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    opacity: 0.7;
    line-height: 2.2;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    font-size: 13px;
}

/* ========================================
   子页面通用样式
   ======================================== */

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 140px 20px 80px;
    text-align: center;
    margin-top: 0;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* 关于我们页面 */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-detail {
    max-width: 900px;
    margin: 0 auto;
}

.about-detail h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.about-detail p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 18px;
}

/* 核心价值观 */
.values-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 20px;
    font-weight: 700;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 组织结构 */
.organization-section {
    padding: 80px 0;
    background: var(--white);
}

.org-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.org-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.org-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.org-item span {
    font-size: 14px;
    color: var(--text-light);
}

/* 管理团队 */
.team-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    margin: 0 auto 20px;
}

.team-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.team-role {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 发展历程 */
.history-section {
    padding: 80px 0;
    background: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 服务项目页面 */
.services-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.services-intro {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.9;
}

.service-detail {
    padding: 70px 0;
    background: var(--white);
}

.service-detail.alt-bg {
    background: var(--bg-light);
}

.service-detail-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-icon-large {
    font-size: 80px;
    flex-shrink: 0;
}

.service-info h2 {
    font-size: 28px;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.service-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features li {
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
    font-size: 15px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* 专业领域 */
.specialization-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.special-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.special-item:hover {
    transform: translateY(-5px);
    border-top: 3px solid var(--primary-color);
}

.special-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.special-item h3 {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

/* CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

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

.cta-section .btn-primary:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* 联系我们页面 */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-light);
    padding: 45px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-icon-large {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.vision-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.vision-content h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.vision-content p {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
}

.map-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.map-placeholder {
    background: var(--bg-light);
    padding: 60px 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder p {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.map-tip {
    font-size: 14px;
    color: var(--text-light);
}

.coverage-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.coverage-number {
    font-size: 80px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px;
}

.coverage-content p {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.coverage-desc {
    font-size: 16px;
    color: var(--text-light);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: center;
    }

    .service-detail-content {
        flex-direction: column;
        text-align: center;
    }

    .service-features {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
        align-items: flex-start;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1,
    .page-banner h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .about-stats {
        flex-direction: column;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 25px;
    }

    .services-grid,
    .special-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .org-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }
}
