
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@300;400&display=swap');

body {
    font-family: 'Exo', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    background-color: black;
    text-align: center;
}

header {
    background-color: black;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permite que los elementos se ajusten en pantallas pequeñas */
}

header .logo img {
    max-width: 150px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}





/* Estilos del menú */

.menu {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

}


.menu li {

    margin: 0 15px;

}


.menu a {

    color: white;

    text-decoration: none;

}


/* Estilos para pantallas pequeñas */



/* Media query para pantallas pequeñas */

@media (min-width: 768px) {

    .menu {

        display: flex; /* Mostrar el menú en pantallas grandes */

        position: static; /* Posicionar normalmente */

    }

    .menu-icon {

        display: none; /* Ocultar el icono del menú en pantallas grandes */

    }

}
.hero {
    background: url('images/imgAudi.JPG') no-repeat center center/cover;
    width: 80%;
    height: 50vh; 
    position: relative; 
}






.hero-text h1 {
    font-size: 2.5em; /* Tamaño de fuente para el encabezado */
    margin: 0; /* Elimina el margen */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra para mejorar la legibilidad */
}

.hero-image {
    display: none; /* Oculta la imagen en el banner */
}

/* Responsividad para el texto del banner */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 1.8em; /* Reduce el tamaño de la fuente en pantallas pequeñas */
    }
}
/* SECCIÓN NOSOTROS */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    flex-wrap: wrap; /* Permite que los elementos se ajusten en pantallas pequeñas */
}

.about-text {
    flex: 1;
    padding-right: 40px;
    text-align: left;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    height: auto; /* Cambiado a auto para mantener la proporción */
}

.about-image {
    flex: 1;
    text-align: right;
}

.container {
    width: 80%;
    margin: auto;
}

section {
    padding: 50px 0;
    border-bottom: 1px solid white;
}

.services, .about, .contact {
    text-align: center;
}

.services h3, .about h2, .contact h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.service-item {
    margin-bottom: 40px;
}

.service-item h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1.2em;
}

.hero-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* Galería de imágenes en UNA SOLA FILA */
/* Estilos base */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.slide img {
    max-width: 50%;
    height: auto;
    margin-right: 20px;
}

.slide p {
    max-width: 40%;
    font-size: 1.2rem;
    color: white;
}

/* Botones de navegación */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .slide {
        flex-direction: column;
    }

    .slide img {
        max-width: 80%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .slide p {
        max-width: 90%;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slide img {
        max-width: 100%;
    }

    .slide p {
        max-width: 100%;
        font-size: 0.9rem;
    }
}
/* Sección de formulario estilo imagen */
/* Sección de formulario ajustado a la pantalla */
.dream-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100vw; /* Evita que sobresalga */
    height: 110;
    background-color: white;
    color: black;
    padding: 50px;
    box-sizing: border-box; /* Asegura que padding no cause desbordamiento */
    overflow: hidden; /* Evita el desplazamiento horizontal */
}

.form-container {
    flex: 1;
    text-align: left;
    padding-right: 50px;
    max-width: 50%; /* Evita que el formulario se expanda demasiado */
}

.form-container h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.form-container p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box;
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

select, input, textarea, .custom-button {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box;
    font-family: 'Exo', sans-serif;
}

select {
    background: white;
    cursor: pointer;
}

select:focus {
    border-color: red;
    outline: none;
}

textarea {
    height: 100px;
    
}

.custom-button {
    background: white;
    border: 2px solid red;
    color: red;
    font-size: 1.2em;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.custom-button:hover {
    background: red;
    color: white;
}

.form-image {
    flex: 1;
    height: 100%;
    max-width: 50%; /* Evita que la imagen sobresalga */
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Elimina espacios en blanco inesperados */
}

/* Responsividad */
@media (max-width: 768px) {
    .dream-form {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .form-container {
        padding-right: 0;
        text-align: center;
        max-width: 100%;
    }

    .form-image {
        height: 300px;
        max-width: 100%;
        margin-top: 20px;
    }
}




