/*
Theme Name: YKM Overseas Warehouse
Description: 易可美海外仓官网主题 - 专业的跨境电商物流解决方案
Version: 1.0.0
Author: YKM Team
*/

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* ===== 顶部信息栏 ===== */
.top-bar {
    background: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    color: #666;
}

.contact-info i {
    margin-right: 5px;
    color: #667eea;
}

.top-links a {
    color: #667eea;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.top-links a:hover {
    color: #764ba2;
}

/* ===== 头部导航 ===== */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    color: #333;
}

.logo-text {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.logo-subtitle {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: -2px;
}

/* 导航菜单 */
.main-navigation {
    flex: 1;
    margin: 0 50px;
}

.menu {
    display: flex;
    list-style: none;
    justify-content: center;
}

.menu-item {
    margin: 0 20px;
}

.menu-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.menu-item a:hover {
    color: #667eea;
}

.menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.menu-item a:hover::after {
    width: 100%;
}

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

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ===== 英雄区域 ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line {
    display: block;
    margin-bottom: 10px;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 英雄区域文字动画 */
.animate-title {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
}

.animate-subtitle {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1s forwards;
}

.animate-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 文字打字机效果 */
.animate-title {
    animation: fadeInUp 1s ease-out 0.5s forwards, typing 2s steps(8) 0.5s forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

/* ===== 通用区块样式 ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 特色服务区块 ===== */
.features-section {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* ===== 关于我们区块 ===== */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.about-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 15px 0 0 0;
}

.card-content {
    padding: 30px;
}

.card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-description:last-child {
    margin-bottom: 0;
}

/* 统一卡片内容样式 */
.company-business,
.parent-company-business {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.business-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.business-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.business-item i {
    color: #667eea;
    font-size: 1rem;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.business-item span {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
}

.company-advantages,
.parent-company-advantages {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.advantages-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.advantage-item i {
    color: #667eea;
    font-size: 1.1rem;
    margin-right: 12px;
    margin-top: 2px;
    width: 18px;
    text-align: center;
}

.advantage-content {
    flex: 1;
}

.advantage-content strong {
    display: block;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.advantage-content span {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.timeline-section {
    margin-top: 60px;
    text-align: center;
}

.timeline-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.timeline-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-marker {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-marker:hover::before {
    opacity: 1;
}

.timeline-marker:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.timeline-marker i {
    font-size: 2rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.marker-year {
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid white;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

.timeline-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* 图标样式 */
.icon-startup::before { content: '🚀'; }
.icon-shipping::before { content: '📦'; }
.icon-warehouse::before { content: '🏭'; }
.icon-brand::before { content: '🏢'; }
.icon-expansion::before { content: '🌍'; }
.icon-arrow-right::before { content: '→'; }

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

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.company-logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.company-logo {
    width: 200px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-highlights {
    margin: 30px 0;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px 0;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.highlight-item span {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.about-image {
    text-align: center;
}

.parent-company-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
}

.parent-company-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.parent-company-logo {
    text-align: center;
    margin-bottom: 20px;
}

.parent-logo {
    width: 180px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.parent-company-info {
    text-align: left;
}

.parent-company-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.parent-company-info p:last-child {
    margin-bottom: 0;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    margin: 0 auto;
}

/* ===== 服务区块 ===== */
.services-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-container {
    margin-top: 60px;
}

.services-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.services-row:last-child {
    margin-bottom: 0;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* ===== 技术优势区块 ===== */
.technology-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.tech-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.tech-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.tech-description {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== 合作伙伴区块 ===== */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partners-category {
    margin-bottom: 60px;
}

.partners-category-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
}

.partners-category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.partners-subcategories-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

/* 分隔线样式 */
.partners-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.divider-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.divider-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: dividerPulse 2s ease-in-out infinite;
}

.divider-icon i {
    transform: translateX(1px);
}

/* 分隔线动画 */
@keyframes dividerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
}

.arrow-icon {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
}

.partners-subcategory {
    margin-bottom: 0;
}

.partners-subcategory-title {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #34495e;
    position: relative;
}

.partners-subcategory-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

/* 物流合作伙伴样式 */
.logistics-partners-container {
    margin-top: 40px;
}

.logistics-partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.logistics-partners-row:last-child {
    margin-bottom: 0;
}

.logistics-partner {
    opacity: 0;
    transform: translateY(20px);
    animation: partnerFadeIn 0.8s ease forwards;
}

/* 第一行动画延迟 */
.logistics-partners-row:first-child .logistics-partner:nth-child(1) { animation-delay: 0.1s; }
.logistics-partners-row:first-child .logistics-partner:nth-child(2) { animation-delay: 0.2s; }
.logistics-partners-row:first-child .logistics-partner:nth-child(3) { animation-delay: 0.3s; }
.logistics-partners-row:first-child .logistics-partner:nth-child(4) { animation-delay: 0.4s; }

/* 第二行动画延迟 */
.logistics-partners-row:last-child .logistics-partner:nth-child(1) { animation-delay: 0.5s; }
.logistics-partners-row:last-child .logistics-partner:nth-child(2) { animation-delay: 0.6s; }
.logistics-partners-row:last-child .logistics-partner:nth-child(3) { animation-delay: 0.7s; }
.logistics-partners-row:last-child .logistics-partner:nth-child(4) { animation-delay: 0.8s; }

@keyframes partnerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 10px;
}

/* ===== 联系我们区块 ===== */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

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

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    color: #666;
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
}

.contact-details a:hover {
    color: #764ba2;
}

/* 联系表单 */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== 页脚 ===== */
.site-footer {
    background: #2c3e50;
    color: white;
}

.footer-main {
    padding: 60px 0 40px;
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #764ba2;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ecf0f1;
}

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

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    background: #34495e;
    padding: 20px 0;
}

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

.copyright {
    color: #bdc3c7;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #667eea;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .menu {
        flex-direction: column;
        padding: 20px;
    }
    
    .menu-item {
        margin: 10px 0;
    }
    
    .header-actions {
        display: none;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .partners-subcategories-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .partners-divider {
        display: none;
    }
    
    .services-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-marker {
        width: 100px;
        height: 100px;
    }
    
    .timeline-marker i {
        font-size: 1.5rem;
    }
    
    .timeline-content {
        min-height: auto;
        padding: 20px 15px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .advantage-item {
        padding: 10px;
    }
    
    .logistics-partners-row {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .logistics-partner {
        min-width: 100px;
        flex: 1;
    }
    
    /* 我们的优势板块移动端适配 */
    .features-grid {
        gap: 30px;
    }
    
    .features-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    /* 技术优势板块移动端适配 */
    .technology-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-card {
        padding: 30px 20px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
    }
    
    .tech-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
} 

/* ===== LOGO样式 ===== */
.company-logo,
.parent-logo,
.partner-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.company-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

.parent-logo {
    max-height: 60px;
    margin-bottom: 15px;
}

.partner-logo {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
}

/* LOGO占位符样式 */
.company-logo:not([src]),
.parent-logo:not([src]),
.partner-logo:not([src]) {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 12px;
    text-align: center;
}

.company-logo:not([src])::after {
    content: 'YKM LOGO';
}

.parent-logo:not([src])::after {
    content: '伯聚世通 LOGO';
}

.partner-logo:not([src])::after {
    content: 'LOGO';
}

/* ===== 联系表单优化 ===== */
.contact-form-inner {
    position: relative;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-top: 5px;
    transition: color 0.3s ease;
}

/* 表单验证样式 */
.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.success input,
.form-group.success textarea {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* 提交按钮状态 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 通知样式优化 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.notification.error {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.notification.info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.notification.warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
} 

/* ===== 我们的优势板块 ===== */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* ===== 技术优势板块 ===== */
.technology-section {
    padding: 80px 0;
    background: white;
}

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

.tech-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.tech-icon i {
    font-size: 2rem;
    color: white;
}

.tech-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.tech-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* 图标样式 */
.icon-technology::before { content: '🔧'; }
.icon-team::before { content: '👥'; }
.icon-infrastructure::before { content: '🏗️'; }
.icon-partnership::before { content: '🤝'; }

.icon-integration::before { content: '🔗'; }
.icon-management::before { content: '📊'; } 