/* ============================
   Battery Installation Page Styles
   Author: EnergyON Dev Theme
   ============================ */

/* Basic container */
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 28px;font-size:16px;font-weight:600;border-radius:8px;text-decoration:none;transition:all 0.3s ease}
.btn--primary{background:#e67e22;color:#fff}
.btn--secondary{background:#1e3c72;color:#fff}
.btn--ghost{background:transparent;border:1px solid rgba(0,0,0,0.07);color:#1e3c72}
.btn--link{background:none;color:#1e3c72}

/* ---------- HERO SECTION ---------- */
.solar-battery-page .hero-block {
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
    color: #0a1a3c;
}

.solar-battery-page .hero-block__overlay,
.solar-battery-page .hero-block__overlay-mob {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.solar-battery-page .hero-block__inf {
    max-width: 720px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    backdrop-filter: blur(4px);
}

.solar-battery-page .hero-block__inf h1.title {
    font-size: 2rem;
    color: #0a1a3c;
    margin-bottom: 15px;
    font-weight: 700;
}

.solar-battery-page .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2E5AAC;
    margin-bottom: 12px;
}

.solar-battery-page .hero-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.solar-battery-page .hero-location {
    font-style: italic;
    color: #6c757d;
    margin-top: 10px;
}

/* ---------- CTA BUTTONS ---------- */
.hero-block__btn {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #2E5AAC, #0061FF);
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(46,90,172,0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0061FF, #2E5AAC);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,97,255,0.3);
}

.btn-secondary {
    border: 2px solid #2E5AAC;
    color: #2E5AAC;
    background: #fff;
}

.btn-secondary:hover {
    background: #2E5AAC;
    color: #fff;
    box-shadow: 0 4px 12px rgba(46,90,172,0.25);
}

/* ---------- SERVICES SECTION ---------- */
.services-block {
    padding: 100px 0;
    background: #f9fafc;
}

.services-block h2.title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #0a1a3c;
}

.services-block__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.services-block__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #2E5AAC;
}

.services-block__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.services-block__item .inf {
    flex: 1;
    min-width: 250px;
}

.services-block__item .number {
    font-size: 1.2rem;
    color: #2E5AAC;
    font-weight: 700;
    margin-bottom: 10px;
}

.services-block__item .title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.services-block__item .caption {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.services-block__item .image img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
}

/* ---------- BATTERY OPTIONS SECTION ---------- */
.subscription-block {
    padding: 100px 0;
    background: #fff;
}

.subscription-block__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.subscription-block__box .image img {
    max-width: 420px;
    border-radius: 12px;
}

.subscription-block__box .left {
    flex: 1;
    min-width: 320px;
}

.subscription-block__box .title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a1a3c;
    margin-bottom: 25px;
}

/* Tabs */
.battery-tabs {
    display: flex;
    flex-wrap: wrap;
    background: #f1f3f9;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.battery-tab {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #2E5AAC;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.battery-tab.active {
    background: #fff;
    border-bottom-color: #2E5AAC;
    color: #0a1a3c;
}

.battery-tab:hover {
    background: #eaf0ff;
}

.battery-content {
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    padding: 35px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

.tab-content .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E5AAC;
}

.tab-content .price-caption {
    margin-bottom: 20px;
    color: #777;
    font-style: italic;
}

.tab-content .list .item {
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
    font-size: 1.05rem;
}

.tab-content .caption {
    margin-top: 20px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #2E5AAC, #0061FF);
    color: #fff;
    text-align: center;
}

.cta-section .cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section .cta-content p {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

/* ---------- EXISTING STYLES ---------- */
.why__inner{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:start;margin:48px 0}
.why__list{margin-top:16px;padding-left:18px}
.why__list li{margin-bottom:8px}
.card--elevated{background:#fff;border-radius:10px;padding:18px;box-shadow:0 8px 30px rgba(2,6,23,0.06)}

.process__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.process__item{background:#fff;padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(2,6,23,0.04);text-align:center}
.process__num{font-weight:700;color:#e67e22;margin-bottom:8px}

.testimonials__list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.testimonial{background:#fff;padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(2,6,23,0.04)}

.gallery__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.gallery__item img{width:100%;height:140px;object-fit:cover;border-radius:8px}

.faq__list{display:grid;gap:10px}
.faq-item summary{cursor:pointer;padding:12px;border-radius:8px;background:#fff}
.faq__answer{padding:12px;background:#f9fafb;border-radius:0 0 8px 8px}

/* small utility */
.muted{color:#6b7280}
.section-title{font-size:20px;color:#0f172a;margin-bottom:8px}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .solar-battery-page .hero-block {
        padding: 90px 0;
    }
    .subscription-block__box {
        flex-direction: column;
        text-align: center;
    }
    .subscription-block__box .image img {
        margin-bottom: 20px;
    }
    .services-block__item {
        flex-direction: column;
        text-align: center;
    }
    .services-block__item .image img {
        margin-top: 20px;
    }
}

@media (max-width: 900px){
    .why__inner{grid-template-columns:1fr}
    .process__grid{grid-template-columns:1fr}
    .testimonials__list{grid-template-columns:1fr}
    .gallery__grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 480px){
    .solar-battery-page .hero-block {
        padding: 60px 0;
    }
    .solar-battery-page .hero-block__inf {
        padding: 25px;
    }
    .solar-battery-page .hero-block__inf h1.title {
        font-size: 1.5rem;
    }
    .hero-block__btn {
        flex-direction: column;
    }
    .services-block,
    .subscription-block {
        padding: 60px 0;
    }
    .gallery__grid{grid-template-columns:1fr}
}
