/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #FAF9F6;
  color: #333333;
  line-height: 1.6;
}

/* Header e Navegação */
header {
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 1.9rem;
  font-weight: 700;
  color: #5C7AEA;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #FF87AB;
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #5C7AEA;
  cursor: pointer;
}

/* Seção Home */
#home {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(92, 122, 234, 0.1), rgba(255, 135, 171, 0.1));
}

#home h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #5C7AEA;
  margin-bottom: 1.5rem;
}

#home p {
  font-size: 1.4rem;
  color: #333333;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #FF87AB;
  color: #fff;
  padding: 1rem 3rem;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 135, 171, 0.3);
}

.cta-button:hover {
  background-color: #FFD700;
  color: #333333;
  transform: scale(1.05);
}

/* Seção Blog */
.section {
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #5C7AEA, #FF87AB);
  border-radius: 20px 20px 0 0;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 1.6rem;
  color: #5C7AEA;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 1.5rem;
}

.card a {
  color: #FF87AB;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.card a:hover {
  color: #FFD700;
}

/* Seção Recursos */
.resources-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  text-align: center;
}

.resource-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.resource-item:hover {
  transform: translateY(-5px);
}

.resource-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.resource-item h3 a {
  color: #5C7AEA;
  text-decoration: none;
  font-weight: 500;
}

.resource-item p {
  color: #333333;
  font-size: 1rem;
}

/* Seção Sobre Mim */
#about {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, rgba(255, 135, 171, 0.05), #FAF9F6);
  text-align: center;
}

#about h2 {
  font-size: 2.5rem;
  color: #5C7AEA;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#about p {
  font-size: 1.3rem;
  color: #333333;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

#about p:hover {
  transform: scale(1.02);
}

/* Seção Redes Sociais */
#social-media {
  padding: 4rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 25px;
  max-width: 1000px;
  margin: 0 auto 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#social-media h2 {
  font-size: 2.5rem;
  color: #333333;
  font-weight: 700;
  margin-bottom: 1rem;
}

#social-media p {
  font-size: 1.2rem;
  color: #333333;
  margin-bottom: 2.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.social-icons a {
  color: #5C7AEA;
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF9F6;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
  background: #FF87AB;
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 135, 171, 0.3);
}

/* Footer */
footer {
  background-color: #333333;
  color: #FAF9F6;
  text-align: center;
  padding: 2rem;
  font-size: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .navbar {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .menu-toggle {
    display: block;
  }

  #home {
    padding: 4rem 1rem;
  }

  #home h2 {
    font-size: 2.2rem;
  }

  #home p {
    font-size: 1.2rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 1rem;
  }

  #about h2, #social-media h2 {
    font-size: 2rem;
  }

  #about p, #social-media p {
    font-size: 1.1rem;
  }

  .social-icons a {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
  }
}