/* MAIN HEADER */
.lm-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lm-container {
    max-width: 1500px;
    margin: auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.lm-logo-img {
    height: 40px;
}

/* DESKTOP MENU */
.lm-nav-desktop .lm-menu-list {
    display: flex;
    gap: 32px;
}

.lm-nav-desktop .lm-menu-list li a {
    color: #fff;
    font-size: 16px;
    transition: 0.2s;
    padding: 4px 0;
}

.lm-nav-desktop .lm-menu-list li:hover > a {
    opacity: 0.6;
}

/* MOBILE BUTTON */
.lm-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.lm-mobile-btn span {
    width: 26px;
    height: 3px;
    background: #fff;
    display: block;
}

/* MEGAMENU */
.lm-megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0c0c0c;
    padding: 45px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.lm-megamenu.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.lm-mega-inner {
    display: flex;
    gap: 60px;
    max-width: 1500px;
    margin: auto;
}

/* COLUMNS */
.lm-mega-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
}

.lm-mega-col ul li {
    margin-bottom: 10px;
}

.lm-mega-col ul li a {
    color: #ccc;
    font-size: 16px;
    transition: 0.2s;
}

.lm-mega-col ul li a:hover {
    color: #fff;
}

/* PREVIEW IMAGE */
.lm-mega-preview img {
    width: 420px;
    height: 270px;
    object-fit: cover;
    border-radius: 6px;
    transition: 0.3s ease;
    opacity: 0;
}

.lm-mega-preview img.active {
    opacity: 1;
}

/* MOBILE OVERLAY MENU */
.lm-mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: #000;
    transform: translateX(100%);
    transition: 0.35s ease;
    z-index: 9999;
}

.lm-mobile-inner {
    padding: 60px 30px;
}

.lm-mobile-menu-list li a {
    color: #fff;
    font-size: 22px;
    padding: 16px 0;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .lm-nav-desktop { display: none; }
    .lm-mobile-btn { display: flex; }
    .lm-megamenu { display: none !important; }
}

/* menu.css — v2 — 2026-01-07 (Home overlay + sticky after scroll) */
.lm-header{
  transition:background .2s ease, backdrop-filter .2s ease, border-color .2s ease;
}

/* Home: overlay header on top of hero */
body.home .lm-header{
  background:transparent;
  border-bottom:1px solid rgba(255,255,255,.00);
}

/* When user scrolls: make header solid (sticky/fixed already) */
body.home.lm-scrolled .lm-header{
  background:rgba(0,0,0,.72);
  backdrop-filter:saturate(1.2) blur(10px);
  border-bottom:1px solid rgba(255,255,255,.10);
}

/* ensure hero not hidden behind fixed header */
body.home .lm-hero-slider{
  margin-top:0;
}

/* menu.css patch — v3 — 2026-01-07 */
/* Home header overlays hero like Porsche + becomes solid on scroll (sticky). */

/* Try multiple common header selectors safely */
body.home .lm-site-header,
body.home .site-header,
body.home #masthead{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--lm-header-h);
  background:transparent !important;
  border-bottom:1px solid rgba(255,255,255,.0);
  backdrop-filter:none !important;
  z-index:9999;
}

/* when scrolled */
body.home.lm-scrolled .lm-site-header,
body.home.lm-scrolled .site-header,
body.home.lm-scrolled #masthead{
  background:rgba(0,0,0,.55) !important;
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter:saturate(120%) blur(10px) !important;
}

/* make sure hero starts at top behind header */
body.home .lm-hero{margin-top:0}
