/* ==========================================================================
   Naeroyfjord Cruise — design tokens
   ========================================================================== */
:root {
  --ink: #0E2A2F;
  --deep: #12525C;
  --deep-2: #0B3940;
  --navy: #1B3A5C;
  --mist: #E7F1EF;
  --cloud: #FAFAF7;
  --amber: #E8963C;
  --amber-dark: #C97A26;
  --line: rgba(14, 42, 47, 0.14);
  --line-light: rgba(255, 255, 255, 0.28);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container-max: 1160px;
  --radius: 10px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cloud);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--deep); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cloud);
  padding: 0.75em 1.25em;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(232, 150, 60, 0.35);
}
.btn-primary:hover { background: var(--amber-dark); }

.btn-secondary {
  background: transparent;
  border-color: currentColor;
  color: var(--cloud);
}
.hero-ticket .btn-secondary { color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

.btn-ghost {
  background: transparent;
  border-color: var(--deep);
  color: var(--deep);
}
.btn-ghost:hover { background: var(--deep); color: var(--cloud); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.inline-cta { margin-top: 2rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  background: linear-gradient(180deg, var(--deep-2) 0%, var(--deep) 62%, var(--ink) 100%);
  color: var(--cloud);
}

.topbar {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--cloud);
}
.brand-mark { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--cloud);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.nav-link {
  display: inline-block;
  color: var(--cloud);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5em 0.85em;
  border-radius: 999px;
  opacity: 0.88;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.12); opacity: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 2.5rem 1.5rem 3.5rem;
  display: flex;
  justify-content: center;
}

.hero-ticket {
  max-width: 720px;
  width: 100%;
  background: var(--cloud);
  color: var(--ink);
  border-radius: 18px;
  padding: 2.75rem 2.5rem 2.25rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
  margin: 0 0 0.9rem;
}
.eyebrow-dark { color: var(--amber-dark); }

.hero-ticket h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
}

.slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--deep);
  margin: 0.5rem 0 1.25rem;
}

.intro { font-size: 1rem; color: rgba(14, 42, 47, 0.85); max-width: 56ch; }

.ticket-perf {
  position: relative;
  height: 1px;
  background-image: linear-gradient(to right, var(--line) 50%, transparent 0%);
  background-size: 14px 1px;
  margin: 1.75rem 0 1.5rem;
}
.ticket-perf::before,
.ticket-perf::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--deep-2);
  border-radius: 50%;
}
.ticket-perf::before { left: -2.5rem; }
.ticket-perf::after { right: -2.5rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
}
.meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.meta-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(14, 42, 47, 0.55);
}
.meta-value { font-weight: 600; font-size: 0.98rem; }

.hero-ticket .btn-primary { color: var(--ink); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-wrap { padding: 0 1.5rem 4rem; }
.section-heading-onheader {
  max-width: var(--container-max);
  margin: 0 auto 1.5rem;
  color: var(--cloud);
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.gallery-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
}
.gallery-btn {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-btn:hover img,
.gallery-btn:focus-visible img { transform: scale(1.06); }

.gallery-zoom {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 42, 47, 0.6);
  color: var(--cloud);
  border-radius: 50%;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gallery-btn:hover .gallery-zoom,
.gallery-btn:focus-visible .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 20, 22, 0.92);
  padding: 3rem 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cloud);
  font-size: 1.1rem;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

/* ==========================================================================
   Sections (general)
   ========================================================================== */
.section { padding: 4.5rem 0; }
.section-tint { background: var(--mist); }

.section-heading {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 600;
  max-width: 46ch;
  margin-bottom: 1.25rem;
}
.section-lede { max-width: 62ch; color: rgba(14, 42, 47, 0.75); margin-bottom: 2rem; }

.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }

/* ==========================================================================
   Highlights
   ========================================================================== */
.highlight-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
  margin-top: 2rem;
}
.highlight-list li { display: flex; gap: 1rem; align-items: flex-start; }
.highlight-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cloud);
  border-radius: 50%;
  font-size: 1.3rem;
  box-shadow: inset 0 0 0 1px var(--line);
}
.highlight-list h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 0.35rem; }
.highlight-list p { margin: 0; color: rgba(14, 42, 47, 0.78); font-size: 0.96rem; }

/* ==========================================================================
   Timeline (itinerary)
   ========================================================================== */
.timeline {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 2rem;
  border-left: 2px dashed var(--line);
}
.timeline-item { position: relative; padding: 0 0 2.1rem 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.55rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--deep);
  box-shadow: 0 0 0 4px var(--cloud);
}
.timeline-dot-stop { background: var(--amber); }
.timeline-dot-major {
  width: 20px;
  height: 20px;
  left: -2.95rem;
  background: var(--navy);
  box-shadow: 0 0 0 5px var(--cloud), 0 0 0 7px var(--navy);
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--deep);
  background: var(--mist);
  padding: 0.2em 0.6em;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.timeline-item-major .timeline-time { background: var(--navy); color: var(--cloud); }
.timeline-content h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.timeline-content p { margin: 0; color: rgba(14, 42, 47, 0.75); font-size: 0.95rem; }

.timeline-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(14, 42, 47, 0.65);
  font-style: italic;
  max-width: 62ch;
}

/* ==========================================================================
   CTA bands
   ========================================================================== */
.cta-band {
  background: var(--ink);
  color: var(--cloud);
  padding: 2.5rem 0;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}
.cta-band-inner p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.cta-band-final { padding: 3.5rem 0; }
.cta-columns {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.cta-col-text p { margin: 0; font-size: 1.05rem; color: rgba(250, 250, 247, 0.85); max-width: 52ch; }

/* ==========================================================================
   Includes
   ========================================================================== */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}
.includes-col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.includes-sub { margin-top: 1.75rem; }
.check-list li, .cross-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7rem;
  font-size: 0.97rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--deep);
  font-weight: 700;
}
.cross-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--amber-dark);
  font-weight: 700;
}

/* ==========================================================================
   Info cards
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.info-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.info-card p { margin: 0; font-size: 0.95rem; color: rgba(14, 42, 47, 0.78); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.review-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.review-head { display: flex; flex-direction: column; margin-bottom: 0.4rem; }
.review-head h3 { font-size: 1rem; font-weight: 600; }
.review-loc { font-size: 0.8rem; color: rgba(14, 42, 47, 0.55); font-family: var(--font-mono); }
.stars { color: var(--amber-dark); letter-spacing: 0.1em; margin: 0.5rem 0 0.75rem; font-size: 0.95rem; }
.star-empty { color: var(--line); }
.review-card p { font-size: 0.93rem; }
.review-reply {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--deep);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--deep-2); color: var(--cloud); padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: rgba(250, 250, 247, 0.75); font-size: 0.92rem; max-width: 34ch; }
.footer-nav h3, .footer-contact h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  color: rgba(250, 250, 247, 0.6);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav .nav-link { padding: 0; opacity: 0.85; }
.footer-contact address { font-style: normal; color: rgba(250, 250, 247, 0.85); margin-bottom: 0.75rem; line-height: 1.5; }
.footer-contact a { color: var(--amber); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom { padding: 1.5rem 0; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: rgba(250, 250, 247, 0.55); text-align: center; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
  z-index: 500;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--amber-dark); }

/* ==========================================================================
   Responsive — tablet
   ========================================================================== */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-list { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Responsive — mobile
   ========================================================================== */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--deep-2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav.open { max-height: 480px; }
  .site-nav ul { flex-direction: column; padding: 0.5rem 1.5rem 1.5rem; gap: 0.2rem; }
  .nav-link { display: block; padding: 0.7em 0.5em; }

  .hero-ticket { padding: 2.25rem 1.5rem 2rem; }
  .ticket-perf::before,
  .ticket-perf::after { display: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }

  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-nav ul { align-items: center; }

  .cta-columns { grid-template-columns: 1fr; text-align: center; justify-items: center; }

  /* All buttons: centered and uniform width on mobile */
  .btn-group { flex-direction: column; align-items: center; }
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .inline-cta,
  .cta-band-inner,
  #meeting-point .btn {
    display: flex;
    justify-content: center;
  }
  #meeting-point .btn { max-width: 300px; margin: 0 auto; }
}
