/* Triton Federal Credit Union — Public Site Styles */
/* Color palette matches branch design standards */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --gold: #c9a84c;
  --gold-dim: #8a6a28;
  --cream: #f8f4ee;
  --parchment: #ede8de;
  --fog: #8896a8;
  --border: rgba(10, 22, 40, 0.12);
  --text: #1a2332;
  --slate: #4a5568;
  --green: #1e8c4a;
  --red: #b03020;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
  --font-serif: 'Lora', Georgia, serif;
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--slate); }
p:last-child { margin-bottom: 0; }
a { color: var(--gold-dim); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { color: var(--slate); margin-bottom: 0.3rem; }

/* LAYOUT */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-wordmark {
  height: 48px;
  object-fit: contain;
}
.nav-logo-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: transparent;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--gold); background: rgba(255,255,255,0.05); text-decoration: none; }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: bold;
  padding: 8px 16px !important;
  border-radius: 3px;
}
.nav-cta:hover { background: #d4b060 !important; color: var(--navy) !important; }

/* HAMBURGER MENU */
.nav-hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  z-index: 1001;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
  display: block;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-visual {
  background-image: url('images/shoreline.png');
  background-size: cover;
  background-position: center center;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(10, 22, 40, 0.95) 0%,
      rgba(10, 22, 40, 0.92) 30%,
      rgba(10, 22, 40, 0.85) 50%,
      rgba(10, 22, 40, 0.7) 70%,
      rgba(10, 22, 40, 0.4) 85%,
      transparent 100%),
    rgba(10, 22, 40, 0.35);
  pointer-events: none;
  z-index: 0;
}
.hero-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.4) 60%, transparent);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold-dim), var(--gold), var(--gold-dim));
  z-index: 2;
}
.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(201, 168, 76, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-content {
  flex: 1;
  max-width: 560px;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-visuals {
  flex-shrink: 0;
  position: relative;
  width: 380px;
  height: 300px;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 12px;
  line-height: 1.15;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-subtitle {
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  margin-bottom: 14px !important;
}
.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.btn:hover {
  opacity: 0.9;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: none;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* HERO VISUALS */
.hero-compass {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}
.compass-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}
.hero-card {
  position: absolute;
  bottom: 30px;
  left: 40px;
  width: 320px;
  height: 200px;
}
.card-mockup {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  position: relative;
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.card-chip {
  width: 48px;
  height: 38px;
  background: linear-gradient(135deg, #d4af37 0%, #c9a84c 50%, #b8941f 100%);
  border-radius: 6px;
  margin-bottom: 32px;
  position: relative;
}
.card-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.1) 0px,
    rgba(0,0,0,0.1) 2px,
    transparent 2px,
    transparent 4px
  );
}
.card-logo {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
}
.card-name {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 6px;
}
.card-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

/* BADGE */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* SECTIONS */
.section { padding: 64px 0; }
.section-alt { background: white; }
.section-dark { background: var(--navy); }
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
  display: block;
}
.section-dark .section-eyebrow { color: var(--gold); }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.6); }

/* BUSINESS TYPES */
.business-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.business-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold-dim), var(--gold));
  transform: scaleX(0);
  transition: transform 0.25s;
}
.business-card:hover {
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.08);
  border-color: rgba(201, 168, 76, 0.3);
}
.business-card:hover::before {
  transform: scaleX(1);
}
.business-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
  color: var(--gold);
}
.business-icon i {
  font-size: 2.5rem;
}
.business-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.business-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

/* GRID */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .business-types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .business-types { grid-template-columns: 1fr; }
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-visuals { width: 100%; height: 250px; }
  .hero-compass { width: 140px; height: 140px; right: 20px; top: 10px; }
  .hero-card { width: 260px; height: 160px; left: 20px; bottom: 20px; }
  .card-mockup { padding: 18px; }
  .card-chip { width: 40px; height: 32px; margin-bottom: 24px; }
  .card-name { font-size: 0.95rem; }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
}

/* CARDS */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
}
.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,0.6); }
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  color: var(--gold);
  line-height: 1;
}
.card-icon i {
  font-size: 2.5rem;
  color: var(--gold);
}

/* DIFFERENTIATOR */
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
}
.diff-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.diff-icon i {
  font-size: 1.1rem;
}
.diff-label { font-weight: bold; color: var(--navy); margin-bottom: 4px; font-size: 1rem; }
.diff-desc { font-size: 0.9rem; color: var(--slate); margin: 0; }

/* HOURS TABLE */
.hours-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.hours-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.hours-table td:first-child { color: var(--navy); font-weight: bold; font-family: Arial, sans-serif; }
.hours-table td:last-child { color: var(--slate); }

/* ROLE CARDS */
.role-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}
.role-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.role-badge {
  font-family: Arial, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}
.badge-volunteer { background: rgba(201,168,76,0.2); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.badge-paid { background: rgba(30,140,74,0.2); color: #60c090; border: 1px solid rgba(30,140,74,0.3); }
.role-title { font-family: 'Georgia', serif; font-size: 1.2rem; color: #fff; }
.role-subtitle { font-family: Arial, sans-serif; font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 2px; }
.role-body { padding: 20px; }
.role-body ul { margin-bottom: 0; }

/* FORMS */
.form-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: bold;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--fog);
  margin-top: 6px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--navy-mid); }
.form-success {
  display: none;
  background: rgba(30,140,74,0.08);
  border: 1px solid rgba(30,140,74,0.25);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  color: var(--green);
  font-size: 1rem;
}

/* NOTICE */
.notice {
  background: var(--parchment);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--slate);
  border-radius: 0 3px 3px 0;
  margin-bottom: 24px;
}
.notice strong { color: var(--navy); }

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* FOOTER */
footer {
  background: var(--navy);
  padding: 40px 0 24px;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 10px; }
.footer-col h4 {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.9rem; font-family: Arial, sans-serif; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  margin: 0;
}
.ncua-notice {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  max-width: 960px;
  margin: 12px auto 0;
  padding: 0 24px;
  text-align: center;
}
@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 10002;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 80px 0 20px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,0.3);
    z-index: 10001;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
  }

  .nav-cta {
    margin: 8px 24px !important;
    width: calc(100% - 48px) !important;
    text-align: center;
    box-sizing: border-box;
    padding: 10px 16px !important;
  }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* TRIDENT SVG */
.trident-svg { display: block; }
