:root {
    --red: #bc0001;
    --fondo: #0a0a0a;
    --texto: #ffffff;
    --header-bg-logo: #000000;
    --header-bg-nav: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--fondo);
    color: var(--texto);
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    text-align: center;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.idiomas-bar {
    background: #333; 
    padding: 10px 0;
    font-size: 0.9rem;
    color: #ccc;
}
.idiomas-bar a { 
    color: #ccc; 
    text-decoration: none; 
    margin: 0 15px; 
    cursor: pointer;
    transition: color 0.3s ease;
}

.idiomas-bar .activo { 
    color: #ffffff; 
    font-weight: bold; 
}

.main-logo {
    max-height: 70px;
    width: auto;
    display: block;
}

.nav-bar {
    background: var(--header-bg-nav);
    padding: 5px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: normal;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#menu-check, .menu-pro-btn { display: none; }

.seccion-ancla {
    padding: 60px 20px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 80px;
}

#origin {
    padding-top: 140px; 
}

.bg-red { background-color: #a92021; }
.bg-blue { background-color: #007fff; }
.bg-black { background-color: #000000; }
.bg-lila { background-color: #3c1d7c; }
.bg-green { background-color: #1d7c4a; }
.bg-white { background-color: #ffffff; padding: 30px 20px; }
.bg-white h1 { color: #000000; }

.header-seccion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.logo-seccion { 
    height: 120px; 
    width: auto;
    object-fit: contain;
}

.logo-musica {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.logo-wuxing {
    height: 170px;
    width: auto;
    object-fit: contain;
}

h1 { color: #fff; text-transform: uppercase; font-size: 2.2rem; letter-spacing: 2px; }
p { color: #fff; 
    max-width: 800px; 
    margin: 0 auto 20px; 
    font-size: 1.2rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.recurso-16-9 {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
    margin: 35px auto;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: none; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.recurso-16-9:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.recurso-16-9 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player audio {
    width: 100%;
    max-width: 600px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 20px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

audio {
    -webkit-touch-callout: none; 
    -webkit-user-select: none;
    user-select: none;
}

audio::-webkit-media-controls-enclosure {
    overflow: hidden;
}

audio::-webkit-media-controls-panel {
    width: calc(100% + 30px); 
}

.player audio:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.card-video:fullscreen {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #000 !important;
}

.card-video:fullscreen video {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    max-width: 100%;
    max-height: 100%;
}

.card-video:-webkit-full-screen {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #000 !important;
}

.card-video:-webkit-full-screen video {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
}

video {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

video::-internal-media-controls-download-button {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

video::-webkit-media-controls-panel {
    width: 100%; 
}

.link-estilo, 
.link-estilo:link {
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #00d4ff;
    color: #00d4ff !important;
    transition: all 0.3s ease;
}

.link-estilo:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff;
}

.link-estilo::after {
    content: " \f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-estilo:hover::after {
    transform: scale(1.2);
}

.social-links, .music-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn-social {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.btn-social img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-social:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

footer { padding: 20px; background: #000; text-align: center; }
footer p {
    font-size: 1rem;
    color: #afafaf;
    margin: 0;
    display: inline-block;
}

.menu a.activo-menu {
    font-weight: bold !important;
}
.menu a[href="#origin"]:hover { color: #a92021; }
.menu a[href="#music"]:hover { color: #007fff; }
.menu a[href="#kungfu"]:hover { color: #000000; }
.menu a[href="#association"]:hover { color: #3c1d7c; }
.menu a[href="#projects"]:hover { color: #1d7c4a; }
.menu a[href="#contact"]:hover { color: #000000; }

.datos-contacto {
    margin-top: 10px;
    text-align: center;
}

.datos-contacto p {
    color: #000000 !important;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.datos-contacto i {
    margin-right: 10px;
    color: #000000;
}

.link-contacto {
    color: #000000 !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.link-contacto:hover {
    opacity: 0.7;
}

.datos-contacto p {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .datos-contacto p {
        font-size: 1.1rem;
    }
    .seccion-ancla { scroll-margin-top: 90px; }
    #origin { padding-top: 150px; }
    .main-logo { max-height: 70px; }
    .menu-pro-btn { 
        display: block;
        position: absolute;
        right: 20px;
        font-size: 1.5rem;
        background: transparent; 
        color: #000; 
        padding: 0px 0px; 
        border-radius: 5px; 
        cursor: pointer; 
        margin-top: 0px; 
    }
    .nav-bar {
        padding: 5px 20px;
        position: relative;
        justify-content: center;
    }
    nav {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    #menu-check:checked ~ nav { display: block; }
    .menu {
        flex-direction:column;
        gap: 0;
        text-align: center;
    }
    .menu a {
        padding: 5px;
        border-bottom: 1px solid #eee;
        display: block;
    }
    .header-seccion {
        margin-bottom: 10px;
        gap: 5px;
    }
    h1 { 
        font-size: 1.7rem;
        margin-bottom: 15px;
    }
    p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    footer p { font-size: 0.8rem; line-height: 1.3; padding: 0 10px; }
}