/* ===== SECCIÓN SOBRE MÍ ===== */
/* SECCIÓN SOBRE MÍ CON FONDO CLARO Y TEXTO LEGIBLE */
:root {
  --primary: #001f3f;
  --secondary: #0074D9;
  --light: #f4f4f4;
  --dark: #111;
  --white: #fff;
}

/* ====== SOBRE MÍ ====== */
#sobre-mi {
  background: linear-gradient(135deg, #0a1833, #111b3c);
  color: #fff;
  padding: 4rem 1rem;
}

.sobre-mi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: auto;
}

.sobre-mi-foto {
  flex: 1 1 280px;
  display: flex;
  justify-content: center;
}

.sobre-mi-foto img {
  width: 100%;
  max-width: 350px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: transform 0.4s ease;
}

.sobre-mi-foto img:hover {
  transform: scale(1.03);
}

.sobre-mi-texto {
  flex: 1 1 500px;
}

.sobre-mi-texto h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.sobre-mi-texto p {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #fff;
}

.sobre-mi-texto p strong{
  color: #005fa3;
  
}
.firma-imagen {
  margin-top: 2rem;
  text-align: left;
}

.firma-imagen img {
  max-width: 180px;
  display: block;
  margin-bottom: 0.3rem;
}

.firma-imagen p {
  font-size: 0.9rem;
  font-style: italic;
  color: #aaa;
}

/* Redes Sociales */
.redes-sociales {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-social {
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-social.youtube {
  background: #ff0000;
}
.btn-social.telegram {
  background: #0088cc;
}
.btn-social.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.btn-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Animación de entrada */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#sobre-mi .sobre-mi-foto,
#sobre-mi .sobre-mi-texto {
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards;
}

#sobre-mi .sobre-mi-foto {
  animation-delay: 0.2s;
}

#sobre-mi .sobre-mi-texto {
  animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
  .sobre-mi {
    flex-direction: column;
    text-align: center;
  }
  
  .firma-imagen {
    text-align: center;
  }
  
  .redes-sociales {
    justify-content: center;
  }
}
