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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #0066cc;
}

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

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

/* 顶部栏 */
.top-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    font-size: 12px;
    color: #666;
}

.top-info {
    text-align: right;
}

/* 头部区域 */
.header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 2px solid #0066cc;
}

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

.logo img {
    height: 60px;
}

/* Search Icon */
.search-icon {
    cursor: pointer;
    float: right;
    height: 24px;
    width: auto;
    padding: 8px;
    color: rgba(0, 110, 184, 1);
    transition: color 0.4s ease-in-out;
}

.search-icon:hover {
    color: rgba(0, 90, 160, 1);
}

.search-icon svg {
    width: 24px;
    height: 24px;
    stroke: rgba(0, 110, 184, 1);
    transition: stroke 0.4s ease-in-out;
}

.search-icon:hover svg {
    stroke: rgba(0, 90, 160, 1);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 150px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.search-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.search-close:hover {
    color: #333;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 20px;
}

.search-input:focus {
    border-color: #0066cc;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    width: 100%;
    padding: 15px 30px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button:hover {
    background: #0052a3;
}

/* 主导航 */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-weight: bold;
    font-size: 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

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

/* 下拉菜单 */
.main-nav li.has-dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(238, 238, 239, 0.95);
    border: 1px solid #eeeeef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 550px;
    padding: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.main-nav li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.main-nav .dropdown-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: auto;
}

.main-nav .dropdown-menu li {
    margin-left: 0;
}

.main-nav .dropdown-menu li a {
    padding: 10px 20px;
    color: #333;
    font-weight: normal;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
    display: block;
    width: 100%;
    white-space: nowrap;
}

.main-nav .dropdown-menu li:nth-child(odd) a {
    border-right: 1px solid #e0e0e0;
}

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

.main-nav .dropdown-menu li a:hover {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
}

/* Banner */
.banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* 静态banner图片（用于about、products等页面） */
.banner > img {
    width: 100%;
    height: auto;
    display: block;
}

/* 轮播容器 */
.swiper_container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.swiper_wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.swiper_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.swiper_slide.active {
    opacity: 1;
    z-index: 2;
}

.swiper_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 左右箭头按钮 */
.left_swiper,
.right_swiper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left_swiper {
    left: 20px;
}

.right_swiper {
    right: 20px;
}

.left_swiper:hover,
.right_swiper:hover {
    background: rgba(0, 0, 0, 0.5);
}

.left_swiper::before {
    content: '‹';
    font-size: 40px;
    color: white;
    line-height: 1;
}

.right_swiper::before {
    content: '›';
    font-size: 40px;
    color: white;
    line-height: 1;
}

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

.swiper_bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.swiper_bullet.active {
    background: white;
    transform: scale(1.2);
}

.swiper_bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 清除浮动 */
.clear {
    clear: both;
}

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

.section-title {
    text-align: center;
    font-size: 28px;
    color: #0066cc;
    margin-bottom: 10px;
    font-weight: bold;
}

.types-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* 新产品展示区 */
.new-products {
    background-color: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.product-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    /* 关键修复：防止内容撑开 CSS Grid 网格，强制所有产品卡片等宽 */
    min-width: 0;
    width: 100%;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    /* 防止图片超出容器 */
    max-width: 100%;
}

.product-item p {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    /* 防止长文本撑开宽度 */
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* 产品分类 */
.product-types {
    background: #fff;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.type-item {
    display: block;
    padding: 20px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s, background 0.3s;
}

.type-item:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0052a3 0%, #004080 100%);
}

/* 公司介绍 */
.company-intro {
    background: #fff;
    padding: 50px 0;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
    text-align: justify;
    line-height: 2;
    color: #555;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 5px;
}

/* 公司信息块 */
.company-info-section {
    background: #fff;
    padding: 0 0 40px 0;
}

.company-hero {
    position: relative;
    margin-bottom: 0;
    height: 400px;
}

.company-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../resource/company_bg.jpg') center center no-repeat;
    background-size: auto 100%;
}

.company-hero-text {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 15px 20px;
    width: 360px;
    box-shadow: none;
    z-index: 10;
}

.company-hero-text p {
    font-size: 12px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* 中间2x2按钮和图标区域 */
.company-mid-section {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 0;
    width: 100%;
}

.mid-left {
    width: 180px;
    height: 200px;
    display: block;
    gap: 0;
}

.mid-right {
    width: 180px;
    height: 200px;
    display: block;
    gap: 0;
}

.more_btn_1, .more_btn_2 {
    display: block;
    text-decoration: none;
    width: 180px;
    height: 100px;
}

.btn-blue, .btn-dark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100px;
    padding: 0 20px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.3s;
}

.btn-blue {
    background: #006DB8;
}

.btn-dark {
    background: #366087;
}

.btn-blue:hover, .btn-dark:hover {
    opacity: 0.85;
}

.btn-blue span, .btn-dark span {
    font-size: 14px;
}

.arrow {
    font-style: normal;
    font-size: 18px;
    margin-left: 10px;
}

.icon-building, .icon-flag {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
}

.icon-building img, .icon-flag img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.icon-building {
    background: url('../resource/company_icons/company_icon_2.png') right 20px center no-repeat;
    background-size: auto 50%;
}

.icon-flag {
    background: url('../resource/company_icons/company_icon_1.png') left 20px center no-repeat;
    background-size: auto 50%;
}

.mid-image-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mid-image-text img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    margin-bottom: 5px;
}

.mid-image-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    text-align: left;
    max-width: 100%;
    margin-top: 12px;
    padding: 8px 0;
}

.company-bottom-info {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 30px 0 0 0;
    border-top: none;
    border-bottom: none;
    margin-top: 0;
}

.company-bottom-info .info-item {
    text-align: center;
}

.company-bottom-info .info-item h3 {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 10px;
}

.company-bottom-info .info-item p {
    font-size: 14px;
    color: #666;
}

/* 旧的公司信息块样式（保留以兼容其他页面） */
.company-info-blocks {
    background: #f9f9f9;
    padding: 50px 0;
}

.info-blocks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.info-block {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.info-block img {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.info-block h3 {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 10px;
}

.info-block p {
    font-size: 14px;
    color: #666;
}

/* 公司设备 */
.company-equipment {
    background: #fff;
    padding: 50px 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.equipment-item {
    text-align: center;
}

.equipment-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.equipment-note {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: #0066cc;
    font-weight: bold;
}

/* FAQ */
/* FAQ and Certificate Section */
.faq-certificate-section {
    padding: 40px 0;
    background: #fff;
}

.faq-cert-layout {
    display: flex;
    gap: 40px;
}

.faq-column {
    flex: 1;
}

.certificate-column {
    width: 40%;
}

.section-title-left {
    font-size: 22px;
    color: #0066cc;
    margin-bottom: 8px;
    font-weight: bold;
}

.section-title-left a {
    color: #0066cc;
    text-decoration: none;
}

.arrow-link {
    color: #0066cc;
    font-size: 20px;
}

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

.faq-list-new {
    border-top: 1px solid #e0e0e0;
}

.faq-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.faq-q, .faq-a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.faq-q {
    color: #333;
    flex: 1;
}

.faq-a {
    color: #666;
    flex: 1;
}

.icon-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.icon-answer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 16px;
}

.certificate-grid-new {
    display: flex;
    gap: 15px;
}

.certificate-item-new {
    flex: 1;
}

.certificate-item-new img {
    width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
}

/* 服务流程 */
.service-process {
    background: #f9f9f9;
    padding: 50px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 3px;
    background: #0066cc;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    font-weight: bold;
}

.step p {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

/* 新闻列表 */
.news-list {
    margin-top: 30px;
}

.news-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 15px;
    font-weight: bold;
}

.news-excerpt {
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #0066cc;
    font-weight: bold;
}

/* 分页 */
.pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #e0e0e0;
    color: #333;
    border-radius: 3px;
}

.pagination a:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.pagination .current {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* 侧边栏布局 */
.sidebar-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
}

/* 侧边栏菜单 */
.sidebar-menu {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.sidebar-menu h3 {
    background: #0066cc;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    margin: 0;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    transition: background 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #f0f0f0;
    color: #0066cc;
}

/* 热门产品 */
.hot-products {
    margin-top: 30px;
}

.hot-products h3,
.latest-products h3 {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

/* 页脚 */
.footer {
    background: #2c2c2c;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #0066cc;
}

.footer-section p {
    line-height: 2;
    color: #ccc;
    font-size: 14px;
}

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

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

.footer-section a {
    color: #ccc;
}

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

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.contact-label {
    font-weight: bold;
    color: #0066cc;
    margin-right: 10px;
    min-width: 100px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 13px;
}

.footer-bottom a {
    color: #999;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f9f9f9;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: #0066cc;
}

.location {
    color: #666;
}

/* About页面样式 */
.aboutus {
    padding: 40px 0;
}

.aboutus_top {
    margin-bottom: 40px;
}

.aboutus_top_text {
    font-size: 14px;
    line-height: 2;
    color: #333;
    text-align: justify;
}

.aboutus_top_text span {
    font-weight: bold;
}

.aboutus_bottom {
    margin-top: 30px;
}

.aboutus_bottom_pic {
    width: 100%;
}

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

.equipment-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.equipment-grid-3col .equipment-item {
    position: relative;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.equipment-grid-3col .equipment-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat center;
    background-size: 40px;
    opacity: 0;
    transition: opacity 0.3s;
}

.equipment-grid-3col .equipment-item:hover::after {
    opacity: 1;
}

.equipment-grid-3col .equipment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.equipment-grid-3col .equipment-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* 灯箱样式 */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-title {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.lightbox-counter {
    color: #fff;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* 产品详情页 */
.product-detail-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.product-images {
    flex: 1;
}

.product-main-image {
    margin-bottom: 20px;
}

.product-main-image img {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 20px;
    font-weight: bold;
}

.product-specs {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.product-specs td:first-child {
    font-weight: bold;
    color: #333;
    width: 150px;
}

.inquiry-btn {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.inquiry-btn:hover {
    background: #0052a3;
    color: #fff;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #0066cc;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #0066cc;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #0052a3;
}

/* 联系我们页面 */
.contact-page {
    padding: 50px 0;
}

.contact-details {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.contact-details h3 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 20px;
}

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

.contact-item-label {
    font-weight: bold;
    color: #0066cc;
    min-width: 120px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .product-grid,
    .type-grid,
    .info-blocks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .equipment-grid,
    .equipment-grid-6col {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .product-grid,
    .type-grid,
    .info-blocks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-grid,
    .equipment-grid-6col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .faq-cert-layout {
        flex-direction: column;
    }
    
    .certificate-column {
        width: 100%;
    }
    
    .faq-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .info-blocks-grid,
    .equipment-grid,
    .certificate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-content,
    .footer-content,
    .sidebar-layout,
    .product-detail-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        width: 50%;
        margin-bottom: 30px;
    }
}
