/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Cabeçalho */
header {
  background-color: #1f1f2e;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header .perfil {
  border-radius: 50%;
  border: 3px solid #fff;
  margin-right: 20px;
}

.perfil-info {
  flex-grow: 1;
}

.perfil-info h2 {
  margin-bottom: 5px;
  font-size: 1.8rem;
}

.perfil-info p {
  font-size: 1rem;
  color: #aaa;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #00c3ff;
}

/* Container principal */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.sobre {
  text-align: center;
  margin-bottom: 60px;
}

.sobre h1 {
  font-size: 2rem;
  color: #1f1f2e;
  margin-bottom: 15px;
}

.projetos h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1f1f2e;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1f1f2e;
}

.project-card p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
  flex-grow: 1;
  white-space: pre-line; /* permite quebras de linha com \n */
}

.project-card .btn {
  display: inline-block;
  width: fit-content;
  padding: 10px 18px;
  background-color: #00c3ff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.project-card .btn:hover {
  background-color: #1114ca;
}


/* Seção de Contato */
.contato-section {
  background-color: #eaeaea;
  padding: 60px 20px;
  text-align: center;
}

.contato-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1f1f2e;
}

.contato-section p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.social-buttons nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.social-buttons a {
  color: #1f1f2e;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-buttons a:hover {
  color: #00c3ff;
}

.social-buttons img {
  width: 24px;
  height: 24px;
}

/* Rodapé */
footer {
  background-color: #1f1f2e;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
  font-size: 0.9rem;
}

/* Responsivo */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .perfil-info {
    margin-top: 15px;
  }
}
