/* =========================
   Automotive Alley PRO CSS
   Premium + Mobile Menu Fix
   Copy/Paste Entire File
   ========================= */

:root{
  --bg:#0b0b0d;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.09);
  --line:rgba(255,255,255,.12);

  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);

  --yellow:#ffd400;
  --yellow2:#ffea66;

  --shadow:0 18px 46px rgba(0,0,0,.45);
  --radius:18px;
  --max:1160px;
  --font:"Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(950px 520px at 14% -5%, rgba(255,212,0,.18), transparent 62%),
    radial-gradient(950px 650px at 92% 0%, rgba(255,212,0,.10), transparent 62%),
    var(--bg);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--max);margin:0 auto;padding:0 18px}

.small{font-size:13px}
.muted{color:var(--muted)}
.hr{height:1px;background:var(--line);margin:16px 0}

/* =========================
   Header
   ========================= */
.header{
  position:sticky;top:0;z-index:60;
  background:rgba(11,11,13,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px 0;
}

/* Brand / logo */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:950;
  letter-spacing:.2px;
  min-width:220px;
}
.brand img{
  height:90px;
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.55));
}
.brand span{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand small{
  font-size:14px;
  font-weight:750;
  color:var(--muted);
}

/* Desktop nav */
.nav{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.nav a{
  padding:10px 12px;border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
  font-weight:850;
}
.nav a:hover{
  color:var(--text);
  border-color:rgba(255,212,0,.22);
  background:rgba(255,255,255,.05);
}
.nav a.active{
  color:var(--text);
  border-color:rgba(255,212,0,.38);
  background:rgba(255,255,255,.08);
}

/* Header right buttons */
.cta{display:flex;gap:10px;flex-wrap:wrap;align-items:center}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:900;
  cursor:pointer;
  transition:transform .08s ease,border-color .12s ease,background .12s ease,filter .12s ease;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(255,212,0,.35)}
.btn.primary{
  border-color:transparent;
  background:linear-gradient(135deg,var(--yellow),var(--yellow2));
  color:#121212;
  box-shadow:var(--shadow);
}
.btn.primary:hover{filter:saturate(1.04) brightness(1.02)}
.btn.ghost{
  background:transparent;
  border-color:rgba(255,255,255,.18);
  color:var(--muted);
}
.btn.ghost:hover{color:var(--text);border-color:rgba(255,212,0,.28)}

/* =========================
   MOBILE MENU (CSS-ONLY FIX)
   Matches your HTML:
   .menu-btn, #mobileMenu.mobile-menu,
   .mobile-menu__overlay, .mobile-menu__panel,
   .menu-close, .mobile-nav
   ========================= */

/* =========================
   MOBILE MENU (FULLSCREEN + SOLID BLACK)
   ========================= */

/* =========================
   MOBILE MENU — FULL BLACK SCREEN (NO TRANSPARENCY)
   ========================= */

.menu-btn { display:none; }
.mobile-menu { display:none; }

@media (max-width: 920px){

  /* Hide desktop nav + CTA on mobile */
  .header .nav { display:none; }
  .header .cta { display:none; }

  /* Hamburger */
  .menu-btn{
    display:flex;
    width:44px;
    height:44px;
    border:1px solid rgba(255,255,255,.18);
    background:transparent;
    border-radius:12px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
  }
  .menu-btn span{
    width:18px;
    height:2px;
    background:#fff;
    border-radius:2px;
  }

  /* ===== FULLSCREEN BLACK PAGE ===== */
  .mobile-menu{
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background:#000;        /* solid black */
    z-index:999999;         /* above EVERYTHING */
    display:none;           /* hidden until open */
  }

  .mobile-menu.is-open{
    display:block;          /* no opacity, no fade */
  }

  /* Remove overlay completely */
  .mobile-menu__overlay{
    display:none;
  }

  /* Fullscreen content */
  .mobile-menu__panel{
    position:relative;
    width:100%;
    height:100%;
    background:#000;        /* solid black */
    padding:28px 20px;
    display:flex;
    flex-direction:column;
  }

  .menu-close{
    width:44px;
    height:44px;
    border:1px solid rgba(255,255,255,.18);
    background:transparent;
    color:#fff;
    border-radius:12px;
    cursor:pointer;
    margin-left:auto;
  }

  .mobile-nav{
    margin-top:40px;
    display:flex;
    flex-direction:column;
    gap:20px;
  }

  .mobile-nav a{
    color:#fff;
    font-size:28px;
    font-weight:950;
    text-decoration:none;
    padding:14px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.15);
  }

  .mobile-nav a:hover{
    background:rgba(255,255,255,.08);
    color:#ffd400;
  }

  body.menu-open{
    overflow:hidden;
  }
}

  /* Prevent body scroll when menu is open (JS adds .menu-open to body) */
  body.menu-open{ overflow:hidden; }
}

/* Slight logo/header scaling on small phones */
@media (max-width: 768px){
  .brand img{height:62px;}
  .header-inner{padding:16px 0;}
  .brand small{font-size:13px;}
}

/* =========================
   Cards / grids
   ========================= */
.section{padding:26px 0 46px}
.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.card.soft{background:var(--panel2)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:980px){.grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.grid{grid-template-columns:1fr}}

.two{display:grid;grid-template-columns:1.12fr .88fr;gap:14px}
@media(max-width:980px){.two{grid-template-columns:1fr}}

.kicker{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,212,0,.25);
  background:rgba(255,212,0,.09);
  font-weight:900;font-size:13px;
}
.h1{
  margin:10px 0 10px;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.6px;
}
@media(max-width:520px){.h1{font-size:34px}}
.lead{color:var(--muted);font-weight:680;margin:0 0 14px}

/* =========================
   Hero
   ========================= */
.hero{
  position:relative;
  border-bottom:1px solid var(--line);
  min-height:520px;
  display:flex;
  align-items:flex-end;
  background:
    linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.34)),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero-inner{padding:30px 0 28px}
.hero h1{
  margin:10px 0 10px;
  font-size:52px;
  line-height:1.02;
  letter-spacing:-.8px;
}
@media(max-width:520px){.hero h1{font-size:38px}}
.hero p{
  max-width:760px;
  color:rgba(255,255,255,.82);
  font-weight:700;
  margin:0 0 16px;
}
.hero-badges{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 10px}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.07);
  color:rgba(255,255,255,.86);
  font-weight:900;font-size:13px;
}

/* =========================
   List items
   ========================= */
.list{display:grid;gap:10px}
.item{
  display:flex;gap:10px;
  padding:12px 12px;border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.dot{
  width:10px;height:10px;border-radius:999px;background:var(--yellow);
  margin-top:6px;box-shadow:0 0 0 6px rgba(255,212,0,.12);
}
.item b{display:block}
.item span{color:var(--muted);font-weight:680}

/* =========================
   Forms
   ========================= */
.form{display:grid;gap:12px}
.field label{display:block;font-weight:900;margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.28);
  color:var(--text);
  outline:none;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:rgba(255,212,0,.55)}
.note{color:var(--muted);font-weight:680;font-size:14px}

/* =========================
   Maps
   ========================= */
.map{
  border-radius:16px;overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}
.map iframe{width:100%;height:260px;border:0;display:block}

/* =========================
   Gallery
   ========================= */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media(max-width:980px){.gallery-grid{grid-template-columns: repeat(3, 1fr)}}
@media(max-width:620px){.gallery-grid{grid-template-columns: repeat(2, 1fr)}}
.thumb{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  cursor:pointer;
}
.thumb img{
  width:100%;
  height:150px;
  object-fit:cover;
  transition: transform .18s ease;
}
.thumb:hover img{transform: scale(1.03)}
.thumb::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.40), transparent 55%);
  opacity:.7;
}
.thumb .cap{
  position:absolute; left:10px; bottom:8px; z-index:2;
  font-weight:900; font-size:13px;
  color: rgba(255,255,255,.92);
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.86);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:200;
  padding:18px;
}
.lightbox.open{display:flex}
.lightbox-inner{max-width:980px;width:100%}
.lightbox img{
  width:100%;
  max-height:82vh;
  object-fit:contain;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
}
.lightbox-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:10px;
  color: rgba(255,255,255,.86);
}
.lightbox-btn{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  padding:10px 12px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}
.lightbox-btn:hover{border-color: rgba(255,212,0,.35)}
.lightbox-title{font-weight:900}

/* =========================
   FAQ accordion
   ========================= */
.faq-item{
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background: rgba(255,255,255,.05);
  overflow:hidden;
}
.faq-q{
  width:100%;
  text-align:left;
  padding:14px 14px;
  background: transparent;
  border:0;
  color: var(--text);
  font-weight:950;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.faq-q span{color: var(--muted); font-weight:950}
.faq-a{
  padding:0 14px 14px;
  color: var(--muted);
  font-weight:680;
  display:none;
}
.faq-item.open .faq-a{display:block}

/* =========================
   Stats
   ========================= */
.stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media(max-width:980px){.stats{grid-template-columns: repeat(2, 1fr)}}
.stat{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.stat .num{
  font-size:34px;
  font-weight:950;
  letter-spacing:-0.6px;
}
.stat .label{color: var(--muted); font-weight:800}

/* Reviews */
.review{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius:18px;
  padding:16px;
}
.stars{color: var(--yellow); letter-spacing:2px; font-weight:950}

/* =========================
   Footer
   ========================= */
.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted);
}

/* =========================
   Sticky mobile bottom bar
   ========================= */
.mobilebar{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:120;
  background: rgba(11,11,13,.92);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 10px 10px;
  display:none;
}
.mobilebar-inner{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  max-width: var(--max);
  margin: 0 auto;
}
.mobilebar a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight: 950;
  color: rgba(255,255,255,.92);
}
.mobilebar a.primary{
  background: linear-gradient(135deg,var(--yellow),var(--yellow2));
  border-color: transparent;
  color:#121212;
}
@media(max-width:860px){
  .mobilebar{display:block}
  body{padding-bottom: 86px;}
}


/* =========================
   DESKTOP ONLY: Glass Hero Box
   ========================= */
@media (min-width: 921px){

  .hero-box{
    background: rgba(0,0,0,.55);      /* transparent dark box */
    backdrop-filter: blur(8px);       /* glass effect */
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.15);
    max-width: 900px;
  }

}


/* =========================
   MOBILE ONLY: Remove hero schedule button
   ========================= */
@media (max-width: 920px){
  .hero .btn.primary{
    display:none;
  }
}


/* =========================
   MOBILE HERO CENTERING
   ========================= */
@media (max-width: 920px){

  /* Vertically center hero content */
  .hero{
    align-items:center;        /* move content to vertical middle */
    text-align:center;         /* keep text centered */
    min-height:70vh;           /* adjust height for better balance */
  }

.hero-inner{
    padding-top:0;
    padding-bottom:0;
    text-align:center;
  }

  /* Hide schedule button (sticky bar handles it) */
  .hero .btn.primary{
    display:none;
  }

  /* Center remaining buttons */
  .hero .cta{
    justify-content:center;
  }

  /* Optional: tighten paragraph width */
  .hero p{
    margin-left:auto;
    margin-right:auto;
  }
}





.reveal{
  opacity:0;
  transform:translateY(30px);
  transition: all .6s ease;
}
.reveal.show{
  opacity:1;
  transform:translateY(0);
}


.card{
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
}


.section-title{
  position:relative;
  display:inline-block;
}
.section-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:60px;
  height:4px;
  background:linear-gradient(90deg,#ffd400,#ffea66);
  border-radius:4px;
}


.hero-box{
  backdrop-filter: blur(14px);
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.15);
}


.btn.primary{
  position:relative;
  overflow:hidden;
}
.btn.primary::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transition:.6s;
}
.btn.primary:hover::after{
  left:100%;
}


/* =========================
   Premium Page Transitions
   ========================= */
html { scroll-behavior: smooth; }

body{
  opacity: 1;
  transition: opacity .22s ease;
}

body.is-leaving{
  opacity: 0;
}

/* Optional: slightly smoother feel */
@media (prefers-reduced-motion: reduce){
  body{ transition:none; }
  html{ scroll-behavior:auto; }
}


/* =========================
   Premium micro-interactions
   ========================= */

/* Softer, richer focus rings (keyboard users) */
:focus-visible{
  outline: 2px solid rgba(255,212,0,.70);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Buttons feel more “pressable” */
.btn{
  transition: transform .12s ease, filter .18s ease, border-color .18s ease, background .18s ease;
}
.btn:active{ transform: translateY(1px); }

/* Cards: subtle lift on hover (desktop only) */
@media (hover:hover){
  .card{
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }
  .card:hover{
    transform: translateY(-4px);
    border-color: rgba(255,212,0,.22);
    box-shadow: 0 26px 70px rgba(0,0,0,.55);
  }
}

/* Better “premium” separators */
.hr{
  background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,212,0,.20), rgba(255,255,255,.10));
}



















/* =========================
   Call Dropdown (Desktop + Mobile)
   ========================= */
.call-dropdown{ position:relative; }

/* =========================
   Make Call match Schedule styling
   ========================= */

/* Remove any special font sizing */
.call-toggle{
  font-size:inherit;
  font-weight:900;
}

/* Remove emoji spacing if any left */
.call-ico{
  display:none !important;
}

/* Ensure mobile sticky bar buttons match */
.mobilebar .call-toggle{
  font-size:inherit;
  font-weight:950;
  letter-spacing:normal;
}

/* Make sure chevron doesn't shrink text */
.call-toggle .chev{
  margin-left:6px;
  font-size:inherit;
}

.chev{
  font-size:12px;
  opacity:.85;
  transform: translateY(1px);
  transition: transform .18s ease;
}

.call-dropdown.open .chev{ transform: rotate(180deg) translateY(-1px); }

.call-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:240px;
  padding:8px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.15);
  background:#0b0b0d;
  box-shadow:0 18px 46px rgba(0,0,0,.45);
  z-index:9999;

  /* animation */
  opacity:0;
  transform: translateY(-6px);
  pointer-events:none;
  transition: opacity .16s ease, transform .16s ease;
}

.call-dropdown.open .call-menu{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

.call-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.call-item:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,212,0,.22);
}

.call-text b{
  display:block;
  font-weight:950;
  color: rgba(255,255,255,.92);
  line-height:1.05;
}
.call-text small{
  display:block;
  margin-top:2px;
  font-weight:850;
  color: rgba(255,255,255,.72);
}

.pin{ opacity:.95; }

/* Auto-highlight chosen location */
.call-item.is-primary{
  border-color: rgba(255,212,0,.38);
  background: rgba(255,212,0,.10);
}
.call-item.is-primary:hover{
  background: rgba(255,212,0,.14);
}

/* =========================
   Mobile header behavior:
   show Call dropdown, hide Schedule (sticky bar handles it)
   ========================= */
@media (max-width: 920px){
  .header .cta{ display:flex; }           /* show CTA row on mobile */
  .header .cta .btn.primary{ display:none; } /* hide Schedule on mobile header */

  /* Make sure dropdown menu stays on-screen */
  .call-menu{ right:0; left:auto; }
}


/* =========================
   MOBILE ONLY: Center logo + hide hours
   ========================= */
@media (max-width: 920px){

  /* Hide the hours text */
  .brand small{
    display:none;
  }

  /* Make header a positioning container */
  .header-inner{
    position:relative;
  }

  /* Center the logo absolutely */
  .brand{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    min-width:auto;
  }

  /* Keep hamburger on right */
  .menu-btn{
    margin-left:auto;
  }

}



/* =========================
   MOBILE ONLY: Move Call dropdown to sticky bar
   ========================= */
@media (max-width: 920px){
  /* hide call dropdown in header on mobile (keep it on desktop) */
  .header .call-dropdown{ display:none !important; }

  /* make the dropdown button look like other sticky buttons */
  .mobilebar .call-toggle{
    width:100%;
    height:100%;
    border-radius:14px;
    padding:12px 10px;
    justify-content:center;
  }

  /* dropdown opens upward from the sticky bar */
  .mobilebar .call-menu{
    position:absolute;
    left:0;
    right:0;
    bottom:calc(100% + 10px);  /* opens above sticky bar */
    top:auto;
    min-width:unset;
  }
}


/* =========================
   MOBILE ONLY: Center hero text + hide hero badges
   ========================= */
@media (max-width: 920px){
  /* remove badges only on mobile */
  .hero-badges{ display:none !important; }

  /* center hero content only on mobile */
  .hero-inner{
    text-align:center;
  }

  /* center the CTA buttons row on mobile */
  .hero .cta{
    justify-content:center;
  }

  /* optional: keep paragraph nicely centered + readable */
  .hero p{
    margin-left:auto;
    margin-right:auto;
  }
}