/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 1000;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #007bff;
}

/* 头部横幅样式 */
.hero {
    background: #f8f9fa;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-decoration {
    height: 40px;
    width: auto;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #333;
    margin: 0;
}

.hero-content p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* 荣誉展示区域样式 */
.honors {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.honor-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.honor-image {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
    width: 80%;
    margin: 20px auto 0;
}

.honor-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.honor-card:hover .honor-image img {
    transform: scale(1.05);
}

.honor-card h3 {
    padding: 15px;
    font-size: 1.1em;
    color: #333;
    background: #f8f9fa;
    margin: 0;
}

/* 页脚样式 */
.footer {
    background-color: white;
    color: black;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    gap: 15px;
}

.footer-logo img {
    height: 60px;
}

.footer-logo div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-logo p {
    color: #FF0000;
    margin: 0;
}

.footer-logo p:first-child {
    font-weight: bold;
    font-size: 16px;
    margin-top: 12px;
}

.footer-logo p:last-child {
    font-weight: bold;
    font-size: 9px;
}

.footer-info {
    grid-column: 1;
    margin-top: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    color: black;
}

.contact-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer-qr {
    grid-column: 3;
    display: flex;
    justify-content: space-around;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.qr-code p {
    color: black;
    font-size: 0.9em;
}

.footer-bottom {
    display: flex;          /* 使用 Flexbox 布局 */
    align-items: center;    /* 垂直居中 */
    justify-content: center; /* 水平居中（可选） */
    gap: 10px;              /* 设置两个元素之间的间距 */
    font-size: 14px;        /* 统一字体大小 */
    color: #666;            /* 默认文字颜色 */
    padding: 10px 0;        /* 上下内边距 */
    background: #f5f5f5;    /* 背景色（可选） */
}

.footer-bottom a {
    color: #666;            /* 链接颜色 */
    text-decoration: none;  /* 去掉下划线 */
    transition: color 0.3s; /* 悬停动画 */
}

.footer-bottom a:hover {
    color: #1890ff;         /* 悬停时变色（蓝色） */
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: black;
    text-decoration: none;
    margin-left: 0;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #007bff;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .honor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .honor-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-qr {
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

    .footer-bottom {
        text-align: center;
    }

    .hero-decoration {
        height: 30px;
    }
    
    .hero-content h1 {
        font-size: 2em;
    }
} 