
/* Dark UI/UX theme for PJ Global Logistics */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');
:root{
  --teal:#188a86;
  --bg:#050505;
  --surface:#0b0b0f;
  --card:#0d0b0b;
  --muted:#d6c99a;
  --accent:#c99a2a;
  --accent-2:#b8861b;
  --glass: rgba(255,255,255,0.02);
  --container:1100px;
  --radius:14px;
  --shadow: 0 10px 30px rgba(2,8,23,0.6);
  --glass-2: rgba(255,255,255,0.02);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{overflow-x:hidden;height:100%}
body{
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color:#e6f3ff;
  background:linear-gradient(180deg,var(--bg) 0%, #070707 60%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  padding-bottom:4rem;
}
.container{max-width:var(--container);margin:0 auto;padding:1rem}

/* Header */
.site-header{
  position:sticky;top:0;z-index:90;
  backdrop-filter: blur(8px);
  background:linear-gradient(180deg, rgba(5,5,5,0.7), rgba(5,5,5,0.55));
  border-bottom:1px solid rgba(255,255,255,0.02);
  box-shadow:0 6px 18px rgba(0,0,0,0.6);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem 0}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:inherit}
.brand img{height:54px;width:auto;border-radius:8px;background:#fff;padding:6px}
.brand span{font-weight:800;color:#fff;letter-spacing:.4px}

/* Nav */
.main-nav ul{list-style:none;display:flex;gap:1rem;align-items:center}
.main-nav a{
  text-decoration:none;color:var(--muted);padding:.5rem .6rem;border-radius:10px;font-weight:600;
  transition:all .18s ease;
}
.main-nav a:hover{color:#fff;background:rgba(255,255,255,0.03);transform:translateY(-3px)}

/* CTA phone */
.cta-phone{background:linear-gradient(90deg,var(--accent),var(--accent-2));padding:.5rem .8rem;border-radius:10px;color:#fff;font-weight:800;box-shadow:0 8px 30px rgba(215,52,52,0.12);text-decoration:none}

/* HERO */
.hero-bleed{position:relative;overflow:hidden;height:50vh;min-height:360px;display:flex;align-items:center;color:#fff}
.hero-bleed video.bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;filter:brightness(.45) saturate(.95)}
.hero-bleed::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(2,6,12,0.15), rgba(2,6,12,0.6));z-index:1}
.hero-inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:2rem;width:100%;padding:3rem 1rem}
.hero-copy{max-width:880px;animation:fadeUp .9s ease both}
.hero h1{font-size:3rem;margin-bottom:.4rem;color:#fff}
.hero p.lead{color:#000;margin-bottom:1rem}

/* Buttons */
.btn{display:inline-block;padding:.8rem 1rem;border-radius:12px;font-weight:700;text-decoration:none;transition:transform .14s ease}
.btn-primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#fff;box-shadow:var(--shadow)}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:#fff}

/* features */
.features{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.feature{display:inline-flex;align-items:center;gap:.6rem;padding:.45rem .8rem;background:var(--glass);border-radius:999px;font-weight:600;color:#e6f3ff}
.feature svg{width:18px;height:18px;display:block;flex-shrink:0;opacity:0.95}

/* Services */
.services{padding:2rem 0;background:transparent}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:1.2rem;border-radius:14px;box-shadow:0 10px 30px rgba(3,8,20,0.6);border:1px solid rgba(255,255,255,0.02);transition:transform .22s ease, box-shadow .22s ease}
.card h3{margin-bottom:.4rem;color:#f6fbff}
.card p{color:var(--muted)}

/* Forms */
input,select,textarea{background:#071018;border:1px solid rgba(255,255,255,0.04);color:#e6f3ff;padding:.6rem;border-radius:10px;outline:none;width:100%}
input:focus,textarea:focus,select:focus{box-shadow:0 6px 20px rgba(13,20,30,0.6);border-color:rgba(255,255,255,0.06)}

/* Footer */
.footer{background:transparent;color:#9fc3db;padding:2rem 0;margin-top:2rem;border-top:1px solid rgba(255,255,255,0.02)}
.footer .cols{display:grid;grid-template-columns:1fr 1fr;gap:1rem}

/* small animations */
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.reveal{opacity:0;transform:translateY(10px);transition:all .7s cubic-bezier(.2,.9,.2,1)}
.reveal.visible{opacity:1;transform:none}

/* responsive */
@media (max-width:1000px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:2.4rem;margin-bottom:.4rem;color:#000}
}
@media (max-width:700px){
  .main-nav{display:none}
  .hero-bleed{height:60vh;min-height:360px}
  .hero-inner{flex-direction:column;align-items:flex-start;padding:2rem 1rem}
  .services-grid{grid-template-columns:1fr}
  .footer .cols{grid-template-columns:1fr}
  .brand img{height:46px}
  .hero h1{font-size:2.4rem;margin-bottom:.4rem;color:#000}
}

/* focus outline for accessibility */
a:focus, button:focus, input:focus, textarea:focus{outline:3px solid rgba(215,52,52,0.12);outline-offset:3px}




@media (max-width:700px){
  .hero-inline-video{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:110%;
  height:65vh;
  object-fit:cover;
  border-radius:0;
  box-shadow:none;
  border:none;
  z-index:1;
  pointer-events:none;
}
}



/* Inline hero video used as background behind the hero text */
.hero-inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:2rem;width:100%;padding:2rem 1rem;height:100%;flex-direction:column;text-align:center}
.hero-inline-video{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:76%;
  height:auto;
  max-height:78%;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 30px 80px rgba(2,8,23,0.9);
  border:1px solid rgba(255,255,255,0.04);
  z-index:1;
  pointer-events:none; /* allow clicks to pass to text/buttons (video remains playable via JS toggle) */
}
.hero-content{
  position:relative;
  z-index:3;
  max-width:880px;
  padding:1rem;
  background:transparent;
  border-radius:0;
  text-align:center;
  color:#fff;
  text-shadow:0 3px 10px rgba(0,0,0,0.8);
}
.hero h1{font-size:2.4rem;margin-bottom:.4rem;color:#000}
.hero p.lead{color:#000;margin-bottom:1rem}

/* smaller screens: reduce video size and remove large border radius for fit */
@media (max-width:900px){
  .hero-inline-video{width:88%;max-height:70%;border-radius:12px}
}
@media (max-width:700px){
  .hero-inline-video{width:92%;max-height:60%;border-radius:8px}
  .hero h1{font-size:2.4rem;margin-bottom:.4rem;color:#000}
}



.example-figure{width:100%;display:block;border-radius:12px;overflow:hidden;margin:1rem 0;box-shadow:0 18px 50px rgba(2,8,23,0.6)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start}
@media (max-width:900px){.two-col{grid-template-columns:1fr}}



/* Enhanced hero text visibility */
.hero-bleed::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
  z-index:1;
}
.hero-content{
  position:relative;
  z-index:3;
  text-align:center;
  color:#fff6d5;
  text-shadow:0 3px 10px rgba(0,0,0,0.9);
}
.hero-content h1{
  font-weight:800;
  font-size:3.4rem;
  line-height:1.1;
  letter-spacing:0.5px;
  margin-bottom:.5rem;
  color:#fff6d5;
}
.hero-content p.lead{
  font-weight:600;
  font-size:1.3rem;
  color:#fffef7;
  text-shadow:0 2px 6px rgba(0,0,0,0.8);
}


/* Ensure phone numbers stay in one line */
.header-inner .cta-phone, .header-inner .phone-numbers{
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
