/* Estilos generales */
body {
    margin: 0;
    text-align: center;
    background-image: url('../images/fondo.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: yellow;
    font-family: 'Sedgwick Ave', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    color: yellow;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px;
    outline: 2px solid #ffff00;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    border-radius: 15px;
    font-size: 2rem;
}

/* Menú Superior */
.navbar {
    background-color: black !important;
    position: fixed;
    outline: 2px solid #ffff00;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 50px;
    padding: 0 5%;
}

.navbar-nav {
    gap: 2.5rem;
}

.navbar-nav .nav-link {
    color: yellow !important;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #39ff14 !important;
    background-color: rgba(255, 255, 0, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .navbar {
        background-color: rgba(0, 0, 0, 0.9) !important;
        padding: 0 15px;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: #000 !important;
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
        outline: 2px solid #ffff00;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
        z-index: 1001;
    }

    .navbar-toggler {
        border-color: yellow !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='yellow' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

@media (max-width: 767px) and (orientation: portrait) {
    .navbar {
        padding: 0 15px !important;
        margin-top: 0 !important;
    }

    .navbar-collapse {
        width: 100% !important;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background-color: #000 !important;
        padding: 15px;
        overflow-y: auto;
        z-index: 1029;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    }

    body {
        padding-top: 60px !important;
    }

    .container {
        margin-top: 70px !important;
    }
}

/* Contenedor principal */
.container {
    margin-top: 80px;
    margin-bottom: 80px;
    flex: 1;
}

@media (max-width: 768px) {
    .container {
        margin-top: 70px;
        padding: 0 15px;
    }
}

/* Fondo transparente */
.transparent-bg {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    outline: 2px solid #ffff00;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

/* Selector de categorías */
.category-selector {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-category {
    background-color: rgba(0, 0, 0, 0.5);
    color: yellow;
    border: 1px solid yellow;
    border-radius: 20px;
    font-family: 'Sedgwick Ave', sans-serif;
    transition: all 0.3s ease;
    padding: 8px 20px;
    white-space: nowrap;
}

.btn-category:hover, .btn-category.active {
    background-color: yellow;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 0, 0.3);
}

/* Slider personalizado */
#carrusel-container {
    height: 70vh;
    max-width: 100%;
    margin: auto;
    position: relative;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    outline: 2px solid #ffff00;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.carrusel-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 80%;
    position: relative;
}

.carrusel-wrapper {
    width: 90%;
    height: 100%;
    overflow: hidden;
}

.carrusel {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.carrusel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
    padding: 0 5px;
}

.carrusel-btn {
    background: rgba(0, 0, 0, 0.7);
    color: yellow;
    border: 2px solid yellow;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.carrusel-btn:hover {
    background: yellow;
    color: black;
    transform: scale(1.1);
}

.thumbnails-container {
    width: 100%;
    margin-top: 20px;
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.thumbnails {
    display: inline-flex;
    gap: 10px;
    padding: 5px 0;
}

.thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnails img:hover {
    opacity: 1;
    border-color: yellow;
}

.thumbnails img.active {
    opacity: 1;
    border: 2px solid yellow;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
    transform: scale(1.05);
}

.thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background: yellow;
    border-radius: 3px;
}

@media (max-width: 768px) {
    #carrusel-container {
        height: 60vh;
        padding: 15px;
    }

    .carrusel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .thumbnails img {
        width: 60px;
        height: 45px;
    }
}

/* Pie de página */
footer {
    background-color: black;
    outline: 2px solid #ffff00;
    color: yellow;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons a {
    color: white;
    margin: 0 5px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #39ff14;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-item img {
        height: 400px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000 !important;
        margin: 0 !important;
        padding: 15px;
        border-radius: 0 0 10px 10px;
        z-index: 1029;
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar {
        padding: 0 15px !important;
    }

    .container {
        margin-top: 60px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }

    .btn-category {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 250px;
    }

    .category-selector {
        gap: 6px;
    }

    .btn-category {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .carousel-caption {
        padding: 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 10px;
    }

    h1 {
        font-size: 1.5rem;
        padding: 6px;
    }
}

.contenedor {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}

.imagenes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.imagenes img {
    width: 48%;
    height: auto;
    object-fit: cover;
}

.enlace-disco {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.enlace-disco:hover {
    background-color: #e0e0e0;
}

.icono-play {
    font-size: 14px;
}

.social-links-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-link-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    padding: 6px 12px;
    width: fit-content;
    max-width: 100%;
    touch-action: manipulation;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.social-icon i {
    font-size: 18px;
    color: white;
    position: relative;
    z-index: 2;
}

.social-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
}

.social-label {
    font-size: 1rem;
    color: yellow;
    white-space: nowrap;
}

.fb-icon::after { background-color: #1877F2; }
.ig-icon::after {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.sp-icon::after { background-color: #1DB954; }
.yt-icon::after { background-color: #FF0000; }
.tt-icon::after { background-color: #000000; }
.sc-icon::after { background-color: #FF7700; }

.fa-facebook-f { transform: translateX(1px) scale(1.1); }
.fa-instagram { transform: scale(1.05); }
.fa-spotify { transform: scale(1.1); }
.fa-youtube { transform: scale(1.1); }
.fa-tiktok { transform: scale(1.1); }
.fa-soundcloud { transform: scale(0.9); }

.social-link-item:hover {
    transform: translateX(10px);
    background: rgba(0, 0, 0, 0.7);
}

.social-link-item:hover .social-label {
    color: #39ff14;
}

.logos-section {
    margin-top: 30px;
}

.partner-logo {
    max-width: 100px;
    height: auto;
    object-fit: contain;
    margin: 10px;
 /*   filter: brightness(0) invert(1); */
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}

form {
    max-width: 600px;
    margin: 0 auto;
}

form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: yellow;
    outline: 2px solid #ffff00;
}

form .btn-primary {
    background-color: yellow;
    color: black;
    border: none;
    font-weight: bold;
}

form .btn-primary:hover {
    background-color: #ffcc00;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .social-link-item {
        padding: 5px 10px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }

    .social-icon i {
        font-size: 16px;
    }

    .social-label {
        font-size: 0.85rem;
    }

    .social-links-container {
        gap: 8px;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .partner-logo {
        max-width: 80px;
        margin: 5px;
    }
}

/* Popup */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup {
    background: transparent;
    padding: 0;
    border-radius: 8px;
    position: relative;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.btn-cerrar-popup {
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 30px;
    color: #f7e240;
    text-decoration: none;
    text-shadow: #fc0 1px 0 10px;
    font-weight: bold;
    z-index: 10000;
    padding: 10px;
    touch-action: manipulation;
}

.popup video {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    border: none;
    display: block;
}

.btn-activar-audio {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: yellow;
    border: 2px solid yellow;
    border-radius: 20px;
    font-family: 'Sedgwick Ave', sans-serif;
    font-size: 1rem;
    padding: 8px 16px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.btn-activar-audio:hover {
    background-color: yellow;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 0, 0.3);
}

.btn-activar-audio:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 255, 0, 0.3);
}

@media (max-width: 576px) {
    .popup {
        width: 95%;
    }

    .popup video {
        max-height: 50vh;
    }

    .btn-cerrar-popup {
        font-size: 24px;
        top: -10px;
        right: 8px;
        padding: 8px;
    }

    .btn-activar-audio {
        font-size: 0.85rem;
        padding: 6px 12px;
        bottom: 10px;
        left: 10px;
    }
}