/* 产品与服务样式 */
.products-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
}

.products-categories {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-top-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.products-top-row .product-category {
    flex: 1;
}

.products-image {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-image img {
    width: 70%;
    height: auto;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.product-category {
    background-color: #D9E7F2;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #BFCDD8;
}

.product-category h3 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 15px;
}

/* 食品及農産品詳情样式 */
.food-products-wrapper {
    display: flex;
    gap: 60px;
    margin-top: 30px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.food-products-content {
    flex: 0 0 60%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
}

.food-product-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.food-product-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-product-icon img {
    max-width: 100%;
    max-height: 100%;
}

/* 工業制品與原材料样式 */
.industrial-products-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
    width: 100%;
}

.industrial-product-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: 0;
    width: 90%;
    position: relative;
}

.industrial-row-middle {
    width: 95%;
    margin-right: 5%;
}

.industrial-row-bottom {
    width: 100%;
    margin-right: 0;
}

.industrial-product-image {
    height: 150px;
    background-color: #D9E7F2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid #BFCDD8;
}

.industrial-product-row .industrial-product-image {
    flex: 0 0 250px;
}

.industrial-row-middle .industrial-product-image {
    flex: 0 0 500px;
}

.industrial-row-bottom .industrial-product-image {
    flex: 0 0 750px;
}

.industrial-product-image img {
    max-width: 25%;
    max-height: 25%;
    object-fit: contain;
}

.industrial-product-content {
    flex: 1;
    padding: 20px;
}

.industrial-product-content h3 {
    font-size: 1.4rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.industrial-product-content p {
    color: #4a5568;
    line-height: 1.6;
}

.industrial-products-description {
    margin-top: 40px;
    text-align: center;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;

}


.food-product-item .food-product-text {
    flex: 1;
    text-align: left;
}

.food-product-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.food-product-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.food-products-image {
    flex: 0 0 35%;
}

.food-products-image img {
    width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.food-products-description {
    margin-top: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: #333;
        font-weight: bold;

}


.product-category p {
    color: #333;
    line-height: 1.5;
    font-size: 1rem;
}

/* 产品部分样式已移至顶部 */

/* 工業原材料詳情样式 */
.industrial-materials-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
}

.industrial-materials-table {
    width: 100%;
    max-width: none;
    min-height: 450px;
}

.materials-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    table-layout: auto;
}

.materials-table th:first-child,
.materials-table td:first-child {
    width: 120px;
    min-width: 120px;
    text-align: center;
    font-weight: 600;
}

.materials-table th,
.materials-table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: none;
    width: auto;
}

.materials-table th {
    background-color: #F0F2F8;
    color: #374151;
    padding: 25px 15px;
    text-align: center;
    font-weight: 600;
    line-height: 1.6;
    border: 1px solid #d1d5db;
    vertical-align: middle;
}

.material-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
    opacity: 1;
    filter: none;
}

.materials-table td {
    padding: 25px 15px;
    color: #4a5568;
    background-color: white;
    border: 1px solid #d1d5db;
    line-height: 1.6;
}

.materials-table .highlighted-row td {
    background-color: white;
}

/* 肉類與農産品样式 */
.meat-products-container {
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.meat-products-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
    width: 100%;
    justify-content: center;
}

.meat-product-image {
    background-color: #fff;
    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;
}

.meat-product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.meat-product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.meat-product-info {
    padding: 20px;
    background-color: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    text-align: center;
}

/* 移除介紹文字的懸停效果 */

.meat-product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a2a3a;
    font-weight: bold;
}

.meat-product-info p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .products-wrapper {
        flex-direction: column;
    }
    
    .products-categories,
    .products-image {
        flex: 0 0 100%;
    }
    
    .products-image {
        margin-top: 20px;
    }
    
    .product-category {
        padding: 15px;
    }
    
    .product-category h3 {
        font-size: 1.3rem;
    }
    
    .products-top-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .food-products-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .food-products-content,
    .food-products-image {
        flex: 0 0 100%;
    }
    
    .food-products-content {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    
    .meat-products-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .energy-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .industry-categories-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .industry-categories-image,
    .industry-categories-content {
        flex: 0 0 100%;
    }

}
@media (max-width: 576px) {
    .product-category h3 {
        font-size: 1.3rem;
    }
    
    .product-category p {
        font-size: 0.9rem;
    }
    
    .food-products-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .food-product-item h3 {
        font-size: 1.2rem;
    }
    
    .food-product-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    
    .food-product-item p {
        font-size: 0.9rem;
    }
    
    .food-product-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .food-products-description {
        font-size: 0.9rem;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .product-category h3 {
        font-size: 1.5rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .meat-products-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .meat-product-image img {
        height: 150px;
    }
    
    .meat-product-info h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .meat-product-info p {
        font-size: 0.85rem;
    }
    
    .energy-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .energy-product-image {
        height: 200px;
    }
    
    .energy-product-item h3 {
        font-size: 1.2rem;
        margin: 12px 0 8px;
    }
    
    .energy-product-item p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/* 能源類産品样式 */
.energy-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0 20px;
    width: 100%;
}

.energy-product-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    width: 100%;
    height: 400px; /* 增加高度以显示完整内容 */
}

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

.energy-product-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.energy-product-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    color: white;
    padding: 30px 24px;
    width: 100%;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    text-align: left; /* 文案居左显示 */
}

.energy-product-overlay h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    text-align: left; /* 标题居左显示 */
}

.energy-product-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-align: left; /* 描述文字居左显示 */
}

/* 產業鏈類別專用居中佈局（僅作用於該 section） */
.industry-categories-centered .energy-products-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
}

/* 移動端：單列顯示，避免橫向溢出 */
@media (max-width: 768px) {
    .industry-categories-centered .energy-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .industry-categories-centered .energy-product-item {
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .industry-categories-centered .energy-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 我們涉足的産業鏈類別样式 */
.industry-categories-container {
    display: flex;
    gap: 50px;
    margin: 40px 0 20px;
    align-items: center;
    width: 100%;
}

.industry-categories-image {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-categories-image img {
    width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.industry-categories-content {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.industry-category-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-number {
    width: 50px;
    height: 50px;
    background-color: #0056b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.category-text {
    flex: 1;
}

.category-text h3 {
    font-size: 1.4rem;
    color: #0056b3;
    margin-bottom: 10px;
}

.category-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* 産業鏈出海服務样式 */
.industry-services-container {
    margin: 40px 0 20px;
    width: 100%;
}

.industry-service-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-icon {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.service-banner-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.service-card {
    flex: 1;
    background-color: #D9E7F2;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #CDD8E1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 15px;
    font-weight: bold;
}

.service-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* 我們提供的供應鏈服務样式 */
.supply-chain-container {
    display: flex;
    gap: 40px;
    margin: 40px 0 20px;
    align-items: center;
}

.supply-chain-image {
    flex: 1;
    max-width: 45%;
}

.supply-chain-image img {
    width: 100%;
    border-radius: 10px;
}

.supply-chain-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.supply-chain-item {
    display: flex;
    gap: 30px;
    background-color: transparent;
    border-radius: 10px;
    padding: 20px;
    border: none;
    transition: transform 0.3s ease;
    align-items: center;
    margin-bottom: 30px;
}

.supply-chain-item:hover {
    transform: translateY(-5px);
}

.supply-chain-text {
    flex: 0 0 55%;
    padding-right: 20px;
}

.supply-chain-text h3 {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 15px;
    font-weight: bold;
}

.supply-chain-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.supply-chain-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.supply-chain-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 定制化供應鏈解決方案與風險管理样式 */
.custom-supply-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0 20px;
}

.custom-supply-banner {
    width: 100%;
}

.custom-supply-banner img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.custom-supply-content {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.custom-supply-left, .custom-supply-right {
    flex: 1;
    padding: 40px 40px 40px 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 280px;
    position: relative;
}

.custom-supply-left::before, .custom-supply-right::before {
    content: '"';
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 3rem;
    color: #4D84AC;
    font-weight: bold;
    opacity: 0.3;
    font-family: serif;
}

.custom-supply-left h3, .custom-supply-right h3 {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 15px;
    font-weight: bold;
    margin-top: 60px;
}

.custom-supply-left:hover, .custom-supply-right:hover {
    transform: translateY(-5px);
}

.custom-supply-left p, .custom-supply-right p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .supply-chain-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .supply-chain-image {
        max-width: 100%;
    }
    
    .custom-supply-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .meat-products-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .meat-product-image img {
        height: 120px;
    }
    
    .meat-product-info {
        padding: 10px 5px;
        min-height: 100px;
    }
    
    .meat-product-info h3 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .custom-supply-left, .custom-supply-right {
        padding: 20px 15px;
    }
    
    .custom-supply-left h3, .custom-supply-right h3 {
        font-size: 1.2rem;
    }
    
    .custom-supply-left p, .custom-supply-right p {
        font-size: 0.9rem;
    }
    
    .meat-product-info p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .energy-products-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-category-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 15px;
    }
    
    .category-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .category-text h3 {
        font-size: 1.2rem;
    }
    
    .service-banner-img {
        max-height: 200px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .category-text p {
        font-size: 0.9rem;
    }
    
    .supply-chain-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
    
    .supply-chain-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .supply-chain-text h3 {
        font-size: 1.2rem;
    }
    
    .supply-chain-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media screen and (max-width: 768px) {
    .materials-table {
        border: none;
    }

    .materials-table thead {
        display: none;
    }

    .materials-table, .materials-table tbody, .materials-table tr, .materials-table td {
        display: block;
        width: 100%;
    }

    .materials-table tr {
        margin-bottom: 15px;
        border: 1px solid #d1d5db;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

    .materials-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
    }

    .materials-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: calc(50% - 30px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: #374151;
    }

    .materials-table th:first-child,
    .materials-table td:first-child {
        width: 100%;
        min-width: unset;
        text-align: center;
        background-color: #F0F2F8;
        color: #374151;
        padding: 15px;
        border-bottom: 1px solid #d1d5db;
    }

    .materials-table td:first-child::before {
        display: none;
    }
}