/* ================================================================
   JNB BOAT REPAIR LLC — Global Stylesheet
   Shared across: index.html, about.html, services.html,
                  gallery.html, testimonials.html, contact.html
   ================================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────────── */
:root {
  --navy:   #0a1628;
  --ocean:  #0d3a5c;
  --teal:   #0e7c84;
  --gold:   #c8923a;
  --light:  #f0f4f8;
  --white:  #ffffff;
  --text:   #1c2b3a;
  --muted:  #5a7080;
  --transition: .25s ease;
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TOP BAR ────────────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .04em;
  padding: .5rem 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--gold); transition: color var(--transition); }

/* ── HEADER / NAV ───────────────────────────────────────────────── */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(10,22,40,.12);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo-block { display: flex; align-items: center; gap: .9rem; }
.logo-icon {
  width: 52px; height: 52px;
  background: var(--ocean);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.logo-icon:hover { background: var(--teal); }
.logo-icon svg { width: 30px; height: 30px; fill: var(--gold); }
.logo-text { line-height: 1; }
.logo-text .brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: .06em;
  color: var(--navy);
}
.logo-text .sub {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: .12rem;
}

.jnb-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 52px;
}

.jnb-line {
  width: 30px;
  height: 2px;
  background: var(--ocean);
  opacity: 0.6;
}

.jnb-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: #0B3D91;
  font-weight: 400;
  white-space: nowrap;
}

.jnb-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.jnb-anchor svg {
  height: 44px;
  width: auto;
}

@media (max-width: 768px) {
  .jnb-logo {
    gap: 0.25rem;
    height: 44px;
  }
  .jnb-text {
    font-size: 1.2rem;
  }
  .jnb-anchor svg {
    height: 36px;
  }
  .jnb-line {
    width: 15px;
  }
}

@media (max-width: 480px) {
  .jnb-line {
    display: none;
  }
  .jnb-logo {
    gap: 0.15rem;
  }
  .jnb-text {
    font-size: 1rem;
  }
  .jnb-anchor svg {
    height: 28px;
  }
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
nav ul li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--teal);
  border-bottom-color: var(--gold);
}
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: .55rem 1.3rem !important;
  border-radius: 3px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--ocean) !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  aria-label: "Toggle menu";
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO (shared) ──────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 55%, #1a5c7a 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 20px;
  overflow: hidden;
}
.hero--tall { min-height: 88vh; }

.hero-waves {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 20px,
    rgba(255,255,255,.3) 20px,
    rgba(255,255,255,.3) 21px
  );
}
.hero-circle {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 650px; height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,132,.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero-circle--left {
  right: auto;
  left: -120px;
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 20px;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: white;
}
.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  margin-bottom: 1.4rem;
  border-radius: 2px;
  animation: fadeUp .6s ease both;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .95;
  color: var(--white);
  letter-spacing: .03em;
  margin-bottom: 1.6rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp .6s .15s ease both;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.4rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp .6s .3s ease both;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .6s .45s ease both;
}
.hero-breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
  animation: fadeUp .5s ease both;
}
.hero-breadcrumb a { color: rgba(255,255,255,.5); }
.hero-breadcrumb a:hover { color: var(--gold); }
.hero-breadcrumb span { color: var(--gold); }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .9rem;
  padding: .85rem 2rem;
  border-radius: 3px;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #d9a24a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,146,58,.3);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .9rem;
  padding: .85rem 2rem;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,.45);
  transition: border-color .2s, transform .15s;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

.btn-teal {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .9rem;
  padding: .85rem 2rem;
  border-radius: 3px;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-teal:hover { background: var(--ocean); transform: translateY(-2px); }

/* ── SECTION BASE ───────────────────────────────────────────────── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .6rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
  letter-spacing: .03em;
  line-height: 1;
  margin-bottom: 1rem;
}
.section-title--white { color: var(--white); }
.divider {
  width: 50px; height: 3px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}
.divider--center { margin: 0 auto 1.5rem; }
.section-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}
.section-lead--center { text-align: center; margin: 0 auto 3rem; }

/* ── CTA BANNER ─────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--teal) 100%);
  padding: 4rem 2rem;
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: .04em;
  margin-bottom: .8rem;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}
.cta-banner-inner { max-width: 1200px; margin: 0 auto; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: #040d19;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  text-align: center;
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  text-align: left;
}
.footer-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: rgba(255,255,255,.85);
  letter-spacing: .08em;
  margin-bottom: .6rem;
}
.footer-desc {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  max-width: 260px;
}
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  margin-bottom: .55rem;
}
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.2rem 2rem;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}
/* staggered delays */
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }

/* ── KEYFRAMES ──────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}
@keyframes wave {
  0%   { transform: translateX(0) scaleY(1); }
  50%  { transform: translateX(-25px) scaleY(.95); }
  100% { transform: translateX(0) scaleY(1); }
}
@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes blink {
  0%, 100% { border-color: var(--gold); }
  50%       { border-color: transparent; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── UTILS ──────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.bg-light { background: var(--light); }
.bg-navy  { background: var(--navy); }

/* ── FORM STYLES (shared) ───────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .4rem;
}
.form-group label.dark { color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  padding: .75rem 1rem;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: .95rem;
  font-weight: 300;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input.dark-input,
.form-group textarea.dark-input,
.form-group select.dark-input {
  background: var(--white);
  border-color: #d0d8e0;
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,132,.15); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy); }
.form-group .error-msg {
  font-size: .78rem;
  color: #f05050;
  margin-top: .3rem;
  display: none;
}
.form-group.has-error input,
.form-group.has-error textarea { border-color: #f05050; }
.form-group.has-error .error-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* hours badge */
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(14,124,132,.2);
  border: 1px solid rgba(14,124,132,.4);
  border-radius: 30px;
  padding: .5rem 1.2rem;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  margin-top: 1.5rem;
}
.hours-dot {
  width: 8px; height: 8px;
  background: #3ecb5f;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .hamburger { display: flex; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.1); padding: 1rem 2rem 1.5rem; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: .8rem; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1.5rem; }
}
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    min-height: 500px;
  }
}
@media (max-width: 600px) {
  .topbar { justify-content: center; gap: .8rem; font-size: .72rem; }
  .hero-content { padding: 4rem 1.5rem; }
  .footer-main { grid-template-columns: 1fr; }
}
