:root{
  --bg:#1e293b;
  --muted:#6b7280;
  --accent:#2563eb;
  --accent-2:#111827;
  --surface:#58595a;
  --radius:12px;
  --container:1100px;
  --gap:1.25rem;
  --shadow: 0 8px 30px rgba(17,24,39,0.06);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  padding-top: 64px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--accent-2);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

.container{ max-width:var(--container); margin:0 auto; padding:0 1rem; }

/* Header */
/* .site-header{
  background:linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.85));
  position:sticky; top:0; z-index:40; backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(15,23,42,0.04);
} */
.site-header {
  position: fixed;   /* instead of sticky */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;      /* ensure it stays above other elements */
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.85));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15,23,42,0.04);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:var(--gap); padding:0.9rem 0; }
.brand{ font-weight:800; color:var(--accent-2); text-decoration:none; font-size:1.15rem; letter-spacing:0.4px; }
.nav-toggle{ display:none; background:none; border:0; width:36px; height:36px; cursor:pointer; }
.nav-toggle span{ display:block; height:2px; background:#111827; margin:5px 0; border-radius:2px; width:20px; }

.site-nav ul{ list-style:none; margin:0; padding:0; display:flex; gap:1rem; align-items:center; }
.site-nav a{ text-decoration:none; color:var(--muted); padding:0.4rem 0.6rem; border-radius:8px; }
.site-nav a:hover{ color:var(--accent); background:rgba(37,99,235,0.08); }

.btn{ display:inline-block; padding:0.6rem 1rem; border-radius:10px; text-decoration:none; cursor:pointer; border:1px solid transparent; font-weight:700; font-size:0.95rem; }
.btn-primary{ background:linear-gradient(90deg,var(--accent),#3b82f6); color:#fff; box-shadow:var(--shadow); }
.btn-ghost{ background:transparent; color:var(--accent); border:1px solid rgba(217,70,48,0.08); }

/* Hero */
/* .hero{ padding:3.5rem 0; }
.hero-grid{ display:grid; grid-template-columns:1fr 480px; gap:2rem; align-items:center; }
.hero-text h1{ font-size:2.1rem; margin:0 0 0.5rem; }
.hero-text p{ color:var(--muted); margin:0 0 1rem; }
.hero-actions{ display:flex; gap:0.75rem; align-items:center; }
.hero-note{ margin-top:1rem; color:var(--muted); font-size:0.95rem; } */
.container.hero-grid {
  background-color: #0a013a;   /* dark background */
  border-radius: 12px;         /* rounded corners */
  padding: 2rem;               /* extra padding inside */
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  display: flex;               /* side-by-side layout */
  flex-direction: row;
  gap: 20px;
  align-items: center;
  color: #f5f5f5;              /* light text for contrast */
}

.hero-text {
  flex: 1;
}

.hero-section {
  flex: 1;
}

.hero-art {
  border-radius: 8px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* Placeholder art */
.placeholder{ width:100%; height:100%; border-radius:14px; box-shadow:var(--shadow); display:block; }

/* Sections */
.section{ padding:3rem 0; }
.section.alt{ background:var(--surface); }
.section-title{ margin:0 0 0.5rem; font-size:1.25rem; color:var(--accent-2); }
.section-sub{ color:var(--muted); margin:0 0 1.25rem; }

/* Inventory */
/* ===== Inventory card wrapper ===== */
.inventory-card {
  background-color: #0a013a;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  color: #f5f5f5;
  margin-top: 2rem;
}

/* headings */
.section-title, .section-sub { color: #f5f5f5; }

/* ===== Slider viewport ===== */
.slider {
  position: relative;
  overflow: hidden;
}

/* ===== Scrollable track (use scroll-snap) ===== */
.inventory {
  display: flex;
  gap: 16px;                      /* space between cards */
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;            /* avoid overlap with scrollbar */
  margin: 0;
}

/* hide default scrollbar but keep accessible scrolling */
.inventory::-webkit-scrollbar { height: 8px; }
.inventory::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 6px; }

/* ===== Card (flex: 0 0 auto so width is controlled by CSS) ===== */
.bike-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: #eaeaea;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;                 /* prevent shrinking/growing */
  scroll-snap-align: start;       /* snap to card start */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 220px;               /* minimum card width */
  max-width: 320px;               /* cap card width */
}

/* Default layout: show up to 4 cards (adjust if you want more/less) */
@media (min-width: 1200px) {
  .bike-card { width: calc((100% - 3 * 16px) / 4); } /* 4 cards */
}
@media (min-width: 900px) and (max-width:1199px) {
  .bike-card { width: calc((100% - 2 * 16px) / 3); } /* 3 cards */
}
@media (min-width: 600px) and (max-width:899px) {
  .bike-card { width: calc((100% - 1 * 16px) / 2); } /* 2 cards */
}
@media (max-width:599px) {
  .bike-card { width: 100%; }                         /* 1 card */
}

/* ===== Media and body inside card ===== */
.bike-media {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #111;
}

.bike-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.bike-title { color: #fff; margin: 0; font-size: 1.05rem; }
.bike-meta { color: #ccc; margin: 0; font-size: 0.95rem; }

.specs .chip {
  background-color: #333;
  color: #f5f5f5;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  font-size: 0.85rem;
}

.card-actions { margin-top: auto; padding-top: 0.5rem; }

/* hover */
.bike-card:hover { transform: translateY(-6px); box-shadow: 0 8px 22px rgba(0,0,0,0.65); }

/* ===== Arrows (always visible; JS can toggle .disabled) ===== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17,17,17,0.9);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.4rem;
  border-radius: 50%;
  z-index: 30;
  transition: opacity 0.18s ease, transform 0.12s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  opacity: 1;
  pointer-events: auto;
}
.arrow:hover { transform: translateY(-50%) scale(1.03); opacity: 1; }
.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

/* disabled visual state (JS should toggle this class) */
.arrow.disabled {
  opacity: 0.35;
  pointer-events: none;
  transform: translateY(-50%) scale(1);
}

/* Accessibility focus */
.arrow:focus { outline: 2px solid rgba(99,102,241,0.9); outline-offset: 2px; }

/* small screens: reduce arrow size so they don't overlap content */
@media (max-width: 600px) {
  .arrow { padding: 6px 8px; font-size: 1.1rem; }
}

/* Ensure inventory track doesn't wrap */
.inventory { white-space: nowrap; }


/* Cards */
.cards{ display:flex; gap:1rem; flex-wrap:wrap; }
.card{ background:#fff; border-radius:12px; padding:1rem; flex:1 1 220px; box-shadow:var(--shadow); }
.card h3{ margin:0.5rem 0 0.5rem; font-size:1rem; }
.card p{ margin:0; color:var(--muted); font-size:0.95rem; }

/* Gallery */
.gallery{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.tile{ background:#fff; border-radius:12px; overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.tile-img{ width:100%; height:140px; display:block; }

/* About / Contact */
/* .about-grid{ display:grid; grid-template-columns:1fr 360px; gap:2rem; align-items:center; }
.muted-list{ color:var(--muted); padding-left:1.1rem; } */
.about-card, .contact-card {
  background-color: #0a013a;   /* dark background */
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  color: #f5f5f5;
  margin-top: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: center;
}

.section-title, .section-sub {
  color: #f5f5f5;
}

.muted-list {
  color: #ccc; /* lighter muted text for readability */
  padding-left: 1.1rem;
}

.contact-form input,
.contact-form textarea {
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 0.75rem;
  color: #f5f5f5;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
}

.contact-form button {
  margin-top: 1rem;
}


/* Forms */
.contact-form{ max-width:720px; margin-top:1rem; display:flex; flex-direction:column; gap:0.75rem; }
.form-row{ display:flex; gap:0.75rem; }
.form-row input{ flex:1; padding:0.7rem; border-radius:8px; border:1px solid rgba(15,23,42,0.06); }
input[type="email"], textarea, select, input[type="tel"], input[type="text"], input[type="date"]{ width:100%; padding:0.7rem; border-radius:8px; border:1px solid rgba(15,23,42,0.06); }
textarea{ padding:0.8rem; border-radius:8px; border:1px solid rgba(15,23,42,0.06); resize:vertical; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #f1f5f9; /* matches neutral text tone */
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: #38bdf8; /* modern browsers support this */
}

.privacy-note {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: -0.25rem;
}


/* Footer */
.site-footer{ padding:1.25rem 0; border-top:1px solid rgba(15,23,42,0.04); background:transparent; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; gap:1rem; color:var(--muted); font-size:0.95rem; }
.footer-link{ color:var(--muted); text-decoration:none; margin-right:0.75rem; }

/* Modal */
.modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(2,6,23,0.45); z-index:60; padding:1rem; }
.modal[aria-hidden="false"]{ display:flex; }
.modal-panel{ background:#fff; border-radius:12px; padding:1.25rem; width:100%; max-width:520px; box-shadow:0 20px 50px rgba(2,6,23,0.3); position:relative; }
.modal-close{ position:absolute; right:12px; top:8px; border:0; background:transparent; font-size:1.4rem; cursor:pointer; }
.modal-actions{ margin-top:0.75rem; display:flex; gap:0.5rem; }

/* Responsive */
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .about-grid{ grid-template-columns:1fr; }
  .nav-toggle{ display:flex; }
  .site-nav{ position:fixed; right:0; top:64px; background:#fff; border-left:1px solid rgba(15,23,42,0.04); width:260px; height:calc(100% - 64px); transform:translateX(110%); transition:transform .28s ease; padding:1rem; box-shadow:0 10px 30px rgba(2,6,23,0.08); }
  .site-nav.open{ transform:translateX(0); }
  .site-nav ul{ flex-direction:column; gap:0.5rem; margin-bottom:1rem; }
}


/* Service section */
.services-card {
  background-color: #0a013a;   /* dark background */
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  color: #f5f5f5;
  margin-top: 2rem;
}

.section-title, .section-sub {
  color: #f5f5f5;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.card {
  background-color: #2a2a2a;   /* slightly lighter dark for contrast */
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.7);
}

.card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.card p {
  color: #ccc;
}

/* Privacy modal styles */
/* Privacy modal styles */
.privacy-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.privacy-content {
  background: #fff;
  color: #222;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.privacy-close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.privacy-close:hover { color: #000; }