/* RESET GERAL */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #3a0216;
    color: #fae5ec;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    color: #fae5ec;
}

/* CABEÇALHO */
header {
    background-color: #3a0216;
    color: #fae5ec;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
}

header img {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* Responsivo */
@media (max-width: 768px) {
    header img {
        width: 100px;
        height: 100px;
    }
}

header h1 {
    font-size: 24px;
    margin-top: 10px;
}

header h2 {
    font-size: 15px;
    font-weight: 300;
    margin-top: 5px;
}

/* MENU */
nav {
    background-color: #fae5ec;
    padding: 10px 0;
    width: 100%;
    margin: 40px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: #3a0216;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    padding: 10px 20px;
}

nav ul li a:hover {
    color: #d690a7;
}

.sobre-mim {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    background-color: #3a0216;
    box-shadow: 0 4px 6px #fae5ec;
    font-size: 14px;
    text-align: justify;
    font-weight: 700;
    flex-direction: row;
}

.formacao-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .sobre-mim {
        flex-direction: column;
        text-align: center;
    }

    .formacao-img {
        margin-bottom: 20px;
    }
}

/* SESSÕES */
.section {
    padding: 60px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 100;
    text-align: center;
    background-color: #3a0216;
}

.section p {
    font-size: 18px;
    text-align: justify;
}

/* Responsivo: diminuir fonte no mobile */
@media (max-width: 768px) {
    .section p {
        font-size: 16px;
    }
}

/* IMAGENS */
.acao-img, .formacao-img {
    width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acao-img:hover, .formacao-img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* HABILIDADES */
.habilidade-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 5px;
    object-fit: contain;
    background-color: #fff;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.habilidade-img:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* FORMAÇÃO */
.formacao-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: start;
}

.formacao h2, .formacao h4, .cursos h4 {
    font-weight: 300;
    text-align: justify;
}

/* CURSOS COM FUNDO */
#cursos {
    position: relative;
    padding: 20px;
    color: #fae5ec;
}

#cursos .container {
    position: relative;
    z-index: 2;
}

#cursos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/im.avif');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

/* BOTÕES */
.whatsapp-button, .link-button {
    background-color: #fae5ec;
    color: #3a0216;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.whatsapp-button:hover, .link-button:hover {
    background-color: #d690a7;
}

/* Responsividade para telas pequenas */
@media (max-width: 400px) {
    .whatsapp-button,
    .link-button {
      width: 80%;
      padding: 20px 26px;
      font-size: 0.6rem;
    
    }
  }


  .link-button {
    background-color: #3a0216; /* azul chamativo */
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.link-button:hover {
    background-color: #d690a7; /* tom mais escuro no hover */
}


/* PROJETOS */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.projeto-item {
    background-color: #fae5ec;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: #3a0216;
}

.projeto-item img {
    width: 100%;
    border-radius: 8px;
}

.projeto-item h1, 
.projeto-item h2, 
.projeto-item h3, 
.projeto-item h4 {
    margin: 10px 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.projeto-item h4 {
    color: #3a0216;
}

/* CONTATO */
.contato {
    text-align: center;
    padding: 40px 0;
    background-color: #3a0216;
}

.icons-contato a {
    color: #fae5ec;
    text-decoration: none;
    font-size: 24px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.icons-contato a:hover {
    color: #d690a7;
}

/* RODAPÉ */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    text-align: center;
  }
  
  .footer-text {
    color: #fae5ec;
    font-size: 12px;
    font-family: 'Sans-serif';
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  
  /* Ícone do WhatsApp */
  .whatsapp-link {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .whatsapp-link i {
    font-size: 15px;
    color: #fae5ec;
    display: inline-block;
  }
  
  /* Responsivo para telas menores */
  @media (max-width: 600px) {
    .footer-text {
      font-size: 14px;
      flex-direction: column;
      gap: 6px;
    }
  
    .footer-content {
      padding: 16px 10px;
    }
  
    .whatsapp-link i {
      font-size: 18px;
    }
  
    .whatsapp-link {
      flex-direction: row;
      justify-content: center;
      align-items: center;
    }
  }
  





@media (max-width: 500px) {
    nav ul {
        gap: 6px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .acao-img {
        max-width: 120px;
    }
}

@media (max-width: 200px) {
    nav ul {
        gap: 1px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .acao-img {
        max-width: 120px;
    }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .formacao-container {
        flex-direction: column;
        align-items: center;
    }

    .sobre-mim {
        flex-direction: column;
        text-align: center;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
    }

    .habilidade-img {
        margin: 5px auto;
    }
}



