/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #111;
    color: #eaeaea;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-width: 320px; /* evita que se desborde en móviles */
}

.container {
    width: 90%;          /* ocupa la mayor parte del ancho */
    max-width: 1200px;   /* límite máximo */
    margin: 0 auto;      /* centra horizontalmente */
    padding: 0 15px;     /* espacio interno */
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0074CD;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #FF0000;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ================= HEADER / NAV ================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: #111;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre logo y texto */
}

.nav-logo .logo {
    width: 50px;  /* Ajusta al tamaño que quieras */
    height: auto; /* Mantiene proporción */
}

.nav-logo h2 {
    color: #0074CD;
    font-size: 1.8rem;
    font-weight: 700;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #eaeaea;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-link:hover {
    color: #FF0000;
    border-bottom: 2px solid #FF0000;
}

/* Hamburger */
.hamburger {
    display: none; /* se muestra solo en mobile */
    flex-direction: column;
    cursor: pointer;
    z-index: 1100; /* encima del menú */
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    overflow: hidden;
    height: 500px; /* Altura fija del carrusel */
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px; /* Ajusta altura fija para uniformidad */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
    opacity: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción y cubre todo el contenedor */
    display: block;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}






.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 20px 0;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.cta-button {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255,0,0,0.4);
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.08);
}

/* ================= MODELOS ================= */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.model-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

.model-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 10px 30px rgba(0,116,205,0.4);
}

.model-image {
    font-size: 3rem;
    color: #0074CD;
    margin-bottom: 1rem;
}

.model-card h3 {
    color: #0074CD;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.model-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.model-specs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.model-specs span {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #0074CD;
}

.model-btn {
    background: #0074CD;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.model-btn:hover {
    background: #005A9E;
}

/* ================= PROMOCIONES ================= */
.promo-section {
    background: #1a1a1a;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.promo-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.promo-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 20px rgba(255,0,0,0.5);
    border: 2px solid #FF0000;
}

.promo-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FF0000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.promo-card h3 {
    color: #0074CD;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.promo-price {
    font-size: 1.8rem;
    color: #FF0000;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.promo-features li {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.promo-features i {
    color: #28a745;
    margin-right: 0.5rem;
}

.promo-btn {
    background: #28a745;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.promo-btn:hover {
    background: #218838;
}

/* ================= SOBRE NOSOTROS ================= */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: #0074CD;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.about-text p,
.about-text li {
    color: #ccc;
}

.about-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-text i {
    color: #28a745;
    margin-right: 0.5rem;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #0074CD, #005A9E);
    color: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: scale(1.08);
}

.stat h4 {
    font-size: 2.5rem;
}

.stat p {
    font-weight: 500;
}

/* ================= CONTACTO ================= */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* dos columnas por defecto */
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: #0074CD;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: #0074CD;
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #333;
    border-radius: 5px;
    font-size: 1rem;
    background: #1a1a1a;
    color: #eaeaea;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0074CD;
}

.submit-btn {
    background: #0074CD;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background: #005A9E;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr; /* una columna en móvil */
        gap: 2rem;
        padding: 0 15px; /* opcional, para que no toque los bordes */
    }

    .contact-form, .contact-info {
        width: 100%; /* asegurar que ocupen todo el ancho */
    }
}
/* ================= FOOTER ================= */
/* Footer general */
footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px 20px 20px;
    font-family: 'Roboto', sans-serif;
}

/* Flex layout para contenido del footer */
.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Sección izquierda */
.footer-left {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-left h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #f5f5f5;
}

.footer-left ul {
    list-style: none;
    padding: 0;
}

.footer-left ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-left ul li a:hover {
    color: #ffcc00;
}

/* Sección derecha (mapa) */
.footer-right {
    flex: 1 1 35%;
}

.footer-right h4 {
    margin-bottom: 10px;
    color: #0074CD;
}

.footer-right .map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.footer-right .map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* Overlay para clic en mapa */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.map-overlay:hover {
    background: rgba(0,0,0,0.6);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 10px;
    font-size: 14px;
    color: #aaa;
}

/* Social links */
.social-links a {
    color: #aaa;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0074CD;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-flex {
        flex-direction: column;
    }
    .footer-left, .footer-right {
        flex: 1 1 100%;
    }
}


/* ================= BOTON WHATSAPP ================= */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(37, 211, 102, 0.85); /* color verde con transparencia */
    color: #fff;
    font-size: 2rem;
    width: 60px; /* ancho fijo para hacerlo circular */
    height: 60px; /* altura igual al ancho */
    border-radius: 50%; /* asegura que sea perfectamente circular */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Efecto hover */
.btn-whatsapp:hover {
    transform: scale(1.1);
    background: rgba(37, 211, 102, 1); /* más intenso al pasar el mouse */
}
@media (max-width: 768px) {
    .nav-logo h2 {
        font-size: 1.2rem; /* más pequeño en móvil */
        white-space: normal; /* permite que el texto haga salto de línea */
        text-align: center;  /* centra el texto si el logo está encima */
        margin-top: 5px;     /* un poquito de espacio sobre el logo */
    }

    .nav-logo {
        flex-direction: column; /* coloca logo y texto en columna */
        align-items: center;
        gap: 5px;
    }
}

/* Menú responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* aquí se muestra en mobile */
    }

    .nav-menu {
        position: fixed;
        left: -100%; /* fuera de pantalla */
        top: 70px; /* debajo del header */
        flex-direction: column;
        background-color: #111;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0; /* cuando se activa, entra */
    }
    .nav-logo h2 {
    font-size: 1.8rem; /* tamaño normal en desktop */
    color: #0074CD;
    font-weight: 700;
}


    .nav-link {
        color: #eaeaea;
        font-size: 1.2rem;
    }
}

/* ================= ANIMACIONES ================= */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px);}
    to { opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}


@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102, 0); }
}

4

/* ================= SOBRE NOSOTROS ================= */
.about-section {
    background: #1a1a1a;
    color: #eaeaea;
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #FFD700; /* toque dorado tipo Chevrolet */
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #ccc;
}

.about-text .btn {
    display: inline-block;
    background: #0074CD;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s;
}

.about-text .btn:hover {
    background: #005da3;
}

/* Responsivo */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }
}