/* ==========================================
   BLOCO 1: SEÇÃO PRINCIPAL DOS DESENVOLVEDORES
   Responsabilidade: Container principal com fundo e espaçamento
   ========================================== */

.developers-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* ==========================================
   BLOCO 2: TÍTULO DA SEÇÃO
   Responsabilidade: Estilizar o título principal
   ========================================== */

.developers-section h2 {
    text-align: center;
    color: #0B3D91;
    font-size: 32px;
    margin-bottom: 40px;
}

/* ==========================================
   BLOCO 3: CONTAINER DO GRID
   Responsabilidade: Layout em grid para os cards
   ========================================== */

.developers-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ==========================================
   BLOCO 4: CARDS DOS DESENVOLVEDORES
   Responsabilidade: Estilizar os cards individuais com hover
   ========================================== */

.developer-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.developer-card:hover {
    transform: translateY(-10px);
}

/* ==========================================
   BLOCO 5: IMAGEM DO DESENVOLVEDOR
   Responsabilidade: Estilizar a foto circular
   ========================================== */

.developer-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    margin-bottom: 20px;
    border: 4px solid #e6f7ff;
}

/* ==========================================
   BLOCO 6: NOME DO DESENVOLVEDOR
   Responsabilidade: Estilizar o título h3
   ========================================== */

.developer-card h3 {
    color: #0B3D91;
    font-size: 22px;
    margin-bottom: 10px;
}

/* ==========================================
   BLOCO 7: DESCRIÇÃO DO DESENVOLVEDOR
   Responsabilidade: Estilizar o parágrafo de descrição
   ========================================== */

.developer-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ==========================================
   BLOCO 8: CONTAINER DOS LINKS
   Responsabilidade: Layout flex para os links sociais
   ========================================== */

.developer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ==========================================
   BLOCO 9: LINKS INDIVIDUAIS
   Responsabilidade: Estilizar os botões circulares dos links
   ========================================== */

.developer-links a {
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    flex-direction: initial;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 5px;
}

/* ==========================================
   BLOCO 10: TEXTO DOS LINKS (OCULTO NO PC)
   Responsabilidade: Controlar visibilidade do texto
   ========================================== */

.developer-links a span {
    display: none;
}

/* ==========================================
   BLOCO 11: ESTILOS ESPECÍFICOS POR REDE SOCIAL
   Responsabilidade: Cores específicas para cada plataforma
   ========================================== */

/* LinkedIn */
.developer-links a[href*="linkedin"] {
    text-align: center;
    align-items: center;
    background-color: #0077b5;
    color: white;
}

.developer-links a[href*="linkedin"]:hover {
    background-color: #005885;
    transform: scale(1.1);
}

/* Github */
.developer-links a[href*="github"] {
    background-color: #333;
    color: white;
}

.developer-links a[href*="github"]:hover {
    background-color: #24292e;
    transform: scale(1.1);
}

/* Instagram */
.developer-links a[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.developer-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #e0852d 0%, #d65a34 25%, #c9253b 50%, #b91f5a 75%, #a9167e 100%);
    transform: scale(1.1);
}

/* Site */
.developer-links a[href*="portifolio"] {
    background-color: #0B3D91;
    color: white;
}

.developer-links a[href*="portifolio"]:hover {
    background-color: #072a66;
    transform: scale(1.1);
}

/* ==========================================
   BLOCO 12: RESPONSIVIDADE TABLET
   Responsabilidade: Adaptação para telas médias
   ========================================== */

@media (max-width: 992px) {
    .developers-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   BLOCO 13: RESPONSIVIDADE MOBILE
   Responsabilidade: Adaptação para smartphones
   ========================================== */

@media (max-width: 768px) {
    .developers-section h2 {
        font-size: 28px;
    }

    .developer-card {
        padding: 20px;
    }

    .developer-card img {
        width: 100px;
        height: 100px;
    }

    .developer-links {
        flex-direction: column;
        gap: 10px;
    }

    .developer-links a {
        width: 100%;
        height: 40px;
        border-radius: 5px;
        font-size: 18px;
        margin: 0;
        justify-content: flex-start;
        padding-left: 15px;
    }

    .developer-links a span {
        display: inline;
    }
}
