/*
Theme Name: EnergySae Theme
Theme URI: https://energysaeindonesia.com/
Author: hafidz
Author URI: https://energysaeindonesia.com/
Description: Theme WordPress kustom premium untuk EnergySae Indonesia, spesialis jualan energi CNG dan panel surya (PLTS) dengan fitur kalkulator interaktif.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: energysae
*/

/* =========================================
   14. ADDITIONAL HOMEPAGE SECTIONS
   ========================================= */

/* Section 1: Hero ROI Banner */
.roi-summary-banner {
    background: rgba(14, 32, 64, 0.96);
    border-top: 2px solid rgba(141, 198, 63, 0.25);
    border-bottom: 2px solid rgba(141, 198, 63, 0.25);
    padding: 24px 16px;
    margin-top: -2px;
}

.roi-banner-inner {
    max-width: var(--container-width, 1140px);
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.roi-item {
    text-align: center;
    flex: 1;
    min-width: 160px;
}

.roi-number {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #FACC15; /* solar */
    display: block;
    line-height: 1.2;
}

.roi-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.roi-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .roi-divider { display: none; }
    .roi-banner-inner { gap: 16px; }
}

/* Section 2: Eco Calculator */
.eco-calc-card {
    background: #ffffff;
    padding: 36px !important;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.eco-calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .eco-calc-grid { grid-template-columns: 1fr; gap: 28px; }
}

.eco-calc-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eco-calc-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: #f8fcf9;
    border: 1px solid #d1e7dd;
    border-radius: 18px;
    padding: 24px;
}

.eco-result-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.eco-result-icon {
    width: 50px;
    height: 50px;
    background: #198754; /* forest */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.eco-result-num {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #0E2040; /* navy */
    line-height: 1.1;
}

.eco-result-label {
    font-size: 13px;
    color: #6c757d;
}

.slider-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    outline: none;
    margin-top: 15px;
}
.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #198754;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: transform 0.1s;
}
.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* General Layout helpers */
.home-section {
    padding: 60px 20px;
    max-width: 1140px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-tag {
    display: inline-block;
    background: rgba(141,198,63,0.15);
    color: #198754;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-header h2 {
    color: #0E2040;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}
.section-desc {
    color: #6c757d;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layouts */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) {
    .calc-grid { grid-template-columns: 1fr; }
}

/* Card */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}

/* Tables */
.table-card { padding: 0 !important; overflow: hidden; }
.fuel-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.fuel-table th, .fuel-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #eee; }
.fuel-table th { background: #f8fcf9; font-weight: 700; color: #0E2040; }

.badge { padding: 4px 10px; border-radius: 30px; font-size: 11px; font-weight: 700; }
.badge-cng { background: #e8f5e9; color: #198754; }
.badge-save { background: #e8f5e9; color: #6C9A23; }
.badge-eco { background: #fff3cd; color: #856404; }

/* Specs */
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.specs-card { gap: 12px; }
.specs-icon { font-size: 28px; color: #198754; }

/* Compliance */
.compliance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.compliance-card { padding: 24px; border: 1px solid #eee; border-radius: 16px; }

/* Case Studies */
.case-studies-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 768px) { .case-studies-grid { grid-template-columns: 1fr; } }
.case-metric-box { display: flex; gap: 24px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; }
.case-metric strong { font-size: 20px; color: #0E2040; }
.case-metric span { font-size: 12px; color: #6c757d; }

/* Finance */
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 768px) { .finance-grid { grid-template-columns: 1fr; } }
.finance-list { list-style: none; padding: 0; margin: 0; }
.finance-list li { font-size: 14px; margin-bottom: 8px; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why-icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 15px; }
.why-icon-wrap.plts-theme { background: #fff3cd; color: #856404; }
.why-icon-wrap.cng-theme { background: #e8f5e9; color: #198754; }
.why-icon-wrap.navy-theme { background: #e2e8f0; color: #0E2040; }

/* Timeline */
.roadmap-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 992px) { .roadmap-timeline { grid-template-columns: 1fr; gap: 30px; } }
.roadmap-step { padding: 20px; border: 1px solid #eee; border-radius: 18px; }
.roadmap-num { width: 36px; height: 36px; background: #198754; color: #fff; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 24px; border-radius: 30px; font-weight: 600; text-decoration: none; text-align: center; }
.btn-plts { background: #FACC15; color: #000; }
.btn-cng { background: #198754; color: #fff; }
.btn-primary { background: #0E2040; color: #fff; }

/* CTA Blob */
.calc-cta-section { background: #0E2040; color: #fff; padding: 60px 20px; text-align: center; border-radius: 20px; margin: 40px auto; max-width: 1140px; position: relative; overflow: hidden; }
.calc-cta-btns { display: flex; gap: 16px; justify-content: center; margin-top: 30px; }
@media (max-width: 600px) { .calc-cta-btns { flex-direction: column; } }

/* FAQ */
.faq-icon-state { transition: transform 0.3s; }
.faq-answer { font-size: 14px; line-height: 1.6; }

/* Contact Form */
.text-input { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-family: inherit; margin-bottom: 15px; }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; }
.contact-icon-wrap { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-icon-wrap.forest { background: #e8f5e9; color: #198754; }
.contact-icon-wrap.solar { background: #fff3cd; color: #856404; }
.contact-text-label { font-size: 12px; color: #6c757d; }
.contact-text-value { font-weight: 700; color: #0E2040; }

/* Solution Images */
.solution-image-wrapper { height: 180px; margin: -24px -24px 20px -24px; border-radius: 16px 16px 0 0; overflow: hidden; }
.solution-image { width: 100%; height: 100%; object-fit: cover; }
.solution-label { display: inline-block; padding: 4px 12px; border-radius: 30px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.solution-label.plts { background: #fff3cd; color: #856404; }
.solution-label.cng { background: #e8f5e9; color: #198754; }
.solution-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.solution-bullets li { font-size: 13px; display: flex; align-items: center; gap: 8px; }

