/* ============================================================
   BADSAR LOGISTICS — Global Stylesheet
   Covers: tokens, reset, utilities, topbar, navbar, mobile menu,
           footer, scroll-top, reveal animation
   Page-specific styles live in each .php file's <style> block
============================================================ */

/* ── TOKENS ── */
:root {
  --bg:      #0C0C0C;
  --bg2:     #111111;
  --bg3:     #181818;
  --deep:    #050407;
  --gold:    #C8A45A;
  --gold-h:  #D4B270;
  --border:  rgba(200,164,90,0.18);
  --white:   #F0EDE8;
  --muted:   #6A6560;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Outfit', system-ui, sans-serif;
  --max:     1140px;
  --t:       0.4s cubic-bezier(0.16,1,0.3,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── LAYOUT ── */
.wrap { width: 90%; max-width: var(--max); margin: 0 auto; }

/* ── SHARED UTILITIES ── */
.tag {
  font-size: 10px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
}
.h-giant {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 900; line-height: 0.92;
  color: var(--white); letter-spacing: -2px;
}
.h-large {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700; line-height: 1.05;
  color: var(--white); letter-spacing: -1px;
}
.h-med {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; line-height: 1.2;
  color: var(--white);
}
.lead {
  font-size: 16px; font-weight: 300;
  color: var(--muted); line-height: 1.85;
}
.gold-bar { width: 32px; height: 2px; background: var(--gold); margin: 18px 0; }

/* Buttons */
.btn-g {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 14px 30px; border: 1px solid var(--gold);
  color: var(--gold); background: transparent; cursor: pointer;
  transition: background var(--t), color var(--t);
}
.btn-g:hover { background: var(--gold); color: #0C0C0C; }
.btn-w { border-color: var(--white); color: var(--white); }
.btn-w:hover { background: var(--white); color: #0C0C0C; }
.btn-solid { background: var(--gold); color: #0C0C0C; border-color: var(--gold); font-weight: 500; }
.btn-solid:hover { background: var(--gold-h); border-color: var(--gold-h); }

/* Reveal animation */
.rev {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rev.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
  background: var(--deep);
  border-bottom: 1px solid rgba(200,164,90,0.1);
  padding: 8px 0;
  position: relative;
  z-index: 10;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-links a {
  font-size: 14px; font-weight: 300; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; transition: color var(--t);
}
.topbar-links a:hover { color: var(--gold); }
.topbar-links svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; flex-shrink: 0; }
.topbar-hours { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.2); white-space: nowrap; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--deep);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: 0 2px 40px rgba(0,0,0,0.7); }

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 88px; gap: 8px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 75px; width: auto; display: block; }

/* Desktop links */
.nav-links { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 14px; font-weight: 400; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 16px; transition: color var(--t);
  position: relative; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 1px; background: var(--gold);
}

/* Desktop CTA */
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 12px 24px; background: var(--gold); color: #0C0C0C;
  border: 1px solid var(--gold); white-space: nowrap; flex-shrink: 0;
  transition: background var(--t);
}
.nav-cta:hover { background: var(--gold-h); border-color: var(--gold-h); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 8px; flex-shrink: 0;
  position: relative; z-index: 400;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease; transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
============================================================ */
.mob-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 300; background: var(--deep);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.mob-menu.is-open {
  opacity: 1; visibility: visible;
  transform: translateX(0); pointer-events: all;
}
.mob-top {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  flex-shrink: 0; min-height: 88px;
}
.mob-logo img { height: 57px; width: auto; display: block; }
.mob-close-btn {
  width: 36px; height: 36px; border: 1px solid var(--border);
  background: none; color: var(--muted); font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--t); flex-shrink: 0; position: relative; z-index: 1;
}
.mob-close-btn:hover { border-color: var(--gold); color: var(--gold); }
.mob-nav { flex: 1; display: flex; flex-direction: column; padding: 4px 0; }
.mob-nav a {
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(240,237,232,0.6); padding: 17px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.25s ease;
}
.mob-nav a:hover { color: var(--white); background: rgba(200,164,90,0.06); padding-left: 32px; }
.mob-nav a.active { color: var(--gold); }
.mob-nav a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; opacity: 0.5; }
.mob-contact { padding: 20px 24px; border-top: 1px solid var(--border); flex-shrink: 0; }
.mob-contact-lbl {
  font-size: 9px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.mob-contact-links { display: flex; flex-direction: column; gap: 12px; }
.mob-contact-links a {
  font-size: 13px; font-weight: 300;
  color: rgba(240,237,232,0.45);
  display: flex; align-items: center; gap: 10px; transition: color var(--t);
}
.mob-contact-links a:hover { color: var(--gold); }
.mob-contact-links svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; flex-shrink: 0; }
.mob-cta-wrap { padding: 16px 24px 36px; flex-shrink: 0; }
.mob-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px; background: var(--gold); color: #0C0C0C;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase; transition: background var(--t);
}
.mob-cta:hover { background: var(--gold-h); }
.mob-cta svg { width: 13px; height: 13px; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--deep); padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.f-logo img { height: 75px; width: auto; display: block; }
.f-desc { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted); transition: all var(--t);
}
.f-social a:hover { border-color: var(--gold); color: var(--gold); }
.f-h {
  font-size: 9px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.f-links { display: flex; flex-direction: column; gap: 11px; }
.f-links a { font-size: 13px; font-weight: 300; color: rgba(240,237,232,0.45); transition: color var(--t); }
.f-links a:hover { color: var(--white); }
.f-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; }
.f-row svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; flex-shrink: 0; margin-top: 2px; }
.f-row a, .f-row span { font-size: 13px; font-weight: 300; color: rgba(240,237,232,0.45); line-height: 1.5; transition: color var(--t); }
.f-row a:hover { color: var(--white); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bot p { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-bot-links { display: flex; gap: 20px; }
.footer-bot-links a { font-size: 11px; color: rgba(255,255,255,0.2); transition: color var(--t); }
.footer-bot-links a:hover { color: var(--gold); }

/* ============================================================
   SCROLL TO TOP
============================================================ */
.top-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(10px);
  transition: all var(--t); z-index: 80; border: none;
}
.top-btn.show { opacity: 1; transform: translateY(0); }
.top-btn:hover { background: var(--gold-h); }
.top-btn svg { width: 16px; height: 16px; stroke: #0C0C0C; fill: none; stroke-width: 2.5; }

/* ============================================================
   RESPONSIVE — shared breakpoints
============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar-email { display: none; }
  .nav-links a { padding: 8px 12px; font-size: 12px; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

