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

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

.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;
    padding: 5px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo .company-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
}

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

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* 轮播图样式 */
.slider {
    margin-top: 00px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide-container {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.5);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
}

.slider-controls .prev {
    left: 20px;
}

.slider-controls .next {
    right: 20px;
}

/* 欢迎区域样式 */
.welcome {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.welcome h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

/* 公司���况样式 */
.company-intro {
    padding: 60px 0;
    background-color: #fff;
}

.company-intro h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.intro-content p {
    margin-bottom: 20px;
    color: #666;
    text-align: justify;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* 服务区域样式 */
.services {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.service-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-item img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.contact-info h3 {
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright .company-name {
    margin-top: 10px;
    font-size: 14px;
}

.copyright .icp {
    margin-top: 5px;
    font-size: 14px;
}

:root {
    /* 定义主题色 */
    --primary-color: #FF8C42;  /* logo的橙色 */
    --secondary-color: #FF5722;  /* 深橙色 */
    --accent-color: #FFA726;  /* 浅橙色 */
}

.apply-btn {
    background-color: var(--primary-color);
}

.apply-btn:hover {
    background-color: var(--secondary-color);
}

/* 对话框样式 */
.dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.dialog.show {
    display: flex;
}

.dialog-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dialog-content p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.dialog-close {
    padding: 10px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.dialog-close:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .dialog-content {
        width: 85%;
        padding: 20px;
    }

    .dialog-content p {
        font-size: 16px;
    }

    .dialog-close {
        padding: 8px 25px;
        font-size: 14px;
    }
} 