/* ==========================================================================
   NAVIK MARINE SERVICES AND SUPPLIES FZE — Site Stylesheet
   ========================================================================== */

:root {
  --navy-deep:    #071b2e;
  --navy:         #0b2b47;
  --navy-mid:     #123a5e;
  --navy-light:   #1c4d78;
  --green:        #14a380;
  --green-dark:   #0d7c60;
  --green-light:  #4fd6b0;
  --amber:        #e9a13a;
  --white:        #ffffff;
  --off-white:    #f5f8fa;
  --gray-100:     #eef2f5;
  --gray-300:     #cfd9e0;
  --gray-500:     #7c8fa0;
  --slate:        #24313d;
  --shadow:       0 10px 30px rgba(7, 27, 46, 0.12);
  --shadow-lg:    0 20px 50px rgba(7, 27, 46, 0.22);
  --radius:       10px;
  --radius-lg:    18px;
  --maxw:         1220px;
  --font-head:    'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 600;
}
p { margin: 0 0 1em; }

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

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy); color: #dbe6ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--alt { background: var(--white); }
.section--gray { background: var(--gray-100); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 2px;
  background: var(--green);
}
.section--navy .eyebrow { color: var(--green-light); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--gray-500); font-size: 17px; }
.section--navy .section-head p { color: #b7c9d6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,163,128,.35); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(7, 27, 46, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 46px; width: auto; }
.brand-text { font-family: var(--font-head); line-height: 1.15; }
.brand-text strong { display: block; font-size: 17px; letter-spacing: .5px; }
.brand-text span { display: block; font-size: 10.5px; letter-spacing: 1.6px; color: var(--green-light); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: #cfdce6;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all .2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; background: rgba(20,163,128,.22); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 26px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .nav-cta { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(5,20,35,.93) 10%, rgba(7,30,50,.72) 55%, rgba(11,43,71,.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 120px 0 100px; }
.hero-content .eyebrow { color: var(--green-light); }
.hero-content h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: .4em;
}
.hero-content p.lead { font-size: 18.5px; color: #d6e3ec; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero--sub { min-height: 360px; }
.hero--sub .hero-content { padding: 150px 0 70px; }

.waves { position: absolute; bottom: -2px; left: 0; width: 100%; line-height: 0; z-index: 2; }
.waves svg { width: 100%; height: 90px; display: block; }
.wave-anim path:nth-child(1) { animation: waveMove 14s linear infinite; }
.wave-anim path:nth-child(2) { animation: waveMove 22s linear infinite reverse; opacity:.5; }
@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Floating particles for hero (video-like ambient motion, no external assets needed) */
.hero-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-particles span {
  position: absolute;
  bottom: -20px;
  width: 6px; height: 6px;
  background: rgba(79, 214, 176, .55);
  border-radius: 50%;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-680px) translateX(30px); opacity: 0; }
}

/* ---------- Stat bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 22px;
  text-align: center;
}
.stat-card .num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--green-dark);
}
.stat-card .label { font-size: 13.5px; color: var(--gray-500); font-weight: 500; margin-top: 4px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
}

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .card-img { height: 190px; overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card .card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.card .card-body h3 { font-size: 18.5px; margin-bottom: 10px; }
.card .card-body p { color: var(--gray-500); font-size: 14.5px; margin-bottom: 0; }
.card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(20,163,128,.1);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

.icon-tile {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(20,163,128,.12);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.section--navy .icon-tile { background: rgba(79,214,176,.16); color: var(--green-light); }

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px dashed var(--gray-300);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: var(--green-dark); margin-top: 3px; }
.section--navy .feature-list li { border-bottom-color: rgba(255,255,255,.12); }
.section--navy .feature-list li i { color: var(--green-light); }

/* Value / why-us icons row */
.value-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; text-align: center; }
.value-row .value {
  background: #fff; border-radius: var(--radius);
  padding: 26px 14px; box-shadow: var(--shadow);
}
.value i { font-size: 26px; color: var(--green-dark); margin-bottom: 12px; display:block; }
.value h4 { font-size: 14px; margin-bottom: 4px; }
.value p { font-size: 12.5px; color: var(--gray-500); margin: 0; }
@media (max-width: 980px) { .value-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .value-row { grid-template-columns: repeat(2, 1fr); } }

/* Split content block (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-media { position: relative; }
.split-media .badge-float {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--green); color: #fff;
  padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
}
.split-media .badge-float strong { display:block; font-size: 26px; }
.split-media .badge-float span { font-size: 12px; opacity: .9; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
}

/* Category section (services page) */
.cat-block { padding: 70px 0; border-bottom: 1px solid var(--gray-300); }
.cat-block:last-child { border-bottom: none; }
.cat-head { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.cat-head .num {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: #fff; background: var(--navy); width: 46px; height: 46px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink:0;
}
.cat-head h2 { margin: 0; font-size: 26px; }
.cat-head p { margin: 4px 0 0; color: var(--gray-500); font-size: 15px; }

/* Table-ish spec list for products */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; margin: 18px 0 0; }
.spec-list div { font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--gray-300); color: var(--slate); }
.spec-list div b { color: var(--navy); }
@media (max-width: 640px) { .spec-list { grid-template-columns: 1fr; } }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 54px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,.9); margin: 0; }

/* Map / network */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: none;
}
.country-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.country-pills span {
  background: #fff; border: 1px solid var(--gray-300);
  padding: 9px 16px; border-radius: 100px; font-size: 13.5px; font-weight: 500;
  color: var(--navy);
}

/* Breadcrumb / page hero small */
.page-crumb { color: rgba(255,255,255,.7); font-size: 13.5px; margin-bottom: 16px; }
.page-crumb a { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c9d5; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 42px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 16px; }
.site-footer h4 { color: #fff; font-size: 14.5px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; font-size: 14.5px; }
.site-footer ul li a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--green-light); margin-top: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 13px; color: #8ba0b0; flex-wrap: wrap; gap: 10px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 8px;
  border: 1.5px solid var(--gray-300); font-family: var(--font-body); font-size: 14.5px;
  background: #fff; color: var(--slate);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
}
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 14px; }

.form-result {
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  padding: 0;
  min-height: 1px;
  transition: all .2s ease;
}
.form-result:empty { margin-top: 0; }
.form-result.sending { color: var(--gray-500); font-weight: 500; }
.form-result.success { color: var(--green-dark); padding: 14px 18px; background: rgba(20,163,128,.1); border-radius: 8px; }
.form-result.error { color: #c0392b; padding: 14px 18px; background: rgba(192,57,43,.08); border-radius: 8px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* reveal-on-scroll */
/* Content is visible by default. The fade-in-on-scroll effect only ever
   applies once JS confirms it's running (see .js-ready below) — this way
   a page never depends on JavaScript executing to show its content. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-ready .reveal.in { opacity: 1; transform: translateY(0); }

/* misc */
.divider-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); display:inline-block; margin: 0 10px; vertical-align: middle; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-caps { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 700; color: var(--green-dark); }
