/* Fuentes premium con más personalidad */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;700;900&family=Oswald:wght@400;600;700&display=swap');

/* Variables de diseño */
:root {
    --primary-color: #e62e00;
    --secondary-color: #1a1a1a;
    --light-color: #f5f5f5;
    --dark-color: #121212;
    --accent-color: #ffbb00;
    --primary-rgb: 230, 46, 0;
    --secondary-rgb: 26, 26, 26;
    --transition-all: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg,
        rgba(230, 46, 0, 0.1) 0%,       /* Rojo opaco */
        rgba(230, 46, 0, 0.1) 15%,
        rgba(255, 202, 40, 0.1) 15%,    /* Amarillo opaco */
        rgba(255, 202, 40, 0.1) 30%,
        rgba(230, 46, 0, 0.1) 30%,
        rgba(230, 46, 0, 0.26) 45%,
        rgba(245, 245, 245, 0.5) 45%,  /* Gris claro semi-transparente */
        rgba(245, 245, 245, 0.5) 60%,
        rgba(230, 46, 0, 0.1) 60%,
        rgba(230, 46, 0, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
    background-attachment: fixed;
    color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Barra de navegación futurista */
.navbar {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-all);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.navbar.scrolled {
      background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: white !important;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    transition: var(--transition-all);
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem !important;
    position: relative;
    transition: var(--transition-all);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-all);
}

.nav-link:hover::before {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Estilos base del diseño */
:root {
    --primary-color: #e62e00;
    --secondary-color: #1a1a1a;
    --light-color: #f5f5f5;
    --dark-color: #121212;
    --accent-color: #ffbb00;
    --primary-rgb: 230, 46, 0;
    --secondary-rgb: 26, 26, 26;
    --transition-all: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estilos para la sección de cinturones */
.belts-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%), 
                url('../fotos/bushidotodos.jpg') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 5rem;
    position: relative;
}

.belts-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.belts-hero h1 span {
    color: var(--primary-color);
}

.belts-hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.belts-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    overflow: hidden;
}

.belts-carousel {
    display: flex;
    transition: var(--transition-all);
    height: 70vh;
}

.belt-card {
    min-width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;

}

.belt-image {
flex: 1;
height: 125%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden; /* Añadimos overflow: hidden para que el recorte sea limpio */

}

.belt-image img {
width: 100%; 
height: 70%; 
object-fit: cover;
filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
transition: var(--transition-all);
    border-radius: 18px;

}

.belt-content {
    width: 300px!important;
    height: 520px !important;
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.belt-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.belt-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.belt-topic {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.belt-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.belt-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.belt-nav button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-all);
    display: flex;
    align-items: center;
    justify-content: center;
}

.belt-nav button:hover {
    background: var(--dark-color);
    transform: scale(1.1);
}

.belt-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.belt-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition-all);
}

.belt-indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Colores específicos para cada cinturón */
.belt-card[data-belt="blanco"] .belt-topic {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.belt-card[data-belt="amarillo"] .belt-topic {
    color: #ffd700;
}

.belt-card[data-belt="naranja"] .belt-topic {
    color: #ff8c00;
}

.belt-card[data-belt="verde"] .belt-topic {
    color: #008000;
}

.belt-card[data-belt="azul"] .belt-topic {
    color: #0000ff;
}

.belt-card[data-belt="morado"] .belt-topic {
    color: #800080;
}

.belt-card[data-belt="marron"] .belt-topic {
    color: #8b4513;
}

.belt-card[data-belt="negro"] .belt-topic {
    color: #000000;
}

/* Responsive */
@media (max-width: 992px) {
    .belt-card {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    
    .belt-image {
        height: 200px;
        margin-bottom: 2rem;
    }
    
    .belt-title {
        font-size: 2rem;
    }
    
    .belt-topic {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .belts-hero h1 {
        font-size: 3.5rem;
    }
    .belts-hero span{
        display: none;
    }
    .belts-hero p {
        font-size: 1.2rem;
    }
    
    .belt-content {
        margin-top: -2.5rem;
        padding: 1.5rem;
    }
    .belt-content h2 {
        font-size: 1rem;
    }
     .belt-content span {
        font-size: 1rem;
    }
     .belt-content p {
        font-size: 0.5rem;
    }

    .belt-card{
        height: 570px !important;
    }
    .belt-image {
    flex: 1;
    height: 105%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Añadimos overflow: hidden para que el recorte sea limpio */
    border-radius: 20px !important;
    }

    .belt-image img {
    width: 250px   !important; 
    height: 250px !important; 
    object-fit: cover;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: var(--transition-all);
    border-radius: 20px !important;
    }
    
    
    .imgfot{
        display: none;
    }
}

@media (max-width: 576px) {
    .belts-hero {
        height: 40vh;
    }
    
    .belts-hero h1 {
        font-size: 2.5rem;
    }
    
    .belt-title {
        font-size: 1.8rem;
    }
    
    .belt-topic {
        font-size: 1.3rem;
    }
    
    .belt-nav button {
        width: 40px;
        height: 40px;
    }
}