/**
 * ==========================================================================
 * EASYECONTECH - O QUE ENTREGAMOS (PROJETOS ENTREGUES)
 * ==========================================================================
 *
 * Estilos do módulo público "O que entregamos?", reaproveitando os tokens
 * glassmorphism já usados em .section-glass-dark / .content-glass.
 */

/* ==========================================================================
   1. CARD DO PROJETO
   ========================================================================== */

.projeto-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.projeto-card:hover {
    transform: translateY(-4px);
    border-color: rgba(53, 244, 178, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.projeto-card__body {
    padding: 2rem;
}

.projeto-card__titulo {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.projeto-card__descricao {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Metadados: cliente, data, LinkedIn */
.projeto-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.projeto-card__meta i {
    color: #35f4b2;
    margin-right: 0.4rem;
}

.projeto-card__linkedin,
.projeto-card__link {
    color: #35f4b2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.projeto-card__linkedin:hover,
.projeto-card__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* O link do projeto é a ação principal do card: recebe contorno para
   se destacar do LinkedIn, que é secundário. */
.projeto-card__link {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(53, 244, 178, 0.55);
    border-radius: 999px;
}

.projeto-card__link:hover {
    background: rgba(53, 244, 178, 0.12);
    border-color: #35f4b2;
    text-decoration: none;
}

/* ==========================================================================
   2. BADGE DE CATEGORIA
   ========================================================================== */

.projeto-categoria {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(53, 244, 178, 0.12);
    border: 1px solid rgba(53, 244, 178, 0.4);
    color: #35f4b2;
}

/* ==========================================================================
   3. TAGS DE TECNOLOGIA (verde outline)
   ========================================================================== */

/* Fundo transparente de propósito: é o que separa a tag da badge de
   categoria, que usa o mesmo verde mas com fundo levemente preenchido. */
.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    margin: 0 0.4rem 0.5rem 0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(53, 244, 178, 0.55);
    color: #35f4b2;
    white-space: nowrap;
}

.tech-tag__remove {
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    font-size: 1rem;
}

.tech-tag__remove:hover {
    opacity: 1;
    color: #ffffff;
}

/* ==========================================================================
   4. CARROSSEL DE FOTOS
   ========================================================================== */

.projeto-carousel {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.projeto-carousel .carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.projeto-carousel .carousel-control-prev-icon,
.projeto-carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    padding: 1.1rem;
    background-size: 45%;
}

.projeto-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.projeto-carousel .carousel-indicators .active {
    background-color: #35f4b2;
}

/* Placeholder quando o projeto não tem foto cadastrada */
.projeto-carousel__vazio {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 3rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
}

/* ==========================================================================
   5. BOTÃO "VER MAIS"
   ========================================================================== */

.btn-ver-mais {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 2.2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: #000000;
    background: linear-gradient(90deg, #35f4b2 0%, #2dd4a0 100%);
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-ver-mais:hover {
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(53, 244, 178, 0.35);
}

/* ==========================================================================
   6. FILTRO POR CATEGORIA (página dedicada)
   ========================================================================== */

.projeto-filtro {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.1rem;
    margin: 0 0.5rem 0.75rem 0;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.projeto-filtro:hover {
    color: #ffffff;
    border-color: rgba(53, 244, 178, 0.5);
}

.projeto-filtro.is-active {
    color: #000000;
    background: linear-gradient(90deg, #35f4b2 0%, #2dd4a0 100%);
    border-color: transparent;
}

/* ==========================================================================
   7. RESPONSIVO
   ========================================================================== */

@media (max-width: 768px) {
    .projeto-card__body {
        padding: 1.35rem;
    }

    .projeto-card__titulo {
        font-size: 1.3rem;
    }

    .projeto-carousel .carousel-item img {
        height: 240px;
    }

    .projeto-card__meta {
        gap: 0.75rem;
        font-size: 0.875rem;
    }
}
