/* ========================================
   WASTE MONITORING PAGE - SPECIFIC STYLES
   Only page-specific backgrounds and unique elements
   Common styles are in solutions-common.css
   ======================================== */

/* Mode Waste Background */
body.bg-mode-waste #data-network {
    opacity: 0;
}

body.bg-mode-waste {
    background-color: var(--color-bg-light);
}

body.bg-mode-waste::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../../img/waste_hero_bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.95);
    opacity: 1;
    pointer-events: none;
}

body.bg-mode-waste::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 60% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 100%);
    pointer-events: none;
}

body.mode-split.bg-mode-waste::after {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 40%, transparent 100%);
}

/* Custom BG Overrides for Waste Page */
body.bg-mode-waste .section-support {
    background-color: var(--color-bg-grey);
}

/* section-parameters: plain solid grey, NO grid */
body.bg-mode-waste .section-parameters {
    background-color: var(--color-bg-grey);
    padding: 100px 20px;
}
@media (max-width: 560px) {
    body.bg-mode-waste .section-parameters {
        padding: 60px 0px;
    }
}

/* section-products: grey WITH grid */
body.bg-mode-waste .section-products {
    background-color: var(--color-bg-grey);
    background-image: linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 100px 20px;
}
@media (max-width: 560px) {
    body.bg-mode-waste .section-products {
        padding: 60px 0;
    }

    body.bg-mode-waste .parameters-content-card{
        padding: 40px 20px;
        
    }
    body.bg-mode-waste .products-content-card{
        padding: 40px 20px;
        
    }


}


/* section-platform now comes AFTER products - grey background */
body.bg-mode-waste .section-platform {
    background-color: var(--color-bg-grey);
}

/* section-results now comes AFTER platform - white/transparent */
body.bg-mode-waste .section-results {
    background-color: transparent;
    margin-bottom: -1px;
}

/* PARAMETERS SECTION - Unique to Waste Page */
.section-parameters {
    position: relative;
    z-index: 10;
    margin-top: -1px;
}



.section-parameters h2 {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.section-parameters .section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-sub);
}

.parameters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.parameter-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
}

.parameter-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.parameter-icon {
    color: var(--color-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.parameter-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.parameter-card ul {
    list-style: none;
    padding: 0;
}

.parameter-card li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--color-text-sub);
    border-bottom: 1px solid var(--color-bg-light);
}

.parameter-card li:last-child {
    border-bottom: none;
}

/* Responsive - Parameters Grid */
@media (max-width: 1024px) {
    .parameters-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section-parameters {
        margin-bottom: -1px;
    }
}

/* =============================================
   WASTE PARAMS GRID - 7 cards (updated)
   ============================================= */
.waste-params-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.parameter-desc {
    font-size: 14px;
    color: var(--color-text-sub);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1200px) {
    .waste-params-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .waste-params-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {

    .waste-params-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   WASTE EQUIPMENT CARDS - styled like construction
   ============================================= */
.waste-equipment-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 48px;
}

.waste-eq-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 48px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.waste-eq-card:hover {
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.waste-eq-card:nth-child(even) {
    grid-template-columns: 1fr 320px;
}

.waste-eq-card:nth-child(even) .waste-eq-visual {
    order: 2;
}
.waste-eq-card:nth-child(even) .waste-eq-info {
    order: 1;
}

.waste-eq-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: var(--color-bg-grey);
    border-radius: 16px;
    overflow: hidden;
}

.waste-eq-img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    padding: 20px;
}

.waste-eq-info h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 16px;
    font-family: 'Manrope', sans-serif;
}

.waste-eq-info p.product-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-sub);
    margin-bottom: 24px;
    font-weight: 400;
}

.waste-eq-info p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-sub);
    margin-bottom: 28px;
}

.waste-eq-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Reuse .spec-item from solutions-common.css - no override needed */

@media (max-width: 1024px) {
    .waste-eq-card,
    .waste-eq-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .waste-eq-card:nth-child(even) .waste-eq-visual,
    .waste-eq-card:nth-child(even) .waste-eq-info {
        order: unset;
    }
    .waste-eq-visual {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .waste-eq-card {
        padding: 28px;
        gap: 28px;
    }
    .waste-eq-info h3 {
        font-size: 26px;
    }
}

/* =============================================
   RESULTS SECTION
   ============================================= */
.section-results {
    position: relative;
    z-index: 10;
    padding: 100px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-results h2 {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text-main);
    font-family: 'Manrope', sans-serif;
}

.section-results h2 span {
    color: var(--color-primary);
}

.section-results .section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-sub);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.result-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.result-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.result-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(14, 165, 233, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.result-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
    line-height: 1.4;
}

.result-card p {
    font-size: 13px;
    color: var(--color-text-sub);
    line-height: 1.6;
    margin: 0;
}

.results-closing {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.07) 0%, rgba(14, 165, 233, 0.02) 100%);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 24px;
}

.results-closing p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text-main);
    font-weight: 500;
    margin: 0;
}

@media (max-width: 1200px) {
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .results-closing {
        padding: 28px 24px;
    }
    .results-closing p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* background for results section */
body.bg-mode-waste .section-results {
    background-color: #F1F5F9;
    max-width: 100%;
    padding: 100px 40px;
}

@media (max-width: 1024px) {

    body.bg-mode-waste .section-results {
    padding: 40px 20px;
}
}