/**
 * 全球化运营页面新样式
 * 专门为重新设计的全球化运营页面提供样式
 * 
 * @package TinusGroup
 * @version 1.0.0
 */

/* ==========================================================================
   Hero Banner 样式 - 参考 about.php
   ========================================================================== */

.global-operations-hero {
    position: relative;
    background: url(/wp-content/themes/tinus-group/images/b14.jpg) no-repeat center/cover;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.global-operations-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: #fff; */
    opacity: 0.1;
    z-index: 1;
}

.global-operations-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.global-operations-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.global-operations-hero__subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.global-operations-hero__description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
}

.global-operations-hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.global-operations-hero__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.global-operations-hero__btn--primary {
    background: #66BB6A;
    color: white;
    border-color: #66BB6A;
}

.global-operations-hero__btn--primary:hover {
    background: transparent;
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.global-operations-hero__btn--secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.global-operations-hero__btn--secondary:hover {
    background: white;
    color: #2EA23A;
    transform: translateY(-2px);
}

/* 淡入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

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

/* ==========================================================================
   通用样式
   ========================================================================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2EA23A;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    position: relative;
    letter-spacing: 2px;
    font-size: 31px;
    color: #444;
    text-align: center;
    margin-bottom: 90px;
    font-weight: 500;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2EA23A, #4CAF50);
    border-radius: 2px;
}

.section-description {
    /* max-width: 900px; */
    margin: 0 auto 50px;
    text-align: center;
}

.section-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   全球科研中心和运维工作室
   ========================================================================== */

.global-research-centers {
    padding: 80px 0;
    background: #f8f9fa;
}

.network-image {
    text-align: center;
    margin-top: 50px;
}

.network-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    /* box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.network-image img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   全球原材料甄选与采购
   ========================================================================== */

.global-materials-procurement {
    padding: 80px 0;
    background: #fff;
}

.procurement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.procurement-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.procurement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2EA23A, #4CAF50, #66BB6A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.procurement-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 48px rgba(46, 162, 58, 0.15);
}

.procurement-item:hover::before {
    transform: scaleX(1);
}

.procurement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.procurement-icon img {
    height: 60px;
    width: auto;
    display: block;
    margin: 10px auto;
}

.procurement-item h3 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.procurement-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   海外工厂介绍
   ========================================================================== */

.overseas-factories {
    padding: 80px 0;
    background: #f8f9fa;
}

.factory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.factory-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    box-shadow: none;
    /* background: transparent; */
}

.factory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.factory-image-placeholder {
    height: 250px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.factory-image-placeholder img {
    width: auto;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
    margin: 30px auto;
    display: block;
}

.factory-card:hover .factory-image-placeholder img {
    transform: scale(1.05);
}

.factory-content {
    padding: 40px;
}

.factory-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2EA23A;
    margin-bottom: 10px;
    letter-spacing: 1px;
    letter-spacing: 2px;
    font-size: 24px;
    color: #444;
    /* text-align: center; */
    margin-bottom: 20px;
    font-weight: 500;
    white-space: nowrap;
    padding-bottom: 15px;
    max-width: min-content;
    border-bottom: 2px solid var(--primary-color);
}

.factory-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 8px;
    font-weight: 500;
    font-style: italic;
}

.factory-flag {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.factory-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.factory-description img {
    margin: 30px 0;
}

.factory-address {
    font-size: 0.95rem;
    color: #777;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2EA23A;
}

.factory-address strong {
    color: #2EA23A;
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

/* 平板设备 */
@media (max-width: 1024px) {
    .global-operations-hero__title {
        font-size: 3rem;
    }

    .global-operations-hero__subtitle {
        font-size: 1.3rem;
    }

    .global-operations-hero__description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .procurement-grid {
        gap: 30px;
        padding: 0 20px;
    }
    
    .procurement-item {
        padding: 35px 25px;
    }
    
    .factory-content {
        padding: 30px;
    }
}

/* 小平板设备 */
@media (max-width: 768px) {
    .global-operations-hero__title {
        font-size: 2.5rem;
    }

    .global-operations-hero__subtitle {
        font-size: 1.2rem;
    }

    .global-operations-hero__description {
        font-size: 0.95rem;
    }

    .global-operations-hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .global-operations-hero__btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .section-description {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .procurement-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }
    
    .procurement-item {
        padding: 30px 25px;
    }
    
    .procurement-icon {
        font-size: 2.5rem;
    }
    
    .factory-image-placeholder {
        height: 200px;
    }
    
    .factory-content {
        padding: 25px;
    }
    
    .factory-name {
        font-size: 1.5rem;
    }

    .factory-subtitle {
        font-size: 1rem;
    }
}

/* 手机设备 */
@media (max-width: 480px) {
    .global-operations-hero {
        padding: 80px 0 60px;
    }

    .global-operations-hero__title {
        font-size: 2rem;
    }

    .global-operations-hero__subtitle {
        font-size: 1.1rem;
    }

    .global-operations-hero__description {
        font-size: 0.9rem;
    }

    .global-research-centers,
    .global-materials-procurement,
    .overseas-factories {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .section-description p {
        font-size: 1rem;
    }
    
    .procurement-item {
        padding: 25px 20px;
    }
    
    .procurement-item h3 {
        font-size: 1.2rem;
    }
    
    .procurement-icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .factory-content {
        padding: 20px;
    }
    
    .factory-name {
        font-size: 1.4rem;
    }

    .factory-subtitle {
        font-size: 0.95rem;
    }

    .factory-description {
        font-size: 0.95rem;
    }
    
    .factory-address {
        font-size: 0.9rem;
        padding: 12px;
    }
}
