/* ===========================================================
   American Nautical Holdings — concept site
   Plain CSS, no build step. Edit the variables below to rebrand.
   =========================================================== */

:root {
  --navy: #021527;          /* Century brand navy */
  --navy-deep: #010b14;
  --navy-soft: #0c2236;     /* lighter navy for gradients/overlays */
  --gold: #bfa888;          /* Century champagne accent */
  --gold-light: #d8c8b0;
  --gold-deep: #9c8458;     /* readable champagne for small text on light bg */
  --cream: #f6f4ef;
  --ink: #1a2230;
  --muted: #6b7785;
  --white: #ffffff;
  --line: #e6e0d6;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(2, 21, 39, 0.10);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.12; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 600; color: var(--gold); margin-bottom: 14px;
}
.eyebrow-dark { color: var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 0.8rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.btn-small {
  padding: 10px 22px; font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase;
  background: transparent; color: var(--navy); border: 1px solid var(--navy);
}
.btn-small:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 21, 39, 0.92);
  backdrop-filter: blur(8px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand-mark { font-size: 1.3rem; color: var(--gold); }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-text { font-size: 1.02rem; letter-spacing: .02em; }
.brand-text strong { color: var(--gold-light); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255,255,255,.85); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--white); }
.nav .nav-cta {
  background: var(--gold); color: var(--navy-deep); padding: 8px 18px;
  border-radius: 999px; font-weight: 600;
}
.nav .nav-cta:hover { background: var(--gold-light); color: var(--navy-deep); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 24px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 21, 39, .94) 0%, rgba(2, 21, 39, .72) 42%, rgba(2, 21, 39, .34) 100%),
    url('assets/hero.png') center / cover no-repeat;
  background-color: var(--navy-deep); /* fallback before image loads */
  padding: 124px 0 128px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: var(--white); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.85); margin: 22px 0 32px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-note { color: var(--muted); font-size: 0.9rem; margin-top: 8px; font-style: italic; }

/* ---------- Heritage ---------- */
.heritage-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.heritage-copy p { margin-top: 16px; color: #36414f; }
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stats li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; box-shadow: var(--shadow);
}
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--navy); font-weight: 700; }
.stat-label { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Brands ---------- */
.brands { background: var(--white); }
.brand-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.brand-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease; }
.brand-card:hover { transform: translateY(-4px); }
.brand-card-top { padding: 28px; color: var(--white); }
.brand-card-top h3 { color: var(--white); font-size: 1.5rem; }
.brand-card-top p { text-transform: uppercase; letter-spacing: .15em; font-size: 0.75rem; opacity: .85; margin-top: 4px; }
.brand-card-navy { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.brand-card-alt { background: linear-gradient(135deg, #243140, var(--navy-deep)); }
.brand-card-body { padding: 24px 28px 28px; }
.brand-card-body p { color: #36414f; }
.link-arrow { display: inline-block; margin-top: 14px; color: var(--gold-deep); font-weight: 600; }
.link-arrow:hover { color: var(--navy); }

/* ---------- Boat lineup ---------- */
.boat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.boat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease; }
.boat-card:hover { transform: translateY(-4px); }
.boat-photo { position: relative; height: 180px; display: flex; align-items: flex-end; }
.boat-photo-1 { background: linear-gradient(135deg, #0c2236, #021527); }
.boat-photo-2 { background: linear-gradient(135deg, #16273a, #021527); }
.boat-photo-3 { background: linear-gradient(135deg, #021527, #1a2e44); }
.boat-photo-4 { background: linear-gradient(135deg, #2e2a20, #07111e); }
.photo-tag { margin: 12px; font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.4); padding: 3px 8px; border-radius: 6px; }
.boat-card-body { padding: 22px; }
.boat-type { color: var(--gold); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; margin: 2px 0 10px; }
.boat-card-body p { color: #36414f; margin-bottom: 16px; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy p { color: #36414f; margin-top: 12px; }
.locations { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.locations li { padding-left: 16px; border-left: 3px solid var(--gold); color: var(--ink); }
.lead-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font: inherit; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-status { margin-top: 12px; font-size: 0.9rem; color: var(--navy); font-weight: 600; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 44px 0 22px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand { color: var(--white); }
.footer-tag { font-size: 0.85rem; color: rgba(255,255,255,.55); margin-top: 4px; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--white); }
.disclaimer { max-width: var(--container); margin: 26px auto 0; padding: 18px 24px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.78rem; color: rgba(255,255,255,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy-deep); padding: 0; max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav.open { max-height: 320px; padding: 10px 0 18px; }
  .nav a { padding: 12px 24px; width: 100%; }
  .heritage-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .brand-cards { grid-template-columns: 1fr; }
  .boat-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- AI Boat Concierge widget ---------- */
.concierge-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold); color: var(--navy-deep);
  border: 0; border-radius: 999px; padding: 12px 20px;
  font: 600 0.95rem 'Inter', sans-serif; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .15s ease, background .15s ease;
}
.concierge-launcher:hover { transform: translateY(-2px); background: var(--gold-light); }
.cc-launch-icon { font-size: 1.1rem; }

.concierge-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 81;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 40px));
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(8, 26, 48, .28);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.concierge-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.cc-head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--white);
}
.cc-head-title { display: flex; align-items: center; gap: 10px; }
.cc-head-title strong { display: block; font-family: 'Inter', sans-serif; font-size: .98rem; color: var(--white); }
.cc-sub { display: block; font-size: .76rem; color: rgba(255, 255, 255, .7); }
.cc-dot { width: 9px; height: 9px; border-radius: 50%; background: #46d39a; box-shadow: 0 0 0 3px rgba(70, 211, 154, .25); }
.cc-close { background: none; border: 0; color: rgba(255, 255, 255, .8); font-size: 1rem; cursor: pointer; padding: 4px; }
.cc-close:hover { color: var(--white); }

.cc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.cc-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.cc-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; }
.cc-user { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 5px; }
.cc-typing { color: var(--muted); }

.cc-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.cc-input { flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .92rem; color: var(--ink); }
.cc-input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.cc-send { flex: 0 0 auto; width: 42px; border: 0; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-size: 1.1rem; cursor: pointer; }
.cc-send:hover { background: var(--gold-light); }
.cc-foot { font-size: .68rem; color: var(--muted); text-align: center; padding: 0 12px 10px; background: var(--white); }

@media (max-width: 480px) {
  .concierge-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); border-radius: 14px; }
  .concierge-launcher { right: 12px; bottom: 12px; }
}
