/* MetInfo metv75 模板样式 */
:root {
    --primary-color: #1a6dcc;
    --secondary-color: #0d4d9c;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --radius: 10px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-color);
    font-size: 14px;
}

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

/* 头部样式 */
.met-head {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.met-head h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 600;
}

.met-head p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* 导航样式 */
.met-nav {
    background: var(--dark-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.met-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.met-nav li {
    margin: 0;
}

.met-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 16px;
    transition: var(--transition);
}

.met-nav a:hover,
.met-nav a.active {
    background: var(--primary-color);
}

/* 内容区域 */
.met-content {
    padding: 30px 0;
}

.met-panel {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.met-title {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}

/* 产品网格 */
.met-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.met-product-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

.met-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.met-product-img {
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.met-product-img img {
    max-width: 100%;
    max-height: 100%;
    transition: var(--transition);
}

.met-product-item:hover .met-product-img img {
    transform: scale(1.05);
}

.met-product-info {
    padding: 20px;
}

.met-product-name {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-weight: 600;
}

.met-product-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.met-product-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.met-product-more:hover {
    color: var(--secondary-color);
}

.met-product-more::after {
    content: "→";
    margin-left: 5px;
    transition: var(--transition);
}

.met-product-more:hover::after {
    transform: translateX(5px);
}

/* 新闻列表 */
.met-news-list {
    list-style: none;
    padding: 0;
}

.met-news-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.met-news-item:hover {
    background: #fafafa;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 -10px;
    border-radius: 5px;
}

.met-news-title {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.met-news-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.met-news-title a:hover {
    color: var(--primary-color);
}

.met-news-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 14px;
}

.met-news-date {
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.met-news-date::before {
    content: "📅";
    margin-right: 5px;
}

/* 荣誉展示 */
.met-honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.met-honor-item {
    text-align: center;
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.met-honor-item:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.met-honor-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.met-honor-title {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.met-honor-desc {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
}

.met-honor-desc p {
    margin: 5px 0;
}

/* 页脚 */
.met-footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.met-footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.met-footer-links a {
    color: white;
    margin: 0 15px 10px;
    text-decoration: none;
    transition: var(--transition);
}

.met-footer-links a:hover {
    color: #ddd;
    text-decoration: underline;
}

.met-contact-info {
    text-align: center;
    margin: 25px 0;
    opacity: 0.9;
}

.met-contact-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.met-copyright {
    text-align: center;
    opacity: 0.8;
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .met-head {
        padding: 30px 0;
    }
    
    .met-head h1 {
        font-size: 28px;
    }
    
    .met-head p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .met-nav ul {
        flex-direction: column;
    }
    
    .met-nav a {
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .met-nav a:last-child {
        border-bottom: none;
    }
    
    .met-panel {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .met-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .met-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .met-honor-grid {
        grid-template-columns: 1fr;
    }
    
    .met-footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    .met-footer-links a {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .met-head h1 {
        font-size: 24px;
    }
    
    .met-head p {
        font-size: 14px;
    }
    
    .met-title {
        font-size: 20px;
    }
    
    .met-panel {
        padding: 15px;
    }
}

/* 工具类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }