@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;
}
.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);
}

.container {
    max-width: 900px;
    width: 100%;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    
}
.titulo-principal {
    font-size: 2em;
    color: #1e73be; 
    font-weight: bold;
    margin-bottom: 10px;
}
.subtitulo {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 30px;
}
.contenido {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.contenido img {
    width: 300px; 
    border-radius: 10px;
}
.texto-descriptivo {
    text-align: left;
}
.texto-descriptivo h3 {
    font-size: 1.5em;
    color: #333;
    margin: 0 0 10px 0;
}
.texto-descriptivo p {
    color: #666;
    line-height: 1.5;
}

@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: 90%;
        text-align: center;
    }

    .contenido {
        flex-direction: column;
        margin-top: 50px;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .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;

}