/* ==========================================================================
   Epicus Trading B.V. — Global Stylesheet
   Brand: navy (#0b2f63) + gold (#d4a434), taken from the company logo
   ========================================================================== */

:root {
  --navy: #0b2f63;
  --navy-dark: #061c3d;
  --navy-light: #1a4785;
  --gold: #d4a434;
  --gold-deep: #b88a21;
  --steel: #f3f5f9;
  --steel-mid: #dce3ec;
  --ink: #1a2433;
  --muted: #5a6879;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 47, 99, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 47, 99, 0.22);
  --radius: 14px;
  --maxw: 1200px;
  --header-h: 84px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 800; }

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

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--steel { background: var(--steel); }
.section--navy { background: var(--navy); color: #dce6f0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.section--navy .eyebrow, .watermark .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--primary { background: var(--gold); color: var(--navy-dark); }
.btn--primary:hover { background: #e2b545; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(212, 164, 52, 0.38); }
.btn--ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px rgba(11, 47, 99, 0.08);
  z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--navy); font-size: 1.2rem; letter-spacing: 0.5px; }
.brand-text span { font-size: 0.66rem; color: var(--gold-deep); letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-weight: 600; font-size: 0.96rem; color: var(--navy);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold-deep); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero / Slideshow ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.slideshow { position: absolute; inset: 0; z-index: 0; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease-in-out, transform 7s ease-in-out;
}
.slide.is-active { opacity: 1; transform: scale(1); }
/* Left-weighted scrim: darkens behind the text, keeps the imagery bright */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(6,28,61,0.78) 0%, rgba(6,28,61,0.5) 40%, rgba(6,28,61,0.08) 75%, rgba(6,28,61,0) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-content { max-width: 720px; text-shadow: 0 2px 14px rgba(3, 14, 32, 0.55); }
.hero-welcome {
  display: block; color: var(--gold); font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 10px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.hero p { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: #e1e9f3; max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.slide-dots { position: absolute; bottom: 32px; left: 0; right: 0; z-index: 3; display: flex; gap: 12px; justify-content: center; }
.slide-dots button {
  width: 40px; height: 4px; border: 0; border-radius: 3px; cursor: pointer;
  background: rgba(255,255,255,0.45); transition: background 0.3s;
}
.slide-dots button.is-active { background: var(--gold); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-dark); color: #cdd9e8; }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; padding-top: 26px; padding-bottom: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.trust-item .ic { color: var(--gold); font-size: 1.4rem; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .thumb { height: 210px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.service-card .more { margin-top: auto; color: var(--gold-deep); font-weight: 700; font-size: 0.92rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.section--navy .split p { color: #cdd9e8; }
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.section--navy .check-list li { color: #fff; }
.check-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: var(--navy-dark); display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 800; margin-top: 2px;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat .num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat .label { margin-top: 10px; color: #cdd9e8; font-weight: 600; letter-spacing: 0.5px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.feature {
  background: #fff; padding: 32px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
  transition: transform 0.25s ease;
}
.feature:hover { transform: translateY(-6px); }
.feature .fic {
  width: 54px; height: 54px; border-radius: 12px; background: var(--steel);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.feature h3 { font-size: 1.16rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; border-radius: var(--radius); padding: 56px; text-align: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: #d7e2ef; max-width: 600px; margin: 0 auto 28px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  margin-top: var(--header-h);
  color: #fff; padding: 96px 0; text-align: center;
  position: relative; background: var(--navy-dark); overflow: hidden;
}
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(6,28,61,0.88) 0%, rgba(6,28,61,0.78) 55%, rgba(6,28,61,0.68) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: #d7e2ef; max-width: 640px; margin: 0 auto; }
.breadcrumb { color: #a9bdd4; font-size: 0.9rem; margin-top: 14px; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Mission / Vision / Values ---------- */
.watermark { position: relative; overflow: hidden; background: var(--navy-dark); }
.watermark .wm-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; opacity: 0.55;
}
.watermark::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,28,61,0.78), rgba(6,28,61,0.88));
}
.watermark .container { position: relative; z-index: 2; }
.watermark .section-head h2 { color: #fff; }
.mvs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; }
.mvs-card { text-shadow: 0 2px 10px rgba(3, 14, 32, 0.6); }
.mvs-card .mvs-ic {
  width: 60px; height: 60px; border-radius: 14px; background: var(--gold);
  display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 20px; text-shadow: none;
}
.mvs-card h3 { font-size: 1.5rem; margin-bottom: 14px; color: #fff; }
.mvs-card p { color: #e4edf6; font-size: 1.02rem; }

/* Home "Who We Are": photo as a watermark behind centred text */
.wm-intro { padding: 120px 0; }
.wm-intro .wm-bg { opacity: 0.6; background-attachment: fixed; }
.wm-intro .wm-text {
  max-width: 780px; margin: 0 auto; text-align: center;
  text-shadow: 0 2px 12px rgba(3, 14, 32, 0.65);
}
.wm-intro h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 22px; }
.wm-intro p { color: #e4edf6; font-size: 1.08rem; margin-bottom: 16px; }
.wm-intro .btn { margin-top: 14px; text-shadow: none; }
@media (max-width: 760px) {
  .wm-intro { padding: 80px 0; }
  .wm-intro .wm-bg { background-attachment: scroll; }
}

/* ---------- Values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.value { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.value h3 { font-size: 1.15rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.value h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.value p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Capability tiles ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.cap-tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 340px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold);
}
.cap-tile .cap-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; transition: transform 0.6s ease;
}
.cap-tile:hover .cap-bg { transform: scale(1.06); }
.cap-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(6, 28, 61, 0.72); }
.cap-tile .cap-body {
  position: relative; z-index: 2; padding: 34px 32px; color: #fff;
  text-align: center; max-width: 460px; text-shadow: 0 2px 12px rgba(3, 14, 32, 0.7);
}
.cap-tile .cap-body h3 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.cap-tile .cap-body p { color: #eef4fa; font-size: 1.05rem; }

/* ---------- Port cards ---------- */
.port-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.port-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.port-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.port-thumb { height: 200px; overflow: hidden; }
.port-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.port-card:hover .port-thumb img { transform: scale(1.08); }
.port-body { padding: 24px 26px 28px; }
.port-country {
  display: inline-block; color: var(--gold-deep); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.port-body h3 { font-size: 1.28rem; margin-bottom: 12px; }
.port-body p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Specs ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.spec { border: 1px solid var(--steel-mid); border-radius: var(--radius); padding: 26px; background: #fff; }
.spec .num { font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.spec .num small { color: var(--gold-deep); font-size: 1.1rem; }
.spec p { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.contact-info .info-row { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-info .info-row .ic {
  flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--navy);
  color: var(--gold); display: grid; place-items: center; font-size: 1.2rem;
}
.contact-info h4 { color: var(--navy); margin-bottom: 4px; }
.contact-info p { color: var(--muted); font-size: 0.98rem; }
.contact-info a:hover { color: var(--gold-deep); }
.contact-form { background: #fff; padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--steel-mid); border-radius: 10px;
  font-family: inherit; font-size: 0.96rem; background: var(--steel); transition: border 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.form-success { display: none; background: #e7f6ec; color: #1c7a3e; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 40px; height: 360px; border: 0; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #a9bdd4; padding: 64px 0 0; border-top: 5px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 150px; background: #fff; padding: 10px; border-radius: 10px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.94rem; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { font-size: 0.94rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.92rem; align-items: flex-start; }
.footer-contact .ic { color: var(--gold); flex: none; }
.footer-bottom {
  margin-top: 54px; border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem;
}

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 20px; z-index: 2000;
  max-width: 940px; margin: 0 auto;
  background: var(--navy-dark); color: #dce6f0;
  border: 1px solid rgba(255,255,255,0.12); border-top: 4px solid var(--gold);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: none; align-items: center; gap: 22px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { flex: 1 1 320px; font-size: 0.94rem; margin: 0; }
.cookie-banner p strong { color: #fff; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 24px; font-size: 0.9rem; }
.cookie-decline {
  background: transparent; border: 2px solid rgba(255,255,255,0.35); color: #fff;
  border-radius: 50px; font-weight: 700; font-size: 0.9rem; padding: 11px 24px; cursor: pointer;
  font-family: inherit; transition: background 0.2s;
}
.cookie-decline:hover { background: rgba(255,255,255,0.12); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide { transition: opacity 0.6s ease; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split .split-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .brand-text strong { font-size: 1.05rem; }
  .nav, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 22px 24px; gap: 16px; box-shadow: var(--shadow); align-items: flex-start;
  }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .contact-form { padding: 24px; }
  .cap-grid, .port-grid, .card-grid { grid-template-columns: 1fr; }
}
