@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;     /* Apila verticalmente */
  align-items: center;        /* Centra horizontalmente */
  justify-content: center;    /* Centra la card */
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
}

/* Fondo con textura elegante */
body::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  opacity: 0.15;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  padding: 2rem 2rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

/* Banner */
.banner {
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  position: relative;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

/* Foto perfil */
.profile-img {
  position: relative;
  margin-top: -60px; /* Se monta sobre el banner */
}

.profile-img img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #344d6d;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
}

/* Nombre */
h1 {
  font-size: 1.6rem;
  margin: 1rem 0 0.5rem;
  color: #d3fa28;
  font-weight: 600;
  letter-spacing: 1.5px;
}

/* Descripción */
.description {
  font-size: 0.95rem;
  color: #dcdde1;
  margin-bottom: 1.5rem;
  line-height: 1.5;

}


        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            align-items: center;
            justify-content: center;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: #ddd;
            text-decoration: none;
        }

        .social-icon:hover {
            background-color: #5d90ee49;
            transform: translateY(-5px);
        }




/* Botón */
.contact-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 2.2rem;
  background: linear-gradient(135deg, #28800d, #0e5005);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s;
}

.contact-btn:hover {
  background: linear-gradient(135deg, #0d702e, #064922);
  transform: translateY(-2px);
  box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

/* Footer */
footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #bdc3c7;
  text-align: center;
  position: relative;
  z-index: 2;
}

footer a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: none;
}