/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    /*background: #f5f5f5;*/
    padding: 20px 0;
}

/* 导航栏 */
.header {
    /*background-color: white;*/
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    /*position: sticky;*/
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;    /* 垂直居中（可选） */
}

.logo {
    width: 80%;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;    /* 垂直居中 */
}
.logo img {
    max-width: 50%;       /* 防止图片溢出 */
    height: auto;          /* 保持宽高比 */
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 2rem;
    /*margin-top: 20px; !* 上边距 *!*/
    /*margin-bottom: 20px; !* 下边距 *!*/

}
.container h2 {
    text-align: center;
}

h1 {
    font-weight:bold; /* 加粗 */
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
    color: black;
    /*font-family: 'Arial Black', 'Arial Bold', 'Helvetica Neue Bold', sans-serif;*/
}
.hero-text {
    position: relative;
    height: 280px;
    max-width: 1440px;
    margin: 1rem auto;
    overflow: hidden;
    text-align: center;
    color: white;
    transition: all 0.5s ease;
}

/* 修改后的 .hero 容器 */
.hero {
    position: relative;
    height: 680px;
    max-width: 1440px;
    margin: 1rem auto;
    overflow: hidden;
    text-align: center;
    color: white;
    transition: all 0.5s ease;
}
/* 图片样式调整 */
.hero img,.hero-text img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;

    /* 新增样式：降低亮度和增加不透明度 */
    filter: brightness(0.7); /* 亮度调整为60%，值越小越暗 */
    /*opacity: 0.8; !* 不透明度80%，值越小越透明 *!*/

    /* 可选：添加轻微模糊效果，使背景更柔和 */
    /* filter: brightness(0.6) blur(1px); */
}

/* 文字容器 */
.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    transition: all 0.5s ease;
}
/* 标题基础样式 */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: normal;
    transition: all 0.5s ease;
    transform-origin: left center;
    max-width: 1200px;
    color: white;
    width: 100%;
    font-family: 'Arial', sans-serif;
}
/* 主标题特定样式 */
.hero .title-main {
    transition: all 0.5s ease;
}
/* 副标题特定样式 */
.hero .title-sub {
    font-weight:bold; /* 加粗 */
    white-space: nowrap;
    transition: all 0.5s ease;
    text-shadow:
            0 0 6px rgba(80, 80, 80, 0.8),       /* 近边缘：深灰色，高不透明度 */
            0 0 15px rgba(30, 30, 30, 0.6),      /* 中层：接近黑色，中等扩散 */
            0 0 30px rgba(0, 0, 0, 0.4);         /* 外层：纯黑模糊，最大范围 */
}
/* 描述文字样式 */
.hero p {
    opacity: 0;
    transition: all 0.5s ease;
    max-width: 600px;
    font-size: 1.2rem;
    line-height: 1.8;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(50px);
    text-align: left;
    padding: 1rem;
    z-index: 2;
}
/* 半透明蒙版 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 36%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    z-index: 1;
}
/* 悬停效果 */
.hero:hover .title-main {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}
.hero:hover .title-sub {
    font-size: 1.8rem;
    transform: translateX(-350px); /* 左移x像素 */
    margin-top: -1rem;
    white-space: nowrap;
    text-align: left;
    padding-left: 2rem; /* Added padding to ensure visibility */
    width: calc(100% - 40% - 350px); /* Accounts for overlay and movement */
}
.hero:hover p {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.hero:hover::after {
    right: 0;
}


/* 页脚 */
/* 基础样式 */
footer {
    background-color: #f5f5f5;
    color: #333;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    padding: 40px 0 20px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 两列布局 */
.footer-columns {
    display: flex;
    justify-content: center;  /* 水平居中 */
    gap: 40px;
    margin-bottom: 30px;
}

.footer-subscribe {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;  /* 水平居中 */

}

/* 链接列表样式 */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #666;
}

/* 标题样式 */
.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 社交媒体区域 */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    margin-left: 1.8rem;
    margin-right: 1.8rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #ddd;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
}

/* 订阅表单样式 */
.newsletter-desc {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.frequency-options {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.subscribe-btn {
    background-color: #d82c2c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.2s;
}

.subscribe-btn:hover {
    background-color: #b32424;
}

.privacy-link {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    text-decoration: none;
}

/* 底部版权信息 */
.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.legal-links {
    margin: 10px 0;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
}

.charity-info {
    font-size: 12px;
    margin-top: 15px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links, .footer-subscribe {
        flex: 100%;
    }
}