
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  background:
    radial-gradient(circle at top left, #94a3b8, transparent 55%),
    radial-gradient(circle at bottom right, #64748b, transparent 50%),
    linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);

  color: #020617;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: 90px auto;
  padding: 0 24px;
}

/* HERO */
.role {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.role::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  border-radius: 4px;
}

.name {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 20px;
}

.subtitle {
  font-size: 1rem;
  margin-top: 8px;
}

.subtitle.strong {
  font-weight: 600;
  color: #020617;
}

/* BUTTONS */
.buttons {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  padding: 10px 22px;
  border: 1.5px solid #1e3a8a;
  border-radius: 999px;
  text-decoration: none;
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: #1e3a8a;
  color: #ffffff;
}

/* SEPARATOR */
hr {
  margin: 80px 0;
  border: none;
  border-top: 2px solid #1e3a8a;
  width: 60%;
}

/* HEADINGS */
h2 {
  font-size: 1.7rem;
  font-weight: 600;
  border-left: 5px solid #2563eb;
  padding-left: 14px;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.about-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  transition: all 0.25s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

/* PROJECTS */
.projects {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.project-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  transition: all 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.project-card p {
  margin-bottom: 14px;
}

.project-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  transition: all 0.25s ease;
  padding-bottom: 38px; 
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .role {
    font-size: 2.4rem;
  }

  .name {
    font-size: 1.5rem;
  }
}

.project-card .button {
  display: inline-block;
  margin-top: 22px;
}

/* FOOTER */
.footer {
  margin-top: 120px;
  padding: 30px 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.9),
    rgba(2, 6, 23, 0.95)
  );
  color: #e5e7eb;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-text {
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #60a5fa; /* azul suave */
}
/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {

  .container {
    margin: 50px auto;
  }

  .role {
    font-size: 2.2rem;
  }

  .name {
    font-size: 1.4rem;
  }

  .buttons {
    gap: 10px;
  }

  .button {
    padding: 9px 18px;
    font-size: 0.85rem;
  }

  h2 {
    font-size: 1.4rem;
    margin-top: 70px;
  }

  hr {
    width: 100%;
  }

  .about-card,
  .project-card {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

}
