/* ESTILOS NAVBAR*/

.btn {
    background-color: #990000 ;
    border-color: #990000;
    color: #ffffff ;
}

.btn:hover {
    background-color: #c00f0f;
    border-color: #c00f0f;
    color: #ffffff;
}

.navbar{
    background-color: #ffffffa4;
    border-bottom: 1px solid black;
}

.navbar-nav {
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar-nav button {
    min-height: 40px;
    border-radius: 15px;
    padding: 1px 15px;
}

/* Ajuste para botones en el navbar en móviles */
@media (max-width: 992px) {
    .navbar-nav .btn-secondary, 
    .dropdown-menu .btn-secondary {
        width: 100%; /* Mismo ancho para todos los botones */
        padding: 10px;
        border-radius: 5px;
        display: flex;
        justify-content: center; /* Centrar horizontalmente */
        align-items: center; /* Centrar verticalmente */
    }
}

@media (max-width: 992px) {
    .navbar-toggler-icon {
        filter: invert(1);
    }
}

@media (max-width: 992px) {
    .navbar-toggler {
        border: 2px solid black; /* Color del borde */
        border-radius: 5px; /* Bordes redondeados */
        padding: 5px; /* Espaciado interno */
    }
}


/*FIN ESTILOS NAVBAR*/

/*ESTILOS BODY */
@media (max-width: 375px) { /* Para iPhone SE y pantallas similares */
    .carousel-text {
        width: 90%; /* Más ancho para aprovechar el espacio */
        top: 70%; /* Lo sube para que siempre sea visible */
        font-size: 12px; /* Texto más pequeño para que no se corte */
        padding: 8px;
        line-height: 1.2; /* Reduce el espacio entre líneas */
    }

    .btn-link {
        font-size: 12px; /* Hace que el botón sea proporcional */
        padding: 5px 10px;
    }
}

body{
    background-size: cover;
    background-position: center;
    background-color: rgba(216, 203, 203, 0.692);
    font-family: Roboto, sans-serif;
}

.texto{
    background-color: rgb(202, 199, 191);
    border-radius: 25px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.h2index{
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 10px;
}

.h3index{
    background-color: #990000;
    padding: 10px;
    font-size: 16px;
    border-radius: 15px;
    width:fit-content;
    justify-content: center;
    align-items:center ;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
    cursor: default;
}

.imgresultado{
    border-color: #000000;
    border-width: 2px;
    border-radius: 15px;
    border-style: solid;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    margin-top: 45px;
    max-height: 200px;
    max-width: 400px;
}

.textoresultado{
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    max-width: 400px;
}

h1, h2, h3, h4, h5 {
    color: #9e0f0f;
}

ol{
    margin-left: 5%;
    list-style-type: none;
}

.resumen{
    margin-left: 3%;
}

section{
    margin-left: 20px;
    margin-right: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: transparent;  /* Fondo transparente */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);

}

.carousel-img {
    width: 100%; /* La imagen ocupa el 70% del ancho */
    height: auto;
    max-height: 500px;
    opacity: 0.8; /* Transparencia ligera */
    margin: 0 auto;
}

.carousel-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6); /* Fondo negro semitransparente */
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    width: fit-content; /* Ajuste de tamaño */
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .carousel-content {
        width: 80%; /* Más ancho en pantallas pequeñas */
        bottom: 5%; /* Baja el contenido para mejor visibilidad */
        padding: 10px;
    }
    .carousel-content p {
        font-size: 14px;
    }
    .carousel-img{
        max-height: 135px;
    }
    .btn-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

.btn-link {
    margin-top: 10px;
    padding: 8px 15px;
    background: #990000; /* Color llamativo */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    max-height: 50%;
}

.btn-link:hover {
    background: #c00f0f; /* Oscurece el color al pasar el mouse */
    color: white;
}

.carousel-caption h3 {
    font-size: 20px;
    background: rgba(0, 0, 0, 0.6); /* Fondo semitransparente opcional */
    color: white;
    padding: 5px 15px; /* Añade un poco de espacio alrededor del texto */
    border-radius: 10px; /* Bordes redondeados */
    display: inline-block; /* Evita que se expanda a todo el ancho */
    margin-top: 5px;
}

/*Modelos*/

.modelo{
    font-size: 40px;
    color: #990000;
    background-color: none;
    width: fit-content;
    margin-top: 30px;
    background-color: transparent;
}

.modelos{
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 35px;
    background-color: white;
}

.tiposmodelo{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Distribución dinámica */
    justify-content: center;
    justify-items: center;
    margin-top: 50px;
    margin-bottom: 100px;
    gap: 10px;
}

.tiposmodelos{
    background-color: #ffffff6e;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(85, 83, 83, 0.882);
    overflow: hidden;
    text-align: center;
    max-width: 230px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border 0.3s ease, transform 0.3s ease;
}

.modeloboton{
    background-color: #990000;
    border-radius: 8px;
    padding-top: 11px;
}

.modeloboton:hover{
    background-color:#c00f0f;
}

.imgcarmodelos{
    height: auto; 
    max-width: 100%; 
    max-height: 250px;
}
/*Fin modelos*/

/*Tipos*/
.strip{
    margin-left: 10%;
    margin-right: 10%;
}

.transversal{
    margin-left: 10%;
    margin-right: 10%;
}

.micro{
    margin-left: 10%;
    margin-right: 10%;
}

.industrial{
    margin-left: 10%;
    margin-right: 10%;
}

.boe{
    color: #990000;
}

.boe:hover{
    color: #f71d1d;
}

.titulotipos{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    color: #990000;
    font-size: 40px;
}

.interactivos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Distribución dinámica */
    gap: 20px; /* Espaciado entre elementos */
    justify-content: center;
    justify-items: center;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .interactivos {
        grid-template-columns: repeat(4, 1fr); /* Exactamente 4 por fila */
    }
}

@media (max-width: 1023px) {
    .interactivos {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ajuste flexible */
    }
}

@media (max-width: 600px) {
    .interactivos {
        grid-template-columns: 1fr; /* Solo una columna */
    }
}

.interactivo {
    background-color: #ffffff6e;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(85, 83, 83, 0.882);
    overflow: hidden;
    text-align: center;
    width: 100%;
    height: 100%;;
    max-width: 230px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
}

.interactivo:hover {
    border: 2px solid #000000;  
    transform: scale(1.05);  
}

.tiposimpares{
    background-color: rgb(202, 199, 191);
    border-radius: 30px;
    width: 100%;
    padding-bottom: 25px;
    margin-top: 100px;
}

.tiposimpares:hover{
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

.encabezado{
    margin-bottom: 100px;
}

.tipospares{
    background-color: rgba(255, 255, 255, 0.678);
    border-radius: 30px;
    width: 100%;
    color: black;
    margin-bottom: 100px;
    margin-top: 100px;
    padding-bottom: 25px;
}

.tipospares:hover{
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);    
}

.interactivos a{
    padding-top: 15px;
    max-height: 500px;
}

.interactivos p {
    background-color: #990000;
    border-radius: 8px;
    border-color: #000000;
    color: rgb(255, 255, 255);
    font-size: 17px;
    padding: 5px;
}

.tipos ul{
    padding-bottom: 30px;
}

.tipos li{
    list-style: none;
    padding-right: 10px;
}


.strip img{
    width: 350px;
    height: 300px;
    border-radius: 8px;
    border: 1px solid black;
}

.transversal img{
    width: 350px;
    height: 300px;
    border-radius: 8px;
    border: 1px solid black;
    margin-right: 10%;
}

.micro img{
    width: 350px;
    height: 300px;
    border-radius: 8px;
    border: 1px solid black;
    margin-right: 10%;
}

.industrial img{
    width: 350px;
    height: 300px;
    border-radius: 8px;
    border: 1px solid black;
    
    margin-right: 10%;
}
/*Fin tipos*/

/*Modelos internos*/
.producto {
    display: flex;
    gap: 20px; /* Espacio entre texto e imagen */
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin: 20px auto;
}

.producto div:first-child {
    flex: 1;
    min-width: 300px;
}

.productimg {
    flex: 0.5; /* Reduce el tamaño del contenedor de la imagen */
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px; /* Tamaño máximo de imagen */
}

.productimg img {
    width: 100%;
    max-width: 350px; /* Ajusta la imagen */
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .producto {
        flex-direction: column; /* Apila el texto y la imagen */
        text-align: center;
    }

    .productimg {
        max-width: 100%; /* Asegura que la imagen no sobresalga */
    }
}
/*Fin modelos internos*/

h1{
    font-size: 50px;
    text-align: center;
    padding-top: 10px;
    font-family: roboto;
    padding-top: 20px;
}

h2{
    margin-left: 10px;
    margin-top: 25px;
}

h3 {
    background-color: #990000;
    color: #ffffff;
    border:none;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    border-radius: 15px;
    margin-left: 10px;
    margin-right: 10px;
    align-self: center;
}

.principal{
    margin-left: 5%;
}

svg {
    vertical-align: -.125em;
    color: #000000 !important;
}

hr{
    margin-right: 50px;
    padding-bottom: 20px;
}

footer hr{
    margin-top: 20px !important; /* Aumenta el margen superior */
    margin-bottom: 10px;
}


.carrusel{
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 15px;
}

/*FAQ*/

.faqs {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 35px;
}

.faq {
    background-color: white;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
}

.head {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-size: 16px;
}

.head svg {
    transition: transform 0.3s;
}

.content {
    padding: 15px;
    background-color: #f1f1f1;
    display: none; /* Inicialmente ocultamos el contenido */
}

.content p {
    margin: 0;
}

.active .content {
    display: block; /* Mostramos el contenido cuando está activo */
}

.active .head svg {
    transform: rotate(180deg); /* Giramos el icono */
}

/*Fin FAQ*/

/*Footer*/
footer{
    background-color: #8f8c855d;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

a{
    text-decoration: none;
    font-size: 17px;
    color: #ffffff;
}

footer a:hover{
    color: #990000 !important;
}

.logo-hover:hover{
    fill: #990000;
}

footer img{
    width: 220px;
    height: 220px;
}
/*arreglar modelos*/
.destructoras{
    margin-left: 50px;
    margin-right: 50px;
}

.destructoras .img-fluid{
    height: 250px;
    width: auto;
}

.productimg img{
    height: 300px;
    width: auto;
}

/*modelos html externos*/
.otrosmodelos{
    height: 220px;
    width: auto;
}

.botonvolver{
    margin-left: 5px;
    margin-top: 10px;
}

.ejemplo{
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 20px !important;
    border-width: 3px !important;
    border-color: #000000 !important;
}

.contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    max-width: 1200px;
    background-color: rgb(202, 199, 191);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(162, 161, 161, 0.882);
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 100px;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-text {
    flex: 1;
    padding: 20px;
    text-align: center;
    background-color: rgb(202, 199, 191);
}

.contact-text h2 {
    margin: 0 0 10px;
}

.contact-text p {
    margin: 0;
    font-size: 18px;
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-strip {
        flex-direction: column;
        text-align: center;
    }

    .contact-image {
        width: 100%;
    }

    .contact-text {
        width: 100%;
        padding: 15px;
    }
}

/*estilos contacto*/

.contact-strip2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    max-width: 1500px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 45px;
}

.contact-image2 {
    flex: 1;
}

.contact-image2 img {
    width: 85%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contact-text2 {
    flex: 1;
    padding: 20px;
    color: white;
    background-color: rgba(88, 88, 88, 0.531);
    border: solid 1px #000000;
    border-radius: 15px;
    max-width: 600px;
    height: auto;
}

.contact-text2 h2 {
    margin: 0 0 10px;
}

.contact-text2 p {
    margin: 0;
    font-size: 18px;
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-strip2 {
        flex-direction: column;
        text-align: center;
    }

    .contact-image2 {
        width: 100%;
    }

    .contact-text2 {
        width: 100%;
        padding: 15px;
    }
}

iframe{
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 30px;
    height: 350px;
}

.iframetext {
    text-align: center; /* Centra el texto */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente si tiene altura definida */
}

.iframetext h2{
    font-size: 40px;
}

.iframetext p{
    font-size: 20px;
}

.titulofaq{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-bottom: 35px;
}

/*Fin estilos contacto*/

/*estilos politica de privacidad*/
.politicaprivacidadtitulo{
    max-width: 95%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.politicaprivacidadtexto {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

/*estilos cookies*/
#cookie-banner {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: #222;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between; /* Distribuye el texto a la izquierda y los botones a la derecha */
    align-items: center;
    z-index: 1000;
    border-radius: 5px;
    gap: 15px;
}

#cookie-banner p {
    margin: 0; /* Evita márgenes extra en el párrafo */
    flex: 1; /* Permite que el texto ocupe el espacio disponible */
}

#cookie-buttons {
    display: flex;
}


#cookie-banner a {
    color: #990000;
    text-decoration: underline;
    height: 100px;
}

#cookie-banner button {
    padding: 8px 12px;
    background-color: #990000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    max-height: 90px;
    max-width: 100px;
    justify-content: flex-end;
}

#cookie-banner button:hover {
    background-color: #c00f0f;
}

/*estilos politica de privacidad*/
.cookiestitulo{
    max-width: 95%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.cookiestexto {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.cookiesa{
    color: #990000;
}

.cookiesopcion {
    color: #000000;
}

.cookieslista {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.comparacioncaracteristicas{
    margin-bottom: 20px;
}

.form-check{
    text-align: left;
}

/*estilos carrusel modelos*/
.contenedormodelos{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border-radius: 20px;
    background-color: #1b3541;
}

.modelocompleto{
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    border: 3px solid black;
    margin: 10px;
}

.modelocompleto:hover{
    scale: 1.03;
}

.modelocompleto img{
    height: 400px;
    margin-top: 20px;
}

.modelocompleto p{
    background-color: #990000;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    color: white;
    border-radius: 10px;
    font-style: bold;
    padding: 5px;
    border: 1px solid black;
}

.slider-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 70px 55px;
  }
  
  .card-list .card-item {
    height: auto;
    color: #fff;
    user-select: none;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgb(0, 0, 0);
  }
  
  .card-list .card-item .user-image {
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
    padding: 4px;
  }
  
  .card-list .card-item .user-profession {
    font-size: 1.15rem;
    color: #e3e3e3;
    font-weight: 500;
    margin: 14px 0 40px;
  }
  
  .card-list .card-item .message-button {
    font-size: 1.25rem;
    padding: 10px 35px;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    background: #990000;
    border: 1px solid black;
    transition: 0.2s ease;
  }
  
  .card-list .card-item .message-button:hover {
    background-color: #c00f0f;
    border: 1px solid black;
    color: white;
  }
  
  .user-name{
      text-align: center;
      height: 90px;
  }
  
  .slider-wrapper .swiper-pagination-bullet {
    background: black;
    height: 13px;
    width: 13px;
    opacity: 0.5;
  }
  
  .slider-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
  }
  
  .slider-wrapper .swiper-slide-button {
    color: #afafaf;
    margin-top: -55px;
    transition: 0.2s ease;
  }
  
  .slider-wrapper .swiper-slide-button:hover {
    color: black;
  }
  
  @media (max-width: 768px) {
    .slider-wrapper {
      margin: 0 10px 40px;
    }
  
    .slider-wrapper .swiper-slide-button {
      display: none;
    }
  }

  .pideinfo{
    font-size: 1.25rem;
    padding: 10px 35px;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    background: #990000;
    border: 1px solid black;
    transition: 0.2s ease;
  }

  .pideinfo:hover{
    background-color: #c00f0f;
    border: 1px solid black;
    color: rgb(0, 0, 0);
  }

  .privacidad{
    color: #000000 !important;
  }

  .privacidad:hover{
    color: #990000 !important;
  }