/* 全局样式 */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
    padding: 0;
    margin-right: 3rem;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-collapse {
    justify-content: center;
    flex-grow: 0;
}

.navbar-nav {
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    padding: 1rem !important;
    transition: color 0.3s ease;
    font-size: 1.2rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* 响应式导航栏调整 */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .nav-link {
        text-align: center;
        padding: 0.75rem !important;
    }

    .hero-section {
        margin-top: 75px;
    }
}

/* 头部横幅样式 */
.hero-section {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    padding: 20px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    margin-top: 85px; /* 增加顶部边距，确保不被导航栏遮挡 */
    margin-bottom: 0;
}

.hero-section h1 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    text-align: left;
}

.hero-section .lead {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0;
    text-align: left;
}

/* 企业简介部分样式 */
.company-intro {
    background-color: var(--background-color);
    padding: 2rem 0;
}

.company-intro .row {
    align-items: flex-start;
}

.company-intro img {
    width: 100%;
    height: auto;
    max-height: none;
    margin-bottom: 2rem;
    object-fit: contain;
}

.section-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.company-description {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* 响应式图片 */
.img-fluid {
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.02);
}

/* 页脚样式 */
footer {
    border-top: 1px solid #dee2e6;
    padding: 1.5rem 0;
    background-color: #fff;
}

footer p {
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 20px 0;
        min-height: auto;
        margin-top: 56px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        text-align: left;
    }

    .hero-section .lead {
        font-size: 1rem;
        text-align: left;
    }

    .company-intro {
        padding: 2rem 0;
    }

    .section-title {
        text-align: center;
        font-size: 1.75rem;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .company-description {
        text-align: center;
        font-size: 1.1rem;
    }

    .feature-item {
        margin-bottom: 1.25rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .feature-content p {
        font-size: 1.05rem;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务特点样式 */
.service-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.feature-content p {
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.6;
    font-size: 1.15rem;
}

/* 业务范围页面样式 */
.page-header {
    background-color: var(--background-color);
    padding: 6rem 0 3rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.business-section {
    padding: 4rem 0;
    position: relative;
}

.business-section:not(:last-child) {
    margin-bottom: 1rem;
}

.business-section .section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.business-section .business-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.business-section img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    object-fit: cover;
}

.business-section img:hover {
    transform: translateY(-5px);
}

.business-section .row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.bg-light {
    background-color: var(--background-color) !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-header {
        padding: 5rem 0 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .business-section {
        padding: 3rem 0;
    }

    .business-section .section-title {
        font-size: 1.75rem;
        text-align: left;
    }

    .business-section .business-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .business-section img {
        margin-bottom: 2rem;
    }
}

/* 设备介绍页面样式 */
.equipment-section {
    padding: 4rem 0;
    position: relative;
}

.equipment-section:not(:last-child) {
    margin-bottom: 1rem;
}

.equipment-section .section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.equipment-section .equipment-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.equipment-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.equipment-card:hover {
    transform: translateY(-5px);
}

.equipment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.equipment-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.equipment-card p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .equipment-section {
        padding: 3rem 0;
    }

    .equipment-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .equipment-section .equipment-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .equipment-card {
        margin-bottom: 2rem;
    }

    .equipment-card img {
        height: 200px;
    }

    .equipment-card h3 {
        font-size: 1.3rem;
    }

    .equipment-card p {
        font-size: 1rem;
    }
}

/* 客户展示页面样式 */
.clients-section {
    padding: 4rem 0;
}

.client-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.client-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-card:hover img {
    transform: scale(1.05);
}

/* 合作邀请部分样式 */
.cooperation-section {
    padding: 4rem 0;
    margin-top: 2rem;
}

.cooperation-section .section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cooperation-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.cooperation-text {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .client-card {
        height: 150px;
        padding: 1.5rem;
    }

    .cooperation-section .section-title {
        font-size: 1.75rem;
    }

    .cooperation-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

/* 联系我们页面样式 */
.contact-section {
    padding: 4rem 0;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: #fff;
}

.contact-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: #555;
    font-size: 1.1rem;
    margin: 0;
}

/* 留言表单样式 */
.message-section {
    padding: 4rem 0;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
    padding: 0.8rem;
    font-size: 1.1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.25);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.verification-code {
    display: none;
}

/* 地图容器样式 */
.map-section {
    padding: 4rem 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 400px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-icon i {
        font-size: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.2rem;
    }

    .contact-card p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-control {
        font-size: 1rem;
    }

    .map-container {
        height: 300px;
    }
} 