/*
Theme Name: Seaworld Global Logistics
Theme URI: https://seaworldbd.com
Author: Seaworld Global Logistics Limited
Description: Custom theme for Seaworld Global Logistics Limited — international freight forwarding & logistics.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: seaworld
*/

/* ==========================================================================
   SEAWORLD GLOBAL LOGISTICS LTD. — Shared Stylesheet
   ========================================================================== */

:root {
  --navy-950: #071b34;
  --navy-900: #0a2440;
  --navy-800: #0d2d52;
  --navy-700: #123a63;
  --teal-500: #0fa9b8;
  --teal-400: #1cc4cf;
  --teal-100: #e4f7f8;
  --ink: #1b2a3a;
  --ink-soft: #526175;
  --paper: #ffffff;
  --paper-alt: #f4f7f9;
  --line: #e2e8ee;
  --radius: 6px;
  --shadow-card: 0 10px 30px -18px rgba(10, 36, 64, 0.35);
  --maxw: 1200px;
  --font-head: "Space Grotesk", "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(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-500); color: #fff; }
.btn-primary:hover { background: var(--teal-400); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.eyebrow {
  color: var(--teal-500);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  display: block;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper-alt); }
.section-navy { background: var(--navy-900); color: #fff; }
.section-navy p { color: rgba(255,255,255,0.72); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar-left { display: flex; gap: 22px; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: #fff; }

/* ---------- Header / nav ---------- */
header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }

nav.main-nav ul { display: flex; gap: 30px; align-items: center; }
nav.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a.active { border-color: var(--teal-500); color: var(--teal-500); }

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--navy-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(115deg, var(--navy-950) 32%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
  position: relative;
  z-index: 2;
}
.hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.15rem); color: #fff; letter-spacing: -0.01em; }
.hero p.lead { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  aspect-ratio: 4/3;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-eyebrow { color: var(--teal-400); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 14px; display: block; }

/* ---------- Service strip ---------- */
.service-strip {
  background: var(--navy-900);
  color: #fff;
}
.service-strip .wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.service-strip-item {
  padding: 30px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.09);
}
.service-strip-item:last-child { border-right: none; }
.service-strip-item .icon { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--teal-400); }
.service-strip-item h4 { font-size: 0.92rem; color: #fff; margin-bottom: 6px; }
.service-strip-item p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin: 0; }

/* ---------- Two column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); }
.split-badge {
  position: absolute;
  bottom: -22px;
  right: -18px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 240px;
}
.split-badge .dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-500);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.split-badge p { margin: 0; font-size: 0.85rem; color: var(--ink); font-weight: 600; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 34px;
}
.why-item { display: flex; gap: 14px; }
.why-item .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: var(--teal-400);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-item h4 { font-size: 1rem; margin-bottom: 4px; color: #fff; }
.why-item p { font-size: 0.88rem; margin: 0; }

/* ---------- Cards / services grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.service-card img { height: 190px; width: 100%; object-fit: cover; }
.service-card-body { padding: 22px 22px 24px; }
.service-card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card-body p { font-size: 0.9rem; margin-bottom: 14px; }
.card-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Bullet list w/ check ---------- */
.check-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
.check-list li:last-child { border-bottom: none; }
.check-list .tick {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  color: var(--teal-500);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--teal-500);
  color: #fff;
  border-radius: var(--radius);
  padding: 42px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.88); margin: 0; }
.cta-banner .btn-outline-light { border-color: #fff; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.68); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; }
.footer-col h4 { color: #fff; font-size: 0.92rem; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-col a:hover { color: var(--teal-400); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.88rem; }
.footer-contact .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--teal-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--teal-500); border-color: var(--teal-500); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(115deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 8px; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--paper-alt);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal-500); background: #fff;
}
textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Office cards ---------- */
.office-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  background: #fff;
}
.office-card.placeholder { border-style: dashed; background: var(--paper-alt); }
.office-card h4 { font-size: 1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.office-card .tag {
  font-size: 0.68rem; text-transform: none; font-weight: 700;
  background: var(--teal-100); color: var(--teal-500);
  padding: 3px 9px; border-radius: 20px;
}
.office-card address { font-style: normal; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.gallery-tabs button {
  border: 1px solid var(--line); background: #fff; padding: 9px 18px;
  border-radius: 30px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.gallery-tabs button.active, .gallery-tabs button:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3;}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(7,27,52,0.85), transparent);
  color: #fff; font-size: 0.8rem; font-weight: 600; padding: 26px 12px 10px;
}

/* ---------- Careers ---------- */
.job-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; flex-wrap: wrap; gap: 14px;
}
.job-card h4 { margin-bottom: 4px; font-size: 1rem; }
.job-meta { font-size: 0.82rem; color: var(--ink-soft); }
.job-meta span:not(:last-child)::after { content: "•"; margin: 0 8px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.value-card .icon { width: 38px; height: 38px; color: var(--teal-500); margin-bottom: 14px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.text-white { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; }
  .service-strip .wrap { grid-template-columns: repeat(3, 1fr); }
  .service-strip-item:nth-child(3) { border-right: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar-left span:not(:first-child) { display: none; }
  nav.main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: #fff; flex-direction: column; padding: 90px 30px; transition: right .25s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.15); }
  nav.main-nav.open { right: 0; }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .menu-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }
  .service-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .service-strip-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.09); }
  .service-strip-item:nth-child(even) { border-right: none; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .office-left, .office-right { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
