/* ============================================
   Portland Private Charters — Main Stylesheet
   Matched to Framer site design system
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #ffd75a;
  --gold-hover: #ffc93c;
  --charcoal: #2a2a2a;
  --white: #ffffff;
  --off-white: #f7f6f3;
  --text: #1a1a1a;
  --text-mid: #737373;
  --text-light: #969696;
  --divider: rgba(0,0,0,0.08);
  --font-display: 'Gilda Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Switzer', 'Josefin Sans', sans-serif;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; }

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); line-height: 1.25; }

.section-label {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: color 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,215,90,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  color: #dedede;
  border-color: #dedede;
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid rgba(0,0,0,0.2);
}
.btn-outline-dark:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 24px 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(42, 42, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 64px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.4s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover { color: #dedede; }
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 24px; }
.nav-cta.btn { padding: 8px 20px; font-size: 0.72rem; letter-spacing: 1.5px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 11;
}
.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.4s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
  z-index: 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 25px;
}

.hero-content .section-label { color: var(--gold); margin-bottom: 20px; }

.hero-content h1 {
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-accent);
}
.hero-scroll .arrow {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
  animation: bounce 2.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--charcoal);
  will-change: transform;
}
.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .section-label { margin-bottom: 12px; }
.page-hero-content h1 {
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.page-hero-content p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Full-width Image Band ---------- */
.image-band {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.image-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}
.image-band-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 25px;
}
.image-band-content h2 {
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  max-width: 700px;
}

/* ---------- Section Shared ---------- */
.section { padding: 80px 0; }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-cream { background: var(--off-white); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-header p {
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 0.95rem;
  font-weight: 400;
}
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ---------- Gold Divider ---------- */
.gold-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}
.gold-line-left { margin: 16px 0 24px; }

/* ---------- Section Spacing Utilities ---------- */
.section-flush-top { padding-top: 0; }
.section-flush-bottom { padding-bottom: 0; }
.section-flush { padding-top: 0; padding-bottom: 0; }

/* ---------- Fleet Model Info ---------- */
.fleet-model { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; }
.fleet-model strong { color: var(--text); }
.split-text .btn { margin-top: 16px; }

/* ---------- Fleet Gallery Frame ---------- */
.fleet-gallery-frame {
  border: 1px solid var(--gold);
  padding: 36px;
  background: var(--white);
}
.fleet-gallery-frame .section-label {
  margin-bottom: 12px;
}
.fleet-gallery-frame .gold-line {
  margin-bottom: 28px;
}

/* ---------- Image Grid Gallery ---------- */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.image-gallery .gallery-item {
  overflow: hidden;
  aspect-ratio: 1.068;
}
.image-gallery .gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.image-gallery .gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: auto;
}
.image-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.image-gallery .gallery-item:hover img {
  transform: scale(1.04);
}

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 42px 28px;
  background: var(--white);
  border: 1px solid var(--divider);
  transition: all 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  border-color: var(--gold);
}

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--gold);
  font-family: var(--font-accent);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.feature-card h3 { margin-bottom: 14px; }
.feature-card p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.65;
  font-weight: 400;
}

/* ---------- About Preview (home) ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.about-image:hover img { transform: scale(1.03); }

.about-image-accent {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 45%;
  height: 45%;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-text .section-label { text-align: left; }
.about-text h2 { margin-bottom: 24px; }
.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 400;
}

.stat-row {
  display: flex;
  gap: 42px;
  margin: 32px 0;
}

.stat { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 6px;
}

/* ---------- Two-col image + text ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.split-section.reverse .split-image { order: 2; }
.split-section.reverse .split-text { order: 1; }

.split-image {
  overflow: hidden;
  position: relative;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.6s var(--ease);
}
.split-image:hover img { transform: scale(1.03); }

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 72px;
}
.split-text .section-label { text-align: left; }
.split-text h2 { margin-bottom: 20px; }
.split-text p {
  color: var(--text-mid);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ---------- Cruises Grid ---------- */
.cruises-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.cruise-card {
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--divider);
  border-radius: 6px;
  transition: all 0.4s var(--ease);
}
.cruise-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.cruise-card-image {
  height: 340px;
  overflow: hidden;
}
.cruise-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cruise-card:hover .cruise-card-image img { transform: scale(1.04); }

.cruise-card-body { padding: 36px 40px 40px; }
.cruise-card-body h3 { margin-bottom: 14px; }
.cruise-card-body p {
  color: var(--text-mid);
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.75;
}

.cruise-boat-options {
  margin-bottom: 28px;
}
.cruise-boat-option {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.cruise-boat-option > strong {
  color: var(--text);
  font-size: 0.95rem;
}
.cruise-boat-option:last-of-type {
  border-bottom: none;
}
.cruise-boat-option .cruise-details {
  margin-bottom: 0;
  margin-top: 12px;
}

.cruise-details {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cruise-detail {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 500;
}
.cruise-detail strong {
  color: var(--text);
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}
.cruise-detail-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 4px;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* ---------- Cruise Card Expanded ---------- */
.cruise-card-expanded .cruise-card-image {
  height: 420px;
}

.cruise-highlights {
  margin: 32px 0;
  padding: 32px 36px;
  border: 1px solid var(--gold);
  background: var(--off-white);
}
.cruise-highlights h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text);
}
.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.highlights-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0 18px 24px;
  position: relative;
}
.highlights-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.highlights-list li:not(:last-child) {
  border-bottom: 1px dashed var(--divider);
}
.highlights-list li strong {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}
.highlights-list li span {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.cruise-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.cruise-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.4s var(--ease);
}
.cruise-gallery img:hover {
  transform: scale(1.03);
}

/* ---------- Fleet Grid ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.fleet-card {
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--divider);
  transition: all 0.4s var(--ease);
}
.fleet-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); }

.fleet-card-image {
  height: 320px;
  overflow: hidden;
}
.fleet-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.fleet-card:hover .fleet-card-image img { transform: scale(1.04); }

.fleet-card-body { padding: 28px; }
.fleet-card-body h3 { margin-bottom: 6px; }
.fleet-card-body .fleet-type {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.fleet-card-body p {
  color: var(--text-mid);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.fleet-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
}
.fleet-spec {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 500;
}
.fleet-spec strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}

/* ---------- About Page ---------- */

/* Casco Bay section */
.casco-bay-quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.casco-bay-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.6;
  color: var(--white);
  font-style: italic;
}
.casco-bay-quote cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* Light-mode quote (when inside section-cream) */
.section-cream .casco-bay-quote blockquote {
  color: var(--text);
}
.section-cream .section-header p {
  color: var(--text-mid);
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.cert-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.4s var(--ease);
}
.cert-card:hover { border-color: var(--gold); }
.cert-card h4 { margin-bottom: 8px; font-size: 1.1rem; }
.cert-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; }
.cert-label {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

/* Light-mode cert cards */
.section-cream .cert-card,
.section-light .cert-card {
  border-color: var(--gold);
  background: var(--white);
}
.section-cream .cert-card h4,
.section-light .cert-card h4 {
  color: var(--text);
}
.section-cream .cert-card p,
.section-light .cert-card p {
  color: var(--text-mid);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: 80px 25px;
  background: var(--white);
  color: var(--charcoal);
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p {
  color: rgba(0,0,0,0.6);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { font-size: 1.15rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; }

.footer-col h4 {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.4s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

/* ---------- Hero Contact ---------- */
.hero-contact {
  margin-top: 52px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  letter-spacing: 0.5px;
}
.hero-contact a {
  color: rgba(255,255,255,0.65);
  transition: color 0.4s var(--ease);
}
.hero-contact a:hover { color: var(--gold); }

/* ---------- Quick Info Bar ---------- */
.info-bar {
  background: var(--charcoal);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.info-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.info-bar-item { padding: 0 12px; }
.info-bar-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.info-bar-value a { color: var(--gold); }
.info-bar-value a:hover { color: var(--gold-hover); }
.info-bar-label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ---------- Cruises Preview (Home) ---------- */
.cruises-preview-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cruise-preview-card {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
  z-index: 1;
}
.cruise-preview-card:nth-child(2) {
  top: 120px;
  z-index: 2;
}
.cruise-preview-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border-color: var(--gold);
}
.cruise-preview-image {
  height: 320px;
  overflow: hidden;
}
.cruise-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}
.cruise-preview-card:hover .cruise-preview-image img { transform: scale(1.04); }
.cruise-preview-body { padding: 32px 36px 36px; }
.cruise-preview-body h3 { margin-bottom: 14px; }
.cruise-preview-body p {
  color: var(--text-mid);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.75;
}
.section-link {
  text-align: center;
  margin-top: 48px;
}

/* ---------- What's Included Grid ---------- */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.includes-item {
  padding: 32px 28px;
  border-top: 3px solid var(--gold);
  background: var(--off-white);
}
.includes-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.includes-item p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.4s var(--ease);
}
.testimonial-card:hover { border-color: var(--gold); }
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.testimonial-name {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.testimonial-detail {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--divider);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s var(--ease);
}
.faq-question::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-question:hover { color: var(--gold); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- CTA Enhanced ---------- */
.cta-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold);
  margin-bottom: 24px;
  transition: color 0.4s var(--ease);
}
.cta-phone:hover { color: var(--gold-hover); }
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer Contact Icons (mobile only) ---------- */
.footer-contact-icons {
  display: none;
}

/* ---------- Footer Social ---------- */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 24px;
}
.footer-social a {
  color: rgba(255,255,255,0.55);
  transition: color 0.4s var(--ease);
}
.footer-social a:hover { color: var(--gold); }

/* ---------- Booking Form ---------- */
.booking-form {
  max-width: 720px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23737373' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group-guests {
  display: flex;
  gap: 16px;
}
.guest-field { flex: 1; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 12px 0 20px;
}

.form-full {
  margin-bottom: 8px;
}

.form-submit {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 24px auto 0;
  text-align: center;
}

#form-status {
  text-align: center;
  padding: 0;
  font-size: 0.9rem;
  margin-top: 8px;
}
#form-status.success {
  color: #2e7d32;
  background: #e8f5e9;
  padding: 14px;
}
#form-status.error {
  color: #c62828;
  background: #ffebee;
  padding: 14px;
}

.direct-contact {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
}
.direct-contact p {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.direct-contact a {
  color: var(--gold);
  transition: color 0.3s var(--ease);
}
.direct-contact a:hover {
  color: var(--gold-hover);
}

/* ---------- Calendar Embed ---------- */
.calendar-wrap {
  text-align: center;
}
.calendar-iframe {
  width: 100%;
  max-width: 900px;
  height: 500px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--divider);
}

.map-wrap { border-radius: 0; overflow: hidden; }
.map-iframe {
  width: 100%;
  height: 360px;
  border: 1px solid var(--divider);
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ---------- Text Line Reveal (clip-mask stagger) ---------- */
.reveal-text { overflow: hidden; }
.reveal-text > * {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-text.visible > * { opacity: 1; transform: translateY(0); }
.reveal-text.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-text.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-text.visible > *:nth-child(4) { transition-delay: 0.25s; }
.reveal-text.visible > *:nth-child(5) { transition-delay: 0.3s; }
.reveal-text.visible > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-text.visible > *:nth-child(7) { transition-delay: 0.4s; }
.reveal-text.visible > *:nth-child(8) { transition-delay: 0.45s; }

/* ---------- Directional Slide Reveals ---------- */
.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translateX(0);
}

/* ---------- Scale-up Reveal (images/gallery) ---------- */
.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ---------- Gold Line Grow ---------- */
.gold-line-animate { width: 0; transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; }
.visible .gold-line-animate,
.gold-line-animate.visible { width: 50px; }

/* ---------- Stagger Grid Children ---------- */
.reveal-stagger > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

/* ---------- Hero Entrance (CSS keyframes) ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content .section-label { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
.hero-content h1             { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
.hero-content > p            { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }
.hero-buttons                { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both; }
.hero-contact                { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both; }
.hero-scroll                 { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both; }

.page-hero-content .section-label { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
.page-hero-content h1             { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
.page-hero-content > p            { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-text > *, .reveal-left, .reveal-right,
  .reveal-scale, .reveal-stagger > *, .gold-line-animate {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .gold-line-animate { width: 50px !important; }
  .hero-content .section-label, .hero-content h1,
  .hero-content > p, .hero-buttons, .hero-contact, .hero-scroll,
  .page-hero-content .section-label, .page-hero-content h1,
  .page-hero-content > p {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .container { padding: 0 20px; }
  .nav-links { gap: 42px; }
  .split-text { padding: 48px 48px; }
}

@media (max-width: 809px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(42, 42, 42, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; letter-spacing: 2px; }
  .nav-cta { margin-left: 0; margin-top: 12px; }
  .hamburger { display: flex; }
  .logo { font-size: 1.2rem; letter-spacing: 0.02em; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

  .container { padding: 0 20px; }

  /* Hero — tighter, hide scroll */
  .hero { min-height: 500px; }
  .hero-content { padding: 0 20px; }
  .hero-content p { font-size: 0.92rem; }
  .hero-scroll { display: none; }
  .hero-buttons .btn-outline { display: none; }
  .page-hero { min-height: 320px; }

  /* Info bar — smaller and cleaner */
  .info-bar { padding: 20px 0; }
  .info-bar-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .info-bar-grid .info-bar-item:first-child { display: none; }
  .info-bar-value { font-size: 1rem; }
  .info-bar-label { font-size: 0.6rem; letter-spacing: 1.5px; }

  /* Sections — tighter spacing */
  .section { padding: 60px 0; }
  .section-header { margin: 0 auto 40px; }
  h1 { font-size: clamp(2rem, 8vw, 3rem); }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 15px; }

  /* Cruises preview (home) — sticky stack */
  .cruises-preview-grid { gap: 16px; }
  .cruise-preview-card { top: 80px; }
  .cruise-preview-card:nth-child(2) { top: 96px; }
  .cruise-preview-body { padding: 24px 24px 28px; }

  /* Cruises page */
  .cruises-grid { grid-template-columns: 1fr; gap: 24px; }
  .cruise-card-body { padding: 28px 24px 32px; }
  .cruise-highlights { padding: 24px 20px; }
  .cruise-card-expanded .cruise-card-image { height: 260px; }
  /* Cruise galleries — horizontal swipeable carousel */
  .cruise-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .cruise-gallery::-webkit-scrollbar { display: none; }
  .cruise-gallery img {
    flex: 0 0 80%;
    scroll-snap-align: center;
    height: 240px;
  }

  /* Image galleries — horizontal swipeable carousel */
  .image-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .image-gallery::-webkit-scrollbar { display: none; }
  .image-gallery .gallery-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
    aspect-ratio: 1.2;
  }

  /* Fleet */
  .fleet-grid { grid-template-columns: 1fr; gap: 15px; }
  .fleet-gallery-frame { padding: 20px; overflow: hidden; }
  .fleet-specs { gap: 12px; }
  .fleet-spec { font-size: 0.65rem; }

  /* About preview (home) */
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .about-text .section-label { text-align: center; }
  .about-text h2 { text-align: center; }
  .gold-line-left { margin: 16px auto 24px; }

  /* Split sections */
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse .split-image { order: 0; }
  .split-section.reverse .split-text { order: 1; }
  .split-text { padding: 40px 20px; }
  .split-text .section-label { text-align: center; }
  .split-text h2 { text-align: center; }
  .split-image { min-height: 300px; }

  /* Includes */
  .includes-grid { grid-template-columns: 1fr; gap: 15px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 15px; }

  /* Stats — center */
  .stat-row { gap: 24px; justify-content: center; flex-wrap: wrap; }

  /* CTA banner */
  .cta-banner { padding: 60px 20px; }

  /* Image band */
  .image-band { height: 50vh; min-height: 280px; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .calendar-iframe { height: 400px; }

  /* Footer — compact on mobile */
  .footer { padding: 32px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-bottom: 16px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; margin-bottom: 4px; }
  .footer-brand .logo { font-size: 0.95rem; margin-bottom: 8px; }
  .footer-brand p { font-size: 0.75rem; max-width: 280px; margin: 0 auto; line-height: 1.5; }
  .footer-contact-text { display: none; }
  .footer-col { text-align: center; }
  .footer-col h4 { margin-bottom: 10px; font-size: 0.62rem; letter-spacing: 2px; }
  .footer-col a { margin-bottom: 5px; font-size: 0.75rem; }
  .footer-contact-icons {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 8px 0 16px;
  }
  .footer-contact-icons a {
    color: var(--gold);
    transition: color 0.3s var(--ease);
  }
  .footer-contact-icons a:hover { color: var(--gold-hover); }
  .footer-bottom { padding-top: 14px; font-size: 0.68rem; }

  /* Convert horizontal reveals to vertical on mobile */
  .reveal-left, .reveal-right {
    transform: translateY(30px);
  }
  .reveal-left.visible, .reveal-right.visible {
    transform: translateY(0);
  }
}
