/* Fuente grunge */
@font-face {
  font-family: 'GrunjeoFont';
  src: url('tipografia.ttf') format('truetype');
}

html {
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Arial', sans-serif;
  color: #fff;
  background-color: #000;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="black"/><circle cx="10" cy="10" r="1" fill="white" opacity="0.03"/></svg>');
  overflow-x: hidden;
}

.comunidad {
  background-color: #111;
  color: #fff;
  text-align: center;
  font-family: 'Rock Salt', cursive;
  padding: 80px 20px;
}

.comunidad h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px #000;
}

.comunidad p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.like-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#btnGuitarra {
  background-color: #d43c3d;
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  border: 2px solid #fff;
  border-radius: 15px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#btnGuitarra:hover {
  background-color: #a52a2a;
  transform: scale(1.1) rotate(-2deg);
}

#guitarCount {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 3px #000;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.7);
  z-index: 10;
}

header .logo {
  font-family: 'GrunjeoFont', sans-serif;
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 2px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-family: 'Rock Salt', cursive;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #ccc;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* Hero grunge */
.hero {
  width: 100%;
  height: 100vh;
  background: url('../images/GRUNJEO\ BACK.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.128); /* overlay oscuro */
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* H1 estilo grunge tirado */
.hero-content h1 {
  font-family: 'Rubik Dirt', sans-serif;
  font-size: 5rem;
  letter-spacing: 1px;
  line-height: 1.1;
  transform: rotate(-3deg) skewX(-2deg);
  color: #fff;
  text-shadow: 
     2px 2px 0 rgba(0,0,0,0.8),
     -1px -1px 0 rgba(0,0,0,0.5),
     1px -1px 0 rgba(0,0,0,0.5);
  display: inline-block;
  text-align: center;
}

/* P estilo grunge */
.hero-content p {
  font-family: 'Rubik Dirt', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  margin-top: 10px;
  text-align: center;
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* no ocupar toda la pantalla */
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  background-color: #111; /* cada sección puede tener un color o textura distinta */
  color: #fff;
}

.section:nth-of-type(even) {
  background-color: #222; /* alternar colores para diferenciar secciones */
}
.section h2 {
  font-family: 'Rock Salt', cursive;
  font-size: 3rem;
  margin-bottom: 20px;
}

.section p {
  font-size: 1.25rem;
  max-width: 700px;
}

/* --- EVENTOS --- */
.eventos {
  position: relative;
  overflow: hidden;
  background: #111;
  padding: 60px 20px;
  z-index: 1;
}

.eventos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.btn-bandsintown {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #222;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-bandsintown:hover,
.btn-bandsintown:focus {
  background-color: #00d4ff; /* azul celeste */
  color: #000;
  transform: scale(1.05);
}

/* Fondo de estrellas */
.starfield {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #fff 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  animation: starsMove 200s linear infinite;
  opacity: 0.15;
  z-index: -3;
}

/* Animación de estrellas */
@keyframes starsMove {
  0% { background-position: 0 0; }
  100% { background-position: 3000px 3000px; }
}

/* Contenedor de formas flotantes */
.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* Shapes base */
.shape {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.1;
  animation: floatShapes 30s linear infinite;
}

/* Guitarras estilizadas */
.shape.guitar::before {
  content: "🎸";
  font-size: 40px;
}

/* Notas musicales */
.shape.note::before {
  content: "🎵";
  font-size: 30px;
}

/* Animación de flotación aleatoria */
@keyframes floatShapes {
  0% { transform: translate(0,0) rotate(0deg); }
  25% { transform: translate(50px,-30px) rotate(15deg); }
  50% { transform: translate(-30px,40px) rotate(-10deg); }
  75% { transform: translate(20px,-50px) rotate(5deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}

/* Card / flayer */
.card {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.8);
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  max-width: 400px;
  margin: auto;
  text-align: center;
}

.eventos h2 {
  font-family: 'Rubik Dirt', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 40px;
  letter-spacing: 2px;
  color: #f5c542;
  text-shadow: 1px 1px 6px rgba(245, 197, 66, 0.4);
}

/* Tarjeta */
.evento-card {
  background: #1a1a1a;
  border: 1.5px solid #f5c542;
  border-radius: 16px;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(245, 197, 66, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.evento-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(245, 197, 66, 0.35);
}

/* Imagen */
.evento-flayer {
  position: relative;
}

.evento-flayer img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(15%) contrast(110%);
}

/* Fecha */
.evento-fecha {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #f5c542;
  color: #000;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  font-family: 'Rubik Dirt', sans-serif;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.evento-fecha .dia {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
}

.evento-fecha .mes {
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Info */
.evento-info {
  padding: 28px 22px 38px;
}

.evento-titulo {
  font-family: 'Rubik Dirt', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: #f5c542;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* Detalles */
.evento-detalles {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.evento-detalles li {
  font-size: 1.05rem;
  margin: 6px 0;
  color: #e0e0e0;
}

.evento-detalles a {
  color: #f5c542;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed transparent;
  transition: 0.3s;
}

.evento-detalles a:hover {
  border-bottom: 1px dashed #f5c542;
}

.evento-detalles .precio {
  color: #f5c542;
  font-weight: bold;
}

/* Botón */
.btn-compra {
  display: inline-block;
  background-color: #f5c542;
  color: #000;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-compra:hover {
  background-color: #ffda5c;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(245, 197, 66, 0.4);
}

/* Alerta flotante */
.alerta-evento {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid #ffd700;
  border-radius: 12px;
  padding: 16px 24px;
  color: #fff;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  z-index: 10000;
  animation: slideUp 0.6s ease forwards;
}

.alerta-evento strong {
  color: #ffd700;
}

.alerta-contenido {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alerta-evento button {
  background: #ffd700;
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.alerta-evento button:hover {
  background: #ffed4a;
  transform: scale(1.05);
}

#cerrarAlerta {
  cursor: pointer;
  font-size: 18px;
  margin-left: auto;
  color: #ccc;
}

#cerrarAlerta:hover {
  color: #fff;
}

@keyframes slideUp {
  from { transform: translate(-50%, 100px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* Botón flotante */
#btnFlotanteEvento {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #ffd700;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: none;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
  z-index: 9999;
}

#btnFlotanteEvento:hover {
  transform: scale(1.1);
}

/* Segunda card colores y definicion*/
.evento-card.tema-rojo {
  border-color: #d12a2a; 
  box-shadow: 0 0 25px rgba(193, 6, 6, 0.35);
   background: #1a1a1a;
}

.evento-card.tema-rojo:hover {
  box-shadow: 0 0 40px rgba(209, 42, 42, 0.55);
  transform: scale(1.02);
}

/* Fecha roja */
.evento-card.tema-rojo .evento-fecha {
  background: #d12a2a;
  color: #fff;
  box-shadow: 0 3px 10px rgba(209, 42, 42, 0.6);
}

/* Título rojo */
.evento-card.tema-rojo .evento-titulo {
  color: #ff4a4a;
  text-shadow: 1px 1px 5px rgba(150, 0, 0, 0.8);
}

/* Detalles */

.evento-card.tema-rojo .evento-detalles a {
  color: #ff4a4a;
}

.evento-card.tema-rojo .evento-detalles a:hover {
  border-bottom: 1px dashed #ff4a4a;
}

.evento-card.tema-rojo .evento-detalles .precio {
  color: #ff4a4a;
}

/* Botón principal */
.evento-card.tema-rojo .btn-compra {
  background-color: #d12a2a;
  color: #fff;
  box-shadow: 0 0 10px rgba(209, 42, 42, 0.4);
}

.evento-card.tema-rojo .btn-compra:hover {
  background-color: #ff3c3c;
  box-shadow: 0 0 15px rgba(255, 60, 60, 0.55);
}

/* Miembros */
.miembros-grunge {
  background-color: #111;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  font-family: 'Rock Salt', cursive; /* Solo títulos */
}

.miembros-grunge h2 {
  font-size: 3rem;
  margin-bottom: 50px;
  text-shadow: 1px 1px 5px #000;
}

/* Grid tipo collage ordenado */
.miembros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* Cards */
.miembro-card {
  background-color: #1a1a1a;
  border: 2px solid #333;
  border-radius: 15px;
  width: 220px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding-bottom: 15px;
  position: relative;
}

.miembro-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
  z-index: 2;
}

/* Imagen rectangular visible completa */
.miembro-card .img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 15px;
  border-radius: 8px;
}

.miembro-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.miembro-card:hover .img-wrapper img {
  transform: scale(1.05);
}

/* Texto: nombres y roles legibles */
.miembro-card h3,
.miembro-card p {
  font-family: 'Roboto', Arial, sans-serif; /* Legible */
  margin: 0 0 5px 0;
}

.miembro-card h3 {
  font-size: 1.3rem;
  font-weight: bold;
}

.miembro-card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 10px;
}

/* Botón blanco y negro */
.btn-instagram {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif; /* Legible */
  transition: all 0.3s ease;
}

.btn-instagram:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}


.biografia {
  background-color: #111;
  color: #fff;
  padding: 80px 20px;
  font-family: 'Roboto', Arial, sans-serif; /* tipografía legible */
}

.biografia h2 {
  font-family: 'Arial', sans-serif; /* título principal legible */
  font-size: 3rem;
  margin-bottom: 50px;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 5px #000;
}

/* Introducción */
.bio-intro p {
  max-width: 800px;
  margin: 0 auto 60px auto;
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Timeline */
.bio-timeline {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

/* Línea central */
.bio-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #444;
  transform: translateX(-50%);
  z-index: 0;
}

/* Etapas */
.bio-etapa {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.bio-etapa.derecha {
  flex-direction: row-reverse;
}

.etapa-numero {
  background-color: #1a1a1a;
  color: #fff;
  font-family: 'Arial', sans-serif; /* número legible */
  font-size: 1.5rem;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  border: 2px solid #fff;
  flex-shrink: 0;
  z-index: 1;
}

.etapa-contenido {
  background-color: #1a1a1a;
  border: 2px solid #333;
  padding: 20px 25px;
  border-radius: 15px;
  flex: 1;
  box-shadow: 0 5px 20px rgba(255,255,255,0.1);
}

.etapa-contenido h3 {
  font-family: 'Arial', sans-serif; /* título etapa legible */
  font-size: 1.7rem;
  margin-bottom: 15px;
}

.etapa-contenido p, .etapa-contenido li {
  font-size: 1rem;
  line-height: 1.5;
}

.etapa-contenido ul {
  margin: 0 0 15px 20px;
  padding: 0;
  list-style-type: disc;
}


.contacto {
  background-color: #111;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
}

.contacto h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 1px 1px 5px #000;
}

.contacto p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-info {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.contacto-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contacto-item p {
  font-size: 1.1rem;
  margin: 5px 0;
}

.contacto-item a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted #fff;
  transition: color 0.3s ease;
}

.contacto-item a:hover {
  color: #888;
}

/* Redes sociales */
.social-links {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 15px;
}

.social-links a img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
  filter: none; /* mantiene los colores originales */
}

.social-links a img:hover {
  transform: scale(1.2);
}


/* Footer */
footer {
  background: #111 url('../images/footer-texture.png') repeat;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #222;
}

.footer-logo {
  font-family: 'GrunjeoFont', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.footer-text {
  font-size: 0.9rem;
  color: #ccc;
}


/* 📱 MÓVIL COMPACTO */
@media (max-width: 884px) {
  /* Ocultar nav */
  nav {
    display: none;
  }

  /* Header */
  header {
    justify-content: center;
    padding: 8px 10px;
  }

  header .logo {
    font-size: 1.8rem;
    text-align: center;
  }

  /* Hero */
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  /* Secciones */
  .section {
    padding: 40px 15px;
  }

  .section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .section p {
    font-size: 0.95rem;
  }

  /* Eventos */
  .evento-card {
    padding: 15px;
    margin-bottom: 30px;
  }

  .evento-titulo {
    font-size: 1.6rem;
  }

  .alerta-evento {
    width: 90%;
    font-size: 14px;
    padding: 12px;
    flex-direction: column;
    text-align: center;
  }

  /* Miembros */
  .miembros-grid {
    gap: 20px;
  }

   .miembros h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .miembro-card {
    width: 180px;
  }

  .miembro-card .img-wrapper {
    height: 220px;
  }

  .miembro-card h3 {
    font-size: 1rem;
  }

  .miembro-card p {
    font-size: 0.85rem;
  }

  /* Biografía */
  .biografia {
    padding: 40px 15px;
  }

  .biografia h2 {
    font-size: 2rem;
  }

  .bio-intro p {
    font-size: 0.95rem;
  }

  .etapa-numero {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    line-height: 35px;
  }

  .etapa-contenido {
    padding: 15px;
  }

  .etapa-contenido h3 {
    font-size: 1.2rem;
  }

  .etapa-contenido p {
    font-size: 0.9rem;
  }

  /* Contacto */
  .contacto {
    padding: 40px 15px;
  }

  .contacto h2 {
    font-size: 1.8rem;
  }

  .contacto p {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .contacto-info {
    flex-direction: column;
    gap: 15px;
  }

  .contacto-item h3 {
    font-size: 1.2rem;
  }

  .contacto-item p {
    font-size: 0.9rem;
  }

  .social-links a img {
    width: 30px;
    height: 30px;
  }

  /* Footer */
  footer {
    padding: 20px 10px;
  }

  .footer-logo {
    font-size: 1.6rem;
  }

  .footer-text {
    font-size: 0.75rem;
  }
}