* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #fcfeff 0%, #9bc6ff 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Container principal */
.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    gap: 40px;
    min-height: 100vh;
}

/* Seção de Perfil */
.profile-section {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.profile-image {
    margin-bottom: 20px;
    perspective: 1000px; /* necessário para efeito 3D */
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

/*
.profile-image {
    margin-bottom: 20px;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}
*/

.profile-name {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.profile-description {
    font-size: 1.1em;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Redes Sociais */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
}

.social-link.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.social-link.github {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Botões de Ação */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-btn {
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.course-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.template-btn {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.mentoring-btn {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Seção de Projetos */
.projects-section {
    flex: 1;
    padding: 20px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 100%;
}

/* Cards de Projeto */
.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none; /* Adicionado para remover sublinhado dos links */
    color: inherit; /* Adicionado para herdar a cor do texto */
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: height 0.3s ease;
}

.project-card[data-color="blue"]::before {
    background: linear-gradient(90deg, #4A90E2, #357ABD);
}

.project-card[data-color="pink"]::before {
    background: linear-gradient(90deg, #E91E63, #C2185B);
}

.project-card[data-color="green"]::before {
    background: linear-gradient(90deg, #4CAF50, #388E3C);
}

.project-card[data-color="purple"]::before {
    background: linear-gradient(90deg, #9C27B0, #7B1FA2);
}

.project-card[data-color="orange"]::before {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.project-card[data-color="teal"]::before {
    background: linear-gradient(90deg, #009688, #00796B);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card:hover::before {
    height: 8px;
}

.project-icon {
    margin-bottom: 15px;
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.project-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.project-description {
    color: #7f8c8d;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Rodapé */
.footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
}

.footer p {
    color: #7f8c8d;
    font-size: 0.85em;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .profile-section {
        flex: none;
        position: static;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .profile-card {
        padding: 30px 20px;
    }
    
    .profile-name {
        font-size: 1.8em;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .profile-image img {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 1.6em;
    }
    
    .action-btn {
        padding: 10px 15px;
        font-size: 0.85em;
    }
    
    .project-title {
        font-size: 1.2em;
    }
    
    .project-description {
        font-size: 0.9em;
    }
}

/* Animações */
@keyframes fadeInUpSmooth {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.90);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.project-card {
    opacity: 0; /* começa invisível */
    animation: fadeInUpSmooth 0.8s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }


/* Efeitos de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estilos para a página de projeto individual */
.project-detail-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-detail-header {
    text-align: center;
    margin-bottom: 30px;
}

.project-detail-header h1 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.project-detail-header p {
    font-size: 1.2em;
    color: #7f8c8d;
}

.project-detail-content ul {
    margin: 1rem 0;
    padding-left: 1.2rem; /* controla o recuo da lista */
    font-size: inherit;   /* mesma fonte do parágrafo */
    line-height: 1.6;     /* igual ao p */
    color: inherit;       /* mesma cor do texto */
}

.project-detail-content li {
    margin-bottom: 0.5rem; /* espaço entre itens */
}


.project-detail-content h2 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.project-detail-content p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.project-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-images img:hover {
    transform: scale(1.03);
}

/* Estilos para o banner do projeto */
.project-images-banner {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-images-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Adiciona o cursor de ponteiro a todas as imagens com zoom */
.zoomable {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zoomable:hover {
    transform: scale(1.03); /* Efeito de hover para todas as imagens com zoom */
}

/* Modal para o zoom da imagem */
.zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.zoom-modal.show {
    opacity: 1;
    visibility: visible;
}

.zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}


.project-links {
    margin-top: 30px;
}

.project-links a {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.project-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    background: #f0f0f0;
    color: #333;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



.project-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.project-footer-actions .back-button {
    margin-top: 0;
}

.project-footer-actions .github-btn {
    background: linear-gradient(135deg, #00a1b6, #004e9c);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-footer-actions .github-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

