/* BEGIN style.css */
/* Basic reset */
* { box-sizing: border-box; }
html,body { height:100%; margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial; color:#222; background:#f7f7f8; }
.container { max-width:1100px; margin:0 auto; padding:20px; }

/* Header / footer */
.site-header { background:#0b3b5a; color:#fff; padding:18px 20px; }
.site-header h1 { margin:0 0 6px; font-size:1.4rem; }
.site-header p { margin:0; opacity:0.95; }
.site-footer { text-align:center; padding:14px; font-size:0.9rem; color:#666; }

/* Hero */
.hero { display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap; margin-top:18px; }
#hero-wrap { flex:1 1 420px; min-width:280px; max-width:720px; background:#fff; padding:8px; border-radius:8px; box-shadow:0 6px 18px rgba(10,10,10,0.06); }
#hero-image { width:100%; height:auto; display:block; border-radius:6px; object-fit:cover; }

/* Summary */
.vehicle-summary { flex:1 1 320px; min-width:260px; }
.vehicle-summary h2 { margin-top:0; }
.features { list-style:disc; margin:8px 0 16px 20px; padding:0; }
.price { font-weight:600; font-size:1.05rem; }

/* Buttons */
.btn { display:inline-block; background:#0b6b9a; color:#fff; padding:10px 14px; border-radius:6px; text-decoration:none; border:none; cursor:pointer; }
.btn-secondary { background:#6c7a86; }
.btn:active { transform:translateY(1px); }

/* Gallery grid */
.gallery-grid { display:grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap:12px; margin-top:12px; }
.thumb { background:#fff; padding:6px; border-radius:6px; box-shadow:0 4px 12px rgba(10,10,10,0.06); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.thumb img { width:100%; height:100%; object-fit:cover; display:block; cursor:pointer; border-radius:4px; }

/* Lightbox */
.lightbox { position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,0.8); z-index:9999; padding:20px; }
.lightbox img { max-width:95%; max-height:85%; border-radius:6px; box-shadow:0 10px 40px rgba(0,0,0,0.6); }
.lightbox-close { position:absolute; top:18px; right:18px; background:transparent; color:#fff; border:0; font-size:28px; cursor:pointer; }

/* Navigation buttons (left/right) */
.lightbox-nav {
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.45);
  color:#fff;
  border:0;
  width:56px;
  height:56px;
  border-radius:50%;
  font-size:32px;
  line-height:56px;
  text-align:center;
  cursor:pointer;
  z-index:10000;
  box-shadow:0 6px 18px rgba(0,0,0,0.5);
  transition:background 0.15s ease;
}
.lightbox-nav:hover { background:rgba(0,0,0,0.6); }
.lightbox-nav.left { left:18px; }
.lightbox-nav.right { right:18px; }

.lightbox-caption { color:#fff; margin-top:12px; text-align:center; position:fixed; bottom:28px; left:0; right:0; font-size:0.95rem; }

/* Contact form */
.contact-section { margin-top:28px; background:#fff; padding:16px; border-radius:8px; box-shadow:0 6px 18px rgba(10,10,10,0.04); }
.contact-form label { display:block; margin-bottom:10px; font-size:0.95rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form input[type="password"] { width:100%; padding:10px; border-radius:6px; border:1px solid #d6d6d8; font-size:0.95rem; }
.honeypot { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* Captcha */
.captcha { margin:8px 0 12px; display:flex; gap:10px; align-items:center; }
.captcha input { width:120px; }

/* Form actions */
.form-actions { display:flex; gap:10px; margin-top:8px; }
.form-status { margin-top:10px; color:#0b6b9a; }

/* Empty gallery message */
.empty { margin-top:12px; color:#666; background:#fff; padding:12px; border-radius:8px; box-shadow:0 6px 18px rgba(10,10,10,0.03); }

/* Details section */
.details-section h2 { margin-top:0; }
.details-section p { line-height:1.5; }
.details-section ul.features { margin-left:18px; }

/* Responsive */
@media (max-width:800px) {
  .hero { flex-direction:column; }
  .vehicle-summary { order:2; }
  #hero-wrap { order:1; }

  /* On small screens, move nav buttons closer and slightly smaller */
  .lightbox-nav { width:44px; height:44px; font-size:24px; line-height:44px; }
  .lightbox-nav.left { left:10px; }
  .lightbox-nav.right { right:10px; }
  .lightbox-caption { bottom:18px; font-size:0.9rem; }
}
/* END style.css */
