/* 頁面標題區域 */
.equipment-page .page-header {
    position: relative;
    padding: 0;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
}

.equipment-page .page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.equipment-page .page-header .header-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0;
    width: 100%;
}

.equipment-page .page-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.equipment-page .page-header .subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.equipment-page .page-header .intro-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 90%;
}

/* 設備區域共用樣式 */
.equipment-section {
    padding: 4rem 0;
    background: #fff;
}

.equipment-section:nth-child(even) {
    background: #f8f9fa;
}

.equipment-section h2 {
    color: #221814;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #BF8619;
}

.equipment-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 設備摘要樣式 */
.equipment-summary {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.equipment-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.equipment-item-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.equipment-item-simple:last-child {
    border-bottom: none;
}

.equipment-item-simple .name {
    color: #dee2e6;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.equipment-item-simple .quantity {
    color: #BF8619;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* 生產工具區域樣式 */
.production-tools .equipment-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.production-tools .equipment-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #FEFEFE;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    min-height: 160px;
    align-items: center;
}

.production-tools .equipment-info {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2.5rem;
    flex: 1;
}

.production-tools .equipment-info h2 {
    font-size: 15px;
    color: #221814;
    margin: 0 0 1rem 0;
    padding: 0 0 0.5rem 0;
    border-bottom: 2px solid #BF8619;
}

.production-tools .equipment-image {
    width: 250px;
    min-width: 250px;
    height: 160px;
    background: #f8f9fa;
    margin: 0;
    padding: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-right: 1px solid #eee;
}

.production-tools .equipment-image img {
    max-width: 230px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.production-tools .specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex: 1;
}

.production-tools .spec-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.production-tools .spec-label {
    color: #221814;
    font-size: 0.9rem;
    width: 40%;
}

.production-tools .spec-value {
    color: #221814;
    font-size: 0.9rem;
    text-align: right;
    width: 60%;
}

/* 檢驗工具區域樣式 */
.inspection-tools .equipment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.inspection-tools .equipment-item {
    background: #FEFEFE;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.inspection-tools .equipment-info {
    padding: 1rem;
}

.inspection-tools .equipment-info h2 {
    font-size: 15px;
    color: #221814;
    margin: 0 0 0.5rem 0;
    padding: 0 0 0.3rem 0;
    border-bottom: 2px solid #BF8619;
}

.inspection-tools .equipment-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    margin: 0 0 1rem 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.inspection-tools .equipment-image img {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 雙圖片布局樣式 */
.image-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin: 0 0 1rem 0;
    height: 200px;
    background: #f8f9fa;
    padding: 1rem;
}

.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 響應式調整 */
@media (max-width: 1200px) {
    .production-tools .equipment-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .production-tools .equipment-image {
        width: 100%;
        min-width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .production-tools .equipment-info {
        padding: 1.5rem;
    }
    
    .inspection-tools .equipment-details {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .production-tools .equipment-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .production-tools .equipment-image {
        width: 100%;
        min-width: 100%;
        height: 180px;
    }
    
    .production-tools .equipment-info {
        padding: 1.2rem;
    }
    
    .inspection-tools .equipment-details {
        grid-template-columns: 1fr;
    }
    
    .production-tools .spec-label,
    .production-tools .spec-value {
        font-size: 0.8rem;
    }
    
    .equipment-page .page-header {
        min-height: auto;
        padding-top: 60px;
    }
    
    .equipment-page .page-header .intro-text {
        max-width: 100%;
    }
}