﻿/* General */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #231f1f;
    color: white;
}

h3, p {
    color: white;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #231f1f;
    padding: 10px 20px;
    flex-wrap: wrap;
    border-bottom: 2px solid #ff0000;
}

    .navbar .logo img {
        height: 50px;
    }

.nav-links {
    display: flex;
    gap: 20px;
}

    .nav-links a {
        color: white;
        padding: 8px 12px;
        border-radius: 4px;
        transition: box-shadow 0.3s ease;
    }

        .nav-links a:hover {
            box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000;
        }

.navbutt {
    margin-top: 15px;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: box-shadow 0.3s ease;
}

    .navbutt:hover {
        background-color: #800000e5;
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000;
    }

/* Menu responsive */
.menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

        .nav-links.active {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }

    .navbar {
        border: none;
        box-shadow: none;
    }

    .nav-links a {
        display: block;
        margin: 5px auto;
        text-align: center;
    }
}

/* Jumbotron */
.jumbotron {
    background: linear-gradient(to right, #1a1a1a, #2c2c2c);
    padding: 80px 20px;
    text-align: center;
    box-shadow: inset 0 -5px 10px rgba(255, 0, 0, 0.4);
}

    .jumbotron h1 {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
        color: #ffffff;
        margin-bottom: 15px;
    }

    .jumbotron p {
        font-size: 1.3rem;
        color: #cccccc;
        margin-bottom: 25px;
    }

    .jumbotron img {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }


.jumbotron-btn {
    background-color: #ff0000;
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 0 10px #ff0000;
    transition: background 0.3s ease-in-out;
}

    .jumbotron-btn:hover {
        background-color: #cc0000;
    }

/* WhatsApp botón */
.whatsapp-btn {
    background-color: #1ebe57;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 0 10px #1ebe57;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

    .whatsapp-btn:hover {
        background-color: #1ebe57;
        box-shadow: 0 0 15px #1ebe57;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
        fill: white;
    }

/* Container para las cards */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 15px;
    gap: 20px;
}

/* Cards */
.card {
    background-color: #2e2e2e;
    border-radius: 12px;
    padding: 25px;
    width: 360px;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.15);
    transition: transform 0.3s ease;
    word-wrap: break-word;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card h3 {
        font-size: 1.4rem;
        margin: 0 0 10px 0;
    }

    .card p {
        font-size: 1.05rem;
        color: #e0e0e0;
        margin: 6px 0;
    }

    .card .descripcion {
        font-style: italic;
        color: #bbbbbb;
        min-height: 60px;
    }

/* Carrusel */
.carousel-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-prev,
.carousel-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Detalle vehículo */
.titulo {
    font-size: 2.2rem;
    color: #ff0000;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
}

.contenedor {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
}

.descripcion-detalle {
    background-color: #2e2e2e;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
}

.info {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    line-height: 1.8;
}

    .info strong {
        color: #ff0000;
    }

/* Responsive cards */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        width:360px;
    }

    .carousel-image {
        height: 280px;
    }

    .titulo {
        font-size: 1.6rem;
    }

    .jumbotron {
        padding: 40px 15px;
        box-shadow: inset 0 -3px 6px rgba(255, 0, 0, 0.3);
    }

        .jumbotron h1 {
            font-size: 1.8rem;
        }

        .jumbotron p {
            font-size: 1rem;
        }

    .jumbotron-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .card {
        width: 95%;
        padding: 20px;
    }

    .carousel-image {
        height: 220px;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 1rem;
    }
}


.highlight-message {
    font-size: 2rem;
    color: #ff0000;
    text-align: center;
    margin-top: 40px;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
    width: 100%;
}
.boton-vermas {
    text-align: center;
    margin-top: 10px;
}

    



@media (max-width: 480px) {
    .highlight-message {
        font-size: 1.5rem;
    }
}

/*css Contacto*/

.container-contacto {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.map {
    margin: 20px 0;
    border: 2px solid #ff0000;

}

.contacto {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #ffffff;
}

.contact-info p {
    margin: 5px 0;
}

.acontactos {
    color: ghostwhite;
    text-decoration: none;
}

    .acontactos:hover {
        text-decoration: underline;
    }

.datos-coche {
    text-transform: uppercase;
}




