/* Variables globales */
:root {
    --primary-color: #e60012;
    --secondary-color: #333;
    --accent-color: #f5f5f5;
    --text-color: #333;
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Ajuste para el navbar fijo */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 80px; /* Espacio para el navbar fijo */
}

/* Navegación */
.navbar {
    background-color: white;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.honda-logo {
    height: 40px;
    transition: var(--transition);
}

.honda-logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Sección Hero */
.hero-section {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -80px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Sección Nosotros */
.nosotros-section {
    padding: 5rem 5%;
    background-color: white;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nosotros-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nosotros-texto h2 {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.nosotros-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.nosotros-texto p:last-child {
    margin-bottom: 2rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    font-size: 1.2rem;
}

.nosotros-imagen {
    text-align: center;
}

.nosotros-imagen img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.nosotros-imagen img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Sección Modelos */
.modelos-section {
    padding: 5rem 5%;
    background-color: var(--accent-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modelos-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.modelo-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.modelo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.modelo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.modelo-card h3, .modelo-card p {
    padding: 1rem;
}

.modelo-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin: 0 0.5rem 0.5rem 0.5rem;
    width: calc(100% - 1rem);
    text-align: center;
}

.modelo-whatsapp-button:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.modelo-whatsapp-button i {
    font-size: 1rem;
}

.mercadolibre-widget {
    margin-top: auto;
    padding: 1rem;
    background-color: var(--accent-color);
    border-top: 1px solid #eee;
}

.mercadolibre-widget iframe {
    width: 100%;
    border: none;
    min-height: 100px;
}

/* Sección Servicios */
.servicios-section {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.servicios-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: white;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.servicio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: var(--transition);
    height: 300px;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.servicio-imagen {
    position: relative;
    width: 100%;
    height: 100%;
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.servicio-card:hover .servicio-imagen img {
    transform: scale(1.1);
}

.servicio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.servicio-overlay h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.servicios-boton-container {
    text-align: center;
    margin-top: 3rem;
}

.servicios-whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-shadow: none;
}

.servicios-whatsapp-button:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.servicios-whatsapp-button i {
    font-size: 1.2rem;
}

/* Sección Contacto */
.contacto-section {
    padding: 5rem 5%;
    background-color: var(--accent-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacto-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.contacto-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-form input,
.contacto-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: #cc0000;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.contacto-info-footer {
    margin-top: 1rem;
}

.contacto-info-footer p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contacto-info-footer i {
    color: var(--primary-color);
    width: 16px;
}

.mapa-container {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mapa-container iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nosotros-section h2,
    .modelos-section h2,
    .servicios-section h2,
    .contacto-section h2 {
        font-size: 2rem;
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .nosotros-texto h2 {
        text-align: center;
    }

    .nosotros-texto p {
        font-size: 1rem;
    }

    .nosotros-imagen img {
        max-width: 100%;
        height: 250px;
    }

    .whatsapp-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .servicio-card {
        height: 250px;
    }

    .servicio-overlay h3 {
        font-size: 1.2rem;
    }

    .servicios-boton-container {
        margin-top: 2rem;
    }

    .servicios-whatsapp-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .modelo-whatsapp-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        margin: 0 0.5rem 0.5rem 0.5rem;
        width: calc(100% - 1rem);
    }

    .nueva-seccion-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .nueva-seccion-texto h2 {
        text-align: center;
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        color: var(--secondary-color);
    }

    .nueva-seccion-texto p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: left;
        color: var(--text-color);
    }

    .nueva-seccion-imagen img {
        max-width: 100%;
        height: 200px;
    }

    .nueva-seccion-whatsapp-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

/* Media Queries para pantallas muy pequeñas */
@media (max-width: 480px) {
    .nueva-seccion {
        padding: 3rem 1rem;
        min-height: 70vh;
    }

    .nueva-seccion-texto h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .nueva-seccion-texto p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .nueva-seccion-imagen img {
        height: 180px;
    }

    .nueva-seccion-whatsapp-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Sección Más Productos */
.mas-productos-section {
    padding: 5rem 5%;
    background-color: var(--accent-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mas-productos-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.mercadolibre-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.mercadolibre-container iframe {
    background-color: white;
    transition: var(--transition);
}

.mercadolibre-container iframe:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .mas-productos-section h2 {
        font-size: 2rem;
    }
    
    .mercadolibre-container {
        padding: 0;
    }
}

/* Sección Nueva Sección */
.nueva-seccion {
    padding: 5rem 5%;
    background-color: var(--accent-color);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nueva-seccion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nueva-seccion-texto h2 {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.nueva-seccion-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.nueva-seccion-whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nueva-seccion-whatsapp-button:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.nueva-seccion-whatsapp-button i {
    font-size: 1.2rem;
}

.nueva-seccion-imagen {
    text-align: center;
}

.nueva-seccion-imagen img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.nueva-seccion-imagen img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
} 