/* ===== ESTILOS BASE ===== */
@font-face {
    font-family: "Avenir Roman";
    src: url(../fonts/Avenir-Roman-12.ttf) format("truetype");
}

@font-face {
    font-family: "Avenir Black";
    src: url(../fonts/Avenir-Black-03.ttf) format("truetype");
}

body {
    font-family: 'Avenir Roman';
}

/* ===== NAVEGACIÓN ===== */
.bg-dark {
    background-color: #231f20 !important;
}

.navbar-nav {
    font-family: 'Avenir Roman';
    font-size: 19px;
}

.nav-link[href="/Comonuevo"] {
    color: white !important;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link[href="/Comonuevo"]:hover {
    color: #dd4b39 !important;
    text-decoration: none;
}

/* ===== LAYOUT PRINCIPAL ===== */
.bodydiv {
    background-color: rgb(255, 255, 255);
    padding: 3%;
}

/* ===== TIPOGRAFÍA ===== */
.Avenir-Black {
    font-family: 'Avenir Black';
}

.Ficha {
    font-size: 18px;
}

.Ficha span {
    font-size: 22px;
    color: #212529;
}

.title-list, .breadcrumb-item {
    font-family: 'Avenir Black';
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    color: #868e96;
    content: ">";
    font-family: 'Avenir Black';
}

/* ===== ENLACES ===== */
a {
    color: #212529;
}

a:hover {
    color: #212529;
    text-decoration: underline;
}

/* ===== TARJETAS DE VEHÍCULOS ===== */
.items {
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    background-color: #FFF;
}

/* ===== IMÁGENES DE VEHÍCULOS ===== */
.carrusel-image {
    transition: all 0.3s ease;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.vehiculo-row {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vehiculo {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-vehiculo {
    -webkit-box-shadow: 0px 10px 13px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 10px 13px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 10px 13px 0px rgba(0,0,0,0.75);
}

.img-productos {
    margin-bottom: 15px;
}

/* ===== TEXTO Y DESCRIPCIONES ===== */
.descripcion-title {
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.descripcion-title:hover {
    color: #007bff;
    transform: translateX(5px);
}

.ch-price {
    background: linear-gradient(45deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.descripcion {
    margin-top: 0px;
    padding-bottom: 0px;
    font-size: 14px;
    line-height: 15px;
    font-weight: bold;
    font-family: Arial,Helvetica,"Nimbus Sans L",sans-serif;
    color: #333;
}

/* ===== BOTONES ===== */
.btn-search {
    background: url("../img/BOTON_BUSCAR.png") no-repeat;
    width: 219px;
    height: 65px;
    border: 1px solid transparent;
}

.btn-Enviar {
    background: url("../img/BOTON_ENVIAR.png") no-repeat;
    width: 142px;
    height: 57px;
    border: 1px solid transparent;
}

/* ===== PRECIOS ===== */
.precio {
    font-size: 30px;
    margin-top: -50px;
    height: 52px;
    color: #FFF;
    position: relative;
    background: url("../img/BANNER_PRECIO.png") no-repeat;
    opacity: 0.8;
}

.precio-categoria {
    font-size: 20px;
    margin-top: -30px;
    height: 30px;
    color: #FFF;
    position: relative;
    background: url("../img/BANNER_PRECIO.png") no-repeat;
    opacity: 1;
    text-align: center;
}

/* ===== BANNER Y SECCIONES ===== */
.Buscador {
    height: 100vh;
    background: url("../img/BANER_GOLF.jpg") no-repeat center bottom;
    background-size: cover;
    background-attachment: fixed !important;
    color: #fff;
    padding-top: 15vh;
    padding-bottom: 10vh;
    font-family: 'Avenir Roman';
    background-color: rgba(0,0,0,0.6);
}

.container-Buscador {
    background-color: rgba(0,0,0,0.7);
    border-radius: 10px;
    padding: 40px;
    z-index: 1;
}

.boton-logo {
    margin-top: -150px;
    position: relative;
}

.ultimos {
    height: 40px;
    background: url("../img/SOMBRA_TEXTO.png") no-repeat top;
    padding: 30px;
}

.ultimos h2 {
    font-family: 'Avenir Black';
}

.contacto {
    height: auto;
    background: url("../img/FOTO_CONTACTO.jpg") no-repeat top center;
    background-size: cover;
    background-attachment: fixed !important;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.container-contacto {
    padding: 40px;
    z-index: 1;
}

.title-contacto {
    font-family: 'Avenir Black';
}

/* ===== LISTAS Y GRUPOS ===== */
.list-group-item {
    border: 1px solid transparent;
    background-color: #f8f8f9;
}

.bg-secondary {
    background-color: #f8f8f9 !important;
    border: 1px solid rgba(0,0,0,0);
}

/* ===== ESTILOS DEL MENÚ LATERAL ===== */
.menu-lateral {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

.menu-lateral ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.menu-lateral ul:first-child {
    margin-bottom: 30px;
}

.menu-lateral ul:first-child a {
    font-size: 20px;
    color: #dd4b39 !important;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 20px;
    display: block;
    background: linear-gradient(45deg, #dd4b39, #e74c3c);
    color: white !important;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(221, 75, 57, 0.3);
}

.menu-lateral ul:first-child a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(221, 75, 57, 0.4);
    text-decoration: none;
}

.menu-lateral ul:not(:first-child) li.list-group-item {
    background: #231f20;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 20px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-lateral ul:not(:first-child) li:not(.list-group-item) {
    margin-bottom: 5px;
}

.menu-lateral ul:not(:first-child) li:not(.list-group-item) a {
    color: #333333;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    border-left: 3px solid transparent;
}

.menu-lateral ul:not(:first-child) li:not(.list-group-item) a:hover {
    background: #dd4b39;
    color: white !important;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(221, 75, 57, 0.3);
    text-decoration: none;
}

.menu-lateral ul:not(:first-child) li:not(.list-group-item) a:before {
    content: "•";
    color: #dd4b39;
    font-weight: bold;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.menu-lateral ul:not(:first-child) li:not(.list-group-item) a:hover:before {
    color: white;
}

/* ===== RESPONSIVE DEL MENÚ LATERAL ===== */
@media (max-width: 768px) {
    .menu-lateral {
        margin-top: 15px;
        padding: 15px;
    }
    
    .menu-lateral ul:first-child a {
        font-size: 18px;
        padding: 12px 15px;
    }
    
    .menu-lateral ul:not(:first-child) li.list-group-item {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .menu-lateral ul:not(:first-child) li:not(.list-group-item) a {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* ===== FOOTER ===== */
footer {
    bottom: 0%;
    padding-bottom: 30px;
    padding-top: 30px;
    background-color: #231f20;
    color: #FFF;
}

/* ===== UTILIDADES ===== */
.texto-centrado {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}


.items:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.badge {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
}


.btn-outline-primary {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: none;
    color: #007bff;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}







/* ===== MEDIA QUERIES ===== */
@media only screen and (max-width: 991px) {
    .carrusel-image {
        height: 200px;
        width: 320px;
        display: block;
    }
}

@media screen and (max-width: 576px) {
    .vehiculo-row {
        height: auto !important;
    }
}

@media screen and (min-width: 768px) {
    .vehiculo-row {
        width: 100%;
        height: 220px !important;
    }
}

@media screen and (min-width: 992px) { 
    .vehiculo-row {
        width: 100%;
        height: 200px !important;
    }
}

@media screen and (min-width: 1200px) { 
    .vehiculo-row {
        width: 100%;
        height: 200px !important;
    }
}



@media (max-width: 576px) {
   
    .footer-f {
        font-size: 1.1rem;
        display: flex;
        text-align: center;
    }
}


