/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题样式 */
.section-title {
    font-size: 2.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #007bff;
    margin: 0.8rem auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

/* 导航栏样式 */
.header {
    top: 0;
    left: 0;
    width: 100%;
	height: 60px;
	display: flex;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo img {
    height: 50px;
}

.logo p{
	font-family: "楷体";
	font-size: 40px;
	float: right;
}

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

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

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav ul li a.active,
.nav ul li a:hover {
    color: #007bff;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* Banner样式 */
.banner {
    height: 80vh;
    background: url("../img/bannerbackground.png") no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
	color: #000000;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
	color: #000000;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 服务介绍样式 */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #333;
    padding: 20px 20px 10px;
}

.service-item p {
    color: #666;
    padding: 0 20px 20px;
    line-height: 1.6;
}

.services-show {
	margin-top: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-show>img{
	height: 100%;
	width: 100%;
}

/* 关于我们样式 */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-img {
    flex: 2;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text .section-title {
    text-align: left;
    margin-left: 0;
}

.about-text .section-title::after {
    margin-left: 0;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    margin-top: 20px;
}

.about-features li {
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: #007bff;
    margin-right: 10px;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info ul li i {
    color: #007bff;
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

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

.footer-social a {
    color: #ccc;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 0.9rem;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .nav ul li {
        margin: 15px 0;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}