/* -----------------------------------------
   NoirFleet - Full Stylesheet (dark theme)
   Includes autoplay-ready fleet carousel
   ----------------------------------------- */

:root{
  --bg:#050505;
  --panel:#0b0b0c;
  --muted:#9aa0a6;
  --accent:#ffffff;
  --accent-2:#ffd166;
  --glass: rgba(255,255,255,0.03);
  --card:#0f1112;
  --shadow: 0 10px 30px rgba(0,0,0,0.6);
  --radius:14px;
  --radius-sm:10px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: dark;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Basic reset */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  background: linear-gradient(180deg, var(--bg), #0a0a0a);
  color: var(--accent);
  line-height: 1.45;
  font-size: 16px;
}

/* ---------- HEADER (sticky) ---------- */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(8,8,9,0.95), rgba(8,8,9,0.85));
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.header-inner{
  padding: 12px 100px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.brand { display:flex; gap:12px; align-items:center; }
.logo { height: 76px; width: auto; object-fit:contain; border-radius:4px; background:transparent; }
.brand-text { display:flex; flex-direction:column; line-height:1; }
.brand-name { font-weight:800; font-size:1.05rem; color:var(--accent); }
.brand-tag { font-size:0.77rem; color:var(--muted); }

/* Nav */
.main-nav { display:flex; gap:18px; align-items:center; }
.main-nav a {
  color: var(--muted); text-decoration:none; font-weight:600;
  font-size:0.92rem; padding:8px 10px; border-radius:8px;
}
.main-nav a:hover { background: rgba(255,255,255,0.03); color:var(--accent); }

/* CTA + hamburger */
.header-cta { display:flex; gap:12px; align-items:center; }

/* ---------- HEADER CONTACT BOX (phone + email in same box) ---------- */
.contact-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #111, #333);
  color: var(--accent-2);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
}
.contact-item {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-item:hover {
  color: #ffcc66;
}
.divider {
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* Mobile version: stack phone and email */
@media (max-width: 700px) {
  .contact-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 12px;
  }
  .divider { display: none; }
  .contact-item {
    font-size: 0.9rem;
  }
}

.hamburger{
  display:none;
  width:44px;
  height:36px;
  border-radius:8px;
  border:none;
  background:transparent;
  align-items:center;
  justify-content:center;
  padding:6px;
  cursor:pointer;
}
.hamburger span{
  display:block;
  height:2px;
  background:var(--accent);
  margin:6px 0;
  border-radius:2px;
}

/* Mobile nav panel */
.mobile-nav{
  display:none;
  padding:8px 100px;
  border-top:1px solid rgba(255,255,255,0.02);
}
.mobile-nav.open{
  display:flex;
  flex-direction:column;
  gap:12px;
  background: transparent;
  padding-bottom:12px;
}
.mobile-nav a{
  padding:10px;
  border-radius:8px;
  text-decoration:none;
  color:var(--accent);
  background: rgba(255,255,255,0.02);
}

/* Ensure content does not hide behind header */
main { padding-top: 110px; padding-left:100px; padding-right:100px; }

/* ---------- BANNER & TAGLINE ---------- */
.banner-section { margin: 18px 0 6px; }
.banner-image { width:100%; height:auto; display:block; border-radius:12px; box-shadow: 0 12px 36px rgba(0,0,0,0.6); object-fit:cover; }

.tagline-section { margin: 10px 0 22px; padding:12px; }
.tagline-title { font-size:1.75rem; margin:6px 0 6px; color:var(--accent); }
.tagline-sub { color:var(--muted); margin:0 0 12px; }
.tagline-actions { display:flex; gap:12px; }

/* Buttons */
.btn{ display:inline-block; padding:10px 16px; border-radius:12px; text-decoration:none; font-weight:700; }
.btn.primary { background:linear-gradient(90deg,var(--accent-2),#ffb703); color:#060606; box-shadow: 0 10px 28px rgba(255,177,19,0.12); }
.btn.outline { border:1px solid rgba(255,255,255,0.06); background:transparent; color:var(--accent); }

/* ---------- SECTION HEAD ---------- */
.section-head { margin: 18px 0 14px; }
.section-head h2 { margin:0; font-size:1.35rem; color:var(--accent); }
.section-head p { color:var(--muted); margin:6px 0 0; }

/* ---------- FLEET CAROUSEL ---------- */
.fleet-section { margin: 12px 0 60px; }

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  padding: 6px;
  border-radius: 14px;
  overflow: visible;
}

/* viewport wrapper keeps track.parentElement.clientWidth reliable */
.carousel-viewport { width:100%; overflow:hidden; border-radius:12px; }

.carousel-track {
  display: flex;
  gap: 12px;
  width: 100%;
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  touch-action: pan-y;
  align-items: center;
  border-radius: 12px;
}

.carousel-slide {
  min-width: 100%;
  flex: 0 0 100%;
  margin: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

/* Fleet images */
.carousel-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
}

/* Caption (bottom overlay bar) */
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.75));
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.caption-title {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
  text-transform: uppercase;
}
.caption-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.3;
}

/* Carousel nav buttons */
.carousel-btn {
  border: none;
  background: rgba(255,255,255,0.08);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.6);
  cursor: pointer;
  color: var(--accent);
  transition: all 0.2s ease;
}
.carousel-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
}
.dot.active {
  background: var(--accent-2);
  transform: scale(1.1);
}

/* ---------- GLOBAL PRESENCE (Left-image split, fixed card height) ---------- */
.global-section { margin: 24px 0 36px; }

.global-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Each card is a horizontal split: image on left (50%), text right (50%) */
.global-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: linear-gradient(180deg, #0c0c0d, #0f0f10);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.03);
  height: 220px;
}
.global-thumb {
  width: 50%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.global-body {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.global-body h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
}
.global-body .muted {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.tall-card {
  height: 230px;
}
.small-text .muted {
  font-size: 0.81rem;
}
.optional-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.12);
  margin-top: 6px;
}

/* ---------- PRICING ---------- */
.pricing-section { margin: 22px 0 36px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.pricing-card {
  background: linear-gradient(180deg,#0b0b0b,#0f0f10);
  border-radius:12px; overflow:hidden;
  display:flex; gap:16px; box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  border:1px solid rgba(255,255,255,0.02);
}
.pricing-media { flex:0 0 44%; }
.pricing-image { width:100%; height:220px; object-fit:cover; display:block; }
.pricing-body { padding:14px; flex:1; }
.pricing-body h3{ margin:0; color:var(--accent); }
.pricing-body .muted{ color:var(--muted); margin-top:8px; line-height:1.4; }

/* ---------- SERVICES ---------- */
.services-section .carousel { margin-bottom: 40px; }
.services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:12px; }
.service-card {
  background:linear-gradient(180deg,#0c0c0d,#0f0f10); padding:18px; border-radius:12px;
  box-shadow:var(--shadow); text-align:left; font-weight:600; color:var(--accent);
}
.service-card h4{ margin:0 0 6px; font-size:1rem; }
.service-card .muted{ color:var(--muted); font-weight:400; font-size:0.95rem; }

/* ---------- CONTACT FORM ---------- */
.contact-form {
  background:linear-gradient(180deg,#0b0b0b,#0f0f10); padding:18px; border-radius:12px;
  box-shadow:var(--shadow); margin-bottom:48px; border:1px solid rgba(255,255,255,0.02);
}
.form-row { display:flex; gap:10px; margin-bottom:10px; }
.form-row input, .contact-form textarea, .contact-form input {
  width:100%; padding:10px; border-radius:10px; border:1px solid rgba(255,255,255,0.04);
  font-size:0.95rem; background:transparent; color:var(--accent);
}
.form-actions { display:flex; gap:10px; margin-top:8px; }

/* ---------- FOOTER ---------- */
.site-footer { padding:24px 100px; background:transparent; }
.footer-inner { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.footer-left strong{ font-size:1.05rem; color:var(--accent); }
.muted{ color:var(--muted); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .global-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .main-nav { display:none; }
  .hamburger { display:flex; }
  main { padding-top:110px; padding-left:20px; padding-right:20px; }
  .header-inner { padding: 12px 20px; }
  .mobile-nav { padding: 8px 20px; }
  .site-footer { padding: 24px 20px; }
  .carousel-image { height:260px; }
}

@media (max-width: 700px) {
  .global-card { flex-direction: column; height: auto; }
  .global-thumb { width:100%; height:180px; }
  .global-body { padding:14px 16px; }
  .services-grid { grid-template-columns:1fr; }
  .pricing-card { flex-direction: column; }
  .pricing-media, .pricing-image { width:100%; height:200px; }
  main { padding-top:96px; padding-left:15px; padding-right:15px; }
  .header-inner { padding: 12px 15px; }
  .mobile-nav { padding: 8px 15px; }
  .site-footer { padding: 24px 15px; }
  .logo { height:48px; width:auto; }
}

/* Small utility */
.hidden { display:none !important; }
.center { text-align:center; }

/* ----- Contact Form Responsive Adjustments ----- */
@media (max-width: 700px) {
  .form-row { flex-direction: column; }
  .form-row input { width: 100%; }
}
/* Compact single-line contact box (prevents wrapping) */
.contact-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg,#111,#333);
  color: var(--accent-2);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;            /* prevent wrapping */
  overflow: hidden;               /* avoid overflow */
}

/* allow items to shrink slightly to fit */
.contact-item {
  display: inline-block;
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease;
  max-width: 220px;               /* adjust as needed */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* make divider subtle */
.divider { color: rgba(255,255,255,0.28); margin: 0 6px; }

/* Reduce padding/font on narrower headers to keep single-line */
@media (max-width: 1100px) {
  .contact-box { padding: 6px 10px; gap: 8px; }
  .contact-item { max-width: 180px; font-size: 0.92rem; }
}

/* If truly narrow, reduce further but keep single-line */
@media (max-width: 820px) {
  .contact-box { padding: 5px 8px; gap: 6px; }
  .contact-item { max-width: 140px; font-size: 0.9rem; }
}

/* Mobile: stack if space impossible (fallback) */
@media (max-width: 600px) {
  .contact-box { flex-direction: column; align-items:flex-start; white-space:normal; }
  .divider { display:none; }
  .contact-item { max-width: none; font-size:0.95rem; }
}
