/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Sora', sans-serif;
  background-color: #000;
  color: #7700ff;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Contenedor de proyectos */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  flex-grow: 1;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tarjetas de proyecto */
.project-card {
  background-color: #7700ff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(119, 0, 255, 0.2);
  color: #000000;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05) rotateX(2deg);
  box-shadow: 0 10px 30px rgba(119, 0, 255, 0.5);
}

.project-card .project-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.project-card pre {
  background-color: #000000;
  color: #ffffff;
  padding: 1rem;
  border-radius: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #7700ff;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-content .socials {
  display: flex;
  gap: 1rem;
}

.footer-content .socials img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(19%) sepia(95%) saturate(7474%) hue-rotate(272deg) brightness(93%) contrast(101%);
  transition: transform 0.3s ease;
}

.footer-content .socials img:hover {
  transform: scale(1.2) rotate(5deg);
}

@media (max-width: 600px) {

   }
  .projects-section {
  padding: 3rem 1rem;
  color: #e6dbff;
  text-align: center;
}

.projects-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #b491f6;
  font-weight: bold;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.project-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(180, 140, 250, 0.2);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(180, 140, 250, 0.4);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-content {
  padding: 1rem;
}

.project-content h3 {
  color: #d0bfff;
  margin: 0.5rem 0;
}

.project-content p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.tech-stack {
  font-size: 0.85rem;
  color: #bca9f7;
  margin-bottom: 0.7rem;
}

.project-links a {
  margin: 0 0.5rem;
  color: #b491f6;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.project-links a:hover {
  color: #e1d5ff;
}
.alert-dev {
  width: 100%;
  background: linear-gradient(90deg, #7700ff 80%, #b491f6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 16px #7700ff33;
  justify-content: center;
  margin-bottom: 2rem;
  z-index: 1000;
}

.alert-gif {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}
/* Responsive para la alerta de desarrollo */
@media (max-width: 600px) {
  .alert-dev {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 0.7rem 1rem;
    text-align: center;
  }
  .alert-gif {
    width: 32px;
    height: 32px;
  }
}