/* ── shared.css — common styles for all Into The Blue web pages ── */

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

:root {
  --bg:        #041A24;
  --surface:   #072C3F;
  --card:      #0B3A52;
  --primary:   #38BDF8;
  --on-primary:#003A52;
  --secondary: #82CFDF;
  --accent:    #5BE3A9;
  --coral:     #FF8A5C;
  --text-hi:   #E2E2E9;
  --text-med:  #C5C6D0;
  --text-low:  #7B9BAD;
  --outline:   #1C4B66;
  --border:    #0F4660;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-hi);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 110%, rgba(56,189,248,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80%  -10%, rgba(91,227,169,.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50%   50%, rgba(7,44,63,.35)   0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Container ── */
.container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4,26,36,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.nav-logo svg { flex-shrink: 0; }

.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.3px;
}

.nav-logo-text span {
  color: var(--primary);
  font-style: italic;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}

.nav-cta:hover { opacity: .88; transform: translateY(-1px); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 13px;
  color: var(--text-low);
}

.footer-left strong { color: var(--secondary); }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-low);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--primary);
}

/* ── Screen-reader only ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

