/* ═══════════════════════════════════════════════
   HarborSPEC™ — Shared Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* ── VARIABLES ── */
:root {
  --navy:        #0d1b2a;
  --deep:        #1a2f45;
  --steel:       #2e4a62;
  --charcoal:    #1a1a1a;
  --charcoal2:   #222831;
  --brass:       #c49a2e;
  --brass-light: #e8be5a;
  --brass-dim:   #8a6a10;
  --fog:         #8fa8be;
  --light:       #d9e6f0;
  --white:       #f2f7fa;
  --green:       #2e9e5a;
  --red:         #c0392b;
  --shadow:      rgba(0,0,0,0.45);
  --radius:      6px;
  --transition:  0.22s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  background: var(--charcoal);
  color: var(--light);
  line-height: 1.6;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: var(--brass-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

/* ── RADIAL BG ── */
.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 80% 60% at 50% 30%,
    #222831 0%, #1a1a1a 50%, #111111 100%);
}

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,27,42,0.97);
  border-bottom: 2px solid var(--brass);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 62px;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem; letter-spacing: 0.04em;
  color: var(--white); white-space: nowrap;
}
.nav-logo span { color: var(--brass); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fog); padding: 8px 14px; border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brass-light); background: rgba(196,154,46,0.1);
}
.nav-links a.nav-cta {
  background: var(--brass); color: var(--navy);
  font-weight: 700; margin-left: 8px;
}
.nav-links a.nav-cta:hover { background: var(--brass-light); color: var(--navy); }

/* Hamburger */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--fog); transition: all var(--transition); border-radius: 2px; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  background: rgba(13,27,42,0.99);
  border-top: 1px solid var(--steel);
  padding: 12px 24px 20px;
}
.nav-mobile a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fog); padding: 12px 0;
  border-bottom: 1px solid rgba(46,74,98,0.4);
  display: block;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.nav-cta { color: var(--brass-light); }
.nav-mobile.open { display: flex; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 70px 24px 60px; position: relative; overflow: hidden;
}
.hero-logo-img {
  width: 180px; height: 180px; object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(196,154,46,0.3));
  animation: heroFloat 6s ease-in-out infinite;
  margin-bottom: 28px;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.04em; line-height: 1;
  color: var(--white); margin-bottom: 6px;
}
.hero h1 span { color: var(--brass); }
.hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fog); margin-bottom: 20px;
}
.hero-desc {
  max-width: 600px; font-size: 1.05rem;
  color: var(--light); line-height: 1.7;
  font-weight: 300; margin-bottom: 36px;
}
.hero-desc em { color: var(--brass-light); font-style: normal; font-weight: 500; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Brass divider line */
.brass-rule {
  width: 100%; max-width: 1200px; margin: 0 auto;
  height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 28px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--brass); color: var(--navy); }
.btn-primary:hover { background: var(--brass-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,154,46,0.35); }
.btn-outline { background: transparent; color: var(--brass-light); border: 1.5px solid var(--brass); }
.btn-outline:hover { background: rgba(196,154,46,0.12); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.07); color: var(--light); border: 1px solid rgba(255,255,255,0.12); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ══════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════ */
.section { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 60px 24px; }
.section-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 32px;
}
.section-head h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em; color: var(--white);
  white-space: nowrap;
}
.section-head .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
}
.section-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fog);
  margin-bottom: 28px; margin-top: -20px;
}

/* ══════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--deep);
  border: 1px solid var(--steel);
  border-radius: 10px; overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4), 0 0 0 1px rgba(196,154,46,0.15);
}
.product-card-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: var(--navy); position: relative;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img .img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fog); font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  flex-direction: column; gap: 8px;
}
.product-card-img .img-placeholder svg { opacity: 0.3; }
.product-card-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--white);
  margin-bottom: 4px;
}
.product-card-size {
  font-size: 0.78rem; color: var(--fog);
  letter-spacing: 0.08em; font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase; margin-bottom: 8px;
}
.product-card-desc {
  font-size: 0.88rem; color: var(--light);
  font-weight: 300; line-height: 1.5;
  flex: 1; margin-bottom: 14px;
}
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--steel);
}
.product-card-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; color: var(--brass-light); letter-spacing: 0.04em;
}
.product-card-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
}
.badge-custom { background: rgba(196,154,46,0.15); color: var(--brass-light); border: 1px solid rgba(196,154,46,0.3); }
.badge-tiered { background: rgba(46,158,90,0.15); color: #5dba85; border: 1px solid rgba(46,158,90,0.3); }
.badge-flagship { background: rgba(196,154,46,0.25); color: var(--brass-light); border: 1px solid var(--brass-dim); }

/* ══════════════════════════════════════════════
   COLOR SWATCHES
══════════════════════════════════════════════ */
.swatches-section { padding: 40px 24px; max-width: 1200px; margin: 0 auto; }
.swatches-group { margin-bottom: 28px; }
.swatches-group-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fog); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.swatches-group-label::after {
  content: ''; flex: 1; height: 1px;
  background: var(--steel);
}
.swatches-row { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch {
  width: 110px; cursor: pointer;
  transition: transform var(--transition);
}
.swatch:hover { transform: translateY(-3px); }
.swatch-circle {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  margin: 0 auto 8px;
  overflow: hidden; position: relative;
  transition: border-color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.swatch:hover .swatch-circle { border-color: var(--brass); }
.swatch-circle img { width: 100%; height: 100%; object-fit: cover; }
.swatch-circle.no-photo {
  /* CSS fallback colors until Benchy photos are added */
}
.swatch-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-align: center;
  color: var(--light);
}
.swatch-tag {
  font-size: 0.72rem; text-align: center;
  color: var(--fog); margin-top: 2px;
}

/* Lightbox */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox-caption {
  text-align: center; margin-top: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; letter-spacing: 0.08em;
  color: var(--light);
}
.lightbox-note { font-size: 0.8rem; color: var(--fog); margin-top: 4px; }
.lightbox-close {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; cursor: pointer;
  color: var(--fog); font-size: 1.6rem; line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   BUNDLES
══════════════════════════════════════════════ */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.bundle-card {
  background: var(--deep); border: 1px solid var(--steel);
  border-radius: 10px; padding: 22px;
  transition: all var(--transition); position: relative;
}
.bundle-card:hover { border-color: var(--brass); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }
.bundle-card.flagship {
  border-color: var(--brass-dim);
  background: linear-gradient(135deg, #1a2f45 0%, #1f3a20 100%);
}
.bundle-tag {
  position: absolute; top: -1px; right: 16px;
  background: var(--brass); color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 0 0 6px 6px;
}
.bundle-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--white);
  margin-bottom: 8px; padding-right: 60px;
}
.bundle-includes {
  font-size: 0.83rem; color: var(--fog);
  line-height: 1.5; margin-bottom: 14px;
}
.bundle-footer { display: flex; align-items: baseline; justify-content: space-between; }
.bundle-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; color: var(--brass-light);
}
.bundle-savings {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  color: var(--green); letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 3/4; overflow: hidden;
  border-radius: 8px; border: 1px solid var(--steel);
  cursor: pointer; position: relative;
  transition: all var(--transition);
}
.gallery-item:hover { border-color: var(--brass); transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.08em;
  color: var(--white); text-transform: uppercase;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-label { opacity: 1; }

/* ══════════════════════════════════════════════
   FORMS (contact/quote)
══════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid.full { grid-template-columns: 1fr; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fog);
}
.field-group input,
.field-group select,
.field-group textarea {
  background: var(--navy);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  color: var(--white); font-family: 'Barlow', sans-serif;
  font-size: 0.9rem; padding: 10px 12px;
  transition: border-color var(--transition);
  outline: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus { border-color: var(--brass); }
.field-group textarea { resize: vertical; min-height: 100px; }
.field-group select option { background: var(--navy); }

/* ══════════════════════════════════════════════
   POLICY STRIP
══════════════════════════════════════════════ */
.policy-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--steel);
  border: 1px solid var(--steel); border-radius: 8px;
  overflow: hidden; margin-top: 40px;
}
.policy-item {
  background: var(--deep); padding: 20px 18px;
  text-align: center;
}
.policy-item-icon { font-size: 1.5rem; margin-bottom: 6px; }
.policy-item-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass-light); margin-bottom: 4px;
}
.policy-item-text { font-size: 0.82rem; color: var(--fog); line-height: 1.4; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  margin-top: 80px;
  border-top: 2px solid var(--brass);
  background: rgba(13,27,42,0.97);
  padding: 40px 24px 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; letter-spacing: 0.04em;
  color: var(--white); margin-bottom: 8px;
}
.footer-brand .footer-logo span { color: var(--brass); }
.footer-brand p { font-size: 0.85rem; color: var(--fog); line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-light); margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 0.85rem;
  color: var(--fog); margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 28px auto 0;
  padding-top: 20px; border-top: 1px solid var(--steel);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--steel);
  flex-wrap: wrap; gap: 8px;
}

/* ══════════════════════════════════════════════
   THANK YOU PAGE
══════════════════════════════════════════════ */
.thankyou-wrap {
  min-height: 70vh; display: flex;
  align-items: center; justify-content: center;
  padding: 60px 24px; text-align: center;
}
.thankyou-inner { max-width: 560px; }
.thankyou-icon { font-size: 4rem; margin-bottom: 20px; }
.thankyou-inner h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; letter-spacing: 0.06em;
  color: var(--white); margin-bottom: 10px;
}
.thankyou-inner h1 span { color: var(--brass); }
.thankyou-inner p { color: var(--light); font-weight: 300; line-height: 1.7; margin-bottom: 12px; }
.thankyou-steps {
  background: var(--deep); border: 1px solid var(--steel);
  border-radius: 10px; padding: 24px; margin: 28px 0;
  text-align: left;
}
.thankyou-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--steel);
}
.thankyou-step:last-child { border-bottom: none; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brass); color: var(--navy);
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-text { font-size: 0.9rem; color: var(--light); line-height: 1.5; }
.step-text strong { color: var(--brass-light); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .policy-strip { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 50px 16px 40px; }
  .hero-logo-img { width: 130px; height: 130px; }
  .section { padding: 40px 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .policy-strip { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
