/* ===================== */
/* BASE / GERAL */
/* ===================== */

body {
  background-color: #f5f5f5;
  font-family: 'Roboto', sans-serif;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

section {
  padding: 60px 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===================== */
/* HEADER / HERO */
/* ===================== */

.header-footer {
  color: white;
  padding: 100px 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-image: url("imagens/header-bg.jpg"); /* Banner */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero .container {
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.7)
  );
}

.header-footer .container {
  position: relative;
  z-index: 1;
}

.header-footer h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* ===================== */
/* DESCRIÇÃO */
/* ===================== */

.descricao {
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.descricao i {
  color: #a855f7;
  font-size: 1.2rem;
  margin-right: 6px;
  vertical-align: middle;
}

/* ===================== */
/* BOTÕES */
/* ===================== */

.btn {
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: #a855f7;
}

.btn-primary:hover {
  background-color: #9333ea;
}

.btn-primary:active,
.btn-primary:focus {
  background-color: #7e22ce;
}

.header-footer .btn {
  padding: 10px 20px;
  font-weight: 500;
}

.header-footer .btn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* ===================== */
/* SOBRE */
/* ===================== */

#sobre-mim p {
  line-height: 1.6;
  text-align: justify;
}

/* Foto de perfil */
.foto-perfil {
  max-width: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #a855f7;
}

/* ===================== */
/* PROJETOS */
/* ===================== */

/* Card */
.projeto-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  background-color: white;
}

.projeto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Imagem do card */
.card-img-top {
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Corpo do card */
.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.projeto-card .btn {
  width: 100%;
  border-radius: 8px;
}

/* Título secundário */
.titulo-secundario {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===================== */
/* HABILIDADES */
/* ===================== */

#habilidades {
  text-align: center;
}

#habilidades h2 {
  margin-top: 20px;
}

/* Lista de skills */
.skills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.skills img {
  transition: 0.3s;
  filter: grayscale(20%);
  margin: 5px;
}

.skills img:hover {
  transform: scale(1.1);
  filter: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===================== */
/* FOOTER */
/* ===================== */

.footer-site {
  background-color: #a855f7;
  padding: 60px 0;
  margin-top: 40px;
  text-align: center;
  background-image: none;
}

.footer-site i {
  color: #a855f7;
  margin-right: 5px;
}

/* Email */
.email-badge {
  background-color: white;
  color: gray;
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.95em;
  text-decoration: none;
  transition: background-color 0.3s;
  margin-right: 5px;
  vertical-align: middle;
}

.email-badge:hover {
  background-color: #6C3483;
  text-decoration: none;
  color: white;
}

/* Texto final do rodapé */
.rodape {
  margin-top: 50px;
}
