/* ====== Reset básico ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ====== Configuração base ====== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #eb98a3;
  color: #69131a;
  line-height: 1.6;
}

/* ====== Navbar ====== */
header {
  background-color: #5e0505;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

.navbar a {
  color: #f5d8e0;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.navbar a:hover {
  color: #df9b9b;
  transform: scale(1.1);
}

/* ====== Hero Section ====== */
.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  background: linear-gradient(180deg, #e07076 0%, #ffe6ec 100%);
}

.hero h1 {
  font-family: 'Pacifico', cursive;
  color: #640707;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  color: #5e1c2d;
  margin-top: 1rem;
}

.hero-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #d1476b;
  margin-top: 1rem;
  box-shadow: 0 5px 20px rgba(209, 71, 107, 0.3);
  transition: transform 0.3s ease;
}

.hero-photo:hover {
  transform: scale(1.05);
}

/* ====== Seção Sobre ====== */
.about {
  padding: 5rem 2rem;
  text-align: center;
  background-color: #fd9090;
}

.about h2 {
  font-family: 'Pacifico', cursive;
  color: #7a0918;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 700px;
  margin: 0 auto 1rem;
  color: #62233a;
  font-size: 1.1rem;
}

/* ====== Projetos ====== */
.projects {
  background-color: #f8cece;
  padding: 5rem 2rem;
  text-align: center;
}

.projects h2 {
  font-family: 'Pacifico', cursive;
  color: #770d0d;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.project-card {
  background-color: #faa2a2;
  border: 2px solid #8b1919;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 320px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(209, 71, 107, 0.15);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(209, 71, 107, 0.25);
}

.project-card img {
  width: 100%;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}

.project-card h3 {
  color: #a0183f;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.95rem;
  color: #62233a;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  background-color: #97252b;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.project-card a:hover {
  background-color: #860e0e;
  transform: translateY(-2px);
}

/* ====== Skills Section ====== */
.skills {
  background-color: #fff0f5;
  text-align: center;
  padding: 5rem 2rem;
  color: #831717;
}

.skills h2 {
  font-family: 'Pacifico', cursive;
  color: #770d0d;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.skills p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #62233a;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.skill-card {
  background-color: #ffe6ec;
  border: 2px solid #d1476b;
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  color: #a0183f;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.skill-card:hover {
  background-color: #851616;
  color: #fff;
  transform: scale(1.05);
}

/* Botão de download */
.download-btn {
  display: inline-block;
  background-color: #d14747;
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.download-btn:hover {
  background-color: #991722;
  transform: translateY(-3px);
}

/* ====== Contato ====== */
.contact {
  background-color: #b86161;
  text-align: center;
  padding: 5rem 2rem;
}

.contact h2 {
  font-family: 'Pacifico', cursive;
  color: #660707;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact p {
  color: #62233a;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: #500e0e;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background-color: #a0183f;
  transform: translateY(-3px);
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  margin: 0 1rem;
  color: #5e060b;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  color: #961e1e;
}

/* ====== Rodapé ====== */
footer {
  background-color: #fff0f5;
  text-align: center;
  padding: 1.5rem;
  color: #a0183f;
  font-size: 0.9rem;
  border-top: 2px solid #ffe6ec;
}
