/*
Theme Name: Nanje Boats Elementor
Theme URI: https://nanjeboats.com
Author: Nanje Marine
Description: Lightweight Elementor-ready base theme for Nanje Boats. Dark nautical design — all page content built inside Elementor and importable via JSON templates.
Version: 3.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
Text Domain: nanje-boats
Tags: custom-logo, custom-menu, full-width-template, elementor
*/

/* ==================================================
   DESIGN TOKENS
================================================== */
:root {
  --nb-dark:    #050d1a;
  --nb-dark2:   #081528;
  --nb-dark3:   #0c1f3d;
  --nb-gold:    #d4a017;
  --nb-gold-lt: #f0c040;
  --nb-gold-dk: #b8880e;
  --nb-white:   #ffffff;
  --nb-off:     #f5f0e8;
  --nb-light:   #e8e4dc;
  --nb-muted:   #9a9490;
  --nb-serif:   'Cormorant Garamond', Georgia, serif;
  --nb-sans:    'Barlow', Arial, sans-serif;
  --nb-cond:    'Barlow Condensed', Arial, sans-serif;
  --nb-hh:      80px;
}

/* ==================================================
   FORCE DARK BACKGROUND EVERYWHERE
================================================== */
html { background: var(--nb-dark) !important; }

body,
body.page,
body.home,
body.single,
body.archive,
body.error404 {
  background: var(--nb-dark) !important;
  color: var(--nb-off) !important;
  font-family: var(--nb-sans);
  margin: 0; padding: 0;
  overflow-x: hidden;
}

#page, .site, #wrapper,
#content, .site-content,
.content-area, #primary, .site-main,
main, article, .hentry, .hfeed {
  background: var(--nb-dark) !important;
}

.site-content { padding-top: 0 !important; margin-top: 0 !important; }

*, *::before, *::after { box-sizing: border-box; }
a { color: var(--nb-gold-lt); text-decoration: none; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
h1,h2,h3,h4,h5,h6 { font-family: var(--nb-serif); line-height: 1.15; margin: 0 0 1rem; }

/* ==================================================
   HEADER
================================================== */
.nb-topbar {
  background: var(--nb-dark2);
  border-bottom: 1px solid rgba(212,160,23,0.12);
  padding: 0.35rem 0;
  position: relative;
  z-index: 10000;
}

.nb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nb-topbar a,
.nb-topbar span {
  font-family: var(--nb-cond);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nb-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: color 0.25s;
}
.nb-topbar a:hover { color: var(--nb-gold-lt); }

.nb-header {
  position: sticky;
  top: 0;
  left: 0; right: 0;
  z-index: 9999;
  background: rgba(5,13,26,0.97);
  border-bottom: 1px solid rgba(212,160,23,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  height: var(--nb-hh);
}

.nb-header.scrolled {
  background: rgba(5,13,26,1);
  border-bottom-color: rgba(212,160,23,0.35);
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.nb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nb-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; flex-shrink: 0;
}
.nb-logo img { height: 52px; width: auto; }
.nb-logo-text .name {
  display: block;
  font-family: var(--nb-serif);
  font-size: 1.4rem; font-weight: 700;
  color: var(--nb-off); line-height: 1;
}
.nb-logo-text .tag {
  display: block;
  font-family: var(--nb-cond);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--nb-gold);
  margin-top: 2px;
}

.nb-nav {
  display: flex; align-items: center; gap: 0;
}
.nb-nav a {
  font-family: var(--nb-cond);
  font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--nb-light);
  padding: 0.45rem 0.75rem;
  text-decoration: none; position: relative;
  transition: color 0.25s;
}
.nb-nav a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0.75rem; right: 0.75rem;
  height: 1px; background: var(--nb-gold-lt);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.nb-nav a:hover, .nb-nav a.current { color: var(--nb-gold-lt); }
.nb-nav a:hover::after, .nb-nav a.current::after { transform: scaleX(1); }

.nb-nav-cta {
  margin-left: 0.75rem;
  padding: 0.55rem 1.3rem;
  background: var(--nb-gold);
  color: #050d1a !important;
  font-family: var(--nb-cond);
  font-size: 0.73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
  text-decoration: none; transition: background 0.25s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.nb-nav-cta:hover { background: var(--nb-gold-lt); color: #050d1a !important; }
.nb-nav-cta::after { display: none !important; }

.nb-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nb-toggle span { display: block; width: 22px; height: 2px; background: var(--nb-gold-lt); transition: all 0.25s; }

/* ==================================================
   WHATSAPP FAB
================================================== */
.nb-wa-fab {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  width: 56px; height: 56px;
  background: #25D366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.25s; text-decoration: none;
}
.nb-wa-fab:hover { background: #1db954; color: #fff; transform: scale(1.1); }
.nb-wa-fab::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid rgba(37,211,102,0.35);
  animation: waRing 2s infinite;
}
@keyframes waRing { 0%{transform:scale(1);opacity:1} 100%{transform:scale(1.5);opacity:0} }

/* ==================================================
   FOOTER
================================================== */
.nb-footer {
  background: var(--nb-dark) !important;
  border-top: 1px solid rgba(212,160,23,0.12);
  padding: 4rem 0 2rem;
}

.nb-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem; margin-bottom: 3rem;
  max-width: 1280px; margin-left: auto; margin-right: auto;
  padding: 0 2rem;
}

.nb-footer-col h4 {
  font-family: var(--nb-cond);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--nb-gold);
  margin-bottom: 1.1rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212,160,23,0.12);
}

.nb-footer-links { list-style: none; padding: 0; margin: 0; }
.nb-footer-links li { margin-bottom: 0.4rem; }
.nb-footer-links a {
  font-size: 0.85rem; color: var(--nb-muted);
  display: flex; align-items: center; gap: 0.35rem;
  text-decoration: none; transition: color 0.25s;
}
.nb-footer-links a::before { content: '›'; color: var(--nb-gold-dk); font-size: 1rem; }
.nb-footer-links a:hover { color: var(--nb-gold-lt); }

.nb-footer-desc { font-size: 0.85rem; color: var(--nb-muted); line-height: 1.7; max-width: 260px; margin-bottom: 1.25rem; }

.nb-socials { display: flex; gap: 0.5rem; }
.nb-social {
  width: 34px; height: 34px;
  border: 1px solid rgba(212,160,23,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--nb-muted); font-size: 0.85rem;
  transition: all 0.25s; text-decoration: none;
  clip-path: polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,5px 100%,0 calc(100% - 5px));
}
.nb-social:hover { background: rgba(212,160,23,0.1); color: var(--nb-gold-lt); border-color: var(--nb-gold); }

.nb-footer-contact-item {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.85rem; margin-bottom: 0.85rem;
}
.nb-footer-contact-item .ico { color: var(--nb-gold); flex-shrink: 0; margin-top: 0.1rem; }
.nb-footer-contact-item a,
.nb-footer-contact-item span { color: var(--nb-muted); text-decoration: none; line-height: 1.5; }
.nb-footer-contact-item a:hover { color: var(--nb-gold-lt); }

.nb-footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 2rem 2rem 0;
  border-top: 1px solid rgba(212,160,23,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.nb-footer-bottom p { font-size: 0.78rem; color: var(--nb-muted); margin: 0; }
.nb-footer-bottom a { color: var(--nb-gold-dk); }

/* ==================================================
   ELEMENTOR GLOBAL OVERRIDES
================================================== */
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.e-con, .e-con-inner {
  background-color: transparent;
}

/* Make Elementor text elements inherit dark theme colors */
.elementor-widget-text-editor p,
.elementor-widget-text-editor li {
  color: var(--nb-light);
}

/* ==================================================
   CUSTOM ELEMENTOR WIDGET STYLES
   (for custom HTML widgets used in Elementor)
================================================== */

/* Boat Slider */
.nb-boat-slider { position: relative; overflow: hidden; }
.nb-slider-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }

.nb-slide {
  min-width: 33.333%;
  padding: 0 0.75rem;
  flex-shrink: 0;
}

.nb-boat-card {
  background: var(--nb-dark2);
  overflow: hidden;
  clip-path: polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
  transition: transform 0.3s;
}
.nb-boat-card:hover { transform: translateY(-4px); }

.nb-boat-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.nb-boat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.nb-boat-card:hover .nb-boat-thumb img { transform: scale(1.05); }

.nb-price-tag {
  position: absolute; top: 0.85rem; right: 0.85rem;
  background: var(--nb-gold); color: #050d1a;
  padding: 0.3rem 0.85rem;
  font-family: var(--nb-cond); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em;
}

.nb-boat-body { padding: 1.35rem; }
.nb-boat-size {
  font-family: var(--nb-cond); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--nb-gold); margin-bottom: 0.3rem;
}
.nb-boat-body h3 { font-size: 1.1rem; color: var(--nb-off); margin-bottom: 1rem; }

.nb-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(212,160,23,0.9); color: #050d1a;
  border: none; cursor: pointer; font-size: 1.1rem; font-weight: 700;
  clip-path: polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,6px 100%,0 calc(100% - 6px));
  z-index: 10; transition: background 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.nb-slider-btn:hover { background: var(--nb-gold-lt); }
.nb-slider-prev { left: 0; }
.nb-slider-next { right: 0; }

.nb-slider-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 1.5rem;
}
.nb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(212,160,23,0.3); border: none; cursor: pointer;
  transition: background 0.25s; padding: 0;
}
.nb-dot.active { background: var(--nb-gold); }

/* NB Buttons */
.nb-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.82rem 1.9rem;
  font-family: var(--nb-cond); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  cursor: pointer; text-decoration: none; transition: all 0.28s;
  border: none; white-space: nowrap;
}
.nb-btn-gold {
  background: var(--nb-gold); color: #050d1a;
  clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
}
.nb-btn-gold:hover { background: var(--nb-gold-lt); color: #050d1a; transform: translateY(-2px); }
.nb-btn-outline {
  background: transparent; color: var(--nb-gold-lt);
  border: 1px solid rgba(212,160,23,0.45);
  clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
}
.nb-btn-outline:hover { background: rgba(212,160,23,0.1); border-color: var(--nb-gold-lt); }
.nb-btn-wa { background: #25D366; color: #fff;
  clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
}
.nb-btn-wa:hover { background: #1db954; color: #fff; transform: translateY(-2px); }

/* Section label */
.nb-label {
  font-family: var(--nb-cond); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.25em; color: var(--nb-gold);
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem;
}
.nb-label::before, .nb-label::after {
  content: ''; display: block; width: 32px; height: 1px; background: var(--nb-gold-dk);
}
.nb-label.left::after { display: none; }

/* Gold divider */
.nb-divider {
  width: 50px; height: 2px;
  background: linear-gradient(to right,var(--nb-gold),var(--nb-gold-lt));
  margin: 1.1rem 0 1.75rem;
}
.nb-divider.center { margin-left: auto; margin-right: auto; }

/* Icon boxes / why cards */
.nb-icon-box {
  background: var(--nb-dark2);
  padding: 1.85rem 1.65rem;
  border: 1px solid rgba(212,160,23,0.08);
  clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
  transition: border-color 0.28s, transform 0.28s;
  height: 100%;
}
.nb-icon-box:hover { border-color: rgba(212,160,23,0.3); transform: translateY(-3px); }
.nb-icon-box .icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.nb-icon-box h4 {
  font-family: var(--nb-cond); font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--nb-gold-lt); margin-bottom: 0.5rem;
}
.nb-icon-box p { font-size: 0.87rem; color: var(--nb-muted); line-height: 1.6; margin: 0; }

/* Spec card */
.nb-spec {
  background: var(--nb-dark2);
  padding: 1.65rem;
  display: flex; gap: 0.8rem;
  transition: background 0.25s;
}
.nb-spec:hover { background: rgba(26,61,114,0.4); }
.nb-spec-ico { font-size: 1.3rem; flex-shrink: 0; }
.nb-spec strong {
  display: block; font-family: var(--nb-cond); font-size: 0.76rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--nb-gold-lt); margin-bottom: 0.3rem;
}
.nb-spec p { font-size: 0.84rem; color: var(--nb-muted); line-height: 1.5; margin: 0; }

/* CTA section */
.nb-cta-inner {
  text-align: center; position: relative;
  padding: 4.5rem 2rem;
}
.nb-cta-inner h2 { font-size: clamp(1.8rem,3.5vw,3rem); margin-bottom: 0.75rem; }
.nb-cta-inner > p { color: var(--nb-muted); max-width: 600px; margin: 0 auto 2rem; font-size: 1rem; }
.nb-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.nb-cta-contacts { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; }
.nb-cta-contact {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--nb-cond); font-size: 0.78rem; color: var(--nb-muted);
}
.nb-cta-contact a { color: var(--nb-light); text-decoration: none; }
.nb-cta-contact a:hover { color: var(--nb-gold-lt); }

/* About stat */
.nb-stat-box { text-align: center; padding: 1.75rem 1rem; background: var(--nb-dark2); }
.nb-stat-num { font-family: var(--nb-serif); font-size: 2.4rem; font-weight: 700; color: var(--nb-gold-lt); display: block; line-height: 1; }
.nb-stat-lbl { font-family: var(--nb-cond); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--nb-muted); display: block; margin-top: 0.35rem; }

/* Contact form */
.nb-form { background: var(--nb-dark2); padding: 2.25rem; }
.nb-form h3 { font-size: 1.5rem; margin-bottom: 1.4rem; color: var(--nb-off); }
.nb-fg { margin-bottom: 1.1rem; }
.nb-fg label { display: block; font-family: var(--nb-cond); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--nb-gold); margin-bottom: 0.35rem; }
.nb-fg input, .nb-fg select, .nb-fg textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(5,13,26,0.8); border: 1px solid rgba(212,160,23,0.18);
  color: var(--nb-off); font-family: var(--nb-sans); font-size: 0.95rem;
  outline: none; border-radius: 0; transition: border-color 0.25s;
}
.nb-fg input:focus, .nb-fg select:focus, .nb-fg textarea:focus { border-color: var(--nb-gold); }
.nb-fg textarea { min-height: 120px; resize: vertical; }
.nb-fg select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5z' fill='%23d4a017'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.nb-fg select option { background: #081528; }
.nb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nb-fmsg { display: none; padding: 0.75rem 1rem; margin-bottom: 1rem; font-family: var(--nb-cond); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* Contact info */
.nb-cinfo-item { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.35rem; padding-bottom: 1.35rem; border-bottom: 1px solid rgba(212,160,23,0.07); }
.nb-cinfo-ico { width: 42px; height: 42px; background: rgba(212,160,23,0.07); border: 1px solid rgba(212,160,23,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; clip-path: polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,5px 100%,0 calc(100% - 5px)); }
.nb-cinfo-ico-text strong { display: block; font-family: var(--nb-cond); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--nb-gold); margin-bottom: 0.2rem; }
.nb-cinfo-ico-text a, .nb-cinfo-ico-text p { font-size: 0.95rem; color: var(--nb-light); margin: 0; text-decoration: none; }
.nb-cinfo-ico-text a:hover { color: var(--nb-gold-lt); }

/* Prose content */
.nb-prose h2 { font-size: 1.65rem; color: var(--nb-off); margin: 1.75rem 0 0.85rem; }
.nb-prose h3 { font-size: 1.2rem; color: var(--nb-gold-lt); margin: 1.35rem 0 0.65rem; }
.nb-prose p { color: var(--nb-light); line-height: 1.85; }
.nb-prose ul { list-style: none; padding: 0; margin: 0.75rem 0 1.35rem; }
.nb-prose ul li { padding: 0.32rem 0 0.32rem 1.35rem; position: relative; color: var(--nb-light); font-size: 0.95rem; border-bottom: 1px solid rgba(212,160,23,0.05); }
.nb-prose ul li::before { content: '›'; position: absolute; left: 0; color: var(--nb-gold); font-size: 1.05rem; }
.nb-prose strong { color: var(--nb-off); }

/* ==================================================
   RESPONSIVE
================================================== */

/* ==================================================
   BOAT PRICE CARDS (Screenshot layout)
   Grid of 3 cards with strikethrough original price
================================================== */
.nb-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.nb-price-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s;
  cursor: pointer;
  border: 1px solid #e5e5e5;
}

.nb-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.nb-price-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #c0392b;
}

.nb-price-card-body {
  padding: 1rem 1rem 1.25rem;
  background: #fff;
}

.nb-price-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111;
  margin-bottom: 0.6rem;
  min-height: 2.4em;
  line-height: 1.3;
}

.nb-price-card-pricing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nb-price-original {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  color: #888;
  text-decoration: line-through;
  font-weight: 500;
}

.nb-price-sale {
  background: #c0392b;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.04em;
}

.nb-price-card-cta {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
}

.nb-price-card-cta a {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.22s;
}

.nb-price-card-cta .cta-wa {
  background: #25D366;
  color: #fff;
}

.nb-price-card-cta .cta-wa:hover { background: #1db954; }

.nb-price-card-cta .cta-info {
  background: #d4a017;
  color: #050d1a;
}

.nb-price-card-cta .cta-info:hover { background: #f0c040; }

/* Dark wrapper for the price grid section */
.nb-price-section {
  background: #050d1a;
  padding: 4rem 0;
}

.nb-price-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Logo bar in footer */
.nb-logo-bar {
  background: #050d1a;
  border-top: 1px solid rgba(212,160,23,0.15);
  border-bottom: 1px solid rgba(212,160,23,0.08);
  padding: 1.75rem 0;
}

.nb-logo-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nb-logo-bar-title {
  text-align: center;
  margin-bottom: 1.1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(212,160,23,0.5);
}

.nb-logo-bar-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.nb-logo-bar-logos a {
  opacity: 0.82;
  transition: opacity 0.25s, transform 0.25s;
  display: block;
}

.nb-logo-bar-logos a:hover {
  opacity: 1;
  transform: scale(1.05);
}

.nb-logo-bar-logos img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Responsive price grid */
@media (max-width: 900px) {
  .nb-price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .nb-price-grid { grid-template-columns: 1fr; }
  .nb-logo-bar-logos { gap: 1.5rem; }
  .nb-logo-bar-logos img { height: 46px; }
}

/* ==================================================
   BOAT CARD GALLERY (3 images per card)
================================================== */
.nb-boat-gallery {
  position: relative;
}

.nb-gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: #081528;
  border-bottom: 3px solid #c0392b;
}

.nb-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.nb-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #050d1a;
  padding: 3px 0 0;
}

.nb-gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #081528;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.nb-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, opacity 0.2s;
  opacity: 0.6;
}

.nb-gallery-thumb:hover img,
.nb-gallery-thumb.active img {
  opacity: 1;
  transform: scale(1.05);
}

.nb-gallery-thumb.active {
  border-color: #d4a017;
}

.nb-gallery-thumb:hover {
  border-color: rgba(212,160,23,0.5);
}

/* Price card with gallery */
.nb-price-card .nb-boat-gallery {
  display: block;
}

/* ====================================================
   MOBILE OVERLAY — #nb-mobile-menu
==================================================== */
#nb-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #050d1a;
  flex-direction: column;
  overflow: hidden;
  z-index: 2147483647;
}

#nb-mobile-menu.open {
  display: flex;
}

.nb-mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(212,160,23,0.18);
  flex-shrink: 0;
  background: #050d1a;
}

.nb-mob-logo img {
  height: 44px;
  width: auto;
  display: block;
}

#nb-mob-close {
  width: 40px;
  height: 40px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  color: #f0c040;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

#nb-mob-close:hover { background: rgba(212,160,23,0.22); }

.nb-mob-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nb-mob-nav a,
.nb-mob-link {
  display: block;
  padding: 0.95rem 1.5rem;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e8e4dc;
  text-decoration: none;
  border-bottom: 1px solid rgba(212,160,23,0.1);
  background: transparent;
  transition: background 0.18s, color 0.18s;
}

.nb-mob-nav a:hover,
.nb-mob-link:hover,
.nb-mob-nav a.current,
.nb-mob-link.current {
  background: rgba(212,160,23,0.07);
  color: #f0c040;
}

.nb-mob-cta {
  flex-shrink: 0;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(212,160,23,0.18);
  background: #050d1a;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nb-mob-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1rem;
  background: #25D366;
  color: #fff;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.2s;
}

.nb-mob-wa:hover { background: #1db954; color: #fff; }

.nb-mob-phone {
  display: block;
  text-align: center;
  color: #9a9490;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

body.nb-menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}

/* ====================================================
   DESKTOP (min-width: 769px)
   Show desktop nav, hide mobile toggle/overlay
==================================================== */
@media (min-width: 769px) {
  .nb-toggle { display: none !important; }
  #nb-mobile-menu { display: none !important; }
  .nb-nav { display: flex !important; }
}

/* ====================================================
   MOBILE (max-width: 768px)
   Hide desktop nav, show toggle
==================================================== */
@media (max-width: 768px) {
  :root { --nb-hh: 62px; }

  .nb-topbar { display: none; }
  .nb-nav    { display: none !important; }
  .nb-toggle { display: flex !important; }

  /* Prevent horizontal scroll */
  html, body { overflow-x: hidden !important; }

  /* Single column for all inline grid layouts */
  .elementor-widget-html div[style*="display:grid"],
  .elementor-widget-html div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  /* Wrap flex rows */
  .elementor-widget-html div[style*="display:flex"],
  .elementor-widget-html div[style*="display: flex"] {
    flex-wrap: wrap !important;
  }

  /* Hero section padding fix */
  .elementor-widget-html div[style*="padding:120px"] {
    padding: 80px 1.25rem 3rem !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }

  /* Section padding */
  .elementor-widget-html div[style*="padding:5rem 2rem"],
  .elementor-widget-html div[style*="padding: 5rem 2rem"] {
    padding: 2.5rem 1.25rem !important;
  }

  .elementor-widget-html div[style*="padding:4rem 2rem"],
  .elementor-widget-html div[style*="padding: 4rem 2rem"] {
    padding: 2rem 1.25rem !important;
  }

  /* Container padding */
  .elementor-widget-html div[style*="max-width:1280px"],
  .elementor-widget-html div[style*="max-width: 1280px"] {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Price cards: 1 column */
  .nb-price-grid { grid-template-columns: 1fr !important; }

  /* Footer: 1 column */
  .nb-footer-grid {
    grid-template-columns: 1fr !important;
    padding: 0 1.25rem !important;
    gap: 2rem !important;
  }
  .nb-footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem 0;
  }

  /* Logo bar */
  .nb-logo-bar-logos { gap: 1rem; }
  .nb-logo-bar-logos img { height: 38px; }

  /* Gallery thumbs */
  .nb-gallery-thumbs { grid-template-columns: repeat(3, 1fr); gap: 2px; }

  /* Slider: 1 slide visible */
  .nb-slide { min-width: 100% !important; padding: 0 !important; }
}

@media (max-width: 480px) {
  .nb-logo-bar-logos img { height: 32px; }
  .nb-logo-bar-logos { gap: 0.75rem; }
}
