/* ============================================
   深圳市惠民佳禾贸易有限公司 - 企业官网样式
   纯静态展示型官网，适用于ICP备案审核
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #f5f6f8;
    min-width: 1200px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

/* ========== 顶部导航 ========== */
.header {
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    margin-right: 14px;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 20px;
    color: #1a5276;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 12px;
    color: #888;
    display: block;
    letter-spacing: 2px;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 36px;
}

.nav ul li a {
    font-size: 15px;
    color: #555;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2980b9;
    transition: width 0.3s;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #2980b9;
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    width: 100%;
}

/* ========== 横幅 Banner ========== */
.banner {
    background: linear-gradient(135deg, #1a3c5e 0%, #1a5276 40%, #2471a3 100%);
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.banner-inner {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner h2 {
    font-size: 38px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.9;
}

.banner-tags {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.banner-tags span {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 15px;
    letter-spacing: 2px;
    transition: background 0.3s;
}

.banner-tags span:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========== 通用内容区 ========== */
.container {
    width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.section-gray {
    background-color: #fff;
}

.section-white {
    background-color: #f5f6f8;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 30px;
    color: #1a5276;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title .subtitle {
    font-size: 15px;
    color: #999;
    letter-spacing: 3px;
}

.section-title .divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2980b9, #5dade2);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========== 首页特色卡片 ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #eaf2f8, #d4e6f1);
    border-radius: 50%;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.feature-card h3 {
    font-size: 20px;
    color: #1a5276;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
}

/* ========== 关于我们页面 ========== */
.about-intro {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 15px;
    color: #555;
    line-height: 2;
    margin-bottom: 18px;
    text-indent: 2em;
}

.about-info-card {
    width: 360px;
    background: #fff;
    border-radius: 10px;
    padding: 36px 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.about-info-card h3 {
    font-size: 20px;
    color: #1a5276;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 2px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed #e8e8e8;
    font-size: 14px;
}

.info-row .label {
    color: #888;
    flex-shrink: 0;
}

.info-row .value {
    color: #333;
    text-align: right;
    font-weight: 500;
}

.info-row:last-child {
    border-bottom: none;
}

/* ========== 宗旨使命 ========== */
.mission-box {
    background: linear-gradient(135deg, #eaf2f8, #d4e6f1);
    border-radius: 10px;
    padding: 40px 50px;
    text-align: center;
    margin-top: 40px;
}

.mission-box h3 {
    font-size: 22px;
    color: #1a5276;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.mission-box p {
    font-size: 15px;
    color: #444;
    line-height: 2;
}

/* ========== 产品中心页面 ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-img {
    height: 200px;
    background: linear-gradient(135deg, #e8f0f8, #d0e2f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.product-info {
    padding: 28px 24px;
}

.product-info h3 {
    font-size: 19px;
    color: #1a5276;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.product-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
}

.product-info .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag-list span {
    background: #eaf2f8;
    color: #2980b9;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ========== 企业优势页面 ========== */
.advantage-list {
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 10px;
    padding: 36px 34px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    align-items: flex-start;
}

.advantage-num {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 20px;
    color: #1a5276;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.advantage-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
}

/* ========== 联系我们页面 ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-card h3 {
    font-size: 22px;
    color: #1a5276;
    margin-bottom: 24px;
    letter-spacing: 2px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eaf2f8;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #eaf2f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    font-size: 18px;
}

.contact-text h4 {
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.map-placeholder {
    background: linear-gradient(135deg, #e8f0f8, #d0e2f0);
    border-radius: 10px;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
    letter-spacing: 2px;
}

.map-placeholder .map-icon {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.map-placeholder p {
    line-height: 2;
    text-align: center;
}

/* ========== 页脚 ========== */
.footer {
    background-color: #1a3c5e;
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0 20px;
}

.footer-inner {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info {
    font-size: 13px;
    line-height: 2;
    margin-bottom: 14px;
}

.footer-info p {
    margin-bottom: 2px;
}

.footer-icp {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ========== 面包屑导航 ========== */
.breadcrumb-bar {
    background: #eaf2f8;
    padding: 14px 0;
}

.breadcrumb {
    width: 1200px;
    margin: 0 auto;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #2980b9;
}

.breadcrumb span {
    margin: 0 6px;
}

/* ========== 内页横幅（精简版） ========== */
.inner-banner {
    background: linear-gradient(135deg, #1a3c5e, #2471a3);
    padding: 50px 0;
    text-align: center;
}

.inner-banner h2 {
    font-size: 30px;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.inner-banner p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}
