/* === ESTILOS GENERALES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === ENCABEZADO (HEADER) === */
header {
    background-color: #1a253a; /* Azul oscuro professional */
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    font-weight: bold;
}

/* === SECCIÓN PRINCIPAL (HERO) === */
.hero {
   position: relative;
    padding-top: 0px;
    margin-top: 60px;
    height: 600px;
    color: white;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent; /* Importante: que sea transparente */
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.hero h2 {
    font-size: 40px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.btn-call {
    background-color: #e67e22; /* Naranja asistencia */
    color: white;
}

/* === SECCIÓN DE SERVICIOS === */
.services {
    padding: 60px 0;
    text-align: center;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.service-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    height: 250px; /* Ajuste para uniformidad de tarjetas */
}

.service-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
}

/* === RECUADRO DE OTROS VEHÍCULOS === */
.other-vehicles {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
}

.other-vehicles-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.other-vehicles-list p {
    background-color: #e0f2fe; /* Azul claro suave */
    color: #1a253a;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.service-area {
    color: #1a253a;
    font-weight: bold;
}

/* === SECCIÓN DE CONTACTO === */
.contact {
    padding: 60px 0;
    background-color: #e67e22;
    color: white;
    text-align: center;
}

.contact h3 {
    margin-bottom: 10px;
}

.contact .phone-number {
    font-size: 32px;
    font-weight: bold;
}

/* === PIE DE PÁGINA (FOOTER) === */
footer {
    background-color: #1a253a;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* === BOTONES FLOTANTES === */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.btn-whatsapp, .btn-call-floating {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
    background-color: #25d366; /* Verde whatsapp */
}

.btn-call-floating {
    background-color: #e67e22;
}

/* === ADAPTABILIDAD (RESPONSIVE) === */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 30px;
    }
    .hero-content {
        width: 90%;
    }
    .service-cards {
        grid-template-columns: 1fr;
    }
    .other-vehicles-list {
        flex-direction: column;
        gap: 10px;
    }
}

.hero-double-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Pone las dos fotos una al lado de la otra */
    z-index: -1;   /* Las manda al fondo de las letras */
}

.hero-image-half {
    width: 50%;       /* Cada foto ocupa la mitad de la pantalla */
    height: 100%;
    object-fit: cover; /* Las recorta para que no se estiren */
    filter: brightness(0.5); /* Las oscurece para que las letras blancas se lean bien */
}

/* Para que en el móvil no se vean minúsculas, se ponen una arriba y otra abajo */
@media (max-width: 768px) {
    .hero-double-bg {
        flex-direction: column;
    }
    .hero-image-half {
        width: 100%;
        height: 50%;
    }
}