/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    color: #1a73e8;
    font-weight: 700;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #5f6368;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a73e8;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 50%, #8ab4f8 100%);
    opacity: 0.9;
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-content {
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: white;
    color: #1a73e8;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background-color: #f1f3f4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background-color: #1a73e8;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 特色区域样式 */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #202124;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #1a73e8;
}

.feature-item h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #202124;
}

.feature-item p {
    color: #5f6368;
    line-height: 1.6;
}

/* 和平倡议区域样式 */
.initiative {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
    text-align: center;
}

.initiative-content {
    max-width: 700px;
    margin: 0 auto;
}

.initiative-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #5f6368;
    line-height: 1.8;
}

/* 和平人物剪影区域样式 */
.peace-figures {
    padding: 80px 0;
    background-color: white;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.figure-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.figure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.figure-img {
    height: 200px;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.figure-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0 10px;
    text-align: center;
    color: #202124;
}

.figure-card p {
    padding: 0 20px 20px;
    text-align: center;
    color: #5f6368;
    font-size: 0.95rem;
}

/* 关于和平理念页面样式 */
.about-content {
    padding: 80px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.about-item h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #202124;
}

.about-item p {
    color: #5f6368;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-item ul {
    list-style: none;
    padding: 0;
}

.about-item ul li {
    color: #5f6368;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.about-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a73e8;
    font-weight: bold;
}

/* 和平原则样式 */
.peace-principles {
    margin: 60px 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.principle-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.principle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #1a73e8;
}

.principle-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #202124;
}

.principle-item p {
    color: #5f6368;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 和平名言样式 */
.peace-quotes {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
    border-radius: 20px;
}

.quotes-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-item {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #202124;
    margin-bottom: 20px;
    line-height: 1.8;
}

.quote-author {
    font-size: 1.1rem;
    color: #1a73e8;
    font-weight: 500;
}

/* 历史事件页面样式 */
.history-content {
    padding: 80px 0;
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-date {
    position: absolute;
    right: -100px;
    top: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a73e8;
    background-color: white;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-date {
    right: auto;
    left: -100px;
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 45%;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 50px;
}

.timeline-content h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #202124;
}

.timeline-content p {
    color: #5f6368;
    line-height: 1.8;
}

/* 和平人物页面样式 */
.figures-content {
    padding: 80px 0;
    background-color: white;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.figure-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.figure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.figure-image {
    height: 250px;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
}

.figure-info {
    padding: 30px;
}

.figure-info h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #202124;
}

.figure-info h4 {
    font-size: 1.1rem;
    color: #1a73e8;
    margin-bottom: 15px;
    font-weight: 500;
}

.figure-info p {
    color: #5f6368;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 和平倡议与行动页面样式 */
.actions-content {
    padding: 80px 0;
    background-color: white;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.action-item {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #1a73e8;
}

.action-item h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #202124;
}

.action-item p {
    color: #5f6368;
    line-height: 1.8;
    margin-bottom: 20px;
}

.action-item ul {
    list-style: none;
    padding: 0;
}

.action-item ul li {
    color: #5f6368;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.action-item ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1a73e8;
    font-weight: bold;
}

/* 和平誓言样式 */
.peace-pledge {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
}

.peace-pledge h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
}

.pledge-content {
    max-width: 800px;
    margin: 0 auto;
}

.pledge-content p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.pledge-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pledge-content ul li {
    line-height: 2;
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    text-align: left;
}

.pledge-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

/* 页脚样式 */
.footer {
    background-color: #202124;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-info p {
    color: #bdc1c6;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bdc1c6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #1a73e8;
}

.footer-contact p {
    color: #bdc1c6;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3c4043;
    color: #9aa0a6;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏响应式 */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: flex;
    }

    /* 英雄区域响应式 */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* 页面标题响应式 */
    .page-header h2 {
        font-size: 2rem;
    }

    /* 特色区域响应式 */
    .section-title {
        font-size: 2rem;
    }

    /* 时间线响应式 */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 70px;
        justify-content: flex-start;
        margin-bottom: 40px;
    }

    .timeline-item:nth-child(odd) {
        padding-left: 70px;
    }

    .timeline-date {
        right: auto;
        left: -80px;
        font-size: 1rem;
    }

    .timeline-item:nth-child(odd) .timeline-date {
        left: -80px;
    }

    .timeline-content {
        width: 100%;
        margin-left: 0;
    }

    /* 网格布局响应式 */
    .about-grid,
    .features-grid,
    .figures-grid,
    .principles-grid,
    .actions-grid {
        grid-template-columns: 1fr;
    }

    /* 和平誓言响应式 */
    .pledge-content ul li {
        text-align: center;
        padding-left: 0;
    }

    .pledge-content ul li::before {
        display: none;
    }
}

@media (max-width: 480px) {
    /* 英雄区域响应式 */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* 按钮响应式 */
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    /* 页面标题响应式 */
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h2 {
        font-size: 1.8rem;
    }

    /* 各区域内边距响应式 */
    .features,
    .initiative,
    .peace-figures,
    .about-content,
    .history-content,
    .figures-content,
    .actions-content {
        padding: 60px 0;
    }

    /* 卡片内边距响应式 */
    .feature-item,
    .principle-item,
    .action-item,
    .figure-card {
        padding: 20px;
    }
}