/* ═══════════════════════════════════════════════════════
   MOVINGEASY LOGISTICS — GLOBAL STYLESHEET
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Serif+Display&display=swap');

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

:root {
  --white: #ffffff;
  --off-white: #f5f7fa;
  --light-gray: #e2e6ec;
  --mid-gray: #8a94a6;
  --dark-gray: #4a5568;
  --navy: #0f1d3d;
  --navy-light: #1a2d5a;
  --navy-deep: #0a1428;
  --orange: #e8751a;
  --orange-light: #f5923e;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--navy); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── PRELOADER ─── */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-logo { width: 180px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:0.5;transform:scale(0.96)} 50%{opacity:1;transform:scale(1)} }

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 50px; transition: all 0.4s ease;
}
nav.scrolled { background: rgba(15,29,61,0.97); padding: 14px 50px; backdrop-filter: blur(12px); }
.nav-inner { background: rgba(15,29,61,0.95); padding: 14px 50px; backdrop-filter: blur(12px); }
.nav-logo { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 500; font-size: 0.78rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7); transition: color 0.3s ease; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta {
  background: var(--orange) !important; color: var(--white) !important;
  padding: 8px 20px !important; font-size: 0.72rem !important;
  letter-spacing: 0.1em !important; transition: background 0.3s ease !important;
}
.nav-cta:hover { background: var(--orange-light) !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--navy-deep); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--serif); font-size: 1.6rem; color: var(--white); }

/* ─── HERO ─── */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: flex-end; padding: 0 50px 80px; }
.section-hero { position: relative; height: 60vh; min-height: 400px; display: flex; align-items: flex-end; padding: 0 50px 60px; }
.hero-bg, .section-hero .hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-bg::after, .section-hero .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.85) 0%, rgba(10,20,40,0.3) 60%, rgba(10,20,40,0.2) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-tag {
  font-weight: 600; font-size: 0.7rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.08;
  color: var(--white); margin-bottom: 20px;
}
.hero p, .section-hero p {
  font-weight: 300; font-size: clamp(0.9rem, 1.2vw, 1rem); line-height: 1.8;
  color: rgba(255,255,255,0.7); max-width: 560px;
}
.hero-btns { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 14px 32px; font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.3s ease;
}
.btn-primary:hover { background: var(--orange-light); }
.btn-outline {
  display: inline-block; border: 1px solid rgba(255,255,255,0.4); color: var(--white);
  padding: 14px 32px; font-weight: 500; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.3s ease;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: 14px 32px; font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.3s ease;
}
.btn-dark:hover { background: var(--navy-light); }

/* ─── SECTIONS ─── */
.section-pad { padding: 80px 50px; max-width: 1200px; margin: 0 auto; }
.section-pad-lg { padding: 100px 50px; max-width: 1200px; margin: 0 auto; }
.section-dark { background: var(--navy-deep); color: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-title-tag {
  font-weight: 600; font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.12; margin-bottom: 16px;
}
.section-text { font-weight: 300; font-size: 0.92rem; line-height: 1.85; color: var(--dark-gray); max-width: 600px; }
.section-dark .section-text { color: rgba(255,255,255,0.6); }
.divider { width: 40px; height: 3px; background: var(--orange); margin-bottom: 24px; }

/* ─── TWO COL ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col-img img { width: 100%; height: 420px; object-fit: cover; border-radius: 4px; }

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1200px; margin: 0 auto; padding: 50px 50px;
}
.stat-item { text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2.8rem; color: var(--orange); margin-bottom: 6px; }
.stat-label { font-weight: 400; font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); text-transform: uppercase; }

/* ─── CENTERED TEXT ─── */
.text-centered { text-align: center; }
.text-centered .section-title { max-width: 700px; margin-left: auto; margin-right: auto; }
.text-centered .section-text { max-width: 600px; margin-left: auto; margin-right: auto; }
.text-centered .divider { margin-left: auto; margin-right: auto; }

/* ─── SERVICE LIST ─── */
.service-list { max-width: 800px; }
.service-list.centered { margin-left: auto; margin-right: auto; }
.service-item {
  display: grid; grid-template-columns: 60px 1fr; gap: 20px;
  padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.service-num {
  font-family: var(--serif); font-size: 1.1rem; color: var(--orange);
  padding-top: 4px;
}
.service-item h4 {
  font-family: var(--serif); font-weight: 400; font-size: 1.2rem;
  margin-bottom: 8px;
}
.service-item p { font-weight: 300; font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.55); }

/* Light variant */
.service-item-light { border-color: var(--light-gray); }
.service-item-light .service-num { color: var(--orange); }
.service-item-light h4 { color: var(--navy); }
.service-item-light p { color: var(--dark-gray); }

/* ─── SERVICE FEATURE (alternating image+text) ─── */
.service-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; min-height: 460px; }
.service-feature.reverse .sf-img { order: 2; }
.service-feature.reverse .sf-text { order: 1; }
.sf-img { position: relative; overflow: hidden; }
.sf-img img { width: 100%; height: 100%; object-fit: cover; }
.sf-text { display: flex; flex-direction: column; justify-content: center; padding: 60px 60px; }
.sf-text .section-title-tag { margin-bottom: 12px; }
.sf-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; margin-bottom: 16px; }
.sf-text p { font-weight: 300; font-size: 0.88rem; line-height: 1.8; color: var(--dark-gray); margin-bottom: 10px; }
.service-feature-dark .sf-text { background: var(--navy); }
.service-feature-dark .sf-text h3 { color: var(--white); }
.service-feature-dark .sf-text p { color: rgba(255,255,255,0.6); }
.service-feature-dark .sf-text .divider { background: var(--orange); }

/* ─── THREE COL CARDS ─── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.card {
  padding: 36px 32px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
  transition: border-color 0.3s ease;
}
.card:hover { border-color: var(--orange); }
.card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--white); margin-bottom: 10px; }
.card p { font-weight: 300; font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); }

/* ─── PAGE HEADER (Contact) ─── */
.page-header {
  padding: 140px 50px 60px; background: var(--navy-deep); color: var(--white);
}
.page-header h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-header p { font-weight: 300; font-size: 0.95rem; color: rgba(255,255,255,0.6); max-width: 500px; margin-bottom: 20px; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; max-width: 1100px; margin: 0 auto; }
.contact-info h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin-bottom: 16px; }
.contact-detail { margin-bottom: 20px; }
.contact-detail-label { font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.contact-detail p { font-weight: 300; font-size: 0.95rem; color: var(--dark-gray); }
.contact-detail a { color: var(--navy); transition: color 0.3s; }
.contact-detail a:hover { color: var(--orange); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-field label { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 16px; border: 1px solid var(--light-gray); font-family: var(--sans);
  font-size: 0.9rem; color: var(--navy); transition: border-color 0.3s; background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); }
.form-submit {
  align-self: flex-start; background: var(--orange); color: var(--white); border: none;
  padding: 14px 40px; font-family: var(--sans); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background 0.3s;
}
.form-submit:hover { background: var(--orange-light); }

/* ─── FOOTER ─── */
footer { background: var(--navy-deep); color: var(--white); padding: 60px 50px 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-weight: 300; font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 280px; }
.footer-col h5 { font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.footer-col a { display: block; font-weight: 300; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 0 24px 60px; height: 90vh; }
  .section-hero { padding: 0 24px 40px; }
  .section-pad, .section-pad-lg { padding: 60px 24px; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .two-col-img img { height: 300px; }
  .service-feature { grid-template-columns: 1fr; min-height: auto; }
  .service-feature.reverse .sf-img { order: 1; }
  .service-feature.reverse .sf-text { order: 2; }
  .sf-img { height: 300px; }
  .sf-text { padding: 40px 24px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-hero { height: 50vh; min-height: 360px; }
  .page-header { padding: 120px 24px 40px; }
  footer { padding: 40px 24px 24px; }
}
