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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* 顶部导航 */
.top-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

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

.logo img {
    width: 200px;
    height: auto;
}

.main-nav {
    position: relative;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    padding: 10px;
}

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

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #1890ff;
}

/* 下拉菜单 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 150px;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.phone {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #1890ff;
}

.phone-icon {
    margin-right: 10px;
    font-size: 20px;
}

/* 轮播图 */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.slide-text p {
    font-size: 24px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
}

.slider-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dots .dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #fff;
    width: 40px;
    border-radius: 10px;
}

/* 知识动态 */
.news-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #1890ff;
}

.more {
    font-size: 16px;
    color: #1890ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.more:hover {
    color: #40a9ff;
}

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

.news-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.news-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #1890ff;
}

.news-content p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.news-date {
    font-size: 12px;
    color: #999;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background-color: #f0f2f5;
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #1890ff;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1890ff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.btn:hover {
    background-color: #40a9ff;
}

.about-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 环境展示 */
.environment-section {
    padding: 80px 0;
    background-color: #fff;
}

.environment-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.environment-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.environment-item {
    flex: 0 0 calc(33.333% - 20px);
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.environment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.environment-image {
    height: 250px;
    overflow: hidden;
}

.environment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.environment-item:hover .environment-image img {
    transform: scale(1.05);
}

.environment-content {
    padding: 20px;
}

.environment-content h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.environment-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.environment-content h3 a:hover {
    color: #1890ff;
}

.environment-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.environment-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.environment-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1890ff;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.environment-controls button:hover {
    background-color: #40a9ff;
}

/* 底部 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-info {
    flex: 1;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #1890ff;
}

.footer-info p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-nav {
    flex: 1;
}

.footer-nav h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1890ff;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #1890ff;
}

.footer-qrcode {
    flex: 1;
    text-align: center;
}

.footer-qrcode h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1890ff;
}

.footer-qrcode img {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
}

.footer-qrcode p {
    font-size: 14px;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .header-content {
        padding: 15px 0;
    }
    
    .logo img {
        width: 180px;
    }
    
    .nav-menu li {
        margin-left: 20px;
    }
    
    .nav-menu li a {
        font-size: 14px;
    }
    
    .phone {
        font-size: 16px;
    }
    
    .banner {
        height: 500px;
    }
    
    .slide-text h2 {
        font-size: 36px;
    }
    
    .slide-text p {
        font-size: 20px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .environment-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px 0;
        z-index: 1001;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        display: none;
        background-color: #f9f9f9;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .dropdown-menu li a {
        padding: 10px 30px !important;
        font-size: 14px;
    }
    
    .banner {
        height: 400px;
    }
    
    .slide-text h2 {
        font-size: 28px;
    }
    
    .slide-text p {
        font-size: 16px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .logo img {
        width: 150px;
    }
    
    .phone {
        justify-content: center;
    }
    
    .banner {
        height: 300px;
    }
    
    .slide-text {
        left: 5%;
    }
    
    .slide-text h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .slide-text p {
        font-size: 14px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-section,
    .about-section,
    .environment-section {
        padding: 60px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .environment-item {
        flex: 0 0 100%;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 250px;
    }
    
    .slide-text h2 {
        font-size: 20px;
    }
    
    .slide-text p {
        font-size: 12px;
    }
    
    .section-header h2,
    .about-text h2 {
        font-size: 24px;
    }
    
    .news-section,
    .about-section,
    .environment-section {
        padding: 40px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .about-image {
        height: 300px;
    }
}

/* 页面通用样式 */
.page-banner {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner h1 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 36px;
    transform: translateY(-50%);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-content {
    padding: 60px 0;
    background-color: #fff;
}

/* 关于我们页面 */
.about-intro,
.about-honor {
    padding: 60px 0;
    background-color: #fff;
}

.about-intro h2,
.about-honor h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.about-intro p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

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

.honor-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.honor-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
}

.honor-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.honor-item p {
    font-size: 14px;
    color: #666;
}

/* 环境展示页面 */
.environment-detail {
    padding: 60px 0;
    background-color: #fff;
}

.environment-detail h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.environment-detail p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: center;
}

.environment-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.environment-photos img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.environment-photos img:hover {
    transform: scale(1.05);
}

/* 知识动态页面 */
.news-list {
    padding: 60px 0;
    background-color: #fff;
}

.news-list h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.news-list-item {
    display: flex;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-list-image {
    flex: 0 0 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 30px;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-content {
    flex: 1;
}

.news-list-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.news-list-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-list-content h3 a:hover {
    color: #1890ff;
}

.news-list-content p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.news-detail {
    padding: 60px 0;
    background-color: #fff;
}

.news-detail h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.news-detail-meta {
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: #999;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

/* 服务与饮食页面 */
.service-detail {
    padding: 60px 0;
    background-color: #fff;
}

.service-detail h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.service-detail p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

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

.service-feature {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1890ff;
}

.service-feature h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.service-feature p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 人才与招聘页面 */
.recruitment {
    padding: 60px 0;
    background-color: #fff;
}

.recruitment h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.recruitment p {
    margin-bottom: 60px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.recruitment-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruitment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.recruitment-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.recruitment-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.recruitment-item-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.recruitment-item-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 20px;
    color: #333;
}

.recruitment-item-content p {
    margin-bottom: 15px;
}

.recruitment-item-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.recruitment-item-content ul li {
    margin-bottom: 10px;
}

.application-info {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

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

.application-info p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.application-info p {
    margin-bottom: 15px !important;
}

/* 联系我们页面 */
.contact {
    padding: 60px 0;
    background-color: #fff;
}

.contact h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

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

.contact-info {
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.contact-info-icon {
    font-size: 24px;
    color: #1890ff;
    margin-top: 5px;
}

.contact-info-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-info-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.contact-map {
    flex: 1;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1890ff;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background-color: #40a9ff;
}