/* 全局样式 */
:root {
    --primary: #898a8d;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #f2f2f2;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding-top: 70px;
    background-color: #f2f2f2; /* 国际灰 */
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

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

/* 英雄区域 */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), url('../images/hero-bg.jpg') center/cover no-repeat);
}

/* 服务卡片 */
.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* 团队成员卡片 */
.team-card {
    overflow: hidden;
    border-radius: 10px;
}

.team-card img {
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.1);
}

/* 客户评价 */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
}

/* 联系表单 */
.contact-form .form-control {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 卡片美化 */
.card {
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    background: #fff;
    border: none;
    transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px) scale(1.02);
}

/* 按钮美化 */
.btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-primary:hover {
    background-color: #3e3f40;
}

/* 导航栏美化 */
.navbar {
    background: #f2f2f2 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.navbar a.nav-link {
    color: #898a8d !important;
    font-weight: 500;
    transition: color 0.2s;
}
.navbar a.nav-link.active, .navbar a.nav-link:focus, .navbar a.nav-link:hover {
    color: var(--primary) !important;
    font-weight: bold;
}

.navbar i {
    color: #898a8d !important;
}

.navbar span {
    color: #898a8d !important;
}

.navbar button, .navbar .navbar-toggler {
    color: #898a8d !important;
    border-color: #898a8d !important;
}
.navbar .navbar-toggler-icon {
    background-image: none;
    position: relative;
}
.navbar .navbar-toggler-icon::before, .navbar .navbar-toggler-icon::after, .navbar .navbar-toggler-icon span {
    background-color: #898a8d !important;
    content: '';
    display: block;
    height: 2px;
    margin: 6px 0;
    width: 22px;
}

.navbar .navbar-brand {
    color: #898a8d !important;
    font-weight: bold;
}

/* 表单美化 */
.form-label {
    font-weight: 500;
    color: #444;
}
.form-control {
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fafafa;
    transition: border 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.08);
}

/* 页脚美化 */
footer {
    background: #f2f2f2 !important;
    color: #898a8d;
}
footer h5 {
    color: #898a8d;
    font-weight: 600;
}
footer a {
    color: #898a8d;
    transition: color 0.2s;
}
footer a:hover {
    color: var(--primary);
}

h2 {
    color: #898a8d;
}

.row {
    color: #898a8d;
}