/* 龙溪企服官方网站 - 灰色系商务简约风格 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #212529;
    background-color: #f8f9fa;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #495057;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

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

.logo-img {
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

/* 首页样式 */
.hero {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btn {
    background-color: #007bff;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

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

/* 卡片样式 */
.card-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.card-title {
    font-size: 32px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 30px;
    text-align: center;
}

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

.card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.card-heading {
    font-size: 20px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 10px;
}

.card-text {
    color: #6c757d;
    margin-bottom: 20px;
}

.card-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    color: #0056b3;
}

/* 服务项目样式 */
.service-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.service-title {
    font-size: 32px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 30px;
    text-align: center;
}

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

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-heading {
    font-size: 22px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 15px;
}

.service-description {
    color: #6c757d;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-feature {
    color: #495057;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.service-feature::before {
    content: "✓";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* 发展历程样式 */
.timeline-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.timeline-title {
    font-size: 32px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 30px;
    text-align: center;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.timeline-year {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
}

.timeline-event {
    font-size: 18px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 10px;
}

.timeline-desc {
    color: #6c757d;
}

/* 联系方式样式 */
.contact-section {
    padding: 60px 0;
    background-color: #495057;
    color: #ffffff;
}

.contact-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

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

.contact-card {
    background-color: #6c757d;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-info {
    font-size: 16px;
}

/* 页脚样式 */
.footer {
    background-color: #212529;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-text {
    color: #6c757d;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        min-width: 100px;
    }
}

/* 通用样式 */
.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #495057;
}

/* 图片样式 */
.image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

/* 表单样式 */
.form-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.form-btn {
    width: 100%;
    background-color: #007bff;
    color: #ffffff;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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