/* ======================= */
/* CSS OPTIMIZADO          */
/* ======================= */

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

/* Particles Canvas */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.project-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.project-buttons a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  cursor: pointer;
}
.project-buttons a.cta-primary {
  background: #00d4ff;
  color: #0a0a0a;
}
.project-buttons a.cta-primary:hover {
  background: #00b1e0;
}
.project-buttons a.cta-secondary {
  background: #ff006e;
  color: #fff;
}
.project-buttons a.cta-secondary:hover {
  background: #e6005c;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.3s;
  cursor: pointer;
}
header nav a:hover {
  color: #00d4ff;
}
.github-link i {
  margin-right: 0.3rem;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 2rem;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid #00d4ff;
}
.hero-title {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #00d4ff;
}
.hero-description {
  max-width: 700px;
  margin-bottom: 1.5rem;
}
.cta-buttons a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}
.cta-primary {
  background: #00d4ff;
  color: #0a0a0a;
}
.cta-primary:hover {
  background: #00b1e0;
}
.cta-secondary {
  background: #ff006e;
  color: #fff;
}
.cta-secondary:hover {
  background: #e6005c;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 2rem 0;
}

/* Cards Layout */
.about-grid,
.skills-grid,
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 1rem 2rem;
}

.about-card,
.skill-category,
.project-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  min-width: 280px;
  max-width: 320px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}
.about-card:hover,
.skill-category:hover,
.project-card:hover {
  transform: translateY(-5px);
}

.project-image img {
  width: 100%;
  border-radius: 0.8rem;
  height: 180px;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.skill-item,
.about-icon {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}
.skill-item i,
.about-icon i {
  margin-right: 0.5rem;
  color: #00d4ff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
}
