/* ============================================================
   SS Jeremiah O'Brien — Homepage Redesign
   Static mockup — Feb 2026
   ============================================================ */

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

:root {
  --navy-dark:    #091422;
  --navy:         #0d1b2a;
  --navy-mid:     #152640;
  --navy-light:   #1e3a5f;
  --gold:         #c9a84c;
  --gold-light:   #e8c97a;
  --gold-pale:    #f5edcf;
  --cream:        #f5f0e8;
  --cream-dark:   #ede6d6;
  --text-dark:    #1a1a2e;
  --text-body:    #374151;
  --text-muted:   #6b7280;
  --text-light:   #e8dfc9;
  --text-lighter: #a0aec0;
  --white:        #ffffff;
  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.18);
  --transition:   0.25s ease;
  --max-width:    1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text-dark);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section       { padding: 96px 0; }
.section-alt   { background: var(--cream); }
.section-dark  { background: var(--navy-dark); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold); }

h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.8;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.text-light        { color: var(--text-light); }
.text-light-muted  { color: var(--text-lighter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

.link-arrow {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: color var(--transition);
}
.link-arrow:hover { color: var(--gold-light); }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-nav.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }

.nav-logo {
  display: flex;
  flex-direction: column;
}
.nav-logo-ship {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--gold-light); color: var(--navy-dark); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(9,20,34,0.72) 0%,
    rgba(9,20,34,0.42) 50%,
    rgba(9,20,34,0.58) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-br { display: block; }

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============================================================
   INFO BAR
   ============================================================ */
.info-bar {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-mid);
}

.info-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  flex: 1;
  min-width: 180px;
}
.info-item-cta { flex: 0; }

.info-icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.info-item > div {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lighter);
  font-weight: 500;
}
.info-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 2px;
}

.info-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  margin: 0 24px;
  flex-shrink: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.two-col-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-body);
}

.about-text .btn { margin-top: 12px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card-wide { grid-column: 1 / -1; }

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ============================================================
   VISIT
   ============================================================ */
.section-alt h2 { margin-bottom: 40px; }

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.visit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
}

.visit-card-featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy-mid);
}

.visit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: inherit;
}
.visit-card-featured h3 { color: var(--gold-light); }

.visit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.visit-list li {
  font-size: 0.9rem;
  color: var(--text-body);
  padding-left: 16px;
  position: relative;
}
.visit-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.visit-card-featured .visit-list li { color: rgba(255,255,255,0.8); }

.visit-address {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.visit-address p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.ticket-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}
.ticket-list li:last-child { border-bottom: none; }
.ticket-list li strong { color: var(--gold-light); font-weight: 600; }
.ticket-free span { color: rgba(255,255,255,0.6); }
.ticket-free strong { color: #7dd87a; }

.ticket-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
  font-style: italic;
}

/* ============================================================
   GALLERY
   ============================================================ */
.section-dark .container { margin-bottom: 48px; }
.section-dark h2 { margin-bottom: 12px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}
.gallery-item-wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(9,20,34,.8) 0%, transparent 100%);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ============================================================
   EVENTS
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.event-card-featured {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.06);
}

.event-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-card-featured:hover .event-img-wrap img { transform: scale(1.04); }

.event-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.event-body { padding: 32px; }
.event-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.event-body h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.event-body p { font-size: 0.92rem; color: var(--text-body); margin-bottom: 12px; }
.event-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem !important;
  margin-bottom: 20px !important;
}

.events-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card-small {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.event-card-small:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.event-card-small .event-type { margin-bottom: 8px; }
.event-card-small h3 { font-size: 1.1rem; margin-bottom: 10px; }
.event-card-small p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }

/* ============================================================
   GET INVOLVED
   ============================================================ */
.involved-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.involved-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
}

.involved-card-donate {
  background: var(--navy);
  color: var(--white);
}

.involved-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: inherit;
}
.involved-card-donate h3 { color: var(--gold-light); }

.involved-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 14px;
}
.involved-card-donate p { color: rgba(255,255,255,0.8); }

.donate-quote {
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  margin: 20px 0 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.donate-quote p,
.donate-quote { font-size: 0.92rem; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.6; }
.donate-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--gold);
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.membership-tiers {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.membership-tiers li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  font-size: 0.84rem;
}
.membership-tiers li:last-child { border-bottom: none; }
.tier-name { font-weight: 700; color: var(--navy); font-size: 0.84rem; min-width: 80px; }
.tier-desc { color: var(--text-muted); font-size: 0.8rem; }
.tier-price { font-weight: 700; color: var(--gold); white-space: nowrap; }
.tier-highlight { background: var(--gold-pale); margin: 0 -8px; padding: 10px 8px; border-radius: var(--radius); }
.tier-highlight .tier-name { color: var(--navy-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-ship-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-org {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li,
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom small {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}
.footer-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-privacy:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
}
.lightbox-inner img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: -40px; right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
  padding: 4px;
}
.lightbox-close:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .two-col-about { grid-template-columns: 1fr; gap: 56px; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .stat-card-wide { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .events-grid { grid-template-columns: 1fr; }
  .involved-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-wide { grid-column: span 2; }
  .info-bar-inner { flex-wrap: wrap; }
  .info-divider { display: none; }
  .info-item { min-width: 45%; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 99;
  }
  .nav-links a { font-size: 1.2rem; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; z-index: 100; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.4rem); }
  .hero-sub .hero-br { display: none; }

  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-card-wide { grid-column: 1 / -1; }

  .gallery-grid { grid-template-columns: 1fr; gap: 2px; }
  .gallery-item, .gallery-item-wide { grid-column: span 1; aspect-ratio: 16/9; }

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

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Logo image ---------- */
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}
.nav-logo-img:hover { opacity: 0.85; }

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

/* ---------- Hero video ---------- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Fall back to static image on reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

