/* ===========================================================
   Newhouse Logistics Pte. Ltd. — stylesheet
   =========================================================== */

:root {
  --dark: #24262f;
  --dark-2: #1b1c24;
  --navy: #3d4152;
  --navy-light: #565b70;
  --accent: #e0a458;
  --accent-dark: #c98a3b;
  --text: #24262f;
  --muted: #6b7280;
  --line: #e7e5e1;
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --radius: 10px;
  --shadow: 0 20px 45px -20px rgba(24, 26, 33, 0.35);
  --shadow-sm: 0 8px 20px -12px rgba(24, 26, 33, 0.25);
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--muted); }

section { padding: 96px 0; }

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

.section-head p { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-accent {
  background: var(--accent);
  color: var(--dark-2);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-dark {
  background: var(--dark-2);
  color: #fff;
}

.btn-dark:hover { background: #000; }

.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  background: rgba(36, 38, 47, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-2);
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: #2a2d38;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(27, 28, 36, 0.78) 0%, rgba(27, 28, 36, 0.55) 45%, rgba(20, 21, 27, 0.92) 100%), url("../img/hero-port.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  text-align: center;
}

.hero-content .eyebrow { color: var(--accent); }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 76px;
  flex-wrap: wrap;
}

.stats-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

/* About */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img { border-radius: var(--radius); }

.about-copy .eyebrow { color: var(--accent-dark); }

.about-copy h2 { color: var(--dark); }

.about-copy p { font-size: 1.02rem; }

.value-chips {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.value-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.value-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Services */
.services { background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(224, 164, 88, 0.14);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card h3 { color: var(--dark); }

.service-card p { font-size: 0.94rem; margin-bottom: 0; }

/* Locations */
.locations { background: var(--bg); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover img { transform: scale(1.07); }

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 28, 36, 0) 40%, rgba(20, 21, 27, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
}

.location-overlay .country { font-weight: 700; font-size: 1.15rem; }

.location-overlay .tag { font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }

/* Quote / Contact */
.quote {
  background: var(--dark-2);
  padding: 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.quote-form-col {
  padding: 96px 64px;
  color: #fff;
}

.quote-form-col .eyebrow { color: var(--accent); }

.quote-form-col p { color: rgba(255, 255, 255, 0.7); max-width: 460px; }

.quote-media { position: relative; min-height: 420px; }

.quote-media img { width: 100%; height: 100%; object-fit: cover; }

form.quote-form { margin-top: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field label { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); font-weight: 500; }

.field input,
.field textarea,
.field select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

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

.form-note { font-size: 0.8rem; margin-top: 14px; color: rgba(255, 255, 255, 0.5); }

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  display: none;
}

.form-status.visible { display: block; }

.form-status.success { color: #8fd19e; }

.form-status.error { color: #e08f8f; }

#turnstile-container { margin-top: 18px; }

/* Footer */
.site-footer {
  background: var(--dark-2);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p { color: rgba(255, 255, 255, 0.5); max-width: 320px; font-size: 0.92rem; }

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col a,
.footer-col li {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-bottom: 12px;
  list-style: none;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
  flex-wrap: wrap;
  gap: 10px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-media { min-height: 280px; order: -1; }
  .quote-form-col { padding: 64px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .logo { font-size: 0.98rem; gap: 8px; }
  .logo-mark { width: 32px; height: 32px; font-size: 0.8rem; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding: 10px 18px; font-size: 0.86rem; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .stat:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-content { padding-top: 130px; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(20, 21, 27, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav.open { opacity: 1; pointer-events: auto; }

.mobile-nav a { color: #fff; font-size: 1.4rem; font-weight: 600; }

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
