/* ═══════════════════════════════════════════
   SEAFORTH ENVIRONMENTAL — SHARED STYLES
   ═══════════════════════════════════════════ */

/* Design Tokens */
:root {
  --deep-navy: #0a1628;
  --ocean-dark: #0d2137;
  --ocean-mid: #143654;
  --teal-accent: #00d4aa;
  --teal-glow: #00ffcc;
  --gold-accent: #d4a843;
  --gold-bright: #f5c542;
  --amber-warning: #f5a623;
  --coral-alert: #ff6b6b;
  --ice-white: #e8f0f6;
  --mist-gray: #94a3b8;
  --foam-white: #f0f5fa;
  --brand-blue: #2a6cb6;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-100: #f1f5f9;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Source Serif 4', 'Georgia', serif;
  color: var(--slate-900);
  background: var(--foam-white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  min-width: 320px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4rem 0;
}

/* ═══════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(13, 33, 55, 0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 92px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 6px rgba(212, 168, 67, 0.4))
         drop-shadow(0 0 14px rgba(212, 168, 67, 0.15));
  transition: filter 0.3s ease;
}

.logo-section:hover .logo-icon {
  filter: drop-shadow(0 1px 8px rgba(212, 168, 67, 0.55))
         drop-shadow(0 0 20px rgba(212, 168, 67, 0.25));
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text .logo-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--foam-white);
  line-height: 1.1;
}

.logo-subtitle {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-top: 0.15rem;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.main-nav > a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-gray);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color 0.25s, background 0.25s;
}

.main-nav > a:hover {
  color: var(--teal-accent);
  background: rgba(0, 212, 170, 0.08);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-gray);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color 0.25s, background 0.25s;
  cursor: pointer;
}

.nav-dropdown:hover > .nav-link {
  color: var(--teal-accent);
  background: rgba(0, 212, 170, 0.08);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background: var(--ocean-dark);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.nav-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu > a,
.dropdown-submenu > a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--mist-gray);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.dropdown-menu > a:hover,
.dropdown-submenu > a:hover {
  color: var(--teal-accent);
  background: rgba(0, 212, 170, 0.08);
}

/* Nested dropdown (flyout submenu) */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-submenu > a::after {
  content: '›';
  font-size: 1.1em;
  opacity: 0.6;
  margin-left: 0.5rem;
}

.submenu {
  position: absolute;
  left: 100%;
  top: -0.5rem;
  min-width: 220px;
  background: var(--ocean-dark);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

.dropdown-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--mist-gray);
  transition: all 0.2s;
}

.submenu a:hover {
  color: var(--teal-accent);
  background: rgba(0, 212, 170, 0.08);
  padding-left: 1.4rem;
}

.nav-cta {
  margin-left: 0.8rem;
  background: linear-gradient(135deg, var(--teal-accent), #00b894) !important;
  color: var(--deep-navy) !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 6px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
  background: linear-gradient(135deg, var(--teal-glow), var(--teal-accent)) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foam-white);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════
   PAGE HERO (for subpages)
   ═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 10rem 0 4rem;
  background: linear-gradient(165deg, var(--deep-navy) 0%, var(--ocean-dark) 40%, var(--ocean-mid) 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(20, 54, 84, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-gray);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--gold-accent);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold-bright);
}

.breadcrumb span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--foam-white);
  margin-bottom: 1rem;
}

.page-hero h1 .accent {
  color: var(--teal-accent);
}

.page-hero-description {
  font-size: 1.1rem;
  color: var(--mist-gray);
  max-width: 650px;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.content-text .btn {
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-accent), #00b894);
  color: var(--deep-navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 212, 170, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--foam-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal-accent);
  color: var(--teal-accent);
}

/* ═══════════════════════════════════════════
   FLEET VESSEL CARDS
   ═══════════════════════════════════════════ */
.vessel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.vessel-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.vessel-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.vessel-grid-2 .vessel-card-image {
  height: 180px;
}

.vessel-grid-2 .vessel-card-content {
  padding: 1.5rem;
}

.vessel-grid-2 .vessel-card h3 {
  font-size: 1.1rem;
}

.vessel-grid-2 .vessel-specs {
  font-size: 0.75rem;
}

.vessel-grid-4 .vessel-card-image {
  height: 160px;
}

.vessel-grid-4 .vessel-card-content {
  padding: 1.25rem;
}

.vessel-grid-4 .vessel-card h3 {
  font-size: 1rem;
}

.vessel-grid-4 .vessel-specs {
  font-size: 0.7rem;
}

.vessel-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.vessel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.vessel-card-image {
  height: 200px;
  background: var(--ocean-mid);
  overflow: hidden;
}

.vessel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.vessel-card:hover .vessel-card-image img {
  transform: scale(1.05);
}

.vessel-card-content {
  padding: 1.5rem;
}

.vessel-card h3 {
  font-size: 1.1rem;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
}

.vessel-card .vessel-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: 0.75rem;
}

.vessel-card .vessel-specs {
  font-size: 0.9rem;
  color: var(--slate-700);
}

.vessel-card .btn {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0.7rem 1rem;
}

.vessel-card .btn-secondary {
  background: var(--teal-accent);
  color: var(--deep-navy);
  border: 2px solid var(--teal-accent);
  font-weight: 600;
}

.vessel-card .btn-secondary:hover {
  background: var(--ocean-dark);
  border-color: var(--ocean-dark);
  color: var(--foam-white);
}

/* ═══════════════════════════════════════════
   FLEET DETAIL PAGE
   ═══════════════════════════════════════════ */
.vessel-detail {
  padding: 4rem 0;
}

.vessel-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.vessel-gallery {
  position: relative;
}

.vessel-hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
}

.vessel-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.vessel-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.vessel-thumb {
  flex: 1 1 0;
  min-width: 0;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.vessel-thumb:hover,
.vessel-thumb.active {
  border-color: var(--teal-accent);
}

.vessel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vessel-thumb-cta {
  flex: 2 1 0;
  min-width: 0;
}

.vessel-thumb-cta .btn {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0 1rem;
  border-radius: 6px;
}

.vessel-info h2 {
  font-size: 2rem;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
}

.vessel-category {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: 1rem;
}

.vessel-description {
  font-size: 1.02rem;
  color: var(--slate-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.vessel-description:last-of-type {
  margin-bottom: 0;
}

.specs-operations-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.specs-table {
  background: var(--slate-100);
  border-radius: 12px;
  padding: 1.5rem;
}

.specs-table h3 {
  font-size: 0.85rem;
  color: var(--deep-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--teal-accent);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mist-gray);
}

.spec-value {
  font-weight: 600;
  color: var(--deep-navy);
  text-align: right;
  max-width: 60%;
}

.vessel-cta {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .vessel-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .specs-operations-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ═══════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════ */
.content-section {
  padding: 4rem 0;
}

.page-hero + .content-section {
  padding-top: 0;
}

.page-hero + .content-section > .container > :first-child:not(.content-grid) {
  margin-top: 4rem;
}

.content-section + .content-section:not([style*="background"]) {
  padding-top: 0;
}

.content-section:nth-child(even),
.content-section.alternate-bg {
  background: var(--foam-white);
}

.section-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--deep-navy);
  margin-bottom: 1.5rem;
}

.section-title .accent {
  color: var(--teal-accent);
}

.section-description {
  font-size: 1.05rem;
  color: var(--slate-700);
  max-width: 750px;
  line-height: 1.8;
}

.section-description + .section-description {
  margin-top: 1.25rem;
}

.section-description em {
  color: var(--teal-accent);
  font-style: italic;
}

/* Stats Grid */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2rem;
}

.hero-stat {
  text-align: center;
  min-width: 120px;
}

.stat-value {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--ocean-dark);
  line-height: 1.1;
}

.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .hero-stats {
    gap: 2rem;
  }
  
  .hero-stat {
    flex: 1 1 40%;
  }
}

/* Full-width intro section (for service pages with intro above two-column layout) */
.content-intro-fullwidth {
  width: 100%;
  margin-bottom: 0;
}

.content-intro-fullwidth .section-description {
  max-width: none;
}

/* Gallery hero image (clickable main image above thumbnails) */
.gallery-hero {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-hero:hover {
  opacity: 0.9;
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .zoom-icon {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.zoom-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--deep-navy);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: white;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-nav svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: white;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
}

/* Two column content layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.content-intro-fullwidth + .content-grid {
  margin-top: 0;
}

.content-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: 12px;
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
}

/* Feature list */
.feature-list {
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--teal-accent), #00b894);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.feature-content h4 {
  font-size: 0.95rem;
  color: var(--deep-navy);
  margin-bottom: 0.3rem;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--slate-700);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--deep-navy);
  padding: 3rem 0;
  border-top: 1px solid rgba(212, 168, 67, 0.2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--mist-gray);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
}

.footer-logo {
  width: 50px;
  height: auto;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist-gray);
  transition: color 0.2s;
}

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

.footer-social {
  width: 24px;
  height: 24px;
  color: var(--mist-gray);
  transition: color 0.2s;
}

.footer-social:hover {
  color: var(--teal-accent);
}

.footer-social svg {
  width: 100%;
  height: 100%;
}

.footer-social-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .vessel-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .vessel-gallery {
    position: static;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .content-grid-2col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .content-grid.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.5rem 1rem;
  }
  
  .logo-icon {
    width: 60px;
    height: 40px;
  }
  
  .logo-text .logo-title {
    font-size: 0.9rem;
  }
  
  .logo-text .logo-subtitle {
    font-size: 0.5rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--ocean-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 4rem 1.5rem 2rem;
    gap: 0;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .main-nav > a,
  .nav-dropdown {
    width: 100%;
  }
  
  .main-nav > a,
  .nav-dropdown > .nav-link {
    display: block;
    width: 100%;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
  }
  
  .nav-dropdown > .nav-link::after {
    content: '+';
    float: right;
    font-size: 1rem;
    font-weight: 300;
  }
  
  .nav-dropdown.open > .nav-link::after {
    content: '−';
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-dropdown.open .dropdown-menu {
    max-height: 600px;
    padding: 0.5rem 0 0.5rem 1rem;
  }
  
  .dropdown-menu > a {
    padding: 0.5rem 0;
    font-size: 0.7rem;
    border-bottom: none;
    white-space: normal;
  }
  
  .dropdown-submenu {
    margin-bottom: 0.25rem;
  }
  
  .dropdown-submenu > .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0.75rem;
    min-width: 0;
  }
  
  .dropdown-submenu > a::after {
    display: none;
  }
  
  .dropdown-submenu > a {
    font-size: 0.7rem;
    padding: 0.4rem 0;
  }
  
  .submenu > a {
    font-size: 0.65rem;
    padding: 0.35rem 0;
  }
  
  .nav-cta {
    margin: 1rem 0 0 0;
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .page-hero {
    padding: 6rem 0 2rem;
  }
  
  .page-hero h1 {
    font-size: 1.5rem;
  }
  
  .page-hero-description {
    font-size: 0.9rem;
  }
  
  .vessel-grid {
    grid-template-columns: 1fr;
  }
  
  .vessel-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .lightbox-prev {
    left: 0.5rem;
  }
  
  .lightbox-next {
    right: 0.5rem;
  }
}

@media (max-width: 600px) {
  .vessel-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .vessel-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}

/* Service page content styles */

.heading-with-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.heading-with-cta .content-heading {
  margin-bottom: 0;
}

.content-heading {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
  color: var(--ocean-dark);
  margin-bottom: 1.25rem;
}

/* When content-heading is followed by vessel-grid (not content-text) */
.content-heading + .vessel-grid {
  margin-top: 2rem;
}

.content-subheading {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.1rem;
  color: var(--ocean-dark);
  margin: 2.5rem 0 1.25rem 0;
  padding-top: 0.5rem;
}

.content-grid-2col > div > .content-subheading:first-child,
.content-section > .container > .content-subheading:first-child {
  margin-top: 0;
  padding-top: 0;
}

/* First subheading after paragraph text */
.section-description + .content-subheading,
.content-text > p + h3.content-subheading {
  margin-top: 2.5rem;
}

/* Subheading after a list */
.service-list + .content-subheading {
  margin-top: 3rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem 0;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate-700);
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal-accent);
  font-weight: 600;
}

.service-list li strong {
  color: var(--ocean-dark);
}

/* Vessel image focal point adjustments */
img[src*="Madison_B_Hero"] {
  object-position: 25% center !important;
}

img[src*="Seaforth_Comet_Hero"] {
  object-position: 70% 70% !important;
}

img[src*="Mallory_Hero"] {
  object-position: 40% center !important;
}

img[src*="Madison_B.JPG"] {
  object-position: 25% center !important;
}
