body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f9f9f9;
  color: #222;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.navbar {
  background: #222;
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.3s;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.nav-links a:hover {
  color: #00bfae;
  border-bottom: 2px solid #00bfae;
}
.hero {
  background: linear-gradient(120deg, #00bfae 0%, #00796b 100%);
  color: #fff;
  padding: 7rem 0 3rem 0;
  text-align: center;
  min-height: 350px;
  display: flex;
  align-items: center;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.profile-pic-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-pic {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  background: #eee;
  transition: transform 0.3s;
}
.profile-pic:hover {
  transform: scale(1.05) rotate(-2deg);
}
.hero-text {
  text-align: left;
  min-width: 220px;
}
.hero h1 {
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
  letter-spacing: 1px;
  animation: fadeInDown 1s;
}
.hero p {
  font-size: 1.2rem;
  margin: 0;
  animation: fadeInUp 1.2s;
}
.sobre, .projetos, .contato {
  padding: 3rem 0;
  margin-top: 2rem;
}
.sobre h2, .projetos h2, .contato h2 {
  color: #00796b;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.projetos-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.projeto-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  padding: 1.5rem;
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.projeto-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,191,174,0.13);
}
.projeto-card h3 {
  margin: 0 0 0.5rem 0;
}
.projeto-card a {
  color: #00bfae;
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  transition: color 0.2s;
}
.projeto-card a:hover {
  text-decoration: underline;
  color: #00796b;
}
.projeto-img {
  width: 100%;
  border-radius: 8px 8px 0 0;
  max-height: 160px;
  object-fit: cover;
  margin-bottom: 0.5rem;
  background: #eee;
}
#form-contato {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s;
}
#form-contato input, #form-contato textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border 0.2s;
}
#form-contato input:focus, #form-contato textarea:focus {
  border: 1.5px solid #00bfae;
  outline: none;
}
#form-contato button {
  background: #00bfae;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
#form-contato button:hover {
  background: #00796b;
  transform: scale(1.04);
}
.info-contato p, .info-contato a {
  color: #222;
  margin: 0.2rem 0;
}
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  letter-spacing: 1px;
}
@media (max-width: 800px) {
  .projetos-lista {
    flex-direction: column;
    gap: 1.5rem;
  }
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .hero-text {
    text-align: center;
  }
}

/* Espaço para compensar navbar fixa */
.hero, .sobre, .projetos, .contato {
  scroll-margin-top: 80px;
}

/* Transições suaves */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animações keyframes */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
} 