:root{
    --primary: #FFFFFF;
    --secondary: #FEF301;
    --lightYellow: #fef1012f;
    --blac: black;
    --red: #a51b1be9;

}
body{
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    background-color: #f7f7f7;

}

.active-gbc{
    color: #a1a1a1 !important;
}

.gbc-logo{
    width: 4rem;
    cursor: pointer; /* Cambia el cursor a una mano indicando que se puede hacer clic */
    transition: transform 0.3s ease-in-out;
 }

.gbc-logo:hover{
    transform: scale(1.1); /* Aumenta el tamaño del logo a 105% */
}

.fa-bars{
    color: black !important;
}

.section-findCar{
    height: 30rem;
    /* padding: 3rem 8rem; */
    background-image: url("../imgs/fondoCochesDalle.webp");
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-position: center;
    background-size: cover;
}

.section-findCar-mainContainer{
    background-color: #00000056;
    color: var(--primary);
    border-radius: 4px;
    /* padding: 2rem; */
}

.section-findCar-infoContainer{
    width: 100%;

    }

.btn-outline-yellow{
    font-size: 1.3rem;
    width: 10rem;
    color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.btn-outline-yellow:hover {
    color: #000  !important;
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.text-yellow{
    color: #343A40; /* Gris oscuro */
    font-weight: bold;
}

a {
    text-decoration: none; 
    color: inherit;         
}

a:hover {
    text-decoration: none;  
    color: red;            
}

nav{
    max-width: 50rem !important;
}

nav > span{
    /* font-weight: bold; */
}

.bg-dark-yellow {
    background-color: #e6e600;
  }

.bg-light-yellow {
    /* background-color: var(--lightYellow); */
    background-color: #f8f9fa; /* Gris claro */
    border: 1px solid #dee2e6; /* Borde gris sutil */
    border-radius: 8px; /* Esquinas ligeramente redondeadas */
    padding: 16px; /* Espaciado interno */
    margin-bottom: 16px; /* Separación entre cajetines */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    
  }

.title-s{
    height: 2px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    width: 60vw;
    margin: auto;
}

.text-yellow-gbc{
    color: var(--secondary);
}

.text-red{
    color: red;
}


.h1{
    font-size: 0.8rem;
    text-align: center;
}


/*! HEADER */
/* Estilos para el menú hamburguesa en móvil */
#header-nav {
    position: fixed;
    top: 0;
    left: -100%; /* Inicialmente oculto fuera de la pantalla */
    width: 250px; /* Ancho del menú desplegable */
    height: 100%;
    background-color: #f7f7f7;;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 9999; /* Asegura que esté por encima de otros elementos */
    
}

/* Cuando el menú está visible */
#header-nav.show-menu {
    left: 0; /* Desliza el menú desde la izquierda */
}

/* Ocultar el botón de cierre en pantallas más grandes */
@media (min-width: 768px) {
    #header-nav {
        position: static;
        height: auto;
        width: auto;
        box-shadow: none;
    }

    /* Asegúrate de que el botón hamburguesa esté oculto en pantallas más grandes */
    #hamburgerMenu {
        display: none;
    }

}

/* Ajuste del texto y enlaces del menú */
#header-nav span {
    display: block;
    padding: 15px;
    font-size: 1rem;
    transition: 10s;
}

#header-nav a {
    text-decoration: none;
    font-size: 1.1rem;
    color: black;
    font-weight: 400; /* Peso inicial */
    transition: color 0.5s ease; /* Transición suave */
}

#header-nav a:hover {
    color: red;
}

.navbar-toggler:focus{
    box-shadow: none !important;
}

  
/*! SCROLLBAR */
/* Estilos generales para las scrollbars */
::-webkit-scrollbar {
    width: 8px; /* Ancho de la barra de desplazamiento vertical */
    height: 8px; /* Altura de la barra de desplazamiento horizontal */
}

/* Track de la scrollbar */
::-webkit-scrollbar-track {
    background-color: transparent; /* Fondo transparente para la pista */
}

/* Thumb de la scrollbar (la parte que se mueve) */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5); /* Color del thumb con un poco de transparencia */
    border-radius: 4px; /* Bordes redondeados */
}

/* Thumb de la scrollbar en hover */
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Color del thumb en hover, más oscuro */
}

/* Estilos para la barra de desplazamiento horizontal */
::-webkit-scrollbar-thumb:horizontal {
    background-color: rgba(0, 0, 0, 0.5);
}


/*!MAIN - SECTION*/

/*! GUARANTEE SECTION*/

.bg-gb-dark{
    background-color: #5959598b;
}
.section-guarantee{
    padding: 0.5rem 0 0 0;
}



.section-guarantee-card{
    border: 1.5px solid var(--secondary);
    border-radius: 10px;
    background-color: #a1a1a1;
    padding: 2rem 0rem 1rem 0rem;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    
    /* width: 22%; */
}

hr{
}

.guarantee-div-separator{
    background: linear-gradient(to right, var(--secondary), var(--primary));
    border-radius: 4px;
    height: 2px;
    width: 70%;
    margin: 0 auto 1.5rem auto; /* margin-top: 0; margin-right: auto; margin-bottom: 1.5rem; margin-left: auto */
}



.guarantee-icon{
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.guarantee-div-subtitle{
    font-weight: bold;
    font-size: 1.5rem;
}

.guarantee-div-body{
    text-align: justify;
    padding: 0 1.6rem;
    word-spacing: 0.0rem; /* Ajusta este valor según tus necesidades */
}



/*! DESCUBRE NUESTRO VEHÍCULOS SECTION*/

.discover-vehicles-section{
    height: 28rem;
    background-image: url("../imgs/3carsdalle_2.webp");
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-position: center;
    background-size: cover;
}


.discover-vehicles-title{
    text-align: center;
    font-size: 4vh !important;
    display: block !important;

}

.yellow-headlines{
    font-weight: bold;
    color: var(--secondary) !important;
}



.discover-vehicles-divtile{
    padding: 0 0rem;
}

.btn-discoverdiv{
 padding: 0rem 0 ;

}

.btn-discover{
    height: 4rem;
    width: 35%;
    background-color:#fef10125;
    font-size: 1.4rem;
}

/*! NOVEDADES*/
.gray-fade{
    background: linear-gradient(to bottom, #5959598b 0%, #5959595a 80%, white 90%);
}
.vehicle-card{
    border: 2px solid var(--secondary);
    /* width: 23%; */
    border-radius: 10px !important;
    background-color: #f2f2f2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.vehicle-card li{
    background-color: #f2f2f2 !important;



}



.card-img-top{
    height: 14rem;
    border-bottom: 1.5px solid var(--secondary);

    /* background-image: url("../imgs/cars/jeep.jpg"); */
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-position: center;
    background-size: cover;
}
.card-title{
    font-size: 1.5rem;
}

.card-body{
    font-size: 1.2rem;
}

.price{
    color: red ;
    font-size: 1.4rem;
    font-weight: 600;
}


/* ! CARROUSEL SECTION */

.brand-carousel .single-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Necesario para la sombra */
    /*background: #fff;  Fondo blanco para que la sombra sea visible */
    padding: 10px; /* Añade espacio alrededor de las imágenes */
    border-radius: 10px; /* Opcional: para bordes redondeados */
    background-color: transparent;
}
.brand-carousel .single-logo img {
    max-width: 100%;
    height: auto;
}
.brand-carousel .single-logo img {
    width: 200px; /* Ajusta este valor según el tamaño deseado */
    height: 100px; /* Ajusta este valor según el tamaño deseado */
    object-fit: contain; /* Esto asegura que la imagen se ajuste dentro del contenedor sin distorsionarse */
}

/* Ocultar puntos de navegación */
.owl-dots.disabled {
    display: none;
}

 .accordion-button:not(.collapsed) {
    background-color: transparent; 
    color: black; 
    box-shadow: inset 0 -1px 0 #00000020;
 
} 

 .accordion-body.custom-bg {
    background-color: #ffff0049;
    font-style: italic;

  }

  .accordion-button{
    background-color: #f8f9fa; /* Gris claro */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
/*! FOOTER */


.footer a {
  color: black;
  text-decoration: none;
  /* font-weight: bold; */
}

.footer-divider {
  border-top: 1px solid #000;
  margin: 20px 0;
}

.footer-instagram-logo {
  width: 30px;
  height: 30px;
}

.footer p {
  margin: 0;
  font-size: 14px;
  color: #000;
}

.contact-phone {
  /* font-weight: bold; */
}

.footer-cell{
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-cell > a:hover{
    color: red;
}

.copyrightSpan{
    cursor: pointer;
    
}

.copyrightSpan:hover{
    color: red;
    
}


/*! PRELOADER */
/* Contenedor del preloader y la capa de fondo */
.preloader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* Asegura que esté encima del contenido */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Capa de fondo con transparencia */
.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c4c4c42b; /* Fondo negro con 50% de transparencia */
}

/* Mantén la posición relativa para el contenedor de los vehículos */
.container-vehicles-cards {
    position: relative;
}

/* Ocultar preloader por defecto */
.d-none {
    display: none;
}

/*! AVISO DE NO RESULT*/
.no-results-message {
    border: 2px solid #FEF301;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.no-results-message h3 {
    color: var(--red) !important;
    font-size: 3rem;
}

.no-results-message .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.no-results-message .btn-secondary {
    background-color: #FEF301;
    color: #000;
    border-color: #FEF301;
}

/*! POP UP NEWSLETTER*/
/* Estilos del popup de newsletter */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro semitransparente */
    display: flex;
    justify-content: center;
    align-items: end;
    z-index: 10000; /* Asegura que esté por encima de todo */
}

.newsletter-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-popup.d-none {
    display: none;
}

.newsletter-popup .form-control {
    margin-bottom: 1rem;
}

