/* =====================================================
   INDUSTRY INFORMATION PAGES – MINIMAL B2B DESIGN
   ===================================================== */

.industry-hero {
    min-height: 80vh;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally */
    text-align: center;
    /* Center text */
    position: relative;
    overflow: hidden;
    padding: 180px 0 6rem;
}

.industry-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.95), rgba(11, 37, 69, 0.8));
    z-index: 1;
}

.industry-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.industry-hero h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    letter-spacing: -1px;
}

.industry-hero .subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-inline: auto;
    font-weight: 400;
}

/* IMAGE AND LAYOUT REFINEMENTS */

.industry-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.industry-main-image {
    width: 100%;
    height: 400px;
    /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.industry-content-section {
    padding: 3rem 0;
}

.industry-content-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
}

.industry-content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.industry-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.industry-list li {
    background: white;
    padding: 1.25rem;
    border-left: 2px solid var(--gold);
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
}

.industry-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.industry-card-compact {
    background: var(--bg-light-tint);
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
}

.industry-card-compact h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .industry-hero {
        min-height: 35vh;
        text-align: center;
        padding-top: 100px;
        /* Adjusted for mobile header height */
    }

    .industry-hero h1 {
        font-size: 2.2rem;
    }

    .industry-list {
        grid-template-columns: 1fr;
    }

    .industry-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .industry-main-image {
        height: 250px;
    }

    /* Carousel Mobile Styles - Show 1 card on mobile */
    .product-carousel-container .product-trade-card {
        flex: 0 0 100%;
        min-width: 100%;
        margin-right: 0;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Tablet Styles - Show 2 cards */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-carousel-container .product-trade-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
        margin-right: 2rem;
    }
}

/* Desktop Styles - Show 3 cards */
@media (min-width: 1025px) {
    .product-carousel-container .product-trade-card {
        flex: 0 0 calc(33.333% - 1.333rem);
        min-width: calc(33.333% - 1.333rem);
        margin-right: 2rem;
    }
}

/* =====================================================
   PRODUCT TRADE GRID – GLOBAL SOURCING PORTFOLIO
   ===================================================== */
.product-trade-section {
    padding: 4rem 0;
    background: #ffffff;
}

.product-trade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-trade-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-trade-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Product Image Layer */
.product-image-wrapper {
    width: 100%;
    height: 180px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.product-card-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-trade-card:hover .product-card-img {
    transform: scale(1.02);
}

.product-info-top {
    padding: 1.25rem 1.25rem 0.75rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.product-category-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-trade-card h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    border: none;
    padding: 0;
    font-weight: 600;
    line-height: 1.3;
}

.product-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs-list li {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.25rem;
    font-weight: 500;
}

.product-specs-list li span:first-child {
    font-weight: 500;
    color: #333;
}

.product-specs-list li span:last-child {
    font-weight: 400;
    text-align: right;
}

.product-action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    background: #f8f8f8;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.product-action-link:hover {
    background: #1a1a1a;
    color: #fff;
}

.product-arrow {
    display: none;
}

.category-group-header {
    margin: 4rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.category-group-header h2 {
    font-size: 2rem;
    margin: 0;
    border: none;
    padding: 0;
}

.category-count {
    font-size: 0.9rem;
    color: var(--text-soft);
    font-weight: 500;
}

.product-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.product-carousel-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.product-carousel-container .product-trade-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: calc(33.333% - 1.333rem);
    margin-right: 2rem;
}

.product-carousel-container .product-trade-card:last-child {
    margin-right: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
}

.carousel-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    background: #fff;
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #1a1a1a;
    width: 32px;
    border-radius: 5px;
    transform: scale(1);
}

/* Autoplay indicator */
.carousel-autoplay-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-autoplay-indicator.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}