/**
 * Theme Name:     Motomax
 * Author:         Techcilo
 * Template:       hello-elementor
 * Text Domain:    Motomax
 * Description:    Techcilo help to make your Dream Webiste
 * Theme URI:      https://techcilo.com/
 * Author URI:     https://techcilo.com/
 * Version:        1.0.3
 */

/* ==========================================================================
   Section 12: Dealership Locations (Transparent Cards, Zero Shadow, Hover Map)
   ========================================================================== */
.mm-locations-section {
    padding-top: 100px !important;
    padding-bottom: 0 !important;
}

.mm-locations-section > .mm-container,
.mm-locations-section .mm-container {
    padding-bottom: 150px !important;
}

.mm-locations-section .mm-location-card {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
    width: 100%;
    max-width: 748px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: none !important;
}

.mm-locations-section .mm-location-card:hover {
    transform: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.mm-locations-section .mm-location-img-wrap {
    width: 100% !important;
    max-width: 748px !important;
    height: 529px !important;
    min-height: 529px !important;
    max-height: 529px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background-color: #0b0f19 !important;
}

.mm-locations-section .mm-location-img {
    width: 100% !important;
    max-width: 748px !important;
    height: 529px !important;
    min-height: 529px !important;
    max-height: 529px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 16px !important;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.mm-locations-section .mm-location-map-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 529px !important;
    min-height: 529px !important;
    max-height: 529px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    z-index: 5 !important;
    background-color: #f1f5f9 !important;
    /* Shutter from top: starts rolled up to top edge */
    clip-path: inset(0 0 100% 0 round 16px);
    -webkit-clip-path: inset(0 0 100% 0 round 16px);
    opacity: 0;
    pointer-events: none;
    transition: clip-path 0.65s cubic-bezier(0.22, 1, 0.36, 1), 
                -webkit-clip-path 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease;
}

.mm-locations-section .mm-location-map-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #F7951C;
    box-shadow: 0 -2px 10px rgba(247, 149, 28, 0.7);
    z-index: 10;
    pointer-events: none;
}

.mm-locations-section .mm-location-map-wrap iframe {
    width: 100% !important;
    height: 529px !important;
    min-height: 529px !important;
    max-height: 529px !important;
    border: 0 !important;
    display: block !important;
}

/* On hover: shutter rolls down from top to reveal the Google Map */
.mm-locations-section .mm-location-card:hover .mm-location-map-wrap,
.mm-locations-section .mm-location-img-wrap:hover .mm-location-map-wrap,
.mm-locations-section .mm-location-card.mm-hover-map .mm-location-map-wrap {
    clip-path: inset(0 0 0 0 round 16px);
    -webkit-clip-path: inset(0 0 0 0 round 16px);
    opacity: 1 !important;
    pointer-events: auto !important;
}

.mm-locations-section .mm-location-card:hover .mm-location-img,
.mm-locations-section .mm-location-img-wrap:hover .mm-location-img,
.mm-locations-section .mm-location-card.mm-hover-map .mm-location-img {
    transform: scale(1.03);
}

.mm-locations-section .mm-location-body {
    padding: 24px 0 0 0 !important;
}

.mm-locations-section .mm-location-index {
    font-size: 14px;
    font-weight: 700;
    color: #F7951C;
    letter-spacing: 0.3px;
}

.mm-locations-section .mm-location-address svg {
    color: #F7951C;
}

.mm-locations-section .mm-btn-location {
    background-color: #F7951C !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: background-color 0.25s ease, transform 0.2s ease !important;
}

.mm-locations-section .mm-btn-location:hover {
    background-color: #ffa534 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 991px) {
    .mm-locations-section > .mm-container,
    .mm-locations-section .mm-container {
        padding-bottom: 90px !important;
    }
}

/* ==========================================================================
   Section 8: Community Banner (Eyebrow, Title/Desc Split, White Outline Button)
   ========================================================================== */
.mm-community-eyebrow {
    display: inline-block;
    will-change: transform, opacity;
}

.mm-community-title-word,
.mm-community-desc-word {
    display: inline-block;
    will-change: transform, opacity;
}

.mm-community-actions .mm-btn-community-white,
.mm-community-actions .mm-btn-outline-dark,
.mm-community-content a[href="#locations"] {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    border-color: #ffffff !important;
    font-weight: 400 !important;
    text-transform: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease !important;
}

.mm-community-actions .mm-btn-community-white:hover,
.mm-community-actions .mm-btn-outline-dark:hover,
.mm-community-content a[href="#locations"]:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   Sections 5, 6, 7: Vehicle Showcases Backgrounds & Header Text Split
   ========================================================================== */
#royal-enfield.mm-vehicle-section,
#zxmoto.mm-vehicle-section {
    background-color: #FFFFFF !important;
}

.mm-vehicle-section-adventure,
#segway.mm-vehicle-section {
    background-color: #F7F7F4 !important;
    border-top: 1px solid #EBEBE6;
    border-bottom: 1px solid #EBEBE6;
}

.mm-brand-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px;
    overflow: visible;
}

.mm-brand-logo-wrap {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    will-change: transform, opacity;
}

.mm-brand-title {
    overflow: visible;
}

.mm-brand-title .mm-split-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.28em;
    padding-bottom: 0.08em;
}

.mm-brand-title-word {
    display: inline-block;
    will-change: transform, opacity;
}

.mm-brand-subtitle {
    overflow: visible;
    line-height: 1.6;
}

.mm-brand-subtitle .mm-desc-word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: baseline;
    margin-right: 0.26em;
    padding-bottom: 0.04em;
}

.mm-brand-desc-word {
    display: inline-block;
    will-change: transform, opacity;
}

.mm-filter-tabs {
    will-change: transform, opacity;
}

/* Vehicle Card Styles */
.mm-vehicle-card {
    background-color: transparent !important;
    background: transparent !important;
    border: 1px solid var(--mm-card-border, #F0C496);
}

.mm-card-media {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: 1px solid var(--mm-card-border, #F0C496) !important;
}

.mm-card-watermark {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 2;
}

.mm-card-watermark img,
.mm-card-watermark-img {
    width: auto;
    max-width: 95px;
    height: auto;
    display: block;
    object-fit: contain;
}

.mm-card-title,
.mm-card-title a {
    color: #000000 !important;
}

.mm-card-title a:hover {
    color: var(--mm-orange, #F7951C) !important;
}

.mm-card-price {
    border-top: none !important;
    padding-top: 4px;
}

/* Button Border Color across .motomax-hybrid-homepage */
.motomax-hybrid-homepage .btn,
.motomax-hybrid-homepage .mm-btn-outline-dark,
.motomax-hybrid-homepage .mm-filter-btn:not(.active),
.motomax-hybrid-homepage .mm-showcase-secondary-btn,
.motomax-hybrid-homepage .mm-brand-footer-action .mm-btn {
    border: 1px solid #C8C8C2 !important;
    border-color: #C8C8C2 !important;
}

.motomax-hybrid-homepage .btn:hover,
.motomax-hybrid-homepage .mm-btn-outline-dark:hover,
.motomax-hybrid-homepage .mm-showcase-secondary-btn:hover,
.motomax-hybrid-homepage .mm-brand-footer-action .mm-btn:hover {
    border-color: #111111 !important;
}

.motomax-hybrid-homepage .mm-filter-btn:hover:not(.active) {
    border-color: #111111 !important;
}

.motomax-hybrid-homepage .mm-filter-btn.active {
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #FFFFFF !important;
}

/* Header 1920px Max-Width & Styling */
.mm-header-container {
    width: 100%;
    max-width: 1920px;
    padding-left: 48px;
    padding-right: 48px;
    margin: 0 auto;
    height: 84px;
}

.mm-header-logo {
    height: 28px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}

.mm-nav-item.current-menu-item > a,
.mm-nav-item > a.active {
    color: #F7951C !important;
    font-weight: 600 !important;
}

.mm-header-cta {
    background-color: #F7951C !important;
    color: #000000 !important;
    border-radius: 6px !important;
    border: none !important;
}

/* Header Search Toggle Button */
.mm-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #111111;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mm-search-btn:hover {
    background-color: #F0F0EE;
    color: #F7951C;
}

/* ==========================================================================
   Global Override: Neutralize Hello Elementor's default #c36 (#cc3366) reset
   ========================================================================== */
a,
a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    color: #F7951C;
    text-decoration: none;
}

[type=button],
[type=reset],
[type=submit],
button {
    border-color: #111111;
    color: #111111;
    background-color: transparent;
}

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
    background-color: #F7951C;
    border-color: #F7951C;
    color: #FFFFFF;
}



