
body {
    font-family: 'Source Han Sans SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header */
header {
    background: #8B0000; /* 娣辩孩鑹蹭綔涓轰富鑹茶皟锛屼綋鐜颁腑鍖婚櫌鐨勭ǔ閲嶅拰浼犵粺 */
    color: #ffffff;
    padding: 1rem 0;
    border-bottom: #7b0000 3px solid;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .logo img {
    height: 50px;
    width: auto;
    border-radius: 5px; /* Added slight border radius for consistency */
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    white-space: nowrap;
}

/* Navigation */
header nav ul {
    display: flex;
}

header nav ul li a {
    color: #ffffff;
    padding: 0.8rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

header nav ul li a:hover,
header nav ul li a.active {
    background-color: #A52A2A; /* 绋嶆祬鐨勭孩鑹诧紝hover鏁堟灉 */
    border-radius: 5px;
    text-decoration: none;
}

/* Main Content Sections */
main {
    padding: 20px 0;
}

section {
    background: #ffffff;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section h2, section h3 {
    color: #8B0000;
    text-align: center;
    margin-bottom: 20px;
}

section p, section ul {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Hero Section Specific */
#hero {
    background: #DC143C; /* 椴滆壋鐨勭孩鑹诧紝浣滀负涓诲浼犲尯鍩� */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 30px;
    border-radius: 0; /* Remove border-radius for full width hero */
    box-shadow: none;
}

#hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

#hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #f8f8f8;
}

.btn {
    display: inline-block;
    background: #ffffff;
    color: #8B0000;
    padding: 12px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background: #A52A2A;
    color: #ffffff;
    text-decoration: none;
}

/* Services Section Specific */
.service-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-item h3 {
    text-align: left;
    color: #8B0000;
    margin-bottom: 10px;
}

/* Contact Details Specific */
.contact-details p {
    margin-bottom: 10px;
}

.contact-details p b {
    color: #8B0000;
}

.map-placeholder {
    margin-top: 20px;
    border: 1px dashed #ccc;
}

/* Footer */
footer {
    background: #333;
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 30px;
}

footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

footer a {
    color: #007bff;
}

/* 鍝嶅簲寮忚璁� */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
        flex-direction: column;
    }

    header nav ul li {
        margin-bottom: 5px;
    }

    header nav ul li a {
        display: block;
    }

    #hero h2 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 20px;
    }

    header .logo {
        justify-content: center;
    }

    header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    header .logo img {
        height: 40px;
    }

    header h1 {
        font-size: 1.3rem;
    }

    header nav ul {
        align-items: center;
    }

    #hero h2 {
        font-size: 1.6rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* 微信客服入口样式 */
.wechat-customer-service {
    position: fixed; /* 固定在屏幕上 */
    right: 20px;     /* 距离右侧20px */
    bottom: 20px;    /* 距离底部20px */
    z-index: 1000;   /* 确保在其他元素之上 */
    background-color: #ffffff; /* 背景色，可以根据需要调整 */
    border-radius: 50%; /* 圆形 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 添加阴影 */
    width: 70px;     /* 图标容器宽度 */
    height: 70px;    /* 图标容器高度 */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; /* 鼠标悬停时显示手型 */
    transition: transform 0.2s ease-in-out; /* 添加过渡效果 */
}

.wechat-customer-service:hover {
    transform: scale(1.1); /* 悬停时稍微放大 */
}

.wechat-customer-service a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none; /* 移除下划线 */
}

.wechat-customer-service i {
    font-size: 30px; /* 微信图标大小 */
    color: #07c160;  /* 微信绿色 */
}

.wechat-customer-service img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
