/*
Theme Name: Site Energia Verde
Theme URI: http://energiaverdade.com.br/
Author: Arthur Las Casas
Author URI: https://sitextec.com.br
Description: Site proprietário da Energia Verde
Requires at least: 5.8
Tested up to: 5.8
Version: 1.0.0
License: Atribuição-NãoComercial-SemDerivações 4.0 Internacional
License URI: http://creativecommons.org/licenses/by-nc-nd/4.0/
Text Domain: energiaverde
Tags: bootstrap 5, lp
*/

 /* ==========================================================================
   Estilos para Single Projetos
   ========================================================================== */

/* Breadcrumb personalizado */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 1rem 0 0 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #ffffff;
}

.breadcrumb-item a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #f8f9fa;
}

/* Imagem destacada do projeto */
.project-featured-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-featured-image img {
    transition: transform 0.3s ease;
}

.project-featured-image:hover img {
    transform: scale(1.05);
}

/* Conteúdo do projeto */
.project-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.project-excerpt {
    font-style: italic;
    color: #6c757d;
    border-left: 4px solid #28a745;
    padding-left: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
}

/* Sidebar do projeto */
.project-info-box {
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.project-meta p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Botões de compartilhamento */
.social-share a {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Navegação entre projetos */
.project-navigation {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
    margin-top: 2rem;
}

.project-navigation .btn {
    padding: 0.75rem 1.5rem;
}

.project-navigation small {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Cards de projetos relacionados */
.project-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-card-image {
    overflow: hidden;
    height: 200px;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-card-title a {
    color: #2c3e50;
    font-weight: 600;
}

.project-card-title a:hover {
    color: #28a745;
}

.project-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Seção de projetos relacionados */
.related-projects {
    border-top: 1px solid #e9ecef;
}

.related-projects .block-title h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .project-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-navigation .text-end {
        text-align: center !important;
    }
    
    .social-share {
        text-align: center;
    }
    
    .project-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .project-card-image {
        height: 150px;
    }
    
    .social-share a {
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}
