/* ============================================
   LMNM Header Styles
   ============================================ */

/* CSS Variables - Using theme color scheme */
:root {
    --e-global-color-primary: #EE2628;
    --e-global-color-secondary: #1C1C1C;
    --e-global-color-text: #5A5A5A;
    --e-global-color-accent: #EE2628;
    --e-global-color-black: #000000;
    --e-global-color-white: #FFFFFF;
    --e-global-color-accent-gold: #C8B29A;
    
    --genesisauto-header-font-family: 'Space Grotesk', sans-serif;
    --genesisauto-header-font-weight: 700;
    --genesisauto-header-font-color: #1C1C1C;
    --genesisauto-content-font-family: 'DM Sans', sans-serif;
    --genesisauto-content-font-size: 16px;
    --genesisauto-content-color: #5A5A5A;
    
    --genesisauto-menu-font-family: 'Space Grotesk', sans-serif;
    --genesisauto-menu-font-size: 16px;
    --genesisauto-menu-line-height: 24px;
    --genesisauto-menu-font-weight: 700;
    
    --genesisauto-header-mobile-height: 75px;
}

/* ============================================
   Top Banner Styles
   ============================================ */
.simple-banner {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    font-family: var(--genesisauto-content-font-family);
    font-size: 14px;
    line-height: 1.5;
    z-index: 99999;
    position: relative;
}

.simple-banner-text {
    color: #ffffff;
}

.simple-banner-text a {
    color: #c8b29a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.simple-banner-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ============================================
   Main Header Styles
   ============================================ */
.wgl-theme-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(131, 131, 131, 0.2);
    position: relative;
    z-index: 999;
    width: 100%;
}

.wgl-site-header {
    width: 100%;
}

.container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

/* ============================================
   Logo Styles
   ============================================ */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: block;
    line-height: 0;
}

.site-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

/* ============================================
   Primary Navigation Styles
   ============================================ */
.primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-nav .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-family: var(--genesisauto-menu-font-family);
    font-size: var(--genesisauto-menu-font-size);
    font-weight: var(--genesisauto-menu-font-weight);
    line-height: var(--genesisauto-menu-line-height);
    color: var(--genesisauto-header-font-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-item > a:hover,
.menu-item.current-menu-item > a {
    color: var(--e-global-color-accent-gold);
}

.item_wrapper_text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.item_text {
    white-space: nowrap;
}

.menu-item_dots {
    display: none;
}

.menu-item__plus {
    display: none;
    margin-left: 5px;
    font-style: normal;
}

.menu-item-has-children .menu-item__plus {
    display: inline-block;
}

/* Submenu Styles */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: rgba(28, 28, 28, 1);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .menu-item > a {
    color: rgba(255, 255, 255, 1);
    padding: 8px 20px;
    display: block;
}

.sub-menu .menu-item > a:hover {
    color: var(--e-global-color-accent-gold);
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Header Actions Styles
   ============================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Login Button */
.wgl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background-color: var(--e-global-color-accent-gold);
    color: #FFFFFF;
    font-family: var(--genesisauto-menu-font-family);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--e-global-color-accent-gold);
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wgl-button:hover {
    background-color: transparent;
    color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
}

.btn-size-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* Shopping Cart Icon */
.wgl-mini-cart_wrapper {
    position: relative;
}

.wgl-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    color: var(--e-global-color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.wgl-cart:hover {
    color: var(--e-global-color-accent-gold);
}

.woo_mini-count {
    position: relative;
}

/* Side Panel Toggle */
.side_panel-toggle {
    display: flex;
    flex-wrap: wrap;
    width: 30px;
    height: 30px;
    gap: 3px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.side_panel-toggle-inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    gap: 3px;
}

.side_panel-toggle-inner span {
    width: calc(33.333% - 2px);
    height: calc(33.333% - 2px);
    background-color: var(--e-global-color-secondary);
    transition: background-color 0.3s ease;
}

.side_panel-toggle:hover .side_panel-toggle-inner span {
    background-color: var(--e-global-color-accent-gold);
}

/* ============================================
   Mobile Menu Styles
   ============================================ */
.mobile-hamburger-toggle {
    display: none;
    cursor: pointer;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-inner {
    width: 100%;
    height: 3px;
    background-color: var(--e-global-color-secondary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    width: 100%;
    height: 3px;
    background-color: var(--e-global-color-secondary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Hamburger Active State */
.mobile-menu-open .hamburger-inner {
    background-color: transparent;
}

.mobile-menu-open .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-open .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet and below */
@media only screen and (max-width: 1200px) {
    .wgl-theme-header {
        background-color: rgba(255, 255, 255, 1);
        color: #0a0a0a;
        border-bottom: 1px solid rgba(131, 131, 131, 0.2);
    }

    .primary-nav,
    .header-login {
        display: none;
    }

    .mobile-hamburger-toggle {
        display: block;
    }

    .header-content {
        min-height: var(--genesisauto-header-mobile-height);
    }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    .container-wrapper {
        padding: 0 10px;
    }

    .site-logo {
        max-height: 50px;
    }

    .header-actions {
        gap: 10px;
    }

    .wgl-cart {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* ============================================
   Sticky Header (Optional)
   ============================================ */
.wgl-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.wgl-sticky-header.sticky_active {
    transform: translateY(0);
}

/* ============================================
   Utility Classes
   ============================================ */
.aleft {
    text-align: left;
}

.acenter {
    text-align: center;
}

.aright {
    text-align: right;
}

/* ============================================
   LMNM Footer Styles
   ============================================ */

.lmnm-footer {
    background-color: #1C1C1C;
    color: #FFFFFF;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.footer_top-area {
    padding: 60px 0;
}

.wgl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row-footer {
    width: 100%;
}

/* Footer Spacers */
.footer-spacer-top {
    height: 30px;
}

.footer-spacer-middle {
    height: 40px;
}

/* Footer Content Wrapper */
.footer-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

/* ============================================
   Left Column - Tagline, Logo, Email, Social
   ============================================ */
.footer-column-left {
    display: flex;
    flex-direction: column;
}

/* Tagline */
.footer-tagline {
    font-family: var(--genesisauto-header-font-family);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0 0 30px 0;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-img {
    max-width: 300px;
    height: auto;
    display: block;
}

/* Email Button */
.footer-email {
    margin-bottom: 30px;
}

.footer-email .wgl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: transparent;
    color: #FFFFFF;
    font-family: var(--genesisauto-menu-font-family);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease;
}

.footer-email .wgl-button:hover {
    background-color: var(--e-global-color-accent-gold);
    color: #1C1C1C;
    border-color: var(--e-global-color-accent-gold);
}

/* Social Media Links */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background-color: transparent;
    color: #FFFFFF;
    font-family: var(--genesisauto-menu-font-family);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease;
    width: fit-content;
}

.social-button:hover {
    background-color: var(--e-global-color-accent-gold);
    color: #1C1C1C;
    border-color: var(--e-global-color-accent-gold);
}

.social-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.social-text {
    letter-spacing: 0.05em;
}

/* ============================================
   Right Column - Links
   ============================================ */
.footer-column-right {
    display: flex;
    justify-content: flex-end;
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 600px;
}

.footer-links-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-family: var(--genesisauto-header-font-family);
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 20px 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: transparent;
    color: #FFFFFF;
    font-family: var(--genesisauto-menu-font-family);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-link:hover {
    background-color: var(--e-global-color-accent-gold);
    color: #1C1C1C;
    border-color: var(--e-global-color-accent-gold);
}

/* ============================================
   Copyright Section
   ============================================ */
.footer-copyright {
    text-align: left;
    padding: 20px 0;
}

.footer-copyright p {
    font-family: var(--genesisauto-content-font-family);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============================================
   Animated Text Path (Optional Decoration)
   ============================================ */
.footer-text-path {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.1;
}

.wgl-text-path {
    position: relative;
    width: 100%;
    height: 100%;
}

.simple_line {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--e-global-color-accent-gold),
        transparent
    );
    position: absolute;
    bottom: 50px;
}

/* ============================================
   Responsive Styles - Footer
   ============================================ */

/* Tablet */
@media only screen and (max-width: 1024px) {
    .footer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column-right {
        justify-content: flex-start;
    }

    .footer-tagline {
        font-size: 28px;
    }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    .footer_top-area {
        padding: 40px 0;
    }

    .footer-tagline {
        font-size: 24px;
        text-align: center;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-logo-img {
        max-width: 200px;
        margin: 0 auto;
    }

    .footer-email {
        text-align: center;
    }

    .footer-email .wgl-button {
        width: 100%;
        justify-content: center;
    }

    .footer-social {
        align-items: center;
    }

    .social-button {
        width: 100%;
        justify-content: center;
    }

    .footer-links-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section-title {
        font-size: 20px;
        text-align: center;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-link {
        width: 100%;
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-spacer-top {
        height: 20px;
    }

    .footer-spacer-middle {
        height: 30px;
    }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .footer-tagline {
        font-size: 20px;
    }

    .footer-section-title {
        font-size: 18px;
    }

    .footer-link,
    .social-button,
    .footer-email .wgl-button {
        font-size: 13px;
        padding: 8px 16px;
    }
}
