/* ============================================
   WHITE GLOVE ENTERPRISES — Shared Stylesheet
   Jet Black / Gunmetal / Silver / Gold / White
   ============================================ */

:root {
  --jet-black: #0D0D0D;
  --gunmetal: #2B2B2B;
  --gunmetal-light: #3A3A3A;
  --silver: #C0C0C0;
  --silver-bright: #E8E8E8;
  --gold: #D4AF37;
  --gold-dim: #9C812A;
  --white: #FFFFFF;
  --off-white: rgba(255, 255, 255, 0.82);
  --line: rgba(212, 175, 55, 0.22);
  --line-soft: rgba(255, 255, 255, 0.10);

  --font-display: 'Cinzel', 'Trajan Pro', serif;
  --font-body: 'Montserrat', sans-serif;

  --max-width: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--jet-black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.25; }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 14px;
}

.lede {
  font-size: 1.08rem;
  color: var(--off-white);
  max-width: 640px;
  line-height: 1.8;
}

.rule {
  width: 64px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 22px 0;
}

.rule.center { margin: 22px auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 16px 34px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold);
  color: var(--jet-black);
}

.btn.filled {
  background: var(--gold);
  color: var(--jet-black);
}

.btn.filled:hover {
  background: transparent;
  color: var(--gold);
}

.btn-arrow { font-size: 1rem; transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

header.site-header.scrolled {
  background: rgba(13, 13, 13, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

nav.primary-nav ul {
  display: flex;
  gap: 38px;
  list-style: none;
}

nav.primary-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--off-white);
  position: relative;
  padding-bottom: 6px;
  transition: color 0.2s ease;
}

nav.primary-nav a:hover,
nav.primary-nav a.active {
  color: var(--gold);
}

nav.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-cta .btn {
  padding: 11px 22px;
  font-size: 0.72rem;
}

nav.primary-nav .mobile-cta {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
}

/* ---------- Mobile Nav ---------- */

@media (max-width: 880px) {
  nav.primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    background: var(--jet-black);
    border-left: 1px solid var(--line);
    padding: 100px 36px 40px;
    transition: right 0.35s ease;
    z-index: 99;
  }

  nav.primary-nav.open { right: 0; }

  nav.primary-nav ul {
    flex-direction: column;
    gap: 28px;
  }

  .nav-cta { display: none; }

  nav.primary-nav .mobile-cta {
    display: block;
    margin-top: 30px;
  }

  .menu-toggle { display: flex; z-index: 101; }

  .menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 98;
  }

  .nav-overlay.show { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  z-index: 0;
}

.hero-bg .half {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.hero-bg .half.left { background-image: url('../images/hero-left-jet.jpg'); }
.hero-bg .half.right { background-image: url('../images/hero-right-sprinter.jpg'); }

.hero-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.25) 0%, rgba(13,13,13,0.45) 55%, rgba(13,13,13,0.75) 100%),
    linear-gradient(90deg, rgba(13,13,13,0.30) 0%, rgba(13,13,13,0.05) 50%, rgba(13,13,13,0.30) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 28px;
}

.hero-content .wg-mark {
  width: 150px;
  margin: 0 auto 22px;
}

.hero-content h1 {
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

.hero-content .lede {
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

.hero-tagline {
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-bright);
  margin: 16px 0 22px;
}

/* ---------- Section Scaffolding ---------- */

section { padding: 96px 0; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head .lede { margin: 0 auto; text-align: center; }

.bg-alt { background: #111111; }

/* ---------- Two Cards (Our Companies) ---------- */

.company-cards {
  display: flex;
  gap: 28px;
}

.company-cards > .company-card { flex: 1; }

.company-card {
  position: relative;
  border: 1px solid var(--line-soft);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.company-card:hover { border-color: var(--line); }

.company-card .card-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.company-card:hover .card-bg { transform: scale(1.05); }

.company-card.aviation .card-bg { background-image: url('../images/hero-left-jet.jpg'); }
.company-card.transport .card-bg { background-image: url('../images/hero-right-sprinter.jpg'); }

.company-card .card-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.05) 0%, rgba(13,13,13,0.88) 78%, rgba(13,13,13,0.97) 100%);
}

.company-card .card-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}

.company-card .card-icon {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.company-card h3.card-title {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.company-card .card-sub {
  color: var(--silver-bright);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

ul.service-list {
  list-style: none;
  margin-bottom: 22px;
}

ul.service-list li {
  font-size: 0.92rem;
  color: var(--off-white);
  padding: 5px 0 5px 18px;
  position: relative;
}

ul.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

@media (max-width: 800px) {
  .company-cards { flex-direction: column; }
}

/* ---------- Core Values ---------- */

.values-grid {
  display: flex;
  gap: 0;
}

.values-grid > .value-item { flex: 1; }

.value-item {
  text-align: center;
  padding: 0 24px;
  border-left: 1px solid var(--line-soft);
}

.value-item:first-child { border-left: none; }

.value-item .value-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.value-item h4 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .values-grid { flex-wrap: wrap; gap: 36px 0; }
  .values-grid > .value-item { flex: 1 1 45%; }
  .value-item { border-left: none; }
}

/* ---------- CTA Banner ---------- */

.cta-banner {
  text-align: center;
  padding: 70px 0;
  background: linear-gradient(180deg, #141414 0%, #0D0D0D 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.cta-banner p.eyebrow { margin-bottom: 8px; }

.cta-banner h2 { margin-bottom: 28px; }

/* ---------- About / Split content ---------- */

.split {
  display: flex;
  gap: 64px;
  align-items: center;
}

.split > * { flex: 1; min-width: 0; }

.split-reverse .split-media { order: 2; }
.split-reverse .split-text { order: 1; }

.split-media {
  aspect-ratio: 4/3;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-soft);
}

@media (max-width: 880px) {
  .split { flex-direction: column; gap: 36px; }
  .split-reverse .split-media,
  .split-reverse .split-text { order: unset; }
}

/* ---------- Stats ---------- */

.stats-row {
  display: flex;
  gap: 40px;
  text-align: center;
  margin-top: 50px;
}

.stats-row > .stat { flex: 1; }

.stat .stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.stat .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}

@media (max-width: 700px) {
  .stats-row { flex-direction: column; gap: 30px; }
}

/* ---------- Contact Page ---------- */

.contact-grid {
  display: flex;
  gap: 64px;
}

.contact-grid > div:first-child { flex: 1.1; }
.contact-grid > div:last-child { flex: 0.9; }

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item .ci-icon {
  color: var(--gold);
  font-size: 1.1rem;
  width: 28px;
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-info-item h4 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--silver-bright);
}

.contact-info-item p, .contact-info-item a {
  color: var(--off-white);
  font-size: 0.95rem;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row > .field { flex: 1; }

@media (max-width: 600px) {
  .form-row { flex-direction: column; }
  .contact-grid { flex-direction: column; gap: 40px; }
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #161616;
  border: 1px solid var(--line-soft);
  color: var(--white);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.82rem;
  color: var(--silver);
  margin-top: 4px;
}

#formStatus {
  font-size: 0.88rem;
  margin-top: 6px;
  display: none;
}

#formStatus.success { color: var(--gold); display: block; }

/* ---------- About page page-header (non-hero pages) ---------- */

.page-header {
  padding: 170px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #161616 0%, #0D0D0D 100%);
}

.page-header .lede { margin: 0 auto; text-align: center; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: #090909;
  border-top: 1px solid var(--line-soft);
  padding: 70px 0 0;
}

.footer-grid {
  display: flex;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-brand { flex: 1.4; }
.footer-col { flex: 1; }

.footer-brand img {
  height: 46px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--silver);
  font-size: 0.88rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--silver);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom .footer-legal {
  display: flex;
  gap: 22px;
}

.footer-bottom .footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom .footer-legal a:hover { color: var(--gold); }

@media (max-width: 800px) {
  .footer-grid { flex-direction: column; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Reveal-on-scroll ---------- */

/* Default: visible. JS adds .js-reveal to <html> only once it can
   guarantee elements get marked .is-visible — this avoids content vanishing
   if JS fails to load or run. */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc utility ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { min-height: 560px; }
}
