/* ========================================
   福州代母 - 餐饮质量检测主题样式
   青绿色调 - 体现质量/安全/信任
   ======================================== */

/* 基础样式 */
html,
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    background: #fff;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #0d9488;
    transition: all 0.3s ease;
}

a:hover {
    color: #0f766e;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: #134e4a;
    font-weight: 600;
}

p {
    margin: 0 0 1rem 0;
    color: #475569;
    line-height: 1.8;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 页面标题区 */
.page-header {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-header .subtitle {
    font-size: 16px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* 栏目引言区 */
.intro-section {
    background: #f0fdfa;
    padding: 50px 0;
    border-bottom: 1px solid #99f6e4;
}

.intro-section .intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-section h2 {
    color: #0d9488;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.intro-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0d9488;
    border-radius: 2px;
}

.intro-section p {
    font-size: 16px;
    line-height: 2;
    color: #475569;
}

/* 服务区块 */
.services-section {
    padding: 60px 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.services-section .section-title h2 {
    color: #134e4a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.services-section .section-title p {
    color: #64748b;
    font-size: 15px;
}

.service-group {
    margin-bottom: 50px;
}

.service-group-title {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #fff;
    padding: 18px 25px;
    border-radius: 8px 8px 0 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-list {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.service-item {
    padding: 25px 30px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    background: #f0fdfa;
    padding-left: 35px;
}

.service-item h3 {
    color: #0d9488;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-item h3 i {
    color: #14b8a6;
    font-size: 20px;
}

.service-item p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* 数据统计区 */
.stats-section {
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%);
    padding: 60px 0;
    color: #fff;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-item .stat-icon {
    font-size: 48px;
    color: #5eead4;
    margin-bottom: 15px;
}

.stat-item .stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.stat-item .stat-label {
    font-size: 15px;
    color: #99f6e4;
    letter-spacing: 1px;
}

/* 页脚 */
.footer {
    background: #0f2f2a;
    color: #94a3b8;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #1e3a36;
}

.footer-logo .footer-logo-text {
    font-size: 16px;
    color: #5eead4;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact .phone-icon {
    font-size: 28px;
    color: #14b8a6;
}

.footer-contact .phone-number {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-contact .phone-label {
    font-size: 13px;
    color: #64748b;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: #64748b;
}

.footer-bottom a {
    color: #5eead4;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .main-nav ul li a {
        padding: 15px 18px;
        font-size: 14px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .stat-item .stat-number {
        font-size: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li a {
        padding: 12px 20px;
        border-bottom: 1px solid #99f6e4;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .intro-section {
        padding: 35px 0;
    }
    
    .services-section {
        padding: 40px 0;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .stat-item .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .logo-section .logo-text {
        font-size: 16px;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .service-group-title {
        font-size: 16px;
        padding: 15px 20px;
    }
    
    .service-item h3 {
        font-size: 16px;
    }
    
    .footer-contact .phone-number {
        font-size: 20px;
    }
}
