/*
Theme Name: OceanEdge Maritime Platform
Theme URI: https://oceanedge.com
Author: OceanEdge
Author URI: https://oceanedge.com
Description: Premium global maritime hiring platform theme combining crew recruitment, company services, and marine solutions. Requires WooCommerce and WooCommerce Subscriptions plugins.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oceanedge
Tags: maritime, jobs, recruitment, woocommerce, subscriptions, membership
*/

/* ============================================================
   CSS VARIABLES - Maritime Color Palette
   ============================================================ */
:root {
  --oe-navy:       #0a1628;
  --oe-navy-light: #0d1f3c;
  --oe-navy-mid:   #162849;
  --oe-blue:       #1a3a6b;
  --oe-gold:       #c9973a;
  --oe-gold-light: #e0b060;
  --oe-white:      #ffffff;
  --oe-off-white:  #f4f6f9;
  --oe-gray:       #8a9ab5;
  --oe-gray-light: #d0d8e8;
  --oe-success:    #28a745;
  --oe-danger:     #dc3545;
  --oe-warning:    #ffc107;

  --oe-font-heading: 'Playfair Display', Georgia, serif;
  --oe-font-body:    'Inter', 'Segoe UI', Arial, sans-serif;

  --oe-shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --oe-shadow-md: 0 4px 20px rgba(10,22,40,0.14);
  --oe-shadow-lg: 0 8px 40px rgba(10,22,40,0.20);

  --oe-radius:    8px;
  --oe-radius-lg: 16px;
  --oe-transition: all 0.28s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--oe-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--oe-navy);
  background: var(--oe-off-white);
}

a { color: var(--oe-gold); text-decoration: none; }
a:hover { color: var(--oe-gold-light); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--oe-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--oe-navy);
  margin-top: 0;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.oe-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.oe-section { padding: 80px 0; }
.oe-section--dark { background: var(--oe-navy); color: var(--oe-white); }
.oe-section--dark h1,
.oe-section--dark h2,
.oe-section--dark h3 { color: var(--oe-white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.oe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--oe-radius);
  font-family: var(--oe-font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--oe-transition);
  text-decoration: none;
  white-space: nowrap;
}

.oe-btn--primary {
  background: var(--oe-gold);
  color: var(--oe-white);
  border-color: var(--oe-gold);
}
.oe-btn--primary:hover {
  background: var(--oe-gold-light);
  border-color: var(--oe-gold-light);
  color: var(--oe-white);
  transform: translateY(-2px);
  box-shadow: var(--oe-shadow-md);
}

.oe-btn--outline {
  background: transparent;
  color: var(--oe-gold);
  border-color: var(--oe-gold);
}
.oe-btn--outline:hover {
  background: var(--oe-gold);
  color: var(--oe-white);
  transform: translateY(-2px);
}

.oe-btn--white {
  background: var(--oe-white);
  color: var(--oe-navy);
  border-color: var(--oe-white);
}
.oe-btn--white:hover {
  background: var(--oe-off-white);
  color: var(--oe-navy);
}

.oe-btn--lg { padding: 16px 36px; font-size: 17px; }
.oe-btn--sm { padding: 8px 18px; font-size: 13px; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.oe-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--oe-navy);
  box-shadow: var(--oe-shadow-md);
}

.oe-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.oe-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.oe-logo__img { height: 44px; width: auto; }

.oe-logo__text {
  display: flex;
  flex-direction: column;
}

.oe-logo__name {
  font-family: var(--oe-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--oe-white);
  line-height: 1;
}

.oe-logo__tagline {
  font-size: 10px;
  color: var(--oe-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.oe-nav { display: flex; align-items: center; gap: 8px; }

.oe-nav a {
  color: var(--oe-gray);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--oe-radius);
  transition: var(--oe-transition);
}

.oe-nav a:hover,
.oe-nav a.current-menu-item {
  color: var(--oe-white);
  background: rgba(255,255,255,0.08);
}

.oe-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.oe-header__user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--oe-white);
  font-size: 14px;
}

.oe-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--oe-white);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.oe-hero {
  background: linear-gradient(135deg, var(--oe-navy) 0%, var(--oe-blue) 60%, var(--oe-navy-mid) 100%);
  color: var(--oe-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.oe-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.oe-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.oe-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,151,58,0.15);
  border: 1px solid rgba(201,151,58,0.4);
  color: var(--oe-gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.oe-hero__title {
  font-size: clamp(38px, 6vw, 64px);
  color: var(--oe-white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.oe-hero__title em {
  font-style: italic;
  color: var(--oe-gold);
}

.oe-hero__subtitle {
  font-size: 18px;
  color: var(--oe-gray);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.oe-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.oe-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.oe-hero__stat-num {
  font-family: var(--oe-font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--oe-gold);
}

.oe-hero__stat-label {
  font-size: 13px;
  color: var(--oe-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.oe-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.oe-section-header__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--oe-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.oe-section-header__title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.oe-section-header__subtitle {
  font-size: 17px;
  color: var(--oe-gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   CARDS
   ============================================================ */
.oe-card {
  background: var(--oe-white);
  border-radius: var(--oe-radius-lg);
  padding: 28px;
  box-shadow: var(--oe-shadow-sm);
  border: 1px solid var(--oe-gray-light);
  transition: var(--oe-transition);
}

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

.oe-card--featured {
  border-color: var(--oe-gold);
  position: relative;
}

.oe-card--featured::before {
  content: 'Featured';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--oe-gold);
  color: var(--oe-white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================================
   JOB CARDS
   ============================================================ */
.oe-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.oe-job-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.oe-job-card__company-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--oe-radius);
  background: var(--oe-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--oe-navy);
  flex-shrink: 0;
  border: 1px solid var(--oe-gray-light);
}

.oe-job-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--oe-navy);
  margin-bottom: 4px;
}

.oe-job-card__company { font-size: 13px; color: var(--oe-gray); }

.oe-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.oe-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.oe-badge--navy { background: var(--oe-off-white); color: var(--oe-navy); border: 1px solid var(--oe-gray-light); }
.oe-badge--gold { background: rgba(201,151,58,0.12); color: var(--oe-gold); border: 1px solid rgba(201,151,58,0.3); }
.oe-badge--green { background: rgba(40,167,69,0.1); color: var(--oe-success); border: 1px solid rgba(40,167,69,0.3); }
.oe-badge--blue { background: rgba(26,58,107,0.08); color: var(--oe-blue); border: 1px solid rgba(26,58,107,0.2); }

.oe-job-card__salary {
  font-size: 20px;
  font-weight: 700;
  color: var(--oe-gold);
  margin-bottom: 4px;
}

.oe-job-card__salary-label { font-size: 12px; color: var(--oe-gray); }

.oe-job-card__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--oe-gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oe-job-card__date { font-size: 12px; color: var(--oe-gray); }

/* ============================================================
   SEAFARER CARDS
   ============================================================ */
.oe-seafarers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.oe-seafarer-card {
  text-align: center;
}

.oe-seafarer-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oe-blue), var(--oe-navy));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--oe-white);
  font-family: var(--oe-font-heading);
  overflow: hidden;
}

.oe-seafarer-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.oe-seafarer-card__name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.oe-seafarer-card__rank { font-size: 14px; color: var(--oe-gold); font-weight: 600; margin-bottom: 8px; }
.oe-seafarer-card__meta { font-size: 13px; color: var(--oe-gray); margin-bottom: 16px; }
.oe-seafarer-card__bio { font-size: 13px; color: var(--oe-gray); line-height: 1.6; margin-bottom: 16px; }

/* ============================================================
   PRICING PLANS
   ============================================================ */
.oe-plans-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.oe-plans-tab {
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid var(--oe-gold);
  background: transparent;
  color: var(--oe-gold);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--oe-transition);
}

.oe-plans-tab.active,
.oe-plans-tab:hover {
  background: var(--oe-gold);
  color: var(--oe-white);
}

.oe-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.oe-plan-card {
  background: var(--oe-white);
  border-radius: var(--oe-radius-lg);
  padding: 36px 28px;
  border: 2px solid var(--oe-gray-light);
  transition: var(--oe-transition);
  position: relative;
}

.oe-plan-card:hover {
  border-color: var(--oe-gold);
  box-shadow: var(--oe-shadow-md);
  transform: translateY(-6px);
}

.oe-plan-card--featured {
  border-color: var(--oe-gold);
  box-shadow: var(--oe-shadow-lg);
}

.oe-plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--oe-gold);
  color: var(--oe-white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.oe-plan-card__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--oe-gold);
  margin-bottom: 12px;
}

.oe-plan-card__price {
  margin-bottom: 28px;
}

.oe-plan-card__price-amount {
  font-family: var(--oe-font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--oe-navy);
  line-height: 1;
}

.oe-plan-card__price-currency {
  font-size: 22px;
  vertical-align: super;
  margin-right: 2px;
  color: var(--oe-gray);
}

.oe-plan-card__price-period {
  font-size: 14px;
  color: var(--oe-gray);
  margin-top: 6px;
}

.oe-plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.oe-plan-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--oe-navy);
  border-bottom: 1px solid var(--oe-gray-light);
}

.oe-plan-card__features li:last-child { border-bottom: none; }

.oe-plan-card__features .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(40,167,69,0.12);
  color: var(--oe-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
}

/* ============================================================
   USER DASHBOARD
   ============================================================ */
.oe-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
  gap: 0;
}

.oe-sidebar {
  background: var(--oe-navy);
  padding: 32px 0;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}

.oe-sidebar__user {
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
  text-align: center;
}

.oe-sidebar__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--oe-blue);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--oe-white);
  font-family: var(--oe-font-heading);
  overflow: hidden;
}

.oe-sidebar__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--oe-white);
  margin-bottom: 4px;
}

.oe-sidebar__role {
  font-size: 12px;
  color: var(--oe-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.oe-sidebar__nav { padding: 0 12px; }

.oe-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--oe-radius);
  color: var(--oe-gray);
  font-size: 14px;
  font-weight: 500;
  transition: var(--oe-transition);
  margin-bottom: 4px;
  text-decoration: none;
}

.oe-sidebar__nav a:hover,
.oe-sidebar__nav a.active {
  background: rgba(255,255,255,0.08);
  color: var(--oe-white);
}

.oe-sidebar__nav a.active { color: var(--oe-gold); }

.oe-dashboard__main {
  padding: 40px;
  background: var(--oe-off-white);
}

.oe-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.oe-stat-card {
  background: var(--oe-white);
  border-radius: var(--oe-radius);
  padding: 24px;
  box-shadow: var(--oe-shadow-sm);
  border: 1px solid var(--oe-gray-light);
  transition: box-shadow .2s, border-color .2s;
}
.oe-stat-card:hover {
  box-shadow: 0 4px 20px rgba(10,22,40,.09);
  border-color: rgba(201,151,58,.4);
}
.oe-stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.oe-stat-card__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--oe-gray);
  margin-bottom: 8px;
}

.oe-stat-card__value {
  font-family: var(--oe-font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--oe-navy);
  line-height: 1;
}

.oe-stat-card__sub {
  font-size: 12px;
  color: var(--oe-gray);
  margin-top: 6px;
}

/* ============================================================
   SUBSCRIPTION STATUS
   ============================================================ */
.oe-subscription-card {
  background: linear-gradient(135deg, var(--oe-navy) 0%, var(--oe-blue) 100%);
  border-radius: var(--oe-radius-lg);
  padding: 32px;
  color: var(--oe-white);
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.oe-subscription-card__plan {
  font-size: 12px;
  color: var(--oe-gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.oe-subscription-card__name {
  font-family: var(--oe-font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.oe-subscription-card__expires {
  font-size: 13px;
  color: var(--oe-gray-light);
}

/* ============================================================
   ACCOUNT STATUS BADGE
   ============================================================ */
.oe-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

.oe-status-badge--pending { background: rgba(255,193,7,0.15); color: var(--oe-warning); border: 1px solid rgba(255,193,7,0.3); }
.oe-status-badge--approved { background: rgba(40,167,69,0.12); color: var(--oe-success); border: 1px solid rgba(40,167,69,0.3); }
.oe-status-badge--rejected { background: rgba(220,53,69,0.12); color: var(--oe-danger); border: 1px solid rgba(220,53,69,0.3); }

/* ============================================================
   TABLES
   ============================================================ */
.oe-table-wrap { background: var(--oe-white); border-radius: var(--oe-radius); overflow: hidden; box-shadow: var(--oe-shadow-sm); border: 1px solid var(--oe-gray-light); }

.oe-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.oe-table th {
  background: var(--oe-off-white);
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--oe-gray);
  border-bottom: 1px solid var(--oe-gray-light);
}

.oe-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--oe-gray-light);
  color: var(--oe-navy);
}

.oe-table tr:last-child td { border-bottom: none; }
.oe-table tbody tr:hover { background: var(--oe-off-white); }

/* ============================================================
   ALERTS & NOTICES
   ============================================================ */
.oe-alert {
  padding: 16px 20px;
  border-radius: var(--oe-radius);
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.oe-alert--warning { background: rgba(255,193,7,0.1); border-left: 4px solid var(--oe-warning); color: #856404; }
.oe-alert--success { background: rgba(40,167,69,0.1); border-left: 4px solid var(--oe-success); color: #155724; }
.oe-alert--danger  { background: rgba(220,53,69,0.1); border-left: 4px solid var(--oe-danger);  color: #721c24; }

/* ============================================================
   FOOTER
   ============================================================ */
.oe-footer {
  background: var(--oe-navy);
  color: var(--oe-gray);
  padding: 64px 0 32px;
}

.oe-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.oe-footer__brand-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  margin: 16px 0 24px;
}

.oe-footer__col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--oe-white);
  margin-bottom: 20px;
}

.oe-footer__links { list-style: none; padding: 0; margin: 0; }
.oe-footer__links li { margin-bottom: 10px; }
.oe-footer__links a { color: var(--oe-gray); font-size: 14px; transition: color 0.2s; }
.oe-footer__links a:hover { color: var(--oe-gold); }

.oe-footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

/* ============================================================
   FORMS
   ============================================================ */
.oe-form-group { margin-bottom: 24px; }

.oe-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--oe-navy);
  margin-bottom: 6px;
}

.oe-input,
.oe-select,
.oe-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--oe-gray-light);
  border-radius: var(--oe-radius);
  font-size: 15px;
  font-family: var(--oe-font-body);
  color: var(--oe-navy);
  background: var(--oe-white);
  transition: border-color 0.2s;
  outline: none;
}

.oe-input:focus,
.oe-select:focus,
.oe-textarea:focus { border-color: var(--oe-gold); box-shadow: 0 0 0 3px rgba(201,151,58,0.12); }

.oe-input::placeholder { color: var(--oe-gray); }

.oe-textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .oe-dashboard { grid-template-columns: 220px 1fr; }
  .oe-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .oe-section { padding: 56px 0; }
  .oe-hero { padding: 72px 0 56px; }
  .oe-hero__stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .oe-dashboard { grid-template-columns: 1fr; }
  .oe-sidebar { position: static; height: auto; }
  .oe-footer__grid { grid-template-columns: 1fr; }
  .oe-mobile-toggle { display: flex; }
  .oe-nav { display: none; }
  .oe-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--oe-navy);
    padding: 16px 24px;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .oe-plans-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ═══════════════════════════════════════════════════
   MARITIME GALLERY SECTION
   ═══════════════════════════════════════════════════ */
.oe-maritime-gallery {
  padding: 80px 0;
  background: var(--oe-navy);
}
.oe-maritime-gallery .oe-section-header {
  margin-bottom: 40px;
}
.oe-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.oe-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}
.oe-gallery-item--large {
  grid-row: span 2;
  min-height: 380px;
}
.oe-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.oe-gallery-item:hover img {
  transform: scale(1.06);
}
.oe-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75) 0%, transparent 60%);
  transition: opacity 0.3s;
}
.oe-gallery-item__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #fff;
  font-family: var(--oe-font-heading);
  font-size: 15px;
  font-weight: 600;
}
.oe-gallery-item__sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 3px;
}

/* Vessel Cards with Photos */
.oe-vessel-card__photo {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.oe-vessel-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.oe-vessel-card:hover .oe-vessel-card__photo img {
  transform: scale(1.05);
}
.oe-vessel-card__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.9) 0%, transparent 50%);
}
.oe-vessel-card__photo-caption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  color: #fff;
}
.oe-vessel-card__photo-caption strong {
  font-family: var(--oe-font-heading);
  font-size: 14px;
  display: block;
}
.oe-vessel-card__photo-caption span {
  font-size: 11px;
  opacity: 0.75;
}

/* About page seafarer photo */
.oe-founder-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--oe-gold);
  margin: 0 auto 20px;
}
.oe-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Photo Strip */
.oe-photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 40px;
}
.oe-photo-strip__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}
.oe-photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.oe-photo-strip__item:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .oe-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .oe-gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 220px;
  }
  .oe-photo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE — Full theme dark mode support
   Toggle by adding .dark-mode to <body>
   ═══════════════════════════════════════════════════════════════ */

/* Smooth transition for all colour-bearing elements */
body,
.oe-header,
.oe-nav,
.oe-nav a,
.oe-footer,
.oe-card,
.oe-stat-card,
.oe-job-card,
.oe-btn,
.oe-plan-card,
.oe-section,
.oe-sidebar,
.oe-dashboard__main,
.oe-table,
.oe-table td,
.oe-table th,
.oe-input,
.oe-hero,
.oe-services-slide,
input, textarea, select {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

/* ── Dark Mode Variables ── */
body.dark-mode {
  --oe-bg:         #0d1b2e;
  --oe-navy:       #e2e8f4;
  --oe-navy-dark:  #f0f4ff;
  --oe-white:      #141f35;
  --oe-off-white:  #1a2740;
  --oe-gray:       #94a3b8;
  --oe-gray-light: #1e3050;
  background-color: #0d1b2e;
  color: #e2e8f4;
}

/* Header */
body.dark-mode .oe-header {
  background: #0a1628;
  border-bottom: 1px solid #1e3050;
}
body.dark-mode .oe-header.is-scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}

/* Navigation */
body.dark-mode .oe-nav a,
body.dark-mode .oe-nav__parent {
  color: #cbd5e1 !important;
}
body.dark-mode .oe-nav a:hover {
  color: #c9973a !important;
}
body.dark-mode .oe-nav__submenu {
  background: #0f1f38;
  border: 1px solid #1e3050;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
body.dark-mode .oe-nav__submenu a {
  color: #cbd5e1 !important;
}
body.dark-mode .oe-nav__submenu a:hover {
  background: #1a2e4a !important;
  color: #c9973a !important;
}
body.dark-mode .oe-nav.is-open {
  background: #0a1628;
}

/* Logo text */
body.dark-mode .oe-logo__name,
body.dark-mode .oe-logo__text span {
  color: #fff;
}

/* Sections */
body.dark-mode .oe-section {
  background-color: #0d1b2e;
}
body.dark-mode .oe-section:nth-child(even),
body.dark-mode [style*="background:var(--oe-off-white)"],
body.dark-mode [style*="background:#f9fafb"],
body.dark-mode [style*="background:var(--oe-white)"] {
  background-color: #1a2740 !important;
}

/* Cards */
body.dark-mode .oe-card,
body.dark-mode .oe-stat-card,
body.dark-mode .oe-job-card,
body.dark-mode .oe-plan-card,
body.dark-mode .oe-services-slide,
body.dark-mode .oe-vessel-card {
  background: #141f35 !important;
  border-color: #1e3050 !important;
  color: #e2e8f4 !important;
}
body.dark-mode .oe-card:hover,
body.dark-mode .oe-stat-card:hover {
  border-color: #c9973a !important;
}

/* Text */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
  color: #e2e8f4;
}
body.dark-mode p, body.dark-mode li, body.dark-mode span:not(.oe-badge):not(.oe-status-badge) {
  color: #94a3b8;
}
body.dark-mode strong { color: #e2e8f4; }

/* Buttons */
body.dark-mode .oe-btn--outline {
  border-color: #c9973a;
  color: #c9973a;
}
body.dark-mode .oe-btn--outline:hover {
  background: #c9973a;
  color: #fff;
}

/* Hero */
body.dark-mode .oe-hero {
  background-color: #050e1c;
}

/* Tables */
body.dark-mode .oe-table {
  background: #141f35;
}
body.dark-mode .oe-table th {
  background: #0f1a2e;
  color: #94a3b8;
  border-color: #1e3050;
}
body.dark-mode .oe-table td {
  border-color: #1e3050;
  color: #e2e8f4;
}
body.dark-mode .oe-table tr:hover td {
  background: #1a2740;
}

/* Forms */
body.dark-mode .oe-input,
body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="password"],
body.dark-mode input[type="number"],
body.dark-mode textarea,
body.dark-mode select {
  background: #0f1a2e !important;
  border-color: #1e3050 !important;
  color: #e2e8f4 !important;
}
body.dark-mode .oe-input:focus {
  border-color: #c9973a !important;
}

/* Sidebar & Dashboard */
body.dark-mode .oe-sidebar {
  background: #0a1628;
  border-right-color: #1e3050;
}
body.dark-mode .oe-sidebar__nav a {
  color: #94a3b8;
}
body.dark-mode .oe-sidebar__nav a:hover,
body.dark-mode .oe-sidebar__nav a.active {
  background: #1a2740;
  color: #c9973a;
}
body.dark-mode .oe-dashboard__main {
  background: #0d1b2e;
}

/* Footer */
body.dark-mode .oe-footer {
  background: #060f1d;
  border-top-color: #1e3050;
}
body.dark-mode .oe-footer__col-title { color: #e2e8f4; }
body.dark-mode .oe-footer__links a { color: #64748b; }
body.dark-mode .oe-footer__links a:hover { color: #c9973a; }
body.dark-mode .oe-footer__bottom {
  border-color: #1e3050;
  color: #475569;
}

/* Alerts */
body.dark-mode .oe-alert--warning {
  background: #2a1f00;
  border-color: #7a4f00;
  color: #fbbf24;
}

/* Section headers */
body.dark-mode .oe-section-header__title { color: #e2e8f4; }
body.dark-mode .oe-section-header__subtitle { color: #64748b; }

/* Inline styles override for common dark-mode targets */
body.dark-mode [style*="background:#fff"],
body.dark-mode [style*="background: #fff"] {
  background-color: #141f35 !important;
}
body.dark-mode [style*="color:#6b7280"],
body.dark-mode [style*="color: #6b7280"] {
  color: #64748b !important;
}
body.dark-mode [style*="color:#0a1628"],
body.dark-mode [style*="color: #0a1628"] {
  color: #e2e8f4 !important;
}
body.dark-mode [style*="border:1px solid #e5e7eb"] {
  border-color: #1e3050 !important;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE TOGGLE BUTTON — Improved
   ═══════════════════════════════════════════════════════════════ */
.oe-dark-toggle {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 999px;
  width: 42px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  transition: border-color .25s, background .25s, box-shadow .25s;
  flex-shrink: 0;
  padding: 0;
  outline: none;
}
.oe-dark-toggle__icon {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .2s;
  display: block;
  line-height: 1;
}
.oe-dark-toggle:hover {
  border-color: #c9973a;
  background: rgba(201,151,58,.18);
  box-shadow: 0 0 0 3px rgba(201,151,58,.15);
}
.oe-dark-toggle:hover .oe-dark-toggle__icon {
  transform: rotate(30deg) scale(1.2);
}
body.dark-mode .oe-dark-toggle {
  background: rgba(251,191,36,.12);
  border-color: rgba(251,191,36,.4);
  color: #fbbf24;
}
body.dark-mode .oe-dark-toggle:hover {
  background: rgba(251,191,36,.2);
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251,191,36,.15);
}
/* Tooltip */
.oe-dark-toggle::after {
  content: 'Dark mode';
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,22,40,.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  z-index: 100;
}
body.dark-mode .oe-dark-toggle::after { content: 'Light mode'; }
.oe-dark-toggle:hover::after { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   HEADER IMPROVEMENTS (User avatar + scrolled state)
   ═══════════════════════════════════════════════════════════════ */
.oe-header.is-scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
}
.oe-header__avatar {
  width: 28px;
  height: 28px;
  background: var(--oe-gold);
  color: var(--oe-navy-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}
.oe-header__user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.oe-header__user-name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.oe-header__user-name:hover { color: #c9973a; }
.oe-header__user-text { display: none; }
@media (min-width: 1024px) { .oe-header__user-text { display: inline; } }

/* Mobile toggle bars */
.oe-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.oe-mobile-toggle__bar { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; display: block; }
.oe-mobile-toggle.is-active .oe-mobile-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.oe-mobile-toggle.is-active .oe-mobile-toggle__bar:nth-child(2) { opacity: 0; }
.oe-mobile-toggle.is-active .oe-mobile-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) { .oe-mobile-toggle { display: flex; } }

/* Logo tagline sup */
.oe-logo__year { font-size: 10px; vertical-align: super; font-weight: 400; opacity: .7; margin-left: 1px; }

/* ═══════════════════════════════════════════════════════════════
   DROPDOWN NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.oe-nav__dropdown { position: relative; }
.oe-nav__parent { cursor: pointer; user-select: none; }
.oe-nav__submenu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(10,22,40,.15);
  min-width: 220px;
  padding: 8px 0;
  z-index: 9999;
  list-style: none;
  margin: 0;
}
.oe-nav__submenu.is-open { display: block; }
.oe-nav__submenu li { margin: 0; }
.oe-nav__submenu a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  color: #374151 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border: none !important;
  border-radius: 0 !important;
  transition: background .15s, color .15s !important;
}
.oe-nav__submenu a:hover {
  background: #f9fafb !important;
  color: #c9973a !important;
}
/* Mobile submenu */
@media (max-width: 768px) {
  .oe-nav__submenu {
    position: static;
    transform: none;
    left: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0,0,0,.15);
    padding: 4px 0 4px 16px;
  }
  .oe-nav__submenu.is-open { display: block; }
  .oe-nav__submenu a { color: rgba(255,255,255,.75) !important; }
  .oe-nav__submenu a:hover { color: #c9973a !important; background: transparent !important; }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES SLIDER (Swiper)
   ═══════════════════════════════════════════════════════════════ */
.oe-services-section {
  padding: 80px 0;
  background: var(--oe-off-white);
  overflow: hidden;
}
body.dark-mode .oe-services-section {
  background: #0d1b2e;
}
.oe-services-swiper {
  padding: 16px 0 60px !important;
  overflow: visible !important;
}
.oe-services-swiper .swiper-wrapper {
  align-items: stretch;
}
.oe-services-slide {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: auto;
  transition: box-shadow .3s, border-color .3s, transform .3s;
  cursor: pointer;
}
.oe-services-slide:hover {
  box-shadow: 0 12px 40px rgba(10,22,40,.12);
  border-color: var(--oe-gold);
  transform: translateY(-4px);
}
.oe-services-slide__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #c9973a18, #c9973a30);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  transition: background .3s, transform .3s;
}
.oe-services-slide:hover .oe-services-slide__icon {
  background: linear-gradient(135deg, #c9973a25, #c9973a45);
  transform: scale(1.1) rotate(-5deg);
}
.oe-services-slide__title {
  font-family: var(--oe-font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--oe-navy-dark);
  margin: 0 0 10px;
}
.oe-services-slide__desc {
  font-size: 13px;
  color: var(--oe-gray);
  line-height: 1.7;
  flex: 1;
  margin: 0 0 20px;
}
.oe-services-slide__cta {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--oe-gold);
  color: var(--oe-gold);
  padding: 9px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.oe-services-slide__cta:hover {
  background: var(--oe-gold);
  color: #fff;
}
/* Swiper custom nav arrows colour */
.oe-services-swiper .swiper-button-next,
.oe-services-swiper .swiper-button-prev {
  color: var(--oe-gold);
  background: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  box-shadow: 0 2px 12px rgba(10,22,40,.12);
}
.oe-services-swiper .swiper-button-next::after,
.oe-services-swiper .swiper-button-prev::after { font-size: 16px; }
.oe-services-swiper .swiper-pagination-bullet-active { background: var(--oe-gold); }
body.dark-mode .oe-services-swiper .swiper-button-next,
body.dark-mode .oe-services-swiper .swiper-button-prev {
  background: #141f35;
  color: #c9973a;
}

/* ═══════════════════════════════════════════════════════════════
   ELEMENTOR FULL-WIDTH TEMPLATE
   ═══════════════════════════════════════════════════════════════ */
.oe-elementor-wrap {
  width: 100%;
  padding: 0;
  margin: 0;
}
/* Remove default content padding when Elementor is used */
.page-template-page-elementor .oe-page-content,
.page-template-page-elementor .oe-entry-content {
  padding: 0;
  max-width: none;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.oe-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.oe-animate.oe-animated {
  opacity: 1;
  transform: translateY(0);
}
.oe-animate--delay-1 { transition-delay: .1s; }
.oe-animate--delay-2 { transition-delay: .2s; }
.oe-animate--delay-3 { transition-delay: .3s; }
.oe-animate--delay-4 { transition-delay: .4s; }
