/* =========================================
   Colores personalizados
========================================= */
.color1 {
  color: #c63ab4;
}

.color2 {
  color: #f14ca5;
}

.color3 {
  color: #ff82a9;
}

.color4 {
  color: #ffb9b7;
}

.color5 {
  color: #ffddbc;
}

/* =========================================
   Estilos generales
========================================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff0f5;
}

a {
  color: #c63ab4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================================
   Navegación
========================================= */
.site-nav {
  text-align: center;
  background-color: #ffddbc;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav a {
  margin: 0 15px;
  font-weight: bold;
  color: #c63ab4;
}

/* =========================================
   Encabezado
========================================= */
.site-header {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #c63ab4, #ffb9b7);
  color: white;
  
}

.site-header h1 {
  margin: 0;
  font-size: 4.5rem;
  font-family: "Sirivennela", sans-serif;
}

.site-header .subtitle {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 300;
}
/* Header con posición relativa para ubicar estrellas */
.site-header {
  position: relative;
  overflow: hidden; /* para que las estrellas no salgan del header */
}

/* Estrella */
.header-star {
  position: absolute;
  color: white;
  font-size: 1rem;
  opacity: 0.8;
  animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.1; transform: scale(0.5) rotate(0deg);}
  50% { opacity: 1; transform: scale(1.2) rotate(20deg);}
  100% { opacity: 0.2; transform: scale(0.7) rotate(-15deg);}
}

/* =========================================
   Barra de carga animada
========================================= */
.loading-bar-container {
  width: 25%;
  height: 15px;
  background: rgba(255, 255, 255, 0.3);
  margin: 20px auto 0;
  border-radius: 10px;
  overflow: hidden;
}

.loading-bar-fill {
  width: 0;
  height: 100%;
  background: #ff82a9;
  animation: load 3s forwards infinite;
}

@keyframes load {
  to {
    width: 100%;
  }
}

/* =========================================
   Contenedor principal y secciones
========================================= */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

section {
  margin-bottom: 50px;
}

h2 {
  color: #f14ca5;
  margin-bottom: 15px;
}

/* =========================================
   Perfil
========================================= */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#presentacion p {
  line-height: 1.7;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.2em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 6px solid #c63ab4;
}

.about-me,
.titles {
  text-align: center;
  font-family: "DM Serif Display", sans-serif;
}

/* =========================================
   Tarjetas de habilidades, pelis y musica
========================================= */
.team-cards-lm {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.team-card-lm {
  background-color: #ff82a9;
  border-radius: 10px;
  width: 180px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card-lm:hover{
  transform: translateY(-5px);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.9),   /* tu sombra original */
    0 0 15px #c63ab4,     /* resplandor amarillo */
    0 0 20px #c63ab4;     /* resplandor más grande */
    animation: pulseGlow 1s infinite alternate;
}

.team-card-lm img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 6px;
}
.team-card-lm h3 {
  color: #fff0f5;
  margin: 10px 0;
}
.team-card-lm p {
  color: #fff0f5;
  font-size: 0.95rem;
}

.team-card-lm a {
  display: block;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.team-card-lm a:hover {
  text-decoration: underline;
}

.parraph-movie{
  text-align: center;
  font-weight: bold;
  font-family: "Poppins",sans-serif;
}


/* =========================================
   Contacto
========================================= */
#contacto p{
  font-weight: bold;
  text-align: center;
  
}
#contacto a {
  color:#f14ca5 ;
  font-weight: bold;
  text-decoration: none;
}
#contacto a:hover {
  color: #000;
  text-decoration: underline;
}


/* =========================================
   Footer
========================================= */
.site-footer {
  text-align: center;
  padding: 20px;
  background-color: #ffb9b7;
  color: white;
}

/* =========================================
   Modal Netflix
========================================= */
.modal {
  display: none;
  /* oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* fondo semi-transparente */
}

.modal-content {
  background-color: #fff;
  margin: 12% auto;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  animation: aparecer 0.3s ease-in-out;
}

.cerrar {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.cerrar:hover {
  color: #ff3366;
}

@keyframes aparecer {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Manito en los títulos de películas */
#Peliculas-favoritas h3 {
  cursor: pointer;
  transition: color 0.2s ease;
}

#Peliculas-favoritas h3:hover {
  color: #ff3366;
}

/* =========================================
   Media Queries (Responsivo)
========================================= */
@media (max-width: 900px) {
  .container {
    padding: 0 15px;
  }

  .team-cards-lm {
    gap: 15px;
    
  }

  .team-card-lm {
    width: 120px;
    padding: 10px;
  }

  .site-header h1 {
    font-size: 2rem;
  }

  .site-header .subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .site-nav a {
    display: block;
    margin: 5px 0;
  }

  .team-cards-lm {
    flex-direction: column;
    gap: 10px;
    margin-right: 20px;
  }

  .team-card-lm {
    width: 100%;
  }

  .site-header h1 {
    font-size: 1.5rem;
  }

  .site-header .subtitle {
    font-size: 0.9rem;
  }

  .loading-bar-container {
    width: 80%;
  }
}