/* styles.css */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

p {
    font-size: 1.5em;
}
h3 {
    font-size: 2.0em;
}

/* Colores */
:root {
    --primary-color: #ff6600; /* Naranja */
    --secondary-color: #ffffff; /* Blanco */
    --text-color: #333333; /* Gris oscuro */
}

/* Estilos generales */
body {
    color: var(--text-color);
    background-color: var(--secondary-color);
}

/* Encabezado */
header {
    background-color: white;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
a {
    font-size: 1.4em;
}

header .logo {
    font-size: 1.5em;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    
}

.img_logo{
    height: 200px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    color: var(--primary-color)
}

header nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.header-buttons a {
    margin-left: 10px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-primary {
   text-align: left;
    color: var(--primary-color);
}

.btn-secondary {
    margin: 3px;
    padding-top: 10px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color); /* Cambia a color azul */
    color: white; /* Cambia el texto a blanco para contraste */
    transform: scale(1.1); /* Aumenta el tamaño ligeramente */
}
textarea{
    height: 100px;
}

/* Hero */
#hero {
    text-align: center;
    padding: 100px 20px;
   /* background-image: url(images/taxi_descapotado_banner.png);*/
    background-size: cover; /* Hace que la imagen cubra toda la sección */
    align-items: center;
    background-position: center; /* Centra la imagen */
    color: var(--secondary-color);
    max-width: 1200px;
    margin: auto;
}

#hero h1 {
    font-size: 2.0em;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;

    
}

#hero p {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;

}

/* Secciones */
section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    color: var(--primary-color);
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

.steps, .services {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.step, .service {
    flex: 1;
    text-align: center;
}

.service h3, .step h3 {
    color: var(--primary-color);
    margin-top: 10px;
}

.app-links a img {
    width: 150px;
    margin: 10px;
}

/* Formulario de contacto */
form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    color: var(--primary-color);
    font-weight: bold;
}

form input, form textarea, form button {
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #cccccc;
}

form button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px 0;
    text-align: center;
}

footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

footer nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
}
.steps_img{
    height: 80px;
}
.store{
    border-radius: 10px;
}

/* Carrucel de imagenes */

.slider {
    position: relative;
    max-width: 100%;
    height: 600px;
    overflow: hidden;
    margin: auto;
    background-color: #000;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slider-container img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.prev, .next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/*Politica */
.head_privacidad{
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
   
}
.punts{
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/*Responsive*/
/* Responsive Design */

/* General */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 10px;
    }

    .header-buttons a {
        margin: 5px 0;
        padding: 8px 15px;
    }

    .img_logo {
        height: 150px;
    }

    h3 {
        font-size: 1.8em;
    }

    p {
        font-size: 1.2em;
    }

    #hero h1 {
        font-size: 1.5em;
    }

    #hero p {
        font-size: 1em;
    }

    section {
        padding: 40px 15px;
    }

    h2 {
        font-size: 1.5em;
    }

    .steps, .services {
        flex-direction: column;
    }

    .step, .service {
        margin-bottom: 20px;
    }

    form {
        padding: 20px;
    }

    form button {
        padding: 10px;
    }

    footer nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .slider {
        height: 300px;
    }

    .slider-container img {
        height: 100%;
        object-fit: cover;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Ajusta la distancia desde la parte inferior */
    right: 20px; /* Ajusta la distancia desde el lado derecho */
    z-index: 1000; /* Asegúrate de que el botón esté siempre visible */
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

.whatsapp-float img {
    width: 100%; /* Asegúrate de que la imagen se ajuste al botón */
    height: auto;
}


/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .img_logo {
        height: 180px;
    }

    header nav ul {
        gap: 15px;
    }

    h3 {
        font-size: 1.9em;
    }

    p {
        font-size: 1.4em;
    }

    #hero h1 {
        font-size: 1.8em;
    }

    #hero p {
        font-size: 1.3em;
    }

    section {
        padding: 50px 20px;
    }

    h2 {
        font-size: 1.8em;
    }

    .steps, .services {
        flex-wrap: wrap;
        gap: 15px;
    }

    .step, .service {
        flex: 0 0 48%;
        margin-bottom: 20px;
    }

    form {
        padding: 30px;
    }

    footer nav ul {
        gap: 10px;
    }

    .slider {
        height: 400px;
    }

    .slider-container img {
        object-fit: cover;
    }
}
