/* ================================================================
   PAGINA PROIECT INDIVIDUAL
   ================================================================ */

/* Hero */
.proiect-hero {
    padding: 65px 0 0;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}
.min-vh-40 { min-height: 40vh; }

.breadcrumb-dark .breadcrumb-item a { color: rgba(255,255,255,.6); }
.breadcrumb-dark .breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* KPI hero (putere kWp) */
.proiect-kpi-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: var(--radius);
    padding: 1.25rem 2rem;
}
.pkh-item { text-align: center; color: #000; }
.pkh-val  { font-size: 3rem; font-weight: 900; line-height: 1; display: block; }
.pkh-unit { font-size: 1rem; font-weight: 700; opacity: .7; }

/* Galerie */
.proiect-gallery { position: relative; }
.proiect-main-img {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    opacity: 0;
    transition: all .25s;
    border-radius: var(--radius);
}
.proiect-main-img:hover .gallery-zoom-overlay {
    background: rgba(0,0,0,.4);
    opacity: 1;
}

.proiect-thumbs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.proiect-thumb {
    display: block;
    width: 80px; height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border-color .2s;
    flex-shrink: 0;
}
.proiect-thumb.active { border-color: var(--primary); }
.proiect-thumb:hover  { border-color: var(--primary); }
.proiect-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Descriere text */
.proiect-descriere h4 { color: var(--dark); font-weight: 700; }
.proiect-text {
    font-size: .95rem;
    line-height: 1.8;
    color: #444;
}

/* Specificatii card */
.proiect-specs-card,
.proiect-economii {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    overflow: hidden;
}
.psc-header {
    background: var(--dark);
    color: #fff;
    padding: .85rem 1.5rem;
    font-weight: 700;
    font-size: .95rem;
}
.psc-header i { color: var(--primary); }
.psc-body { padding: 1rem 1.5rem; }

.psc-table td {
    padding: .6rem .5rem;
    font-size: .9rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.psc-table tr:last-child td { border-bottom: none; }

/* Economii */
.eco-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem .5rem;
}
.eco-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
}
.eco-lbl {
    font-size: .75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.eco-item.eco-green .eco-val { color: #27ae60; }
.bg-solar { background: var(--gradient) !important; }

/* CTA lateral */
.proiect-cta-card {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: #fff;
    text-align: center;
}
.proiect-cta-card p { color: rgba(255,255,255,.8); font-size: .95rem; }
.btn-outline-solar {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: all .2s;
}
.btn-outline-solar:hover {
    background: var(--gradient);
    color: #000;
    border-color: transparent;
}
