/* =============================================
   PV CONNECTORS — pv-connectors.css
   GenX PV Design System
   ============================================= */

/* ---- HERO ---- */
.cable-mfg-hero {
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
    padding: calc(var(--header-height) + 80px) 0 80px;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.4) 100%), url('../../images/products/pv_junction_background_2.png') top right/cover no-repeat;
}

.cable-mfg-hero-flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

@media (min-width: 992px) {
    .cable-mfg-hero-flex-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cable-mfg-hero-text-col {
        flex: 1 1 50%;
        text-align: left;
    }

    .cable-mfg-hero-img-col {
        flex: 1 1 50%;
        text-align: center;
    }
}

.cable-mfg-badge {
    display: inline-block;
    color: #2ECC71;
    background: rgba(46, 204, 113, 0.1);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 16px;
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.cable-mfg-hero-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 2.8vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-oxford-blue);
    margin: 0 0 1rem;
    letter-spacing: -1px;
}

.cable-mfg-hero-accent {
    background: linear-gradient(135deg, #0F9B8E 0%, #2ECC71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cable-mfg-hero-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
}

.cable-mfg-hero-desc {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.65;
    max-width: 580px;
    margin-bottom: 2rem;
}

.cable-mfg-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px !important;
    font-size: 1.05rem !important;
    white-space: nowrap;
    font-weight: 600;
    color: #ffffff !important;
    border-radius: 50px;
    background: linear-gradient(135deg, #0F9B8E 0%, #2ECC71 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(15, 155, 142, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.cable-mfg-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 155, 142, 0.45);
    color: #ffffff !important;
}

.cable-mfg-hero-img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    padding-bottom: 120%;
    background: radial-gradient(ellipse at center, rgba(46, 204, 113, 0.15) 0%, rgba(232, 248, 243, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.cable-mfg-hero-product-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
    z-index: 1;
}

@media (max-width: 640px) {
    .cable-mfg-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* ---- GALLERY SECTION ---- */
.cable-bento-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 2rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.cable-bento-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 31, 55, 0.08);
    aspect-ratio: 16 / 11;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.cable-bento-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.cable-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.cable-bento-item:hover img {
    transform: scale(1.05);
}

/* Responsive Gallery */
@media (max-width: 992px) {
    .cable-bento-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .cable-bento-gallery {
        grid-template-columns: 1fr;
    }
}
