/* Fjord Adventures: the agency's own stylesheet. Nothing here comes from Suitcase. */
:root {
  --ink: #1d2a30;
  --muted: #5b6b72;
  --paper: #f7f4ee;
  --sand: #efe7da;
  --fjord: #1d3b4a;
  --rust: #b45309;
  --line: #ddd3c3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: normal;
}

a {
  color: var(--rust);
}

.wrap {
  width: min(68rem, 100% - 2rem);
  margin-inline: auto;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font: 600 0.95rem/1 system-ui, sans-serif;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fjord);
  font-size: 1.25rem;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
  font: 0.95rem system-ui, sans-serif;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

nav a:hover {
  color: var(--rust);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(78vh, 40rem);
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(16 32 40 / 0.75), rgb(16 32 40 / 0) 60%);
}

.hero-text {
  position: relative;
  z-index: 1;
  padding-block: 3rem 3.5rem;
}

.hero h1 {
  max-width: 18ch;
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.hero p {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
}

.eyebrow {
  font: 600 0.8rem system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding-block: 4rem;
}

.about h2,
.trips h2 {
  margin-top: 0;
  font-size: 2rem;
  color: var(--fjord);
}

.facts {
  display: grid;
  align-content: start;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--rust);
  background: var(--sand);
}

.facts strong {
  display: block;
  font-size: 1.4rem;
  font-weight: normal;
  color: var(--fjord);
}

/* Trips */
.trips {
  padding-block: 4rem;
  background: var(--sand);
}

.lead {
  max-width: 44rem;
  color: var(--muted);
}

.trip {
  display: grid;
  gap: 1.5rem;
  margin-block: 3rem;
}

.trip-intro {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  max-width: 44rem;
}

.trip-intro img {
  flex: none;
  width: 9rem;
  height: auto;
}

.trip h3 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  color: var(--fjord);
}

.trip-intro p {
  margin: 0;
}

/*
 * The booking widget, themed with its CSS variables to match the site. It renders in Shadow DOM, so these
 * custom properties are the only styling that reaches it.
 */
suitcase-package {
  --sc-accent: #b45309;
  --sc-accent-contrast: #ffffff;
  --sc-text: #1d2a30;
  --sc-muted: #5b6b72;
  --sc-border: #ddd3c3;
  --sc-surface: #fffdf9;
  --sc-soft: #f4ede2;
  --sc-available: #e6f0ea;
  --sc-radius: 6px;
  font-family: system-ui, sans-serif;
}

/* Footer */
.site-footer {
  padding-block: 3rem;
  background: var(--fjord);
  color: #e6edf0;
}

.site-footer a {
  color: #f3b98c;
}

.site-footer .small {
  color: #a9bcc4;
}

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

.brand-footer {
  margin-top: 0;
  font-size: 1.3rem;
}

address {
  font-style: normal;
}

@media (max-width: 760px) {
  nav {
    gap: 0.9rem;
  }

  .about,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trip-intro {
    flex-direction: column;
    align-items: flex-start;
  }
}
