/* Estilos para a seção de projetos e showcase */

.projects-section {
    background: linear-gradient(135deg, #0f172a, #1e293b, #0f172a);
    overflow: hidden;
    padding: 5rem 0;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.08), transparent 50%);
}

.projects-section .section-title {
    color: #f8fafc;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
    letter-spacing: 0.015em;
    font-weight: 500;
}

/* Container do showcase */
.showcase-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

/* Card de projeto */
.project-card {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    position: relative;
    z-index: 2;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(14, 165, 233, 0.3);
    border-color: rgba(14, 165, 233, 0.4);
}

/* Imagem do projeto */
.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.project-card:hover .project-screenshot {
    transform: scale(1.05);
}

/* Informações do projeto */
.project-info {
    padding: 1.8rem;
    background-color: #fff;
}

.project-title {
    margin: 0 0 0.8rem;
    font-size: 1.25rem;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.project-description {
    margin: 0 0 1.8rem;
    color: #475569;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
}

/* Botão do projeto */
.project-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border: 1px solid #0ea5e9;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(14, 165, 233, 0.2);
}

.project-button:hover {
    background-color: #0ea5e9;
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(14, 165, 233, 0.4), 0 0 20px rgba(14, 165, 233, 0.3);
    transform: translateY(-3px);
}

/* CTA da seção */
.showcase-cta {
    text-align: center;
    margin-top: 3rem;
}

.showcase-cta .hero-button {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
}

/* Animação de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar animação com delay para cada card */
.project-card:nth-child(1) {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
}

.project-card:nth-child(2) {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.4s;
}

.project-card:nth-child(3) {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.6s;
}

/* Responsividade */
@media (max-width: 768px) {
    .showcase-container {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 180px;
    }
}
