/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 4px 0;
  background: var(--gold2);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .navlinks {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100vw;
    background: rgba(8,8,10,0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 0 16px 0;
    border-bottom: 1px solid rgba(212,175,55,.12);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 1200;
    display: none;
    pointer-events: auto;
  }
  .navlinks.open {
    display: flex;
  }
  /* show the right-side compact menu button on small screens */
  .navtoggle { display: flex; }
  .navlinks a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(212,175,55,.08);
    font-size: 18px;
  }
}
:root{
  /* main page background: dark gray (not pitch black) */
  --bg:#0f1112;
  --text: rgba(255,255,255,.95);
  --muted: rgba(255,255,255,.65);

  --gold:#d4af37;
  --gold2:#f4e5b0;

  --border: rgba(212,175,55,.25);
  --border2: rgba(212,175,55,.35);

  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --shadow-md: 0 12px 40px rgba(0,0,0,.45);
  --shadow-sm: 0 8px 24px rgba(0,0,0,.35);

  --radius: 18px;
  --radius-lg: 22px;

  --nav-h: 86px;
}

/* RESET */
/* responsive foundation */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

.container,
.panel-inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* IMPORTANT: never limit body/page width */
html, body { width: 100%; overflow-x: hidden; }

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  min-height:100vh;
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 18% -10%, rgba(212,175,55,.14), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(212,175,55,.08), transparent 55%),
    radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,.04), transparent 60%),
    var(--bg);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
::selection{ background: rgba(212,175,55,.28); }

/* PAGE WRAP (from header.php) */
.page{
  min-height: calc(100vh - var(--nav-h));
  display:flex;
  flex-direction:column;
}

/* NAV */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  flex-shrink: 0;
  display:flex;
  align-items:center;
  background: linear-gradient(180deg, rgba(8,8,10,.95), rgba(8,8,10,.90));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner{
  width:100%;
  max-width: 1200px;
  margin:0 auto;
  padding: 14px 20px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  position: relative;
}
/* ===== MOBILE NAV (hamburger dropdown) ===== */
.navtoggle{
  display:none; /* hidden on desktop by default */
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gold);
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 950;
  letter-spacing: .6px;
  flex-shrink:0;
}
.brand-name{ font-size: 16px; }
.brand:hover{ color: var(--gold2); transform: translateY(-1px); transition:.2s ease; }

.brand-badge{
  width: 80px;
  height: 80px;
  border-radius: 0px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.brand-badge img{
  width: 100%;
  height: 100%;
  object-fit: contain;

  transform: scale(1.35);   /* 👈 makes logo bigger */
}


.navlinks{
  display:flex;
  gap: 20px;
  align-items:center;
  justify-content:center;
  flex: 1;
  min-width: 160px;
}

.navlinks a{
  position:relative;
  font-size: 13.5px;
  font-weight: 800;
  color: rgba(255,255,255,.86);
  padding: 10px 2px;
  transition: .2s ease;
}
.navlinks a::after{
  content:"";
  position:absolute;
  left:0;
  bottom: 6px;
  width:0;
  height:2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transition: width .2s ease;
}
.navlinks a:hover{
  color: var(--gold2);
  transform: translateY(-1px);
}
.navlinks a:hover::after{ width: 100%; }

.navicons{
  display:flex;
  gap: 10px;
  flex-shrink:0;
}
.iconbtn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.26);
  background:
    radial-gradient(12px 12px at 30% 25%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(135deg, rgba(212,175,55,.10), rgba(212,175,55,.04));
  color: rgba(230,201,82,.95);
  box-shadow: 0 10px 22px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.15);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
  transition: .2s cubic-bezier(.34,1.56,.64,1);
}
.iconbtn:hover{
  transform: translateY(-2px);
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 16px 34px rgba(212,175,55,.14), 0 10px 22px rgba(0,0,0,.28);
  color: var(--gold2);
}

/* Gold variant for small icon buttons (matches .btn.primary) */
.iconbtn.primary{
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold2), var(--gold));
  color: #000;
  font-weight: 900;
  box-shadow:
    0 10px 26px rgba(212,175,55,.30),
    0 12px 30px rgba(0,0,0,.55);
}
.iconbtn.primary:hover{ transform: translateY(-3px) scale(1.02); }

/* Icon-only variant for the nav search toggle (no background) */
.iconbtn.search-only{
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--gold);
  font-size: 20px;
  padding: 6px;
}
.iconbtn.search-only:hover{ color: var(--gold2); transform: translateY(-2px); }

/* HERO (NO fixed background) */
.hero{
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;
  padding: 84px 20px;

  /* key changes: add slight zoom + shift position */
  background:
    linear-gradient(135deg, rgba(0,0,0,.22), rgba(0,0,0,.08)),
    url("./hero.jpg") center 30% / cover no-repeat;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(212,175,55,.14), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
  pointer-events:none;
}

.hero-inner{
  max-width: 1200px;
  width:100%;
  position:relative;
  z-index: 2;
}

.hero h1{
  margin: 0 0 14px;
  font-weight: 950;
  letter-spacing: -1px;
  line-height: 1.06;
  font-size: clamp(44px, 6.5vw, 92px);
  background: linear-gradient(135deg, #FFFF99 0%, #FFDD00 50%, #FFB700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.hero p{
  margin: 0 auto 26px;
  max-width: 860px;
  font-size: clamp(18px, 2.8vw, 28px);
  color: rgba(255,255,255,.90);
  text-shadow: 0 14px 26px rgba(0,0,0,.55);
}

/* BUTTONS */
.btnrow{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  justify-content:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  font-weight: 850;
  font-size: 14px;
  letter-spacing: .15px;
  cursor:pointer;
  transition: .2s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
}
.btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}
.btn.primary{
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold2), var(--gold));
  color: #000;
  font-weight: 950;
  box-shadow:
    0 0 30px rgba(212,175,55,.30),
    0 12px 30px rgba(0,0,0,.55);
}
.btn.primary:hover{ transform: translateY(-3px) scale(1.02); }
.hero .btn{
  padding: 16px 40px;
  font-size: 16px;
}
.btn.lg{
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 8px;
}
/* FAQ-specific: make action buttons smaller and less rounded */
.faq-actions{ justify-content:center; gap:8px; }
.faq-actions .btn{
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  transition: none;
}
.faq-actions .btn.primary{
  background: transparent;
  border: 1px solid rgba(212,175,55,0.08);
  color: rgba(212,175,55,0.6);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: none;
}
h2{
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: .2px;
}

.small{ font-size: 15px; color: rgba(255,255,255,.62); }

.panel-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Soft separation without visible lines */
.panel + .panel{
  padding-top: 100px;
}
/* FULL-WIDTH PANELS + CENTERED CONTENT */
.panel{
  width: 100%;
  padding: 48px 0;
  background: transparent;   /* cleaner black */
  border: none;              /* removes section divider lines */
  box-shadow: none;
}

/* Soft spacing between sections */
section.panel + section.panel{
  margin-top: 0;
}
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Car page: push content slightly lower so back link/meta sit closer to the gallery
   and further from the global header */
.page-car .container{ padding-top: 20px; }

.panel h2{
  position: relative;
  padding-bottom: 14px;
}
.panel h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(212,175,55,.9), rgba(212,175,55,0));
  opacity: .65;
}

/* GRID + CARDS */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  gap: 18px;
  justify-content: center;
}

.card{
  border: 1px solid rgba(212,175,55,.15);
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transition: .25s cubic-bezier(.34,1.56,.64,1);
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.25);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.thumb{ 
  height: 200px; 
  background: #ffffff; 
  overflow: hidden;
  border-radius: 10px;
  margin: 10px 12px 8px 12px;
  display: block;
  padding: 2px; /* thin inner frame so image is larger */
  border: 1px solid rgba(0,0,0,0.04);
}
.thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the area while keeping the car prominent */
  object-position: center center;
  display: block;
}
.card:hover .thumb img{ transform: none; }

.cardbody{ 
  padding: 12px 16px 14px;
  background: transparent;
}
.title{ margin: 0 0 6px; font-size: 16px; font-weight: 950; }
.title a{ color: inherit; text-decoration: none; }
.title a:hover{ color: var(--gold2); text-decoration: underline; }
.meta{ margin: 6px 0 8px; color: rgba(255,255,255,.62); font-size: 13px; }
.price{ margin: 10px 0; font-size: 16px; font-weight: 950; color: var(--gold2); }

/* BADGES */
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}
.badge.available{ border-color: rgba(75,222,121,.45); background: rgba(75,222,121,.12); color: #77ffab; }
.badge.reserved{ border-color: rgba(255,196,56,.45); background: rgba(255,196,56,.12); color: #ffd36a; }

/* Card-specific action buttons: smaller and muted so they don't steal attention */
.card .cardbody .btnrow{ margin-top:4px; gap:8px; justify-content:flex-start; }
.card .cardbody .btnrow .btn{
  padding:6px 10px;
  font-size:12px;
  border-radius:6px;
  font-weight:800;
  box-shadow:none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
}
.card .cardbody .btnrow .btn.primary{
  background: transparent;
  border: 1px solid rgba(212,175,55,0.08);
  color: rgba(212,175,55,0.7);
  box-shadow: none;
}
.badge.sold{ border-color: rgba(255,80,80,.45); background: rgba(255,80,80,.12); color: #ff8a8a; }

/* TYPE PILLS */
.typebar{
  display:flex;
  gap: 16px;
  flex-wrap:wrap;
  margin-top: 18px;
  justify-content:center;
  align-items: center;
}

.type-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  transition: .2s ease;
}

.type-item i{
  font-size: 28px;
  color: var(--gold2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.type-item:hover{
  color: var(--gold2);
}

.typepill{
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.22);
  background: rgba(0,0,0,.22);
  font-weight: 900;
  transition: .2s ease;
}
.typepill:hover{
  transform: translateY(-2px);
  border-color: rgba(212,175,55,.55);
  color: var(--gold2);
}

/* REVIEWS */
.review-card{
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.22);
  background: linear-gradient(135deg, rgba(212,175,55,.06), rgba(0,0,0,.20));
  transition: .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
}
.review-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.38);
}
.review-name{ font-weight: 950; font-size: 15px; margin-bottom: 8px; }
.review-stars{ color: var(--gold2); letter-spacing: 2px; margin-bottom: 10px; }
.review-text{ color: rgba(255,255,255,.75); font-style: italic; font-size: 14px; }
.review-text-full{ color: rgba(255,255,255,.75); font-style: italic; font-size: 14px; }
.review-text.expandable{ cursor: pointer; user-select: none; }
.review-text.expandable:hover{ text-decoration: underline; color: rgba(255,255,255,.9); }
.review-card.expanded .review-text{ display: none !important; }
.review-card.expanded .review-text-full{ display: block !important; }

/* SCROLLABLE REVIEWS (Desktop & Mobile) */
#reviews .featured-grid{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 24px 20px;
  align-items: stretch;
  margin: 0 -24px;
  width: calc(100% + 48px);
}

#reviews .featured-grid .review-card{
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
}

/* Hide scrollbar for reviews */
#reviews .featured-grid::-webkit-scrollbar{
  display: none;
}

#reviews .featured-grid{
  scrollbar-width: none;
}

/* VISIT OUR SHOWROOM SECTION */
.visit-container{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}

.visit-card{
  background: linear-gradient(135deg, rgba(0,0,0,.5), rgba(0,0,0,.3));
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visit-card:hover{
  border-color: rgba(212,175,55,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  transition: all 0.3s ease;
}

.visit-content{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.visit-details{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.detail-icon{
  font-size: 22px;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-item div{
  flex: 1;
}

.detail-label{
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(212,175,55,.8);
  font-weight: 700;
  margin-bottom: 4px;
}

.detail-item p{
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

/* Contact Section */
.visit-contact-section{
  border-top: 1px solid rgba(212,175,55,.2);
  padding-top: 20px;
  margin-top: 8px;
}

.visit-contact-label{
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin: 0 0 8px 0;
  font-weight: 500;
}

.visit-contact-link{
  display: inline-block;
  color: var(--gold2);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  background: none;
  border: none;
}

.visit-contact-link:hover{
  color: var(--gold);
  text-decoration: none;
}

.visit-contact-icons{
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact-icon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid;
}

.viber-icon{
  border-color: rgba(59,89,152,.4);
  background: rgba(59,89,152,.08);
  color: #5b72d4;
}

.viber-icon:hover{
  border-color: rgba(59,89,152,.7);
  background: rgba(59,89,152,.15);
  color: #6b82e4;
  transform: translateY(-2px);
}

.whatsapp-icon{
  border-color: rgba(37,211,102,.4);
  background: rgba(37,211,102,.08);
  color: #25d366;
}

.whatsapp-icon:hover{
  border-color: rgba(37,211,102,.7);
  background: rgba(37,211,102,.15);
  color: #35e376;
  transform: translateY(-2px);
}

.contact-icon-btn i{
  font-size: 20px;
}

.visit-map-wrapper{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.25);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  height: 100%;
  min-height: 450px;
}

.visit-mapbox{
  margin-top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
}

.visit-mapbox iframe{
  display: block;
  width: 100%;
  height: 100%;
}

/* Responsive: Tablet */
@media (max-width: 1024px){
  .visit-container{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .visit-card{
    padding: 24px;
  }

  .visit-map-wrapper{
    min-height: 380px;
  }
}

/* Responsive: Mobile */
@media (max-width: 600px){
  .visit-card{
    padding: 20px;
  }

  .visit-details{
    gap: 14px;
  }

  .detail-item{
    gap: 10px;
  }

  .detail-label{
    font-size: 11px;
  }

  .detail-item p{
    font-size: 13px;
  }

  .visit-contact-label{
    font-size: 12px;
  }

  .visit-contact-link{
    font-size: 14px;
  }

  .contact-icon-btn{
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .visit-map-wrapper{
    min-height: 300px;
  }
}

/* MAP */
.mapbox{
  margin-top:18px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(212,175,55,.22);
  box-shadow: var(--shadow-md);
}

/* OVERLAY */
.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 999;
}
.overlaybox{
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,175,55,.25);
  background: linear-gradient(135deg, rgba(20,20,28,.95), rgba(12,12,18,.98));
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
  padding: 28px;
}
.input{
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(15,15,22,.70);
  color: var(--text);
}
.input:focus{
  outline:none;
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 0 0 3px rgba(212,175,55,.14);
}
/* FAQ (clean list style) */
.accordion{
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 980px;
}

.accordion-item{
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
}

.accordion-toggle{
  width:100%;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.92);
  padding: 18px 6px;
  font-weight: 900;
  cursor:pointer;

  display:flex;
  justify-content:space-between;
  align-items:center;

  appearance:none;
  -webkit-appearance:none;
}

.accordion-toggle::after{
  content:"+";
  color: rgba(212,175,55,.9);
  font-weight: 900;
}

.accordion-item.open .accordion-toggle::after{
  content:"−";
}

.accordion-panel{
  max-height:0;
  overflow:hidden;
  padding: 0 6px;
  transition: max-height .35s ease, padding .25s ease;
}

.accordion-item.open .accordion-panel{
  padding: 0 6px 18px;
}

.accordion-panel p{
  margin:0;
  color: rgba(255,255,255,.70);
  line-height:1.6;
}
/* ===== FAQ ONLY (clean like allcarsph style) ===== */
.faq-accordion .accordion-item{
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
}

.faq-accordion .accordion-toggle{
  width: 100%;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.92);
  padding: 18px 6px;
  font-weight: 900;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  appearance: none;
  -webkit-appearance: none;
}

.faq-accordion .accordion-toggle::after{
  content: "+";
  color: rgba(212,175,55,.9);
  font-weight: 900;
}

.faq-accordion .accordion-item.open .accordion-toggle::after{
  content: "−";
}

.faq-accordion .accordion-panel{
  max-height: 0;
  overflow: hidden;
  padding: 0 6px;
  transition: max-height .35s ease, padding .25s ease;
}

.faq-accordion .accordion-item.open .accordion-panel{
  padding: 0 6px 18px;
}

.faq-accordion .accordion-panel p{
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  font-size: 14px;
}
.faq-actions{
  justify-content: flex-start;
  margin-top: 10px;
}

/* Mobile-only action row for FAQs (visible on small screens) */
.faq-mobile-actions{
  display:none;
  gap:10px;
  margin: 10px 0 18px;
}

@media (max-width: 900px){
  .faq-mobile-actions{
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .faq-mobile-actions .btn{
    padding:10px 12px;
    font-size:14px;
    border-radius:8px;
  }
}

/* FOOTER */
.footer{
  width: 100%;
  padding: 30px 0;
  background: rgba(0,0,0,.95); /* keep footer darker than page */
  margin-top: auto;
  flex-shrink: 0;
}
.footer-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

/* Top Section: 3-column layout */
.footer-top-section{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin-bottom: 25px;
  padding: 0;
}

/* Logo Box (Left) */
.footer-logo-box{
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.footer-logo{
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

/* Center Content */
.footer-center{
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.inquire-heading{
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.footer-social-icons{
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.icon-circle{
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s ease;
}

.icon-circle:hover{
  background: var(--gold);
  color: #000;
}

.icon-circle svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Right Links */
.footer-links-right{
  flex-shrink: 0;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
}

.footer-links-right a{
  color: rgba(255,255,255,.82);
  transition: color 0.3s ease;
}

.footer-links-right a:hover{
  color: var(--gold2);
  text-decoration: none;
}

.link-divider{
  color: rgba(255,255,255,.5);
}

/* Bottom Section: Description */
.footer-bottom-section{
  background: rgba(0,0,0,.3);
  padding: 16px 40px;
  border-top: 1px solid rgba(212,175,55,.2);
  text-align: center;
}

.footer-description{
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.8);
}

.footer-description strong{
  color: var(--gold);
  font-weight: 600;
}

.footer a{ color: rgba(255,255,255,.82); }
.footer a:hover{ color: var(--gold2); text-decoration: none; }

/* Responsive */
@media (max-width: 992px){
  .footer-top-section{
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
  }

  .footer-links-right{
    flex-direction: row;
    text-align: center;
  }
}

@media (max-width: 768px){
  .footer-top-section{
    gap: 12px;
  }

  .footer-logo-box{
    width: 80px;
    height: 60px;
  }

  .inquire-heading{
    font-size: 14px;
  }

  .footer-social-icons{
    gap: 10px;
  }

  .icon-circle{
    width: 32px;
    height: 32px;
  }

  .footer-description{
    font-size: 11px;
  }
}

.dot{ margin: 0 8px; opacity: .7; }
/* ABOUT SECTION */

.about-wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items:center;
}

.about-thumb{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(212,175,55,.25);
  background: rgba(0,0,0,.35);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.about-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .4s ease;
}

.about-thumb:hover img{
  transform: scale(1.05);
}

.about-copy{
  max-width: 520px;
}

.about-lead{
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.95);
  margin-bottom: 14px;
}

.about-copy p{
  color: rgba(255,255,255,.70);
}

.about-actions{
  justify-content:flex-start;
  margin-top: 18px;
}

/* MOBILE FIX */

@media (max-width: 900px){
  .about-wrap{
    grid-template-columns: 1fr;
    text-align:center;
  }

  .about-actions{
    justify-content:center;
  }

  .about-copy{
    max-width:100%;
  }
}
.page-inventory .hero{
  background: linear-gradient(135deg, rgba(0,0,0,.92), rgba(0,0,0,.75)) !important;
  min-height: auto;
  padding: 48px 0;
}


/* links (desktop visible) */
#siteNav{ display:block; }
#primaryNav{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:center;
}

/* right side group */
.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

/* burger hidden on desktop */
.navtoggle{ display:none; }

/* ================= MOBILE ================= */
@media (max-width: 768px){

  /* hide brand text (keep logo only) */
  .brand > div:not(.brand-badge){ display:none; }

  /* show burger */
  .navtoggle{ display:inline-flex; }

  /* keep header one row */
  .nav-inner{
    flex-wrap:nowrap;
    padding:10px 14px;
  }

  /* make icons + burger grouped at right */
  .nav-right{
    margin-left:auto;
  }

  /* hide menu by default */
  #siteNav{
    display:none;
    width:100%;
    background: rgba(0,0,0,.92);
    border-top: 1px solid rgba(255,255,255,.08);
    position: absolute;
  left: 0;
  top: 100%;
  }

  /* show menu when open */
  #siteNav.open{ display:block; }

  /* nav links become vertical list */
  #primaryNav{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:14px 16px 18px;
  }

  /* MOBILE REVIEW CARDS */
  .review-card{
    padding: 16px;
  }
  .review-card:hover{
    transform: none;
  }
  .review-name{ font-size: 13px; margin-bottom: 6px; }
  .review-stars{ font-size: 12px; margin-bottom: 8px; }
  .review-text, .review-text-full{ font-size: 13px; line-height: 1.6; }
  .review-text.expandable{ cursor: pointer; }
  .review-text.expandable:active{ color: rgba(212,175,55,.8); }

  /* Mobile reviews grid adjustments */
  #reviews .featured-grid{
    margin: 0 -20px;
    width: calc(100% + 40px);
    padding: 6px 20px 14px;
  }

  #reviews .featured-grid .review-card{
    width: min(78vw, 320px);
  }
}/* ===== Featured Cars: horizontal swipe + momentum (mobile) ===== */
@media (max-width: 768px){
  .featured-grid{
    display: flex !important;
    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* ✅ momentum swipe (iOS/most mobile) */

    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;

    padding: 6px 20px 14px;
    margin: 0 -20px; /* lets the swipe go edge-to-edge */
  }

  .featured-grid .card{
    flex: 0 0 auto;
    width: min(78vw, 320px); /* responsive card width */
    scroll-snap-align: start;
  }

  #reviews .featured-grid .review-card{
    width: min(78vw, 320px); /* responsive card width for reviews */
  }

  /* optional: hide scrollbar */
  .featured-grid::-webkit-scrollbar{ display:none; }
  .featured-grid{ scrollbar-width: none; }
  #reviews .featured-grid::-webkit-scrollbar{ display:none; }
}
.nav-right{ position: relative; z-index: 1000; }
.navtoggle{ position: relative; z-index: 1001; }
/* ===========================
   FEATURED CARS SLIDER
=========================== */

.featured{
  padding: 40px 0;
}

/* horizontal container */
.featured-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4); /* 4 cards desktop */
  gap: 24px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  padding: 10px 24px 30px;
  -webkit-overflow-scrolling: touch;
}

/* hide scrollbar */
.featured-track::-webkit-scrollbar{
  display: none;
}
.featured-track{
  scrollbar-width: none;
}

/* snap cards */
.featured-card{
  scroll-snap-align: start;
}

/* ===========================
   RESPONSIVE BEHAVIOR
=========================== */

/* Tablet */
@media (max-width: 1024px){
  .featured-track{
    grid-auto-columns: calc((100% - 24px) / 2.2);
  }
}

/* Mobile */
@media (max-width: 600px){
  .featured-track{
    grid-auto-columns: 85%;
  }
}
.featured .btnrow {
  gap: 6px;
}

@media (max-width: 600px){
  .featured .btnrow .btn {
    padding: 8px 10px;
    font-size: 12px;
  }
}
/* ======================
   TOP SEARCH OVERLAY (DESIGN MATCH)
   - white rounded outer border
   - dark inner input
   - circular gold search icon positioned inside input
====================== */

.search-overlay{
  position: fixed;
  top: -120px;
  left: 0;
  width: 100%;
  background: #0b0b0f;
  padding: 30px 0;
  z-index: 9999;
  transition: top 0.35s ease;
}

.search-overlay.active{ top: 0; }

.search-row{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.search-bar-wrap{
  width: 50%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px; /* reduced padding to match design */
  border-radius: 10px; /* smaller radius like the pasted image */
  border: 1.5px solid rgba(255,255,255,.95); /* thinner border */
  background: transparent;
  position: relative;   /* IMPORTANT: keep form-positioning here */
}

.search-bar-wrap form{ flex: 1; position: relative; }

.search-bar-wrap input{
  width: 100%;
  padding: 14px 18px;
  padding-right: 64px; /* room for the circular button */
  border: none;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 16px;
  outline: none;
  border-radius: 12px;
}

.search-bar-wrap input::placeholder{ color: rgba(255,255,255,.6); }

/* circular gold icon inside input */
.search-bar-wrap .btn.primary{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: none; /* remove background shadow */
  border: none; /* no border for icon-only look */
  background: transparent; /* transparent so only icon is visible */
  color: var(--gold); /* make icon gold */
}

.search-close{
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  cursor: pointer;
  color: var(--gold);
}

@media (max-width: 768px){
  .search-bar-wrap{ width: 92%; }
  .search-bar-wrap .btn.primary{ width:36px; height:36px; right:6px; }
}

/* ======================
   CAR DETAILS (single car page)
====================== */
.car-layout{
  display:grid;
  grid-template-columns: 1.4fr 1fr;
  gap:40px;
  margin-top:30px;
}

/* LEFT */
.car-gallery .mainimg{
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,.35);
}
.car-gallery .mainimg img{
  width:100%;
  display:block;
}

.thumbs{
  display:flex;
  gap:12px;
  margin-top:16px;
}
.thumbs button{
  border:none;
  padding:0;
  border-radius:12px;
  overflow:hidden;
  cursor:pointer;
  transition:.2s;
}
.thumbs img{
  width:100px;
  height:70px;
  object-fit:cover;
}
.thumbs button:hover{
  transform:scale(1.05);
}

/* RIGHT SIDE */
.car-sidebar{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.card-box{
  background:#111318;
  padding:22px;
  border-radius:18px;
  border: 1.5px solid rgba(212,175,55,.3);
  box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.price-card h2{
  margin:0 0 6px;
}
.price-card .small{
  margin:0;
  font-size:20px; /* title-sized but fits inside the card */
  font-weight:800;
  color: var(--text);
  line-height:1.1;
}
.submeta{
  color:#aaa;
  font-size:14px;
  margin-bottom:16px;
}
.big-price{
  font-size:28px;
  font-weight:900;
  margin-bottom:16px;
}

.btn.full{
  width:100%;
}

.spec-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.spec-grid span{
  display:block;
  font-size:13px;
  color:#aaa;
}
.spec-grid strong{
  font-size:16px;
}

.comp-card h3{
  margin-top:0;
}

/* Computation card tweaks */
.comp-title{
  margin: 0 0 10px 0;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.6px;
}
.dp-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
.dp-amount{
  font-size:20px;
  font-weight:900;
  color: var(--gold2);
}
.dp-note{
  font-size:13px;
  color: var(--muted);
  font-weight:400;
}
.compline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}
.term{ color: var(--muted); font-weight:600; }
.price-wrap{ display:flex; align-items:center; gap:8px; }
.amount{ font-weight:900; color: var(--gold2); }
.per-month{ font-weight:600; color: var(--text); }

/* RESPONSIVE */
@media(max-width:992px){
  .car-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:768px){
  .thumbs{
    display:flex;
    gap:12px;
    margin-top:16px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    padding-bottom:8px;
  }
  .thumbs::-webkit-scrollbar{
    height:6px;
  }
  .thumbs::-webkit-scrollbar-track{
    background:rgba(255,255,255,.05);
    border-radius:10px;
  }
  .thumbs::-webkit-scrollbar-thumb{
    background:rgba(212,175,55,.4);
    border-radius:10px;
  }
  .thumbs::-webkit-scrollbar-thumb:hover{
    background:rgba(212,175,55,.6);
  }
  .thumbs button{
    flex-shrink:0;
  }
}

@media (max-width:600px){
  .price-card .small{ font-size:16px; }
}
/* ===== TYPE BUTTON STYLE ===== */
.type-pill {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 12px; /* slightly rounded */
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    color: #fff;

    /* glass style */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.4);

    backdrop-filter: blur(8px);

    transition: all 0.25s ease;
}

/* Hover Effect */
.type-pill:hover {
    background: linear-gradient(135deg, #d4af37, #f6e27a);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212,175,55,0.35);
}

/* Optional: Active (when selected page) */
.type-pill.active {
    background: linear-gradient(135deg, #d4af37, #f6e27a);
    color: #000;
    box-shadow: 0 8px 20px rgba(212,175,55,0.35);
}
/* ================================= */
/* INVENTORY MOBILE LIST VIEW ONLY  */
/* ================================= */

@media (max-width: 768px){

  .page-inventory .grid{
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .page-inventory .card{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    max-width: 100%;
    padding: 12px;
  }

  .page-inventory .thumb{
    width: 115px;
    height: 85px;
    margin: 0;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .page-inventory .thumb img{
    border-radius: 12px;
  }

  .page-inventory .cardbody{
    padding: 0;
    flex: 1;
  }

  .page-inventory .title{
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .page-inventory .meta{
    font-size: 12px;
    margin: 4px 0;
  }

  .page-inventory .price{
    font-size: 15px;
    margin-top: 6px;
  }

  /* hide buttons in mobile list view */
  .page-inventory .btnrow{
    display: none;
  }

}
