/* ==========================
   ESTILOS BASE
   ========================== */
   body {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', Arial, sans-serif;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
    box-sizing: border-box;
}

.h2 {
    font-family: 'Oswald', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================
   HEADER Y NAV
   ========================== */

   #Merchoficial,
   #Rolas,
   #RolasSpotify,
   #inicio {
     scroll-margin-top: 50px; /* altura de tu header fijo */
   }

   .header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #000;
    z-index: 100;
    box-shadow: 0 2px 2px #000;
    height: 125px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo img {
    height: 120px;
    width: 220px;
}

.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    font-family: 'Oswald', Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #f5c518;
}




/* ==========================
   HERO
   ========================== */
   #ImagenBody {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    object-position: right; /* ✅ nuevo: mueve la imagen hacia la izquierda */
    top: 125px; /* más abajo del header */
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.hero {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.hero-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}
/* ==========================
   SECCIONES GENERALES
   ========================== */
.section {
    padding: 60px 20px;
    text-align: center;
    background: #000;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 5px #000;
}

.section h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 40px;
    animation: fadeIn 2s;
    text-transform: uppercase;
    border-bottom: 2px solid #f5c518;
    display: inline-block;
    padding-bottom: 10px;
}

/* ==========================
   CARDS Y GALERÍA
   ========================== */
.cards,
.cardsprincipal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 3%;
}

.card,
.cardprincipal {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px #fff2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
}

.cardprincipal {
    max-width: 600px;
}

.card:hover,
.cardprincipal:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.card img,
.cardprincipal img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease-in-out;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 20px;
    color: #f5c518;
    margin: 0 0 10px;
}

.card-content p {
    font-size: 16px;
    color: #ddd;
}

/* ==========================
   BOTONES
   ========================== */
.btn-secondary {
    background-color: #fff;
    color: #121212;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: #e5b518;
    transform: scale(1.05);
}

/* ==========================
   SLIDER DE IMÁGENES
   ========================== */
   .image-slider,
   .image-sliderprincipal {
       width: 100%;
       background-color: #000;
       overflow: hidden;
       position: relative;
       display: block;
       border-radius: 10px 10px 0 0;
       /* Quitamos height fijo para que crezca con la imagen */
   }
   
   .image,
   .image-slider img,
   .image-sliderprincipal img {
       display: none;
       width: 100%;
       height: auto;
       object-fit: contain; /* Esta vez usamos contain para NO recortar nada */
       position: relative;
       transition: opacity 0.5s ease-in-out;
       z-index: 1;
   }
   
   .image.active {
       display: block;
       opacity: 1;
   }
   
   
   .image-slider button,
   .image-sliderprincipal button {
       position: absolute;
       top: 50%;
       transform: translateY(-50%);
       background-color: rgba(0, 0, 0, 0.5);
       color: white;
       border: none;
       padding: 10px;
       cursor: pointer;
       z-index: 2;
       border-radius: 50%;
   }
   
   .image-slider button.left,
   .image-sliderprincipal button.left {
       left: 10px;
   }
   
   .image-slider button.right,
   .image-sliderprincipal button.right {
       right: 10px;
   }
   

/* ==========================
   SPOTIFY PLAYER
   ========================== */
.spotify-player iframe {
    border: 2px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(245, 197, 24, 0.2);
    max-width: 60%;
}

/* ==========================
   FOOTER
   ========================== */
.footer {
    text-align: center;
    background-color: #000;
    padding: 20px 0;
}

.footer p {
    margin: 0;
    font-size: 14px;
    color: #aaa;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f5c518;
}

/* ==========================
   ANIMACIONES
   ========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================
   RESPONSIVE
   ========================== */
   @media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .logo img {
        padding-top: 10%;
    }

    #ImagenHead {
        width: 150px;
        height: auto;
    }


    .card,
    .cardprincipal {
        max-width: 90%;
    }

    .image-slider,
    .image-sliderprincipal {
        aspect-ratio: unset;
        height: auto;
    }

    .image-slider img,
    .image-sliderprincipal img,
    .image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-content {
        padding: 10px;
    }

    .section h2 {
        font-size: 24px;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 14px;
    }

    .spotify-player iframe {
        border: 2px solid #ffffff;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(245, 197, 24, 0.2);
        max-width: 95%;
    }
}

/* Hamburguesa (solo visible en móvil) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .menu-toggle span {
    height: 3px;
    width: 25px;
    background: #fff;
    display: block;
    border-radius: 2px;
  }
  
  /* Responsive menu */
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }
  
    .nav {
        position: absolute;
        top: 125px;
        right: 0;
        background: #000;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: center; 
        padding: 20px 0;
        text-align: center;
      }
  
    .nav.show {
      display: flex;
    }
  
    .nav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 0;
        margin: 0;
        align-items: center; /* centrado */
      }
      
      .nav a {
        font-size: 18px;
        padding: 10px 20px;
        display: block;
        width: auto; /* <-- ya no 100% */
      }
  }
  
  /* ==========================
   ESTILO PARA LOGIN Y ADMIN
   ========================== */
form input[type="text"],
form input[type="password"],
form input[type="number"],
form input[type="file"],
form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-family: 'Oswald', Arial, sans-serif;
  border-radius: 5px;
  border: 1px solid #555;
  background-color: #121212;
  color: #fff;
  box-sizing: border-box;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button {
  margin-top: 10px;
  width: 100%;
}

/* Estilo de la tabla del admin */
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 30px;
}

table th, table td {
  border: 1px solid #444;
  padding: 10px;
  text-align: center;
}

table th {
  background-color: #222;
  color: #f5c518;
}

table td img {
  max-width: 100px;
  height: auto;
  border-radius: 4px;
}
