/******** CUSTOM-STYLE-LANDING ***/
/* Reset básico y prevención de scroll horizontal */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}






html, body {
  width: 100%;
  overflow-x: hidden; /* Bloquea el scroll horizontal */
}

/* Opcional: Contenedor principal (ajusta según tu estructura) */
.container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}


/******** STYLE-BG-SLIDER *********/
.bg_image_vehicule_all {
    position: relative;
    background-size: cover;
    background-position: center;
    /* background-image: url('http://localhost/mg/images/01_MG5_SA_1.5L-CVT-DEL_Blue_Front-45-b-Photoroom.png'); */
  } 
   
  /******** STYLE-NEXT-PREV *********/ 
  /* .carousel-btn-box { 
    position: absolute;
    bottom: 20px;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.7) !important;
    align-content:center;
    z-index: 1000;
   }  */
   .slider_section .carousel-btn-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: inline-block;
    -webkit-box-orient: row;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 3px;
  } 


 

  .carousel-btn-box {
    position: absolute;
    bottom: 50px;
    left: 47%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.2) !important;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    gap: 10px;
    transform: rotate(90deg);
  }
 

 

  
  /******** STYLE-NABVAR *********/
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;   
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center; 
  }
  .navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;  
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);  
    transition: background-color 0.3s ease;
  }
  .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style-type: none;
  }
  .nav-item {
    margin-right: 20px;
  }
  .nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
  } 
  .nav-link:hover {
      color: #ffffff; 
  }
  .whatsapp-number {
      margin-left: 5px; 
      font-size: 18px;
      color: #ffffff; 
      font-weight: bold;
  }
  .fab {
      font-size: 20px; 
      color: #ffffff; 
  }
  .fab.fa-whatsapp {
      color: #ffffff; 
  }
  .nav-item a {
      padding: 0; 
  }

 /******** STYLE-SLIDER-HEADER *********/
 .hero_area {
    height: 92vh;
    position: relative; 
    background-color: transparent;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2);
            box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2);
  } 


  .hero_area .slick_main {
    position: absolute;
    top: 0;
    left: 0;
    width: 33%;
    height: 100vh;
    display: block;
    margin: 0 auto;
  }
  
  .hero_area .slick_main .main-img-box {
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
  }

 
.main-img-box.bg-img {
    position: relative;
    background-size: cover;
    background-position: center;
}
  
.main-img-box.bg-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);  
    z-index: 1;
}

/******** STYLE-PORTAFOLIO MODEL *********/
.portfolio_section  {
    overflow-x: hidden;
  }
  
  .portfolio_section.porfolio_model .portfolio_container {
    /* margin-top: 45px; */
    margin-bottom: 0;
  }
  
  .portfolio_section.porfolio_model .portfolio_container .box {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    position: relative;
  }
  
  .portfolio_section.porfolio_model .portfolio_container .box img {
    width: 100%;
  }
  
  .portfolio_section.porfolio_model .portfolio_container .box .link-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
     border-top: 10px solid #46636e; 
  }
  
  .portfolio_section.porfolio_model .portfolio_container .box .link-box a {
    width: 50px;
    margin-bottom: 10px;
  }
  
  .portfolio_section.porfolio_model .portfolio_container .box .link-box h5 {
    padding: 40px;
    color: #ffffff; 
    text-align: center;
    font-size: 0.95rem!important;
  }
  
  .portfolio_section.porfolio_model .portfolio_container .box:hover .link-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

/******** STYLE- *********/ 
.layout_padding {
  padding: 120px; 
}


.bg_model {
  background-size: cover;       /* Cubre todo el div */
  background-repeat: no-repeat; /* No se repite */
  background-position: center;  /* Centrada */
}

 
 
/******** STYLE-Card-caracteristicas *********/ 
/*
#caracteristicas-section .container-fluid .row { 
    margin-right: -8px!important;
    margin-left: -8px!important;
}*/



/* Estilos para las tarjetas de características */
.feature-card {
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.feature-img {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-img {
  transform: scale(1.1);
}

/* Línea decorativa bajo el título */
.text-box h4 {
  position: relative;
  padding-bottom: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.text-box h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3); 
}

.text-box p { 
  color: #fff!important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-card {
      padding: 1.5rem !important;
  }
  
  .text-box h4 {
      font-size: 0.85rem;
  }

  .layout_padding {
    padding: 20px;
  }
}


 


/* Estilo base para el contenedor */
.bg_style_transparent {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 5px;
  margin-bottom: 20px;
  overflow: hidden; /* Evita que el contenido se salga */
  border: 1px solid #ddd;
}

/* Estilo para el título */
.section-title {
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  margin: 0;
  white-space: normal; /* Permite que el texto haga wrap */
  word-break: break-word; /* Rompe palabras largas */
}

/* Línea decorativa opcional */
.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  /*
  .bg_style_transparent {
      padding: 15px !important;
  }
  */
  .section-title {
      font-size: 1.3rem;
      text-align: center !important; /* Centrado en móviles */
      display: block; /* Ocupa toda la línea */
  }
  
  .section-title:after {
      left: 50%;
      transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .section-title {
      font-size: 1.1rem;
      letter-spacing: 0.5px;
  }
}


/******** STYLE-OTHER-MODEL *********/
 
.portfolio_section_other {
  overflow-x: hidden;
}

.portfolio_section_other .portfolio_container { 
  margin-bottom: 0;
}

.portfolio_section_other  .portfolio_container .box {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
}

.portfolio_section_other .portfolio_container .box img {
  width: 100%;
}

.portfolio_section_other  .portfolio_container .box .link-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.9);
   border: 5px solid #dbdbdb6c; 
}

.portfolio_section_other  .portfolio_container .box .link-box a {
  width: 50px;
  margin-bottom: 10px;
}

.portfolio_section_other  .portfolio_container .box .link-box h5 {
  padding: 40px;
  color: #ffffff; 
  text-align: center;
  font-size: 0.95rem!important;
}

.portfolio_section_other  .portfolio_container .box:hover .link-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
 


/******** STYLE-MAPS *********/  
  .maps-container {
    position: relative;   
    height: 700px;
    overflow: hidden;
    max-width: 100%;
    background: #eee;
  }
  .maps-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  } 
  .map-link {      
      color:rgb(36, 36, 36);
      font-size: larger;
      padding-left: 30px
  }  
  .map-link:hover {
      background-color: #000;
      padding: 10px;
      color: #fff; 
  }  
  .map-link:active {
      color: #fff;  
  }  
  .maps-container iframe {
      width: 100%;
      height: 70vh;
  }    
  .active-link {
      background-color:rgb(0, 0, 0);
      padding: 10px;
      color: #fff; 
  }


  /******** STYLE-WHATS-CHOOSE *********/ 
  .choose_select {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
    z-index: 1;
  } 

  /* FLEXBOX PARA IGUAL ALTURA */
  .choose_select .row {
    display: flex;
    flex-wrap: wrap;
  }

  .choose_select .col-md-4 {
    display: flex;
  }

  .choose_select .box {
    background: #e3e3e300;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgb(0 0 0 / 51%);
    transition: transform 0.3s ease;
    padding: 20px;
    margin-bottom: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    border-right: 4px solid rgba(0, 0, 0, 1);
  }
  

  .choose_select .box:hover {
    transform: translateY(-10px);
  }

  .choose_select .img-box img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
  }

  .choose_select .detail-box {
    text-align: center;
  }

  .news_section {
    background: #ffffff;
    padding: 60px 0;
  }

  .choose_select h5 { 
    font-weight: 600;
  }  

  .news_section h5 {
    color: #444;
  }

  video {
    border-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  @media (max-width: 768px) {
    .choose_select .box {
      margin-bottom: 20px;
    }

    h2 {
      font-size: 2rem;
    }

    .choose_select .row {
      flex-direction: column;
    }
  }
 


  /******* STYLE-FOOTER *********/
  .footer_section {
    background-color: #000000; 
  }



  /******* STYLE-FORM *********/
 

   /* Estilos opcionales para mejor visualización */
   .form-box {
 
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .form-control, .form-select {
    border-radius: 6px;
    padding: 10px 15px;
  }
  .btn-dark {
    background: #000;
    border: none;
    transition: all 0.3s;
  } 



   .form-control {
    position: relative;
    top: 0px;
    right: 0px;
    font-size: small;
   }

   label   {
    font-size: small;
   }


   .form-control, .form-select {
    width: 100%; /* Añadido para ocupar todo el ancho */
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease;
    color: #495057;
    font-size: small;
  }
  
  .form-control:focus, .form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
  }
  
  .btn-dark:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }


/* Estilo general (para desktop/tablet) */
.alinear-abajo {
  display: flex;
  flex-direction: column;
  justify-content:end;
  height: 100%; /* o altura deseada */
}

/* Media query para móviles (menos de 768px) */
@media (max-width: 767.98px) {
  .alinear-abajo {
    display: block;
    height: auto; /* Altura automática en móvil */
    justify-content: flex-start; /* Alinea al inicio en móvil */
    padding: 1rem 0; /* Añade espacio vertical */
    margin-top: 80px;
  }
  h5, .h5 {
    font-size: 1.09rem;
  }

 
  .carousel-btn-box { 
    bottom: 1px; 
  }
   
  /*
  .detail_box_car {
    margin-top: 20px;
  }

 .detail_box_car  h1 {  
  align-items: center;
  justify-content: center;  
  text-align: center;
  box-sizing: border-box;  
  margin-bottom: 10px; 
  font-size: 2rem;
  font-weight: 600;  
}*/




  .infomodel {
    text-align: center;
    margin-left: 20px;
    padding-bottom: 50px;
}


/* .img-fluid img {
  max-width: 100%;
  height: auto;
}

 */

 .img-fluid {
  max-width: 100%;
  height: auto;
}


}


.detail_box_car  h4 {
  background-color: rgba(0, 0, 0, 0.9);
   padding: 7px 20px;  
   color: #ffffff;
   font-size: 18px;
   display: inline-block; 
}

.detail_box_car  h1 {  
  align-items: center;
  justify-content: center;  
  text-align: center;
  box-sizing: border-box;  
  margin-bottom: 10px; 
  font-size: -webkit-xxx-large;
  font-weight: 600; 
}

 .infomodel {
  text-align: center;
  margin-left: 20px;
}
  

.infomodel img { 
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-fluid {
  max-width: 80%!important;
  height: auto;
}


/*******/
.modern-pill-btn {
    background: linear-gradient(135deg, #000000, #434343);
    color: #fff !important;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 999px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .modern-pill-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    z-index: 0;
  }
  
  .modern-pill-btn:hover::before {
    left: 0;
  }
  
  .modern-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.9);
    color: #fff !important;
  }



  /**************/
  .text-xsmall {
    font-size: 0.05rem; /* equivalente a 12px */
  }



  /*********** BTN- RETURN *********/ 


  .slider_section .carousel-btn-box-single {
    display: -webkit-box;
    display: -ms-flexbox;
    display: inline-block;
    -webkit-box-orient: row;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 3px;
  } 

 

.back-home-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: 40px;
    padding: 8px 20px;
    background: #555;    
    color: white;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    z-index: 10;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    background: #333;
    transform: translateX(-50%) scale(1.05) !important;
}


/****** SECTION - PORFOLIO ************/
.slick-dots li button:before {
    color: #ffffff;   
    font-size: 14px;  
    padding-bottom: 5px;
}

.slick-dots li.slick-active button:before {
    color: #ffffff;   
} 

.slick-dots {
    background-color: #343a40;
    position: relative;
    bottom: 0px;  /* Ajusta este valor según el diseño */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding-bottom: 8px;
}

 
