/* 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 */
/* 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 {
  background-color: #111;
  color: #fff;
  padding: 60px 20px;
}

.eventos h2 {
  font-family: 'Rock Salt', cursive;
  font-size: 3rem;
  margin-bottom: 40px;
  text-align: center;
}

.evento-card {
  background-color: #1a1a1a;
  border: 2px solid #333;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.evento-card:hover {
  transform: scale(1.02);
}

.evento-titulo {
  font-family: 'Rubik Dirt', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  transform: rotate(-1deg) skewX(-1deg);
}

.evento-flayer img {
  width: 100%;
  height: auto;
  border: 2px solid #444;
  margin-bottom: 20px;
}

.evento-detalles p {
  font-size: 1.1rem;
  margin: 5px 0;
}

.evento-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  font-family: 'Rock Salt', cursive;
  border: 1px solid #444;
  transition: background 0.3s ease, transform 0.2s ease;
}

.evento-link:hover {
  background-color: #333;
  transform: scale(1.05) rotate(-1deg);
}


.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;
  }

  /* 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;
  }
}