/* Importando la guía de marca */
@import url('guia-de-marca.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--roobert);
    color: var(--color-texto-principal);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: url('../images/Belu.png') center/cover no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(50px);
    z-index: -1;
}

/* Main Container */
.main-container {
    background: #0C0C0C/*rgba(0, 0, 0, 0.9) var(--color-fondo)*/;
    border-radius: 15px;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Images & Logos */
.top-image {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 1;
}

.artist-logo {
    position: absolute;
    top: calc(100% - 40px);
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
    width: 60%;
    max-width: 600px;
    height: auto;
}

@media (max-width: 768px) {
    .artist-logo {
        width: 80%;
        top: calc(100% - 30px);
    }
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 20px 0 40px;
    margin-top: 80px;
}

@media (max-width: 1000px){
    .social-links{
        margin-top: 40px;
    }
}

.social-links a img {
    width: 30px;
    height: 30px;
    object-fit: contain; /* ensures icons scale proportionally within the 30x30 box */ 
}

/* Carousel */
.carousel {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 5px 0;
    justify-content: center;
    margin: 20px auto;
    /*margin-bottom: 50px;*/
}

.carousel-item {
    font-family: var(--roobert-mono-medium);
    flex: 0 0 auto;
    scroll-snap-align: center;
    font-size: var(--tamano-parrafo);
    /*font-weight: var(--peso-bold);*/
    color: #949494;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.carousel-item:hover {
    color: var(--color-acento);
}

.carousel-item.selected {
    color: var(--color-texto-principal);
    font-weight: var(--peso-bold);
}

/* Section Titles */
section {
    margin-bottom: 40px;
}

h2 {
    font-family: var(--roobert-mono-bold);
    margin-bottom: 20px;
    color: var(--color-texto-principal);
    text-align: left;
    position: relative;
    display: flex;
    align-items: flex-start;
}

h2 .carousel-arrow {
    margin-left: auto;
    background: none;
    color: var(--color-acento);
    border: none;
    font-size: 20px;
    cursor: pointer;
}

p {
    font-family: var(--roobert);
}

.horizontal-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 5px 0;
    margin: 20px auto;
  }
  
  /* Optionally hide the scrollbar for a cleaner look */
  .horizontal-carousel::-webkit-scrollbar {
    display: none;
  }

/* Community Section */
#community p {

    text-align: left;
    font-size: var(--tamano-parrafo);
    color: var(--color-texto-secundario);
    margin-bottom: 20px;
    line-height: 1.6;
}

#community button {
    font-family: var(--roobert-semi-mono-medium);
    display: block;
    margin: 0;
    padding: 12px 24px;
    background-color: var(--color-acento);
    border: none;
    border-radius: 25px;
    color: var(--color-texto-principal);
    font-size: var(--tamano-parrafo);
    font-weight: var(--peso-bold);
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#community button:hover {
    background-color: var(--color-acento);
    transform: scale(1.05);
}

#community button:active {
    background-color: var(--color-acento);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Tour Date Items (Combined) */
.tour-date-item {
    display: flex;
    align-items: center;
    /* Use brand background colors in a gradient: */
    background: linear-gradient(135deg, var(--color-card-background), var(--color-card-overlay));
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    min-width: 270px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
  }
  
  .tour-date-item.no-link {
    pointer-events: none;
    cursor: default;
    opacity: 0.8;
  }
  
  .tour-date-item:hover {
    transform: scale(1.02);
  }
  
  .tour-date-item .date {
    /* Old version’s 14px, but now with brand colors/weights: */
    font-family: var(--roobert-mono-bold);
    background: #333;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-texto-principal);
    font-weight: var(--peso-bold);
    margin-right: 10px;
    min-width: 60px;
  }
  
  .tour-date-item .details {
    flex-grow: 1;
    font-size: var(--tamano-parrafo); 
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .tour-date-item .details p:first-child {
    font-family: var(--roobert-semi-bold);
    font-size: (var(--tamano-parrafo)+2); 
    font-weight: var(--peso-bold);
  }
  
  /* Old version used 12px and a gray color for the second line; 
     now with brand color and brand “regular” weight: */
  .tour-date-item .details p:last-child {
    font-size: (var(--tamano-parrafo)-2);
    font-weight: var(--peso-regular);
    color: var(--color-texto-secundario);
  }
  
  .tour-date-item .ticket-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    display: block;
    pointer-events: none;
  }
  
/* Images & iFrames */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

iframe {
    border: none;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Generic Button */
button {
    font-family: var(--roobert-semi-mono-medium);
    padding: 10px 15px;
    border: none;
    background-color: var(--color-acento);
    color: var(--color-texto-principal);
    font-weight: var(--peso-bold);
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

button:hover {
    background-color: var(--color-texto-principal);
    color: var(--color-acento);
}

/* Music Section */
#recommendations {
    margin-top: 20px;
    text-align: left;
}

.music-description {
    text-align: left;
    font-size: var(--tamano-parrafo);
    color: var(--color-texto-secundario);
    margin-bottom: 0px;
    line-height: 1.6;
}

.music-embed-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    width: 100%/*calc(100% - 20px)*/;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.music-embed-container iframe {
    width: 100%;
    height: 380px;
    border: none;
}

/*Set Carousel*/
.sets-carousel .set-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
  }

  .sets-carousel {
    /* Ya debería heredar display: flex; overflow-x: auto; etc. */
    /* Si quieres un ancho máximo en desktop, puedes poner: */
    max-width: 900px;
    margin: 0 auto;
  }
  
  /* Cada slide ocupa 70% del ancho del contenedor => se ve 1 entero y algo del siguiente */
  .set-item {
    flex: 0 0 70%;         /* Ajusta este % a tu gusto (ej: 60%, 80%, etc.) */
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Si quieres añadir padding o un fondo, puedes hacerlo aquí */
  }
  
  /* Asegúrate de que el iframe ocupe todo el espacio dentro del slide */
  .set-item iframe {
    width: 100%;
    /* Usa aspect-ratio para un formato 16:9 */
    aspect-ratio: 16 / 9;
    border: none;
    /* Evita “height” en HTML para que sea flexible */
  }
  

/* Page Footer */
.page-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: transparent;
    color: var(--color-texto-secundario);
    font-size: 12px;
    border-top: 1px solid rgba(254, 254, 254, 0.2);
}

.footer-link {
    text-decoration: none;
    color: var(--color-texto-secundario);
    font-weight: normal;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-texto-secundario);
    text-decoration: underline;
}

.footer-link:visited {
    color: var(--color-texto-secundario);
    text-decoration: none;
}

.footer-link:active {
    color: var(--color-texto-secundario);
    text-decoration: none;
}