/* Banner区域 */
.banner {
    height: 750px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/factory-banner.png') no-repeat center/cover;
}

.banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(rgba(0,102,204,0.8), rgba(0,102,204,0.6)); */
}

/* 面包屑导航 */
.breadcrumb-wrapper {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.page-nav {
    display: flex;
    gap: 30px;
}

.page-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.page-nav a.active {
    color: #333;
    font-weight: bold;
}

.location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.location a {
    color: var(--primary-color);
}

.location span {
    color: #333;
}

.location span:first-child {
    color: #666;
}

/* 设备展示 */
.equipment {
    padding: 80px 0;
}

.equipment.research {
    background: #f8f9fa;
}

.equipment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

/* 生产设备布局 */
.production .equipment-grid {
    justify-content: center;
}

.production .equipment-item {
    width: calc((100% - 60px) / 3);  /* 三列布局，减去两个间隔的30px */
}

/* 第二排和第三排的特殊处理 */
.production .equipment-item:nth-child(4),
.production .equipment-item:nth-child(5),
.production .equipment-item:nth-child(6),
.production .equipment-item:nth-child(7) {
    width: calc((100% - 30px) / 2);  /* 两列布局，减去一个间隔的30px */
}

/* 研发设备保持三列布局 */
.research .equipment-item {
    width: calc((100% - 60px) / 3);
}

.equipment-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.equipment-image {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
    overflow: hidden;
}

.equipment-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-name {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #333;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .production .equipment-item,
    .production .equipment-item:nth-child(4),
    .production .equipment-item:nth-child(5),
    .production .equipment-item:nth-child(6),
    .production .equipment-item:nth-child(7),
    .research .equipment-item {
        width: calc((100% - 30px) / 2);
    }
}

@media screen and (max-width: 768px) {
    .banner {
        height: 300px;
    }

    .production .equipment-item,
    .production .equipment-item:nth-child(4),
    .production .equipment-item:nth-child(5),
    .production .equipment-item:nth-child(6),
    .production .equipment-item:nth-child(7),
    .research .equipment-item {
        width: 100%;
    }

    .equipment-grid {
        gap: 20px;
    }

    .equipment {
        padding: 40px 0;
    }
} 