/* 全局样式 */
* {
    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: #333;
    background-color: #f5f5f5;
}

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

/* 头部导航 */
.header {
    background: #1e3c72;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: bold;
}

.logo .tagline {
    font-size: 12px;
    opacity: 0.9;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.2);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 180px;
    border-radius: 5px;
    overflow: hidden;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.dropdown.dropdown-open .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s, 0s;
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background-color: #1e3c72;
    color: white;
}

.contact-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

/* 公司展示区 */
.hero-display {
    position: relative;
    min-height: 500px;
    background: white;
}

.hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

.hero-content {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #1e3c72;
}

.hero-desc {
    font-size: 24px;
    margin-bottom: 20px;
    color: #666;
}

.hero-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
}

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

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #1e3c72;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.btn-primary:hover {
    background: #2a5298;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.btn-secondary-outline {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #1e3c72;
    text-decoration: none;
    border: 2px solid #1e3c72;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary-outline:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-3px);
}



/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
    color: #1e3c72;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #1e3c72;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

/* 关于我们 */
.about-section {
    background: white;
}

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

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1e3c72;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #1e3c72;
    color: white;
    border-radius: 10px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: #2a5298;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.3);
}

.stat-item h4 {
    font-size: 36px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.about-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 产品中心 */
.products-section {
    background: #f5f7fa;
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
}

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

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

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

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e3c72;
}

.product-info p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: white;
    color: #1e3c72;
    text-decoration: none;
    border: 2px solid #1e3c72;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #1e3c72;
    color: white;
}

/* 应用领域 */
.applications-section {
    background: white;
}

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

.app-card {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s;
}

.app-card:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.app-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.app-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.app-card p {
    font-size: 15px;
}

/* 研发创新 */
.rd-section {
    background: #1e3c72;
    color: white;
}

.rd-section .section-title {
    color: white;
}

.rd-section .section-title::after {
    background: white;
}

.rd-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

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

.rd-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.rd-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.rd-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.rd-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.rd-text ul li {
    font-size: 16px;
    line-height: 2;
    padding-left: 30px;
    position: relative;
}

.rd-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
    font-size: 20px;
}

/* 新闻动态 */
.news-section {
    background: white;
}

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

.news-card {
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-info {
    padding: 25px;
}

.news-date {
    display: inline-block;
    padding: 5px 15px;
    background: #1e3c72;
    color: white;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 15px;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e3c72;
}

.news-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.news-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.news-info a:hover {
    color: #1e3c72;
}

/* 联系我们 */
.contact-section {
    background: #f5f7fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

.info-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e3c72;
}

.info-item p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.contact-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.contact-images img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 页脚 */
.footer {
    background: #1e3c72;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    margin: 5px 0;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .about-content,
    .rd-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .applications-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
