/*
Theme Name: Hadaf Logistics
Theme URI: https://hadaflp.com/
Author: Hadaf Logistics and Procurement Ltd
Description: Custom corporate theme for Hadaf Logistics and Procurement Ltd.
Version: 1.0.0
Text Domain: hadaf-logistics
*/

:root {
  --navy: #0d3150;
  --navy-deep: #071f35;
  --gold: #dfa009;
  --gold-light: #f2bb37;
  --ink: #17293a;
  --muted: #5d6c79;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #dfe5e8;
  --shadow: 0 18px 50px rgba(9, 38, 61, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 .7em; color: var(--navy-deep); line-height: 1.12; }
h1 { font-size: clamp(2.8rem, 7vw, 5.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }
.lead { max-width: 720px; color: #dce8ef; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.section { padding: 100px 0; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(13,49,80,.08); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: 190px; height: 58px; overflow: hidden; background: url('assets/hadaf-logo.jpeg') -14px -52px / 470px 180px no-repeat; }
.brand img { width: 1px; height: 1px; opacity: 0; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--navy); font-size: .93rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--gold); }
.nav-cta { padding: 12px 18px; color: var(--white) !important; background: var(--navy); border-radius: 999px; }
.nav-cta:hover { background: var(--gold); }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 760px; display: grid; place-items: center; color: var(--white); background: var(--navy-deep); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,25,43,.97) 0%, rgba(5,25,43,.87) 48%, rgba(5,25,43,.5) 100%), url('assets/logistics-hero.png') center/cover; }
.hero::after { content: ""; position: absolute; right: -13%; bottom: -42%; z-index: -1; width: 650px; aspect-ratio: 1; border: 90px solid rgba(223,160,9,.18); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding: 120px 0 100px; }
.hero h1 { color: var(--white); max-width: 820px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 7px; font-weight: 800; text-decoration: none; transition: .2s ease; }
.button-gold { color: var(--navy-deep); background: var(--gold-light); }
.button-gold:hover { transform: translateY(-2px); background: var(--white); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.38); }
.button-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.hero-panel { padding: 34px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); border-radius: 18px; backdrop-filter: blur(12px); }
.hero-panel strong { display: block; margin-bottom: 12px; color: var(--gold-light); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.route-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.route-list li { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.13); }
.route-list li:last-child { padding-bottom: 0; border: 0; }
.route-list span { display: block; color: #b8c9d4; font-size: .82rem; }

.trust-strip { position: relative; z-index: 4; margin-top: -50px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 14px; box-shadow: var(--shadow); }
.trust-item { padding: 26px 30px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item b { display: block; color: var(--navy); font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .85rem; }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.about-mark { position: relative; min-height: 470px; border-radius: 18px; background: linear-gradient(145deg, var(--navy-deep), var(--navy)); overflow: hidden; }
.about-mark::after { content: "H"; position: absolute; right: -16px; bottom: -120px; color: rgba(255,255,255,.07); font-size: 34rem; font-weight: 900; line-height: 1; }
.about-card { position: absolute; left: 34px; right: 34px; bottom: 34px; z-index: 2; padding: 30px; color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; backdrop-filter: blur(8px); }
.about-card p { margin: 0; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.value { padding: 17px 18px; color: var(--navy); background: var(--paper); border-left: 3px solid var(--gold); border-radius: 5px; font-weight: 800; }

.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: .2s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(223,160,9,.55); box-shadow: var(--shadow); }
.service-number { display: grid; width: 42px; height: 42px; margin-bottom: 25px; place-items: center; color: var(--gold); background: rgba(223,160,9,.1); border-radius: 50%; font-weight: 900; }
.service-card p { color: var(--muted); font-size: .94rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; }
.process-step { position: relative; padding: 0 28px 0 0; }
.process-step::after { content: ""; position: absolute; top: 20px; left: 54px; right: 10px; height: 1px; background: var(--line); }
.step-dot { position: relative; z-index: 2; display: grid; width: 40px; height: 40px; margin-bottom: 24px; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-weight: 800; }
.process-step:last-child::after { display: none; }
.process-step p { color: var(--muted); font-size: .9rem; }

.coverage { color: var(--white); background: var(--navy); }
.coverage h2, .coverage h3 { color: var(--white); }
.coverage-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.location { padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: rgba(255,255,255,.06); }
.location b { display: block; color: var(--gold-light); }
.location span { color: #bfd0db; font-size: .86rem; }

.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector { min-height: 140px; padding: 25px; border: 1px solid var(--line); border-radius: 10px; font-weight: 800; }
.sector::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 24px; background: var(--gold); }

.contact { background: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.contact h2 { max-width: 700px; }
.contact-card { padding: 32px; color: var(--white); background: var(--navy-deep); border-radius: 14px; box-shadow: var(--shadow); }
.contact-row { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-row:last-child { border: 0; }
.contact-row span { display: block; color: #9eb3c1; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-row a { text-decoration: none; }

.site-footer { padding: 32px 0; color: #b8c8d2; background: #061a2b; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-grid strong { color: var(--white); }
.footer-grid p { margin: 0; font-size: .86rem; }

@media (max-width: 900px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; }
  .hero-grid, .about-grid, .coverage-grid, .contact-grid, .section-head { grid-template-columns: 1fr; gap: 35px; }
  .hero-panel { max-width: 600px; }
  .trust-grid, .service-grid, .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
  .process-step:nth-child(2)::after { display: none; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 72px 0; }
  .brand { width: 132px; height: 50px; background-size: 370px 142px; background-position: -10px -40px; }
  .nav-cta { padding: 10px 14px; font-size: .82rem !important; }
  .hero-grid { padding: 90px 0 80px; }
  .trust-grid, .service-grid, .sector-grid, .locations, .process-grid, .values { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step::after { display: none; }
  .about-mark { min-height: 390px; }
  .footer-grid { display: grid; }
}
