@font-face {
  font-family: 'Main';
  src: url('../fonts/fonnts.com-Kaneda_Gothic_ExtraBold.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


.linea-superior, .linea-inferior{
font-family:'Main', sans-serif!important;
font-size:7rem;

}


.has-megamenu {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #fff;
  display: none;
  z-index: 1000;
  border-top: 2px solid #d4af37;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.has-megamenu.active .mega-menu {
  display: block;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  max-width: 100%;  /* O el ancho que prefieras, por ejemplo 1600px */
  margin: 0 auto;
  padding: 40px;
  gap: 60px;
}

/* Categorías - columna izquierda */
.mega-categories {
  border-right: 1px solid #ddd;
  padding-right: 30px;
}

.mega-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-categories li {
  padding: 15px 0;
  font-weight: 600;
  cursor: pointer;
  color: #666;
  transition: all 0.3s ease;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.mega-categories li:hover {
  color: #d4af37;
}

.mega-categories li.active {
  color: #d4af37;
}

/* Modelos - columna derecha */
.mega-models {
  display: flex;
  align-items: flex-start;
}

.models-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  width: 100%;
}

.models-grid.active {
  display: grid;
}

.model {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  position: relative; /* Necesario para que z-index funcione */
  text-decoration: none!important;
}

.model h4 {
  margin: 0;
  margin-bottom: -20px;
  font-size: 2.8rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  font-style: italic;
  order: 1;
  position: relative;
  z-index: 2; /* Por encima de la imagen */
  font-family: 'Main', sans-serif;
}

.model p {
  margin: 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
  order: 2;
  position: relative;
  z-index: 3; /* El más alto, queda super arriba */
  
}

.model img {

  width: 100%;
  height: auto;
  object-fit: contain;
  order: 3;
  position: relative;
  z-index: 1; /* Por debajo del texto */
}

@media (min-width: 1025px) {
  .model img {
  margin-top: -28px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .mega-menu-content {
    grid-template-columns: 200px 1fr;
    padding: 30px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .mega-menu-content {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .model img {
  margin-top: -10px;
}
  
  .mega-categories {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-right: 0;
    padding-bottom: 20px;
  }
  
  .mega-categories li {
    display: inline-block;
    margin-right: 20px;
  }
  
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}




.navbar {
  position: relative;
  z-index: 9999;
}

/* Asegúrate de que el menú desplegable quede sobre todo */
.navbar-collapse {
  z-index: 10000;
  position: relative;
}
* {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px; /* separación entre letras */
  box-sizing: border-box;
}

.moto-cat-btn{

  font-family: 'Montserrat', sans-serif;
font-weight:800!important;

}
 
 body{
  background-color: #000;
 }
     
    .top-bar {
      background-color: #000;
      padding: 20px 20px;
    }
    .logo {
      height: 28px;
    }
    .search-box {
      position: relative;
      width: 200px;
    }
    .search-box input {
      border-radius: 20px;
      padding-left: 35px;
      font-size: 14px;
      height: 32px;
    }
    .search-box svg {
      position: absolute;
      top: 50%;
      left: 10px;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      fill: #666;
    }
    .search-box input:focus {
      box-shadow: none;
      border-color: #ccc;
    }
    .navbar {
      background-color: #292929;
   
    }
    .navbar-nav {
      margin: 0 auto;
    }
    .nav-link {
      font-weight: 600;
      font-size: 14px;
      color: #ffffff !important;
      text-transform: uppercase;
      margin: 0 10px;
      letter-spacing: 0.9px;
    }
    .nav-link.active {
      color: #c9a449 !important;
    }



    /* Swiper Slider Styles */

/* Flechas Swiper */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: rgba(0,0,0,0.4);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #c9a449;
}

 .slide-content h2 {
    font-size: 4rem;
  
  }

  .navbar-toggler{
    background-color: white;
  }

/* Ocultar flechas en móviles */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .slide-content {
    left: 5%;
    top: 55%;
  }
  .slide-content h2 {
    font-size: 3rem;
  
  }
  .slide-content .model-box {
    font-size: 1.2rem;
  }
}
.slide-content h2 {
   font-style: italic;
   font-family: 'Main', sans-serif;
  
  
  }


/* Banner general */
.banner-innovacion {
  position: relative;
  background-color: #000; /* fondo negro */
  padding: 4rem 1rem 5rem; /* espacio extra abajo para que el triángulo no se corte */
  overflow: visible; /* importante para que el triángulo se vea */
}

/* Triángulo inferior */
.banner-innovacion::after {
  content: "";
  position: absolute;
  bottom: -25px; /* desplaza el triángulo hacia afuera del contenedor */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid #000; /* mismo color que el fondo */
}

/* Texto principal */
.titulo-innovacion {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  color: #b38a1b; /* dorado */
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(4rem, 4vw, 3.5rem);
}

/* Línea inferior (SIN LÍMITES) */
.titulo-innovacion .linea-inferior {
  background-color: hsl(39.09deg 98.51% 26.27%);
  color: #fff;
  padding: 1px;
  border-radius: 2px;
  display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
  .banner-innovacion {
    padding: 1rem 1rem 1rem!important;
font-size:5rem!important;
  }

.linea-inferior{
margin-top:-23px;
}

  .titulo-innovacion {
    letter-spacing: 0.5px;
  }
}


.section-motos {
  padding: 3rem 0;
  background: #fff;
  position: relative;
  overflow: visible;
}

/* Títulos / categorías (nav) */
.moto-cats {
  display:flex;
  justify-content:center;
  gap:2rem;
  margin-bottom:2rem;
  flex-wrap:wrap;
}
.moto-cat-btn {
  background: transparent;
  border: none;
  font-weight:700;
  color:#6b6b6b;
  letter-spacing:0.6px;
  text-transform:uppercase;
  cursor:pointer;
  padding:.5rem 0;
  position:relative;
  transition: color .18s;
}
.moto-cat-btn:focus { outline: 3px solid rgba(179,138,27,.15); outline-offset:4px }

/* indicador activo (linea dorada) */
.moto-cat-btn.active {
  color:#b38a1b;
}
.moto-cat-btn.active::after{
  content:'';
  display:block;
  height:4px;
  width:100%;
  background:#b38a1b;
  position:absolute;
  left:0;
  bottom:-10px;
  border-radius:2px;
}

/* Contenedor swiper */
.swiper-wrapper .swiper-slide {
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  padding:2rem 0;
}

.slider-banner{
  background-color: #000;
}

/* Card en columna vertical */
.moto-card {
  width:100%;
  max-width:900px;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap:2rem;
  justify-content:center;
  position:relative;
}

/* Imagen responsiva */
.moto-card .moto-img {
  flex: none;
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
}
.moto-card img {
  width:100%;
  height:auto;
  max-width:700px;
  object-fit:contain;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
}

/* INFO DEBAJO DE LA IMAGEN */
.moto-info {
  flex: none;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

/* GRID DE DOS COLUMNAS */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.info-col {
  display: flex;
  flex-direction: column;
}

/* 🔥 COLUMNA IZQUIERDA - COLORES */
.info-col-left {
  text-align: left;
  align-items: flex-start;
}

.text-colores {
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 🔥 CAJA DORADA PARA LOS COLORES */
.colores {
  font-family: 'Montserrat', sans-serif!important;
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.4;
  font-weight: 600;
  background: #b38a1b;
  padding: 10px 15px;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 0.3px;
  
}

/* 🔥 COLUMNA DERECHA - PRECIO Y BOTÓN */
.info-col-right {
  text-align: center;
  align-items: center;
}

/* 🔥 PRECIO CENTRADO */
.precio {
  font-size: 0.9rem;
  color: #6b6b6b;
 
  font-weight: bold;
  text-align: center;
}

/* 🔥 CAJA GRIS PARA EXPLORA LA FAMILIA */
.btn-explorar {
  display: inline-block;
  background: #6b6b6b; /* Fondo gris */
  color: #fff; /* Texto blanco */
  padding: 10px 15px; /* Mismo padding que la caja dorada */
  text-decoration: none;
  border-radius: 4px; /* Mismo border-radius */
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  border: none;
}

.btn-explorar:hover {
  background: #5a5a5a; /* Gris más oscuro al hover */
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Flechas e indicadores Swiper */
.swiper-button-next, .swiper-button-prev {
  color:#6b6b6b;
  width:40px;
  height:40px;
  background:rgba(255,255,255,.9);
  border-radius:50%;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.swiper-pagination-bullet {
  background: #d0d0d0;
  opacity:1;
}
.swiper-pagination-bullet-active {
  background:#b38a1b;
}

/* 🔥 RESPONSIVE */
@media (max-width: 992px) {
  .moto-card { 
    gap: 1.5rem; 
    padding: 1rem; 
  }
  .info-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .moto-card { 
    padding: 1rem 0; 
  }
  
  /* En móvil, las columnas se apilan */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .info-col-left,
  .info-col-right {
    text-align: center;
    align-items: center;
  }
  
  .colores {
    text-align: center;
  }
  
  .moto-card .moto-img { 
    min-height: 180px; 
  }
}

@media (max-width: 480px) {
  .info-grid {
    gap: 1rem;
  }
  
  .precio {
    font-size: 1.2rem;
  }
  
  .btn-explorar,
  .colores {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}






/* Ajuste general de altura de los banners */
.banner-img {
  width: 100%;
  height: 40vh; /* altura estándar en escritorio */
  object-fit: cover;
  filter: brightness(0.7); /* Añade esto para mejor contraste */
}

/* Contenedor del texto */
.banner-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 5%;
  width: 100%; /* Añade esto */
}

/* Posiciones */
.banner-text-right {
  right: 5%;
  left: auto;
  text-align: right;
}

.banner-text-left {
  left: 5%;
  right: auto;
  text-align: left;
}

/* Texto */
.banner-text h2 {
  line-height: 1.1;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Añade sombra para mejor legibilidad */
}

/* ELIMINA ESTA PARTE DUPLICADA:
.banner-img {
    height: 30vh;
  }
*/

/* Responsividad */
@media (max-width: 992px) {
  .banner-img {
    height: 50vh; /* Ajusté este valor */
  }
}

@media (max-width: 768px) {
  .banner-img {
    height: 45vh; /* más bajo en móviles */
  }

  .banner-text-right,
  .banner-text-left {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%);
    text-align: center !important;
  }

  .banner-text h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
}


@media (min-width: 768px) {
    .category-botones {
        height: 140px;
    }
}

.category-botones, .hero-image {
    background-size: cover;
    background-position: center;
}

.lifestyle {
    background-image: url(/img/categorias/Apparel.jpg);
}
.postventa {
    background-image: url(/img/categorias/mecanica.jpg);
}
.comunidad {
    background-image: url(/img/categorias/bike.jpg);
}

.category-botones {
    position: relative;
    border-radius: 20px;
    color: #fff;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
    height: 200px;
    transition: .3s;
    font-size: 2.5rem;
    cursor: pointer;
}

.category-botones, .hero-image {
    background-size: cover;
    background-position: center;
}

.alinearFinal {
    justify-content: end;
}

.categories-btn {
    display: grid;
    gap: 20px;
    background-color: transparent;
}


.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.footer {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 50px 20px;
}

.footer .social-icons a {
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    text-decoration: none;
    transition: .3s;
}

.footer-columns {
    justify-content: center;
    gap: 80px;
}

.categories, .footer-columns {
    margin-bottom: 40px;
    display: flex;
}

.footer-column a {
    display: block;
    color: #ccc;
    margin-bottom: 5px;
    text-decoration: none;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links, .swiper-wrapper, form {
    margin-top: 20px;
}
.footer {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 50px 20px;
}

.footer {
    color: white;
    font-size: 14px;
    position: relative;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}


/* Banner Simple con Fade */
.banner-simple-section {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.banner-simple-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-simple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.05) contrast(1.1);
    transition: filter 0.3s ease;
}

/* Efecto hover sutil */
.banner-simple-container:hover .banner-simple-image {
    filter: brightness(1.1) contrast(1.15);
}

/* Responsive */
@media (max-width: 768px) {
    .banner-simple-section {
        height: 60vh;
    }

    .linea-superior{
      font-size: 3rem;
    }

    .linea-inferior{
      font-size: 2.5rem;
    }

    .category-botones{
      font-size: 1.7rem;
    }

    .footer-column h4{
      font-size: 0.7rem;
    }

    .footer-columns{
      gap: 40px;
    }

    .footer-links a{
      display: flex;
      font-size: 0.7rem;
      gap:15px;
    }

}

.slide-content p {
    font-size: 1.2rem;
    font-weight: 600;
}

 .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 25px;
    border-radius: 0;
    transition: 0.3s;
}

@media (max-width: 520px) {
.segundo-text-innovacion{
margin-top:-23px!important;
}

    .banner-simple-section {
        height: 50vh;
    }

    .slide-content p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
}

    .moto-cat-btn{
      font-size: 0.8rem;
    }

    .footer-column{
      font-size: 0.8rem;
    }

    .top-bar img{
      width: 37%;
    }

    .logo{
      height: inherit;
    }

        .slide-content {
        left: 5%;
        top: 10%;
    }

     .btn-outline-light {
font-size: 0.8rem;
}
  
      
}

.slide-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Ajusta la opacidad según sea necesario */
  z-index: 1;
}


