/* ==================== 全球项目模块样式 ==================== */

.global-projects-section {
    padding: 100px 24px;
    background: #ffffff;
}

.global-projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.global-projects-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f1f2f;
    margin-bottom: 12px;
}

.global-projects-title-underline {
    width: 80px;
    height: 4px;
    background: #0b6efd;
    margin: 0 auto 16px;
    border-radius: 2px;
}

.global-projects-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 12px;
}

.global-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.global-project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.global-project-card:hover {
    transform: scale(1.05);
}

.global-project-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    overflow: hidden;
}

.global-project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.global-project-card:hover .global-project-image {
    transform: scale(1.1);
}

.global-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(11, 110, 253, 0.9), rgba(11, 110, 253, 0.7));
    color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.global-project-card:hover .global-project-overlay {
    opacity: 1;
}

.global-project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.global-project-details {
    margin-bottom: 20px;
}

.global-project-details p {
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.global-project-details strong {
    font-weight: 600;
}

.global-project-actions {
    display: flex;
    gap: 12px;
}

.global-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.global-project-info {
    padding: 16px;
    background: #ffffff;
}

.global-project-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0f1f2f;
    margin-bottom: 8px;
    line-height: 1.4;
}

.global-project-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #6c757d;
}

.global-project-likes {
    display: flex;
    align-items: center;
    gap: 4px;
}

.global-project-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.global-projects-cta {
    text-align: center;
}

.btn--projects {
    background: linear-gradient(135deg, #0b6efd 0%, #0d6efd 100%);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn--projects:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 110, 253, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

/* 动画效果 */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .global-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .global-projects-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .global-projects-section {
        padding: 60px 20px;
    }
    
    .global-projects-title {
        font-size: 1.8rem;
    }
    
    .global-projects-subtitle {
        font-size: 1rem;
    }
    
    .global-projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .global-project-overlay {
        padding: 20px;
    }
    
    .global-project-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .global-project-details p {
        font-size: 0.85rem;
    }
}

