/* Ocean Ops LLC – static site styles */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* Design tokens (dark first, light via .theme-light) */
:root {
  --navy-deep: #020817;
  --navy-main: #050b18;
  --navy-alt: #071731;

  --bg: #050b18;
  --bg-alt: #070f1f;
  --surface: #0b172b;
  --surface-soft: #101b32;
  --text: #f5f7ff;
  --text-muted: #a2b0cd;
  --accent: #1a5cff;
  --accent-soft: rgba(26, 92, 255, 0.15);
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 22px 50px rgba(0, 0, 0, 0.7);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --transition-fast: 160ms ease-out;
  --transition-med: 260ms ease;
}

body.theme-light {
  --bg: #f5f7fc;
  --bg-alt: #e5ebf7;
  --surface: #ffffff;
  --surface-soft: #f1f4fd;
  --text: #0f172a;
  --text-muted: #5f6680;
  --accent: #0b5dff;
  --accent-soft: rgba(11, 93, 255, 0.1);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.15);
}

/* Background */
body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), transparent 60%),
    var(--bg);
  color: var(--text);
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 5rem;
  }
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.7);
}

body.theme-light .site-header {
  background: rgba(248, 250, 252, 0.96);
  border-bottom-color: var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.3), transparent 55%),
    linear-gradient(135deg, #020617, #0b1120);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
}

.nav-logo-mark span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-text {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.2rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.nav-link-active {
  color: var(--text);
}

.nav-link.nav-link-active::after {
  width: 18px;
}

/* Theme toggle + CTA */
.nav-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: var(--surface);
  padding: 0.1rem;
  display: inline-flex;
  gap: 0.2rem;
  cursor: pointer;
}

.theme-toggle span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.theme-toggle span.active {
  background: var(--accent);
  color: #f9fafb;
}

.nav-cta {
  display: none;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(135deg, #1d4ed8, #0ea5e9);
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

/* Mobile menu */
.nav-toggle {
  border: none;
  background: transparent;
  padding: 0.2rem;
  display: inline-flex;
  cursor: pointer;
}

.nav-toggle-line {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
  transition: transform var(--transition-med), opacity var(--transition-med);
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform var(--transition-med), top var(--transition-med), opacity var(--transition-med);
}

.nav-toggle-line::before {
  top: -6px;
}

.nav-toggle-line::after {
  top: 6px;
}

/* Drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.7);
  background: rgba(3, 7, 18, 0.96);
}

body.theme-light .nav-drawer {
  background: rgba(248, 250, 252, 0.98);
}

.nav-drawer .nav-cta {
  display: inline-flex;
  margin-top: 0.35rem;
}

/* Open state */
.site-header.nav-open .nav-drawer {
  display: flex;
}

.site-header.nav-open .nav-toggle-line {
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle-line::before {
  top: 0;
  transform: rotate(-90deg);
}

.site-header.nav-open .nav-toggle-line::after {
  top: 0;
  opacity: 0;
}

/* Desktop nav */
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-drawer {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding-block: 4rem 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 900px) {
  .hero {
    padding-block: 5rem 4.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 3.25rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 0.8);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #38bdf8;
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-title {
  margin-top: 1.4rem;
  font-size: clamp(2.3rem, 2rem + 1.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 0.98rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
}

body.theme-light .hero-pill {
  background: rgba(255, 255, 255, 0.96);
}

.hero-pill-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--transition-med),
    color var(--transition-med),
    border-color var(--transition-med),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary {
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.24), transparent 60%),
    linear-gradient(135deg, #1d4ed8, #0ea5e9);
  color: #f9fafb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 1);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
}

body.theme-light .btn-outline {
  background: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: rgba(148, 163, 184, 1);
  background: rgba(15, 23, 42, 0.95);
}

.hero-contact-line {
  margin-top: 1.6rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-contact-line a {
  color: inherit;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: 26px;
  padding: 1rem;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 70%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.hero-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 220px;
  background:
    radial-gradient(circle at 10% 0, rgba(59, 130, 246, 0.75), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(15, 23, 42, 0.95), transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-yacht {
  position: relative;
  width: 70%;
  max-width: 360px;
  aspect-ratio: 3/1;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.98));
  border: 1px solid rgba(226, 232, 240, 0.25);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 1);
}

.hero-yacht::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(248, 250, 252, 0.18), transparent);
}

.hero-yacht::after {
  content: "";
  position: absolute;
  inset-inline: -20%;
  bottom: -35%;
  height: 50%;
  background:
    radial-gradient(circle at 20% 0, rgba(34, 211, 238, 0.45), transparent 70%),
    radial-gradient(circle at 70% 0, rgba(56, 189, 248, 0.4), transparent 70%);
}

.hero-floating-card {
  position: absolute;
  right: 5%;
  top: 10%;
  min-width: 180px;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.24), transparent 75%),
    rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 1);
  font-size: 0.8rem;
}

.hero-floating-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.hero-floating-main {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.hero-floating-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Section headers */
.section-header {
  margin-bottom: 2.2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, transparent);
}

.section-title {
  margin-top: 0.75rem;
  font-size: 1.6rem;
}

.section-subtitle {
  margin-top: 0.6rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.about-text p {
  margin-bottom: 0.7rem;
}

.about-text ul {
  list-style: none;
  padding-left: 0;
}

.about-text li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.about-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #38bdf8;
}

.about-card {
  border-radius: 18px;
  padding: 1.3rem 1.2rem;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-subtle);
}

.about-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.about-card p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.about-card ul {
  list-style: none;
}

.about-card li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

body.theme-light .service-card {
  background: var(--surface);
}

.service-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
}

.service-title {
  margin-top: 0.7rem;
  font-size: 1.05rem;
}

.service-text {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-meta {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA */
.section-cta {
  padding-bottom: 4.5rem;
}

.cta-card {
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 70%),
    var(--surface-soft);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.3rem;
}

.cta-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.cta-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (min-width: 768px) {
  .cta-card {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* Projects */
.projects-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .projects-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.project-feature {
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.project-image {
  border-radius: 16px;
  min-height: 170px;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.35), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(15, 23, 42, 0.95), transparent 55%);
}

.project-details {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.project-meta-pill {
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
}

body.theme-light .project-meta-pill {
  background: rgba(255, 255, 255, 0.9);
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-item {
  border-radius: 16px;
  padding: 1rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
}

body.theme-light .project-item {
  background: rgba(255, 255, 255, 0.96);
}

.project-item-title {
  font-size: 0.98rem;
}

.project-item-text {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.contact-card {
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.contact-card-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.contact-card-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(3, 7, 18, 0.92);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

body.theme-light .form-input,
body.theme-light .form-textarea {
  background: #f8fafc;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.form-input:focus,
.form-textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

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

.form-checkbox-row {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.form-checkbox-row input {
  margin-top: 0.15rem;
}

.contact-info-card {
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 70%),
    var(--surface-soft);
  border: 1px solid var(--border-subtle);
}

.contact-info-list {
  list-style: none;
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.contact-info-value a {
  color: inherit;
  text-decoration: none;
}

.contact-info-value a:hover {
  text-decoration: underline;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text-muted);
}

.social-pill:hover {
  border-color: #38bdf8;
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.7);
  background: rgba(3, 7, 18, 0.97);
}

body.theme-light .site-footer {
  background: #020617;
}

.footer-inner {
  padding-block: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #cbd5f5;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

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

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-columns {
    flex-direction: row;
    align-items: center;
  }
}

/* Global link style */
a {
  color: var(--accent);
}

a:hover {
  color: #38bdf8;
}
