/*
==============================================
ARCHIVO 1: hyf.css (ESTILOS GLOBALES)
Paleta de colores oscuros inspirada en Honda
==============================================
*/

:root {
    --honda-red: #CC0000;
    --honda-red-dark: #990000;
    --honda-red-light: #FF1a1a;
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --dark-card: #1f1f1f;
    --light-gray: #f8f8f8;
    --text-light: #e0e0e0;
    --text-muted: #999;
    --border-dark: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER PRINCIPAL */
.main-header {
    background: var(--dark-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 2px solid var(--honda-red);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navegación Desktop */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--honda-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--honda-red-light);
}

.search-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-card);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-dark);
}

.search-pill:hover {
    background: var(--honda-red);
    border-color: var(--honda-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

.search-pill span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.search-pill:hover span {
    color: #ffffff;
}

/* Menú Hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle:hover span {
    background: var(--honda-red-light);
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--honda-red);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--honda-red);
}

/* OVERLAY DE BÚSQUEDA */
.search-overlay-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-overlay-fullscreen.is-active {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.search-top-bar {
    padding: 25px;
    display: flex;
    justify-content: flex-end;
}

.close-btn-pro {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 14px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 0.9rem;
}

.close-btn-pro:hover {
    background: var(--honda-red);
    border-color: var(--honda-red);
    transform: scale(1.05);
}

.search-content-body {
    flex: 1;
    padding: 50px 20px;
    overflow-y: auto;
}

.search-input-area {
    max-width: 900px;
    margin: 0 auto 60px;
}

.search-input-area input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid rgba(255,255,255,0.2);
    color: var(--text-light);
    font-size: 2.5rem;
    padding: 25px 0;
    outline: none;
    transition: border-color 0.3s ease;
    font-weight: 300;
}

.search-input-area input:focus {
    border-bottom-color: var(--honda-red);
}

.search-input-area input::placeholder {
    color: rgba(255,255,255,0.4);
}

.search-grid-elite {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.search-card-item {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-dark);
}

.search-card-item:hover {
    transform: translateY(-8px);
    border-color: var(--honda-red);
    box-shadow: 0 15px 40px rgba(204, 0, 0, 0.3);
}

.search-card-img {
    background: #f8f8f8;
    padding: 25px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

/* FOOTER */
.main-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 70px 0 30px;
    border-top: 3px solid var(--honda-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 25px;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-logo {
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 800;
}

.footer-logo span {
    color: var(--honda-red-light);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--honda-red-light);
    padding-left: 5px;
}

.brand-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-fb { 
    background: #1877f2; 
}

.btn-ws { 
    background: #25d366; 
}

.btn-ig { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); 
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-item i {
    color: var(--honda-red-light);
    margin-top: 3px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 25px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

/* RESPONSIVE MÓVIL */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark-bg);
        padding: 90px 30px 30px;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
        border-left: 2px solid var(--honda-red);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-dark);
        padding: 18px 0;
    }

    .nav-menu a::after {
        display: none;
    }
    
    .search-pill {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-input-area input {
        font-size: 1.8rem;
    }
    
    .search-grid-elite {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 25px;
        right: 25px;
        font-size: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .search-input-area input {
        font-size: 1.5rem;
        padding: 20px 0;
    }
    
    .close-btn-pro {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}