/* Banner样式 */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.banner-slide {
    position: absolute; /* 绝对定位 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 指示器样式 */
.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 30px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    z-index: 20;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.banner-indicator.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* 设置首张幻灯片显示，确保banner有高度 */
.banner-slide:first-child {
    position: relative;
    opacity: 1;
    visibility: visible;
}

/* 移动端适配 */
@media screen and (max-width: 1055px) {

    .banner-slider {
        height: 100%;
    }
    
    .banner-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1.5s ease, visibility 1.5s ease;
    }
    
    .banner-slide.active {
        opacity: 1;
        visibility: visible;
    }
    
    .banner-img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* 移动端指示器样式 */
    .banner-indicators {
        bottom: 20px;
        padding: 0 10px;
        height: 24px;
    }
    
    .banner-indicator {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* 联系方式section样式 */
.contact-info {
    padding: 80px 0; /* 增加上下padding，原来可能是60px */
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0; /* 保持不变 */
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.info-icon i {
    font-size: 32px;
    color: #fff;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

.info-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* 地图容器 */
.map-container {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media screen and (max-width: 1055px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-container img {
        height: 300px; /* 移动端适当减小高度 */
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        padding: 20px;
    }

    .contact-info {
        padding: 60px 0; /* 移动端适当减小padding */
    }
}

/* 人才招聘样式 */
.jobs {
    background-color: #f8f8f8;
    padding: 60px 0;
}

/* 招聘理念 */
.jobs-concept {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.jobs-concept h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.jobs-concept p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.concept-content {
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

/* 招聘列表 */
.jobs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.job-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.job-item:hover {
    transform: translateY(-5px);
}

.job-brief {
    padding: 20px;
}

.job-brief h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.job-meta span {
    color: #666;
    font-size: 14px;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
}

.btn-detail {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-detail:hover {
    background-color: #e5955c;
}

/* 职位详情弹窗 */
.job-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    /* 移除原来的 margin 属性 */
    border-radius: 8px;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.modal-meta {
    display: flex;
    gap: 20px;
}

.modal-meta span {
    color: #666;
}

.modal-meta em {
    color: var(--secondary-color);
    font-style: normal;
}

.modal-body {
    padding: 20px;
}

.job-requirements,
.job-duties,
.job-info,
.job-contact {
    margin-bottom: 30px;
}

.job-requirements h4,
.job-duties h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.job-requirements h4::before,
.job-duties h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.job-requirements ul,
.job-duties ul {
    list-style: none;
    padding-left: 20px;
}

.job-requirements li,
.job-duties li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #666;
    line-height: 1.6;
}

.job-requirements li::before,
.job-duties li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.job-info,
.job-contact {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 12px;
}

.job-info p,
.job-contact p {
    margin-bottom: 12px;
    color: #666;
    display: flex;
    align-items: baseline;
}

.job-info p:last-child,
.job-contact p:last-child {
    margin-bottom: 0;
}

.job-info strong,
.job-contact strong {
    color: #333;
    min-width: 100px;
    margin-right: 10px;
}

.job-note {
    margin-top: 20px;
    color: #999;
    font-size: 14px;
    font-style: italic;
    padding-left: 20px;
    border-left: 3px solid var(--secondary-color);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .jobs-list {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 8vh auto;
        max-height: 88vh;
    }

    .modal-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* 在线留言样式 */
.message {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.message-form {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8f8f8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(244, 164, 96, 0.1);
}

.form-group textarea {
    height: 200px;
    resize: vertical;
    min-height: 120px;
    max-height: 300px;
    line-height: 1.6;
}

.char-count {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 13px;
    color: #999;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-submit:hover {
    background-color: #e5955c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 164, 96, 0.3);
}

.btn-submit:hover .submit-arrow {
    transform: translateX(4px);
}

/* 输入错误状态 */
.form-group.error input,
.form-group.error textarea {
    border-color: #ff4d4f;
    background: #fff;
}

.form-group.error .error-message {
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group.error .error-message::before {
    content: '!';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .message {
        padding: 60px 0;
    }

    .message-form {
        padding: 30px 20px;
        margin: 30px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .btn-submit {
        width: 100%;
        padding: 15px 30px;
    }
}

/* 修改section标题与内容的间距 */
.section-title {
    text-align: center;
    margin-bottom: 50px; /* 增加底部间距，默认可能是30px或40px */
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #999;
    text-transform: uppercase;
}

/* 移动端适配 */
@media screen and (max-width: 1055px) {
    .section-title {
        margin-bottom: 40px; /* 移动端稍微减小间距 */
    }
}

/* 将所有响应式代码移到文件末尾 */
/* 2K屏幕适配 */
@media screen and (min-width: 2000px) {
    .info-card {
        padding: 40px;
    }
    
    .info-icon {
        width: 100px;
        height: 100px;
    }
    
    .info-card h3 {
        font-size: 22px;
    }
    
    .info-card p {
        font-size: 18px;
    }
    
    .message-form {
        max-width: 1500px;
        padding: 50px;
    }
    
    .jobs-concept {
        max-width: 1500px;
        padding: 40px;
    }
    
    .form-group label {
        font-size: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }
    
    .jobs-concept h3 {
        font-size: 28px;
    }
    
    .jobs-concept p {
        font-size: 20px;
    }
    
    .concept-content {
        font-size: 18px;
    }
}

/* 4K屏幕适配 */
@media screen and (min-width: 3000px) {
    .info-card {
        padding: 50px;
    }
    
    .info-icon {
        width: 120px;
        height: 120px;
    }
    
    .info-card h3 {
        font-size: 24px;
    }
    
    .info-card p {
        font-size: 20px;
    }
    
    .message-form {
        max-width: 1800px;
        padding: 60px;
    }
    
    .jobs-concept {
        max-width: 1800px;
        padding: 50px;
    }
    
    .jobs-concept h3 {
        font-size: 32px;
    }
    
    .jobs-concept p {
        font-size: 24px;
    }
    
    .concept-content {
        font-size: 20px;
    }
    
    .job-brief h3 {
        font-size: 22px;
    }
    
    .job-meta span {
        font-size: 16px;
    }
} 