/* 雨亭行动·为国储才 公益网站样式 */

/* ==================== 全局样式 ==================== */
:root {
    --primary-color: #1a5f7a;
    --secondary-color: #2a9d8f;
    --accent-color: #f4a261;
    --gold-color: #d4a843;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* 大字号设置 - 用户偏好 */
body, p, li, td, th {
    font-size: 1.1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

/* ==================== 双语支持 ==================== */
.en-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85em;
    opacity: 0.7;
    display: none;
    margin-top: 4px;
    line-height: 1.5;
}

.bilingual {
    display: inline;
}

.bilingual .zh {
    display: inline;
}

.bilingual .en {
    display: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85em;
    opacity: 0.65;
    margin-left: 6px;
    font-weight: 400;
}

/* 导航双语 */
.nav-links a .en-text,
.footer-links a .en-text {
    font-size: 0.75rem;
    margin-top: 2px;
}

/* Hero双语 */
.hero-badge .en-text,
.hero-subtitle .en-text,
.stat-label .en-text {
    font-size: 0.8em;
    opacity: 0.8;
}

/* 卡片内双语描述 */
.card-en-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    opacity: 0.65;
    margin-top: 8px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ==================== 语言切换 ==================== */
/* 切换按钮 */
.lang-toggle-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    margin-right: 10px;
    flex-shrink: 0;
}

.lang-toggle-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

/* 英文模式下：隐藏中文，显示英文 */
body.lang-en .zh {
    display: none !important;
}

body.lang-en .en-text {
    display: inline !important;
}

body.lang-en .bilingual .en {
    display: inline !important;
}

/* 中文模式（默认）：确保英文隐藏 */
body:not(.lang-en) .en-text {
    display: none;
}

body:not(.lang-en) .bilingual .en {
    display: none;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-logo-text h1 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
}

.nav-logo-text span {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--secondary-color);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 30px;
    transition: var(--transition);
    align-items: center;
}

.nav-cta:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta .en-text {
    color: rgba(255,255,255,0.8) !important;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* ==================== Hero区域 ==================== */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.9), rgba(42, 157, 143, 0.8)),
                url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 168, 67, 0.3), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.95rem;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
    color: var(--gold-color);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

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

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #e6b84d;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold-color);
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* ==================== 通用区块样式 ==================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== 关于区域 ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 0.95rem;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 2;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    padding: 20px;
    background: var(--light-color);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* ==================== 时间线 ==================== */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--gold-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 450px;
}

.timeline-year {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 时间线内双语 */
.timeline-content .en-text {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 6px;
}

/* ==================== 成果展示 ==================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.achievement-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-color);
    box-shadow: var(--shadow-lg);
}

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

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.achievement-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* ==================== 国际化项目 ==================== */
.international-section {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.international-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(212, 168, 67, 0.1);
    border-radius: 50%;
}

.international-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.international-content h2 {
    color: white;
    margin-bottom: 20px;
}

.international-content p {
    margin-bottom: 20px;
    line-height: 2;
    opacity: 0.9;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-box h4 {
    color: var(--gold-color);
    margin-bottom: 15px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    opacity: 0.95;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==================== 中国发展机遇 ==================== */
.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.opportunity-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.opportunity-card-content {
    padding: 30px;
}

.opportunity-card-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.opportunity-card-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== 愿景理念 ==================== */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.vision-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.vision-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* ==================== 城市列表样式 ==================== */
.city-list-section {
    background: var(--light-color);
    padding: 80px 0;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.city-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.city-card .city-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.city-card .city-name-en {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.city-card .city-year {
    font-size: 0.85rem;
    color: var(--gold-color);
    margin-top: 8px;
    font-weight: 600;
}

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

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

.footer-brand h3 {
    color: var(--gold-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ==================== 联系表单 ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 95, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    margin-bottom: 5px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ==================== 页面Banner ==================== */
.page-banner {
    height: 400px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.9), rgba(42, 157, 143, 0.8)),
                url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .about-grid,
    .international-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .opportunity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .city-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .achievements-grid,
    .vision-grid,
    .opportunity-grid,
    .city-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .lang-toggle-btn {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 尊重用户减少动画的偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== 国际项目专属样式 ==================== */
.target-audience {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0;
}

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

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

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.audience-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ==================== 照片画廊 ==================== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* 成长对比 */
.growth-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

.growth-compare .growth-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.growth-compare .growth-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.growth-compare .growth-arrow {
    font-size: 2rem;
    color: var(--gold-color);
}

.growth-compare .growth-label {
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==================== 志愿者报名 ==================== */
.volunteer-type-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.volunteer-type-card:hover,
.volunteer-type-card.active {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.volunteer-type-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.volunteer-type-card .type-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-color);
    margin: 15px 0;
}

/* ==================== 捐赠 ==================== */
.donate-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.donate-card:hover {
    border-color: var(--gold-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.donate-card .donate-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--gold-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

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

.donate-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.donate-amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.donate-amount-btn {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.donate-amount-btn:hover,
.donate-amount-btn.active {
    border-color: var(--primary-color);
    background: rgba(26, 95, 122, 0.05);
}

/* ==================== 行程日程 ==================== */
.itinerary-day {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.itinerary-day .day-number {
    background: var(--primary-color);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.itinerary-day .day-number small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.itinerary-day .day-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.itinerary-day .day-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.itinerary-day .day-content .location-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(42, 157, 143, 0.1);
    color: var(--secondary-color);
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* ==================== 国际志愿者档案 ==================== */
.volunteer-profile {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.volunteer-profile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.volunteer-profile img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.volunteer-profile .profile-content {
    padding: 25px;
}

.volunteer-profile .profile-country {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(42, 157, 143, 0.1);
    color: var(--secondary-color);
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.volunteer-profile h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.volunteer-profile p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}
