@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    bottom: 40px;
    right: 40px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0px 0px 3px #fff;
    z-index: 999;
}

.fa-whatsapp {
    font-size: 60px;
}

.float:hover {
    background-color: #fff;
}

.float:hover .fa-whatsapp {
    color: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    overflow-x: hidden; /* Evita el desplazamiento horizontal */
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    background-color: #f7f7f7;
}

header {
    width: 100%;
    padding: 20px 20px;
    background: #11141a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    position: relative;
}

.logo {
    width: 250px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: absolute; /* Cambiado a absolute */
    top: 20px;
    right: 20px;
    z-index: 1001;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: #D9B814;
}

.language-switcher {
    margin-left: 20px;
}

.flag-icon {
    width: 40px;
    height: auto;
}

.alquilar-btn {
    background-color: #D9B814;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px 20px;
    color: #11141a;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.alquilar-btn:hover {
    background-color: #fff;
    color: #D9B814;
    border-color: #D9B814;
}

main {
    flex: 1;
    padding: 40px 80px;
    background-color: #fff;
}

.content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.objective-section {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
}

.services-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.text-content {
    flex: 1;
    padding-right: 20px;
}

.content-section h2, .content-section h3 {
    font-weight: bold;
    margin-bottom: 15px;
    color: #1E445B;
}

.content-section p {
    margin-bottom: 20px;
    color: #333;
}

.content-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: #333;
}

.car-image {
    max-width: 35%;
    height: auto;
    border-radius: 8px;
}

.footer-section {
    background-color: #11141A;
    color: #fff;
    padding: 40px 20px;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.newsletter {
    margin-bottom: 20px;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 10px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 25px 0 0 25px;
}

.newsletter-form button {
    background-color: #FDC500;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.privacy-policy {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.privacy-policy input {
    margin-right: 5px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.contact-info, .footer-links {
    flex-basis: 48%;
}

.contact-info p {
    margin: 5px 0;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    display: inline-block;
}

.footer-bottom {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-logo {
    max-width: 150px;
}
/* Justificar el texto en la sección de contenido */
.content-section p, .content-section ul, .content-section h3 {
    text-align: justify;
}
@media (max-width: 767px) {
    .nav-toggle {
        display: block;
        position: absolute; /* Cambiado de fixed a absolute */
        top: 20px;
        right: 20px;
        z-index: 1001;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #111;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 20px;
        z-index: 1000;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid #333;
        margin-left: 0;
    }

    .alquilar-btn {
        margin-top: 20px;
    }
}

@media (min-width: 768px) {
    nav {
        gap: 20px;
    }
}

.nav-toggle svg {
    width: 24px;
    height: 85px;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
        border-radius: 25px;
        margin-bottom: 10px;
    }

    .footer-info {
        flex-direction: column;
    }
    
    .contact-info, .footer-links {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .services-section {
        flex-direction: column;
        align-items: center;
    }

    .car-image {
        max-width: 100%;
        margin: 20px 0;
    }
}
/* Responsive Design: Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    main {
        padding: 5px 10px; /* Ajuste de padding para dispositivos móviles */
    }
}