/* ===== ESTILOS GENERALES ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #0f0f0f, #1a1a2e);
  color: white;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ===== CABECERA ===== */
.cabecera {
  text-align: center;
  padding: 30px 0;
  background-color: rgba(0, 0, 0, 0.7);
  border-bottom: 2px solid #f9a825;
}

.cabecera h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #f9a825;
  text-transform: uppercase;
}

.cabecera nav {
  margin-top: 20px;
}

.cabecera nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.cabecera nav a:hover {
  background-color: #f9a825;
  color: #1a1a1a;
}

/* ===== CONTENIDO PRINCIPAL ===== */
.contenido-principal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== SECCIÓN DE PERFIL ===== */
.seccion-perfil {
  margin-bottom: 40px;
  text-align: center;
}

.centro-boton {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.boton-perfil {
  display: inline-block;
  color: white;
  background-color: #1a1a1a;
  border: 2px solid #f9a825;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 25px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.boton-perfil:hover {
  background-color: #f9a825;
  color: #1a1a1a;
  transform: translateY(-3px);
}

.contenedor-imagen {
  margin: 20px auto;
  max-width: 800px;
  border: 3px solid #f9a825;
  border-radius: 10px;
  overflow: hidden;
}

.imagen-principal {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.imagen-principal:hover {
  transform: scale(1.02);
}

.info-personal {
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
  font-size: 1.1rem;
  background-color: rgba(26, 26, 26, 0.7);
  padding: 20px;
  border-radius: 10px;
}

.info-personal h2 {
  color: #f9a825;
  margin-top: 0;
}

.info-personal a {
  color: #f9a825;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-personal a:hover {
  color: white;
  text-decoration: underline;
}

.stats-cs2 {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
  flex-wrap: wrap;
}

.stat-item {
  background-color: rgba(249, 168, 37, 0.1);
  padding: 15px;
  border-radius: 8px;
  min-width: 150px;
  margin: 10px;
  border-left: 4px solid #f9a825;
}

.stat-item h3 {
  margin-top: 0;
  color: #f9a825;
}

.stat-item p {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* ===== GALERÍA DE IMÁGENES ===== */
.seccion-galeria {
  margin-bottom: 40px;
}

.seccion-galeria h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #f9a825;
  text-transform: uppercase;
}

.contenedor-galeria {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.item-galeria {
  width: 180px;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.item-galeria:hover {
  transform: scale(1.05);
  border-color: #f9a825;
}

.item-galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SECCIÓN DE HOBBIES ===== */
.seccion-hobbies {
  margin-bottom: 40px;
}

.seccion-hobbies h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #f9a825;
  text-transform: uppercase;
}

.contenedor-hobbies {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(26, 26, 26, 0.7);
  padding: 20px;
  border-radius: 10px;
}

.lista-hobbies {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.lista-hobbies li {
  background-color: rgba(249, 168, 37, 0.1);
  margin-bottom: 15px;
  padding: 15px;
  border-left: 4px solid #f9a825;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.lista-hobbies li:hover {
  background-color: rgba(249, 168, 37, 0.2);
  transform: translateX(10px);
}

/* ===== SECCIÓN DE CONTACTO ===== */
.seccion-contacto {
  margin-bottom: 40px;
}

.seccion-contacto h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #f9a825;
  text-transform: uppercase;
}

.formulario-contacto {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(26, 26, 26, 0.7);
  padding: 30px;
  border-radius: 10px;
}

.grupo-formulario {
  margin-bottom: 20px;
}

.grupo-formulario label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.grupo-formulario input,
.grupo-formulario select,
.grupo-formulario textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #444;
  background-color: #333;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.grupo-formulario textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== PIE DE PÁGINA ===== */
.pie-pagina {
  text-align: center;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.7);
  margin-top: 60px;
  font-size: 0.9rem;
  border-top: 1px solid #f9a825;
}

.pie-pagina p {
  margin: 5px 0;
}

/* ===== DISEÑO RESPONSIVE ===== */
@media screen and (max-width: 768px) {
  .cabecera h1 {
      font-size: 2rem;
  }
  
  .contenedor-galeria {
      gap: 15px;
  }
  
  .item-galeria {
      width: 150px;
      height: 150px;
  }

  .stats-cs2 {
      flex-direction: column;
      align-items: center;
  }

  .stat-item {
      width: 80%;
      margin-bottom: 15px;
  }
}

@media screen and (max-width: 480px) {
  .cabecera h1 {
      font-size: 1.5rem;
  }
  
  .contenedor-galeria {
      gap: 10px;
  }
  
  .item-galeria {
      width: 120px;
      height: 120px;
  }

  .cabecera nav a {
      display: block;
      margin: 10px auto;
      width: 80%;
  }

  .centro-boton {
      flex-direction: column;
      align-items: center;
  }

  .boton-perfil {
      width: 80%;
      text-align: center;
  }
}