/* Estilos para Tarjetas de Artistas Rock */

.ocultar{
    display: none !important;
}
#artistas_old{
display: none !important;

}
.rock-artists-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.rock-artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 20px;
    /*display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 30px;
        scrollbar-width: none;
        -ms-overflow-style: none;*/
}

.rock-artist-card {
    /*background: #fff;*/
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rock-artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.artist-image {
    /**width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;*/
width: 250px;
  height: 250px;
  overflow: hidden;
  position: relative;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.artist-image img {
    width: 100%;
    height: 100%;
    
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.artist-image img.artist-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.artist-photo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.artist-logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    object-fit: contain;
    padding: 0px;
    background: rgba(0, 0, 0, 0.85);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rock-artist-card.has-logo:hover .artist-photo {
    opacity: 0;
    transform: scale(1.1);
}

.rock-artist-card.has-logo:hover .artist-logo {
    opacity: 1;
    transform: scale(1.05);
}

.artist-content {
    padding: 20px;
}

.artist-name {
    /*font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #FFF;
    text-align: center;
    text-transform: uppercase;*/
font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #FFF;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.375rem;
  line-height: 38px;
  font-weight: 400;
  font-family: 'Archivo Narrow',sans-serif;
  text-transform: uppercase;
  min-height: 80px;
}

.artist-genre {
    color: #e74c3c;
    font-weight: 600;
    margin: 5px 0;
    font-size: 18px;
    text-transform: uppercase;
    float: left;
}

.artist-year {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
    float: right;
}

.artist-description {
    color: #555;
    line-height: 1.6;
    margin: 15px 0;
    font-size: 15px;
}

.div-artist-link{
     width: 150px;
    margin-left:auto;
    margin-right: auto;
}

.artist-link {
    display: inline-block;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: 600;
   
}

.artist-link:hover {
    background: #e74c3c;
}

.artist-social {
    display: flex;
    gap: 12px;
    margin: 15px 0;
     justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link.web {
    background: #000;
    color: #fff;
}

.social-link.facebook {
    background: #1877f2;
    color: #fff;
}

.social-link.facebook:hover {
    background: #145dbf;
    transform: translateY(-3px);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.social-link.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.4);
}

.social-link.youtube {
    background: #ff0000;
    color: #fff;
}

.social-link.youtube:hover {
    background: #cc0000;
    transform: translateY(-3px);
}

.social-link.twitter {
    background: #000;
    color: #fff;
}

.social-link.twitter:hover {
    background: #333;
    transform: translateY(-3px);
}

.carousel-prev,
.carousel-next {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    padding: 0px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(231,76,60,0.9);
}

.carousel-prev {
    left: 0px;
}

.carousel-next {
    right: 0px;
}

.carousel-dots {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.carousel-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #e74c3c;
}

div.artist-genre-year::after {
  content: "";
  display: block;
  clear: both;
}

/* Tablet - Carrusel */
@media (max-width: 1920px) {
    .rock-artists-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .rock-artists-grid::-webkit-scrollbar {
        display: none;
    }
    
    .rock-artist-card {
        flex: 0 0 32%;
        scroll-snap-align: start;
    }
    
    .carousel-prev,
    .carousel-next {
        display: block;
    }
    
    .carousel-dots {
        display: block;
    }
}
@media (max-width: 1100px) {
   .rock-artist-card {
        flex: 0 0 45%;
        scroll-snap-align: start;
    }
}    

/* Móvil - Carrusel */
@media (max-width: 768px) {
    .rock-artists-container {
        padding: 10px;
    }
    
    .rock-artist-card {
        flex: 0 0 85%;
    }
    
    /*.artist-image {
        height: 200px;
    }*/
    
    .artist-content {
        padding: 15px;
    }
    
    .artist-name {
        font-size: 20px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .rock-artist-card {
        flex: 0 0 90%;
    }
}