/* =============================================
   DISCOVER ABACO BAHAMAS — Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Dancing+Script:wght@600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:   #0d2b45;
  --teal:   #1a9e96;
  --teal-light: #22b5ac;
  --sand:   #f5f0e4;
  --cream:  #faf8f3;
  --white:  #ffffff;
  --gold:   #c9a84c;
  --dark:   #1c1c1c;
  --text:   #3a3a3a;
  --muted:  #7a7a7a;
  --border: #e0ddd5;
  --nav-h:  80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  color: var(--navy);
}

.script {
  font-family: 'Dancing Script', cursive;
  color: var(--teal);
}

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

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

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

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8963e;
  border-color: #b8963e;
}

/* ── Navigation ──────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 3rem;
  transition: all 0.4s ease;
}

.nav.transparent {
  background: transparent;
}

.nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav.scrolled .nav-logo { color: var(--navy); }
.nav.scrolled .nav-links a { color: var(--navy); }
.nav.scrolled .nav-links a::after { background: var(--teal); }
.nav.scrolled .btn-inquiry {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.nav-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  transition: color 0.4s;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0 auto;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.btn-inquiry {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--navy); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,43,69,0.35) 0%,
    rgba(13,43,69,0.55) 100%
  );
}

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

.hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-title strong {
  font-weight: 700;
  display: block;
}

.hero-script {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Page Hero (inner pages) ─────────────────── */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.page-hero .hero-bg {
  transform: scale(1);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.page-hero-content .section-label { color: var(--gold); }

.page-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--white);
}

/* ── Sections ─────────────────────────────────── */
.section { padding: 6rem 3rem; }
.section-sm { padding: 4rem 3rem; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }

.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

.text-center { text-align: center; }

/* ── Grid Layouts ────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

/* ── Feature Strip ───────────────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
}

.feature-strip-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}

.feature-strip-item:last-child { border-right: none; }

.feature-strip-item .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-strip-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature-strip-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ── Split Section ───────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; }

.split-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.split-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.split-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ── Cards ───────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-body { padding: 2rem; }

.card-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-body .price {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.card-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card-detail .icon { font-size: 1rem; flex-shrink: 0; }

/* ── Package Cards ───────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pkg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pkg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.pkg-card-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 2rem;
}

.pkg-card-header h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.pkg-card-header .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.pkg-card-body { padding: 1.75rem 2rem; }

.pkg-includes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.pkg-includes li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
}

.pkg-includes li::before {
  content: '✦';
  color: var(--teal);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.pkg-price {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.pkg-price .est {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.pkg-price .range {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.pkg-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ── Highlight Box ───────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, var(--teal) 0%, #0d8f87 100%);
  color: var(--white);
  padding: 3rem;
  border-radius: 4px;
  text-align: center;
}

.highlight-box h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.highlight-box p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* ── Section Heading ─────────────────────────── */
.section-heading { margin-bottom: 3rem; }
.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
}
.section-heading h2 strong { font-weight: 700; }
.section-heading p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 600px;
}

.section-heading.center { text-align: center; }
.section-heading.center p { margin-left: auto; margin-right: auto; }

/* ── Divider ─────────────────────────────────── */
.divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ── Why Abaco Icons ─────────────────────────── */
.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.why-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ── Photo Grid ──────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 4px;
}

.photo-grid-item { overflow: hidden; }
.photo-grid-item.tall { grid-row: span 2; }

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-grid-item:hover img { transform: scale(1.05); }

/* ── Contact Form ────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.checkbox-group { display: flex; flex-direction: column; gap: 0.6rem; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--teal); }

/* ── CTA Band ────────────────────────────────── */
.cta-band {
  background: var(--navy);
  padding: 5rem 3rem;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-band h2 strong { font-weight: 700; }

.cta-band p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Testimonials ────────────────────────────── */
.testimonial {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 2rem 2.5rem;
  border-radius: 0 4px 4px 0;
}

.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 1rem;
}

.testimonial cite {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* ── Footer ──────────────────────────────────── */
.footer {
  background: #0a1f33;
  color: var(--white);
  padding: 4rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-brand .logo span { color: var(--gold); }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.footer h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── Matt Bio ────────────────────────────────── */
.bio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.bio-stat {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.bio-stat .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  display: block;
}

.bio-stat .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
  display: block;
}

/* ── Services List ───────────────────────────── */
.services-list { display: flex; flex-direction: column; gap: 1.5rem; }

.service-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  transition: border-color 0.3s;
}

.service-item:hover { border-color: var(--teal); }

.service-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.service-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.service-item .service-price {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 0.5rem;
}

/* ── Know the Waters ─────────────────────────── */
.know-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.know-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}

.know-item .icon { font-size: 1.4rem; flex-shrink: 0; }
.know-item p { font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.75); }
.know-item strong { color: var(--white); font-weight: 700; display: block; margin-bottom: 0.2rem; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    padding: 2rem;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .nav-links.open a { color: var(--white); font-size: 1rem; }
  .btn-inquiry { display: none; }
  .nav-toggle { display: flex; }

  .section, .section-sm { padding: 4rem 1.5rem; }
  .split { grid-template-columns: 1fr; }
  .split-image { min-height: 300px; }
  .split-content { padding: 3rem 1.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .bio-stats { grid-template-columns: repeat(3, 1fr); }
  .know-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid-item.tall { grid-row: span 1; }
  .cta-band { padding: 3.5rem 1.5rem; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .bio-stats { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
