/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header样式 */
header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    max-height: 100%;
}

/* 左侧logo图片变大三倍 */
.logo img:first-child {
    height: 80px;
}
.logo img:last-child {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

nav a:hover, nav a.active {
    color: #0066cc;
}

/* 主要内容样式 */
main {
    padding: 40px 0;
}

/* Hero区域样式 */
.hero-section {
    text-align: center;
    padding: 100px 20px;
    background-color: #0066cc;
    margin-bottom: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.hero-section::after {
    content: "Minebea Intec - 全球领先的工业称重、检测和计量技术提供商";
    display: block;
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #ff7a00;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #e56d00;
    transform: none;
    box-shadow: 0 2px 8px rgba(255, 122, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: none;
    box-shadow: none;
}

/* 产品类别区域样式 */
.product-categories {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 0;
    box-shadow: none;
}

.product-categories h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 600;
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.category-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffffff;
    color: #333;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dddddd;
    min-width: 160px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-btn:hover {
    background-color: #0066cc;
    color: white;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* Footer样式 */
footer {
    background-color: #f5f5f5;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.contact-info, .quick-links {
    flex: 1;
    min-width: 250px;
}

.contact-info h3, .quick-links h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-info ul, .quick-links ul {
    list-style: none;
}

.contact-info li, .quick-links li {
    margin-bottom: 0.5rem;
}

.contact-info a, .quick-links a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover, .quick-links a:hover {
    color: #004a8c;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .category-buttons {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-section {
        padding: 60px 15px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .product-categories h2 {
        font-size: 1.8rem;
    }
    
    .category-btn {
        min-width: 130px;
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        text-align: center;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* 打印样式 */
@media print {
    header, footer {
        display: none;
    }
    
    .hero-section, .product-categories {
        box-shadow: none;
    }
}