:root {
    --color-honda: #E31837;
    --color-imoto: #FFD100;
    --color-black: #111111;
    --color-white: #FFFFFF;
    --color-gray: #333333;
    --color-light-gray: #f5f5f5;

    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    --header-height: 80px;
}

/* ================= Reset ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-gray);
    background-color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================= Header & Nav ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* height: var(--header-height); */
    height: 100px;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--color-honda);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link img.main-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.3rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-imoto);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-imoto);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 10px;
}

/* ================= Parallax Base ================= */
.parallax {
    min-height: 100vh;
    padding: 120px 0 80px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.parallax-section>* {
    position: relative;
    z-index: 2;
}

/* Backgrounds */
.parallax-tienda {
    background-image: url('img/parallaxtienda.JPG');
}

.parallax-pasion {
    background-image: url('img/pasionmotor.jpg');
}

.parallax-descubre {
    background-image: url('img/parallax.jpg');
}

.parallax-contacto {
    background-image: url('img/parallaxcontacto.jpg');
}

/* ================= Hero ================= */
.hero-content {
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.8);
}

.brands-hero {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.brand-logo {
    filter: grayscale(80%) brightness(0.8);
    transition: filter 0.4s ease, transform 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.brand-link:hover .brand-logo {
    filter: grayscale(0%) brightness(1);
    transform: translateY(-5px) scale(1.05);
}

.scroll-down {
    animation: bounce 2s infinite;
    display: inline-block;
    color: var(--color-white);
    margin-top: 20px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* ================= Glass Card ================= */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: clamp(20px, 5vw, 60px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-glass {
    background: rgba(17, 17, 17, 0.7);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ================= Pasión ================= */
.pasion-container {
    max-width: 1000px;
    width: 90%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-honda);
    margin-bottom: 20px;
    text-align: center;
}

.info-block p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}

.service-icon:hover {
    transform: translateY(-10px);
    background: rgba(227, 24, 55, 0.05);
}

.service-icon svg {
    margin-bottom: 15px;
}

.service-icon h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-black);
}

/* ================= Descubre ================= */
.descubre-content {
    text-align: center;
    max-width: 800px;
    width: 90%;
}

.slogan-secondary {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 40px;
    color: var(--color-imoto);
    line-height: 1.1;
}

.brands-descubre {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* ================= Banner Tienda ================= */
.banner-tienda {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/macro1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: local;
    padding: 100px 20px;
}

.banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.banner-text {
    flex: 1;
    min-width: 300px;
    color: var(--color-white);
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-imoto);
    margin-bottom: 15px;
}

.banner-text p {
    font-size: 1.2rem;
    max-width: 600px;
}

.banner-action {
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    font-family: var(--font-heading);
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-honda);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #c4122d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(227, 24, 55, 0.4);
}

.btn-large {
    font-size: 1.8rem;
    padding: 20px 50px;
    letter-spacing: 1px;
}

/* ================= Contacto ================= */
.contact-container {
    width: 90%;
    max-width: 1200px;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.info-list {
    margin-top: 30px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--color-gray);
    word-break: break-word;
    overflow-wrap: break-word;
}

.info-list svg {
    color: var(--color-honda);
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    padding-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-honda);
    box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.error-msg {
    color: var(--color-honda);
    font-size: 0.85rem;
    position: absolute;
    bottom: 0;
    left: 5px;
    display: none;
}

.form-group.error .form-control {
    border-color: var(--color-honda);
}

.form-group.error .error-msg {
    display: block;
}

.btn-submit {
    font-size: 1.5rem;
    padding: 15px 30px;
    width: 100%;
    margin-top: 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ================= WhatsApp ================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ================= Footer ================= */
.footer {
    background-color: #000;
    color: var(--color-white);
    padding: 50px 20px;
    border-top: 4px solid var(--color-honda);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo img {
    filter: grayscale(100%) brightness(2);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--color-white);
    transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    color: var(--color-imoto);
    transform: translateY(-3px);
}

.copyright {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
    .contact-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(17, 17, 17, 0.98);
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 2px solid var(--color-honda);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .brands-hero {
        gap: 20px;
    }

    .brand-logo {
        width: 130px;
    }

    .banner-inner {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 100px;
    }

    .parallax {
        background-attachment: scroll;
        /* Mejora rendimiento en móviles */
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}