/* -------------------------------------- */
/* Contact Us Page - contactus.css (最终布局，白色背景，无表单) */
/* -------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    /* 纯白色背景 */
}

/* --- 导航栏和头部 (桌面端) --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #fff;
    border-bottom: 3px solid #990000;
    /* 品牌主色：深红 */
}

/* Logo 样式 */
.logo a { 
    display: flex; /* 使用 Flexbox 实现图片和文本对齐 */
    align-items: center; /* 垂直居中对齐 */
    text-decoration: none; /* 移除链接下划线 */
    /* 移除原来的固定宽度和高度 */
}

/* 调整 .logo img 样式 */
.logo img { 
    height: 50px; /* 固定 Logo 图片高度 */
    width: auto;
    margin-right: 10px; /* 在图片和文本之间增加间距 */
}

/* 新增：品牌名称样式 */
.brand-name {
    color: #990000; /* 深红色品牌主色 */
    font-size: 1.5em; /* 适当放大文字 */
    font-weight: bold; /* 突出显示 */
    white-space: nowrap; /* 防止名称换行 */
}
.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 25px;
}

.main-nav .nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 0;
    transition: color 0.3s;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    color: #990000;
    /* 品牌主色 */
    border-bottom: 3px solid #990000;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #990000;
}

/* --- Contact Us 内容样式 (新的纯信息布局) --- */
.contact-hero {
    padding: 60px 20px;
    text-align: center;
    background-color: #990000;
    /* 顶部分区仍使用主色以突出 */
    color: white;
}

/* 主容器：居中展示信息 */
.contact-container {
    max-width: 900px;
    /* 减小宽度，更聚焦 */
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    /* 垂直堆叠 */
    gap: 30px;
}

.contact-info-block {
    padding: 30px;
    background: #f7f7f7;
    /* 使用浅灰色作为信息背景，增加层次感 */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    /* 默认居中 */
}

.other-contacts h2 {
    color: #990000;
    margin-top: 10px;
    padding-bottom: 10px;
    font-size: 1.8em;
}

.contact-info p {
    font-size: 1.2em;
    margin: 15px 0;
    font-weight: 500;
}

.contact-info strong {
    color: #990000;
}

/* 图片预留区块 */
/* 确保容器本身隐藏溢出 */
.image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #FFCC00;
    margin-top: 30px;
    border-radius: 4px;
    
    /* 💥 关键新增：隐藏溢出内容 */
    overflow: hidden; 
    
    /* 移除多余的居中样式，因为图片填充后不需要 */
    /* display: flex; 
       justify-content: center;
       align-items: center;
       color: #555;
       font-style: italic; */
}

/* 💥 关键新增：确保图片完全填充其父容器且不失真 */
.image-placeholder img {
    width: 100%;
    height: 100%;
    /* 使用 object-fit: cover 确保图片不失真且充满容器 */
    object-fit: cover; 
    display: block;
}

.image-placeholder.right {
    background-color: #ffe08c;
    /* 颜色稍浅 */
}


/* --- 页脚 --- */
.main-footer {
    background-color: #222;
    color: white;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
}

/* -------------------------------------- */
/* 📱 媒体查询 (手机端兼容) */
/* -------------------------------------- */
@media (max-width: 768px) {
    .main-header {
        padding: 10px 15px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #fff;
        border-top: 1px solid #ddd;
        z-index: 100;
        flex-direction: column;
        text-align: center;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav .nav-list {
        flex-direction: column;
        padding: 10px 0;
    }

    .main-nav .nav-list a {
        display: block;
        padding: 15px;
        width: 100%;
        border-bottom: none !important;
    }

    .main-nav .nav-list a.active {
        color: #FFCC00;
    }

    .logo a {
        width: 150px;
        height: 40px;
    }

    .contact-hero h1 {
        font-size: 2em;
    }

    .contact-info p {
        font-size: 1em;
    }

    
}