/* ==========================================================================
   11. Footer
   ========================================================================== */
/* 清理或替换旧的页脚样式 */
/* .footer-content { display: none; } */ /* 如果旧的 .footer-content 样式冲突，可以隐藏它 */

/* 新的页脚样式 */
footer {
    background-color: #121212; /* 深色背景 */
    color: #a0a0a0; /* 浅灰色文字 */
    padding: 60px 0 30px;
    font-family: 'Montserrat', sans-serif; /* 使用 Dosis 字体或您选择的其他字体 */
    font-size: 14px; /* 基础字体大小 */
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px; /* 限制最大宽度 */
    margin: 0 auto; /* 居中容器 */
    padding: 0 20px; /* 左右内边距 */
}

.footer-top {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    justify-content: space-between; /* 两端对齐 */
    gap: 40px; /* 元素间距 */
    margin-bottom: 40px; /* 顶部和底部的间距 */
    padding-bottom: 40px; /* 底部内边距 */
    border-bottom: 1px solid #333; /* 分隔线 */
}

.footer-logo img {
    max-height: 100px; /* 调整 Logo 高度 */
    opacity: 0.9; /* 轻微透明 */
    vertical-align: middle; /* 垂直对齐 */
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* 链接列之间的间距 */
    flex-grow: 1; /* 允许链接区域扩展 */
    justify-content: flex-start; /* 从左侧开始排列 */
}

.footer-column {
    min-width: 160px; /* 列的最小宽度 */
}

.footer-column h4,
.footer-social h4 {
    color: #ffffff; /* 白色标题 */
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 700; /* 加粗 */
    text-transform: uppercase; /* 大写 */
    letter-spacing: 0.5px; /* 轻微字间距 */
}

.footer-column ul {
    list-style: none; /* 移除列表标记 */
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px; /* 列表项间距 */
}

.footer-column ul li a {
    color: #a0a0a0; /* 链接颜色 */
    text-decoration: none; /* 移除下划线 */
    transition: color 0.3s ease; /* 平滑颜色过渡 */
}

.footer-column ul li a:hover {
    color: #ffffff; /* 鼠标悬停时变白 */
}

.footer-social {
    min-width: 180px; /* 社交区域最小宽度 */
}

.footer-social .social-media {
    display: flex;
    gap: 18px; /* 图标间距 */
}

.footer-social .social-media a {
    color: #a0a0a0; /* 图标颜色 */
    font-size: 20px; /* 图标大小 */
    transition: color 0.3s ease, transform 0.3s ease; /* 添加 transform 过渡 */
}

.footer-social .social-media a:hover {
    color: #ffffff; /* 鼠标悬停时变白 */
    transform: scale(1.1); /* 轻微放大效果 */
}

.footer-bottom {
    text-align: center; /* 居中底部文本 */
    font-size: 13px;
    padding-top: 30px; /* 顶部内边距 */
    color: #888; /* 稍暗的文本颜色 */
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #a0a0a0; /* 链接颜色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .footer-top {
        /* 在中等屏幕上可以保持 flex 布局，但调整间距或对齐方式 */
        gap: 30px;
    }
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column; /* 垂直堆叠 */
        align-items: center; /* 居中对齐 */
        text-align: center; /* 文本居中 */
        border-bottom: none; /* 移除分隔线 */
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    .footer-logo {
        margin-bottom: 20px; /* Logo 下方间距 */
    }
    .footer-links {
        flex-direction: column; /* 链接列垂直堆叠 */
        gap: 30px; /* 调整列间距 */
        width: 100%; /* 占满宽度 */
        align-items: center; /* 居中对齐 */
        margin-bottom: 30px; /* 链接区域下方间距 */
    }
    .footer-column {
        min-width: auto; /* 移除最小宽度 */
        width: auto;
    }
    .footer-social {
        margin-bottom: 30px; /* 社交区域下方间距 */
    }
    .footer-social .social-media {
        justify-content: center; /* 居中图标 */
    }
    .footer-bottom {
        padding-top: 30px;
        margin-top: 30px;
        border-top: 1px solid #333; /* 在底部添加分隔线 */
    }
}