/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
    background-color: #f4f9ff; /* 浅蓝色背景基调 */
    color: #333333;
    line-height: 1.8;
    min-height: 100vh;
}

/* 链接样式 */
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* 通用容器 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 头部与导航 --- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 123, 255, 0.1); /* 蓝色阴影 */
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #007bff; /* 品牌主蓝色 */
}

.logo-area img {
    height: 50px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #555;
    font-weight: 500;
    font-size: 16px;
}

nav ul li a:hover, nav ul li a.active {
    color: #007bff; /* 鼠标悬停变蓝 */
}

/* --- 页脚 --- */
footer {
    background-color: #001f3f; /* 深蓝色页脚，形成对比 */
    color: #aaccff;
    padding: 40px 0;
    margin-top: 60px;
    font-size: 14px;
}

footer h3 {
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 1px solid #003366;
    padding-bottom: 10px;
}

footer p {
    margin-bottom: 10px;
}

/* --- 首页 Hero 区域 --- */
.hero {
    background: linear-gradient(120deg, #e3f2fd 0%, #ffffff 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #bbdefb;
}

.hero h1 {
    color: #0056b3;
    font-size: 32px;
    margin-bottom: 20px;
}

.hero p {
    color: #555;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* --- 通用板块 --- */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #007bff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 15px auto 0;
}

/* --- 产品卡片 --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 30px;
    transition: 0.3s;
    border-top: 4px solid #007bff;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
    transform: translateY(-5px);
    border-color: #007bff;
}

.product-card h3 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 20px;
}

/* --- 联系我们 --- */
.contact-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #bbdefb;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-label {
    font-weight: bold;
    color: #007bff;
    width: 100px;
}

/* --- 响应式 --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; height: auto; padding: 20px 0; }
    nav ul { margin-top: 20px; flex-wrap: wrap; justify-content: center; }
    nav ul li { margin: 5px 15px; }
    .hero { padding: 60px 20px; }
}