
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: radial-gradient(circle at top, #1a012f, #0f172a);
  color: white;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.navbar h2 {
  color: #ff4d9d;
  text-shadow: 0 0 10px #ff4d9d;
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.navbar a {
  color: white;
  text-decoration: none;
  position: relative;
}

.navbar a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #ff4d9d;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}


.hero {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle, #ff4d9d22, transparent);
  padding: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  color: #ff4d9d;
  text-shadow: 0 0 20px #ff4d9d;
}

.hero p {
  margin-top: 10px;
  opacity: 0.8;
}

/* BOTONES 🔥 */
.botones {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  background: linear-gradient(45deg, #ff4d9d, #6366f1);
  box-shadow: 0 0 15px #ff4d9d88;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.2);
  transition: 0.4s;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 25px #ff4d9d;
}


.btn-outline {
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #ff4d9d;
  color: #ff4d9d;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  background: #ff4d9d;
  z-index: -1;
  transition: 0.4s;
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-outline:hover {
  color: black;
  transform: scale(1.05);
}


.section {
  padding: 80px 20px;
  text-align: center;
}


.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px;
  margin: 20px auto;
  border-radius: 20px;
  max-width: 600px;
  backdrop-filter: blur(15px);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px #ff4d9d55;
}


.foto {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #ff4d9d;
  object-fit: cover;
}


.tag {
  display: inline-block;
  background: #ff4d9d;
  padding: 8px 15px;
  border-radius: 20px;
  margin: 5px;
  font-size: 0.9rem;
  color: black;
  font-weight: bold;
}


.grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.proyecto {
  width: 280px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  transition: 0.4s;
}

.proyecto:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #ff4d9d;
}


.contacto-card a {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  background: #ff4d9d;
  border-radius: 10px;
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.contacto-card a:hover {
  background: #ff1f7a;
  transform: scale(1.1);
}

footer {
  text-align: center;
  padding: 30px;
  opacity: 0.6;
}


.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* BOTÓN VOLVER ARRIBA */
#btnTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(45deg, #ff4d9d, #6366f1);
  color: white;
  border: none;
  padding: 15px 18px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 15px #ff4d9d88;
  transition: 0.3s;
  z-index: 999;
}

#btnTop:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px #ff4d9d;
}