@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/*Header*/

html {
    font-family: "Inter", serif;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column; 
    gap: 20px; 
    padding: 0;
    margin: 0;
}

header {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px  10px rgba(0, 0, 0, 0.5);
    background-color: #ffff;
    
}

.nav {
    margin-top: 38px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    font-weight: 400;
}

header {
    position: static;
    
}

.main-image {
    width: 100%;
    height: auto;
    z-index: 1;
    aspect-ratio: 3 / 1;
}

.logo {
    height: 60px;
    width: 120px;
    margin-top: -25px;
}

a:link {
    /*color: #000000;*/
    text-decoration: none;
}

li > a:last-child {
    margin-right: 5.5rem;
    color: #000000;
}

li > a:hover{
    color: red;
    transition: all 0.5s ease;
    
}

.titulo{
    display: flex;
    align-items: center;  
    justify-content: flex-start;  
    margin-left: 70px;
    font-size: 2rem;
    /*color: #696666;*/
    color: #aa0000
    
}


.tarjeta-vehiculo {
    width: 90%; 
    display: flex;
    background-color: #ffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    
}
    

.imagen-vehiculo {
    flex: 1;
    filter:drop-shadow(/*Midu*/
        0 0 10px rgba(0,0,0,.5)
    ) 
}

.imagen-vehiculo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.info-vehiculo {
    flex: 2;
    padding: 20px;
}

h2 {
    font-size: 24px;
    margin: 0;
}


.descripcion {
    margin: 10px 0;
    color: #555;
}

.boton-renta {
    background-color: #e60000;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.boton-renta:hover {
    background-color: #cc0000;
}

.caracteristicas {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.caracteristicas span {
    display: flex;
    align-items: center;
    font-size: 14px;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
}


.contenedor-vehiculos {
    width: 75%; 
    padding-left: 40px;
}


.tarjeta-vehiculo {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/*FOOTER*/
.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    background-color: #cfd6cf;
    height: max-content;
    padding-bottom: 20px;
}

.footer-card:first-child {
    align-content: center;
}

.footer-card:not(:first-child) {
    margin-top: 50px;
}

.footer-card h3 {
    font-weight: 800;
    font-size: 25px;
    text-align: center;
}

.footer-card p {
    font-size: 20px;
}

.social-media {
    display: flex;
    font-size: 30px;
    gap: 60px;
	align-items: center;
	justify-content: center;
}

.social-media:last-child {
    flex-direction: column;
    gap: 15px;
    font-size: 35px;
}

.social-media:last-child p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.sub-pages li {
    list-style: none;
    margin-bottom: 20px;
}

.additional-services {
    width: 100%;
    height: 500px;
}
i {
    color: #000000;
}

a {
    color: rgb(19, 19, 19);
}
/*Reponsive*/

@media (max-width: 768px) {
    .body,
    .hero,
    .seacher,
    .main-image,
    .car-gallery {
        overflow-x: hidden;
        max-width: 100%;
    }

    header {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    /* Header and Navbar */
    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0;
        margin-top: 1rem;
    }

    li {
        list-style: none;
    }

    .nav li {
        margin: 0.5rem;
        padding: 0 0 0 5rem;
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
        text-align: center;
    }

    .titulo {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        font-size: 1.5rem;
    }
    .contenedor-vehiculos {
		width: 95%;
        padding: 0;
		margin: 0 auto;
	}

    .tarjeta-vehiculo {
        flex-direction: column;
        padding: 18px;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .sub-pages {
        padding-left: 80px;
    }

    .footer-card {
        margin-top: 1rem;
        margin-left: -20px;
        text-align: center;
    }

    .footer-card:not(:first-child) {
        margin-top: 0;
    }

    .footer-card h3 {
        font-size: 1.5rem;
    }

    .footer-card p {
        font-size: 1rem;
        line-height: 0;
        text-align: center;
        padding: 0;
    }

    .social-media {
        font-size: 24px;
        display: flex;
        justify-content: space-evenly;
        width: 20rem;
        gap: 20px;
    }

    .sub-pages {
        padding-left: 80px;
    }
}

.container-circle {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 30px; 
}



.circle {
    width: 40px;
    height: 40px; 
    background-color: #c70e0e; 
    border-radius: 50%; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    transition: all 0.8s ease; 
}


.circle-Smoll {
    display: block; 
    width: 100%; 
    height: 100%; 
    text-decoration: none; 
    color: #ffff; 
    font-size: 17px; 
    font-weight: bold; 
    border-radius: 50%; 
    background: transparent; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.circle:hover,.circle-Smoll:hover{
    background-color: #ee4545; 
    color: #df0909;
    
}