/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.top-bar {
    background: #0056b3;
    color: #fff;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-name {
    font-size: 14px;
    font-weight: 600;
}

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

.lang-link {
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.lang-link:hover,
.lang-link.active {
    text-decoration: underline;
    font-weight: 600;
}

/* Navigation */
.main-nav {
    padding: 15px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
    max-width: 200px;
}

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

.nav-link {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: #0056b3;
    background: rgba(0, 86, 179, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-content h2 {
    font-size: 28px;
    font-weight: 600;
}

.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

/* 带跳转链接的轮播图：图片铺满，去除默认下划线/边框 */
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播指示点 */
.slide-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slide-indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    min-height: 80px;
}

.product-link {
    color: #0056b3;
    font-weight: 600;
    font-size: 14px;
}

.product-link:hover {
    text-decoration: underline;
}

/* Company Profile */
.company-profile {
    padding: 80px 0;
    background: #fff;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.profile-text {
    font-size: 16px;
    line-height: 2;
    color: #555;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-item .icon {
    font-size: 20px;
}

.contact-item a {
    color: #fff;
}

.contact-item a:hover {
    color: #00bfff;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #333;
    padding-top: 20px;
}
