/*
Theme Name:   Sea Forward Child
Theme URI:    https://www.seaforwardfund.org/
Description:  Child theme for Sea Forward Fund website. Parent: Hello Elementor.
Author:       Sea Forward Fund
Author URI:   https://www.seaforwardfund.org/
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
Text Domain:  seaforward-child
*/

/* ── SEA FORWARD GLOBAL STYLES ────────────────────────────────────────────
   These are the shared design tokens and base styles used across all pages.
   They are automatically loaded on every page of the site.
   ──────────────────────────────────────────────────────────────────────── */

:root {
  --navy:   #071a2e;
  --navy2:  #0d2d4a;
  --ocean:  #29abe2;
  --teal:   #02c39a;
  --white:  #f4f8fb;
  --muted:  rgba(244,248,251,0.55);
  --serif:  Georgia, 'Times New Roman', serif;
  --sans:   'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* Scroll fade animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shared button styles */
.btn-primary {
  display: inline-block;
  background: var(--ocean);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  margin-right: 16px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(244,248,251,0.35);
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 2px;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: rgba(244,248,251,0.7); transform: translateY(-2px); }

/* Shared nav styles */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(7,26,46,0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(7,26,46,0.97) !important; }

/* Footer shared styles */
footer {
  background: var(--navy2);
  padding: 60px 48px 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer-tagline { color: var(--muted); font-size: 0.85rem; line-height: 1.65; max-width: 260px; }
.footer-col-title { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-disclaimer { padding: 28px 0 20px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.72rem; color: rgba(244,248,251,0.38); line-height: 1.65; }
.footer-disclaimer a { color: rgba(41,171,226,0.70); border-bottom: 1px solid rgba(41,171,226,0.25); }
.footer-disclaimer a:hover { color: var(--ocean); }
