/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部通知栏 */
.top-notice {
    background: #ff6b35;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-notice marquee {
    margin: 0;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #0056b3;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0056b3;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0056b3;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #0056b3;
    color: white;
}

.btn-primary:hover {
    background: #003d82;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.btn-secondary:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* 首页横幅 */
.hero {
    height: 100vh;
    background: url('../assets/hero-background.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.7) 150%);
    z-index: 1;
}

.hero-content {
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.4);
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-buttons .btn {
    margin: 0 10px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

/* 章节标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff6b35;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* 公司简介 */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0056b3;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 产品展示 */
.products-section {
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px 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.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0056b3;
}

.product-info p {
    margin-bottom: 20px;
    color: #666;
}

/* 工程案例 */
.cases-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0056b3;
}

.case-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}



/* 视频展示 */
.video-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

@media (min-width: 768px) {
    .videos-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-wrapper {
        min-height: 300px;
        padding-bottom: 0;
    }
    
    .video-wrapper video {
        height: 100%;
        object-position: center;
    }
}

@media (max-width: 767px) {
    .video-wrapper {
        min-height: 200px;
    }
}

.video-item h3 {
    margin-bottom: 15px;
    color: #0056b3;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper video::-webkit-media-controls {
    background-color: rgba(0, 0, 0, 0.5);
}

/* 产品详情 */
.product-details {
    margin-top: 50px;
}

.product-detail-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.product-detail-item:nth-child(even) {
    flex-direction: row-reverse;
}

.product-detail-image {
    flex: 1;
}

.product-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-detail-info {
    flex: 1;
}

.product-detail-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0056b3;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.product-description h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    color: #333;
}

.product-description ul {
    list-style: none;
    margin-bottom: 20px;
}

.product-description ul li {
    margin-bottom: 10px;
}

.specifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
    border-radius: 5px;
}

.spec-name {
    font-weight: bold;
}

.spec-value {
    color: #ff6b35;
}

.product-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

/* 案例详情 */
.cases-details {
    margin-top: 50px;
}

.case-detail {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 30px;
}

.case-detail-image {
    text-align: center;
    margin: 20px 0;
}

.case-detail-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-detail-info h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    color: #0056b3;
}

.case-detail-info ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.case-detail-info ol li {
    margin-bottom: 10px;
}

.case-detail-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.case-detail-info ul li {
    margin-bottom: 10px;
}

/* 新闻详情 */
.news-details {
    margin-top: 50px;
}

.news-detail {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 30px;
}

.news-meta {
    color: #ff6b35;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.news-detail-image {
    text-align: center;
    margin: 20px 0;
}

.news-detail-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-detail-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 新闻资讯 */
.news-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: center center;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0056b3;
}

.news-meta {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.news-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.read-more {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #003d82;
}

/* 合作伙伴 */
.partners-section {
    padding: 100px 0;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.partner-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #0056b3;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 联系我们 */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #0056b3;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: #0056b3;
    margin-right: 10px;
    margin-top: 5px;
}

.contact-qrcode {
    text-align: center;
    margin-top: 30px;
}

.contact-qrcode img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ddd;
    padding: 5px;
}

.contact-extra {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-extra h3 {
    color: #0056b3;
    margin-bottom: 20px;
}

.contact-extra ul {
    list-style: none;
    margin: 20px 0;
}

.contact-extra ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-extra ul li i {
    color: #0056b3;
    margin-right: 10px;
    width: 20px;
}

.contact-map {
    margin-top: 30px;
}

.contact-map h4 {
    color: #0056b3;
    margin-bottom: 15px;
}

.contact-map img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 公司详情 */
.about-detail {
    margin-top: 50px;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0056b3;
}

.history-section {
    margin-bottom: 50px;
}

.history-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0056b3;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #0056b3;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item::after {
    content: '';
    display: table;
    clear: both;
}

.timeline-year {
    position: absolute;
    width: 100px;
    height: 40px;
    line-height: 40px;
    background: #0056b3;
    color: white;
    border-radius: 20px;
    text-align: center;
    left: 50%;
    margin-left: -50px;
    top: 0;
    font-weight: bold;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    float: left;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
}

.team-section {
    text-align: center;
}

.team-section h2 {
    margin-bottom: 30px;
    color: #0056b3;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0056b3;
}

/* 页脚 */
.footer {
    background: #0056b3;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff6b35;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column p {
    color: #ddd;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ddd;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .navbar .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.4;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-item {
        flex-direction: column;
    }
    
    .product-detail-item:nth-child(even) {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-year {
        left: 30px;
        margin-left: 0;
        top: -10px;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        float: right !important;
    }
    
    .team-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* 产品视频 */
.product-video {
    padding: 80px 0;
    background: #f8f9fa;
}

.product-video h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0056b3;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 768px) {
    .video-container .video-wrapper {
        min-height: 400px;
        padding-bottom: 0;
    }
    
    .video-container .video-wrapper video {
        height: 100%;
        object-position: center;
    }
}

@media (max-width: 767px) {
    .video-container .video-wrapper {
        min-height: 250px;
    }
}