/* ------------------------------------------------------------------
   Ride256 design system
   Rebuilt clean from the original Webflow site.
   Colours, fonts and the fluid type scale mirror the original.
   The original used raw `vw` units for every size; here the same
   ratios are wrapped in clamp() so text stays readable on small
   screens without needing a pile of media-query overrides.
------------------------------------------------------------------ */

:root {
  --black: #050505;
  --lighter-black: #161616;
  --secondary: #1c1c1c;
  --white: whitesmoke;      /* #f5f5f5 */
  --light-gray: #e7e7e9;
  --primary: var(--white);

  --radius: 1.5rem;
  --maxw: 90rem;            /* content cap on very wide screens */
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
}

/* --- reset --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--black);
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* --- type scale (mirrors the original vw ratios) ------------------ */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  line-height: 1.08;
}
h1 { font-weight: 600; font-size: clamp(2.5rem, 5.55vw, 6rem); }
h2 { font-size: clamp(2rem, 4.44vw, 4.8rem); }
h3 { font-size: clamp(1.5rem, 3.33vw, 3.6rem); }
h4 { font-size: clamp(1.3rem, 2.78vw, 3rem); }

h5, h6 {
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.5;
}
h5 { font-size: clamp(0.72rem, 0.89vw, 0.9rem); }
h6 { font-size: clamp(0.68rem, 0.78vw, 0.82rem); }

p {
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.02em;
  font-size: clamp(1.05rem, 1.69vw, 1.9rem);
  line-height: 1.2;
}

/* --- layout helpers ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 8rem); }

.btn-round {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  flex: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn-round:hover { transform: translateY(-2px) rotate(45deg); }
.btn-round svg { width: 1rem; height: 1rem; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(245, 245, 245, 0.25);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-pill:hover { background: var(--white); color: var(--black); }

.tag {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --- service notice (shown while online booking is "coming soon") -- */
.service-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--black);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* --- header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.brand img { width: 3.5rem; height: auto; }
.site-header .nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.site-header .nav a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.site-header .nav a:hover { opacity: 1; }

/* --- footer ------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--secondary);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  margin-top: clamp(3rem, 6vw, 6rem);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-footer .nav { display: flex; gap: 2rem; }
.site-footer .nav a,
.contact a {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.site-footer .nav a:hover,
.contact a:hover { opacity: 1; }
.contact { display: flex; flex-direction: column; gap: 0.4rem; text-align: right; }
.legal {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.5;
}

/* --- transfer card ------------------------------------------------ */
.card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.view {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}
.card-body { display: flex; flex-direction: column; gap: 0.9rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* --- Bokun booking button ----------------------------------------- */
.bokun-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.4rem;
  border: none;
  border-radius: 100px;
  background: var(--white);
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.bokun-book:hover { transform: translateY(-2px); opacity: 0.9; }
.bokun-book--paused {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245, 245, 245, 0.35);
  cursor: not-allowed;
  opacity: 0.7;
}
.bokun-book--paused:hover { transform: none; opacity: 0.7; }

/* --- home page ---------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 7rem) clamp(4rem, 10vw, 9rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-bg img {
  width: min(120vh, 95vw);
  opacity: 0.04;
  filter: invert(1);
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
}
.eyebrow { align-self: flex-start; margin-bottom: 1rem; opacity: 0.8; }
.hero-title {
  font-size: clamp(4rem, 15.5vw, 17rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: capitalize;
  text-align: center;
}
.hero-cta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.9rem, 1.6vw, 1.6rem);
}
.hero-copy {
  align-self: center;
  max-width: 46ch;
  margin-top: 2.5rem;
  text-align: center;
}

.services-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  opacity: 0.9;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.book { text-align: center; }
.book-inner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(14rem, 30vw, 26rem);
}
.book-ghost {
  margin: 0;
  font-size: clamp(4rem, 14vw, 15rem);
  line-height: 0.85;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: rgba(245, 245, 245, 0.9);
  -webkit-text-stroke: 0;
  text-stroke: 0;
  user-select: none;
}
.book-btn { position: relative; margin-top: 1.5rem; }
.book-btn .btn-round { width: 2.2rem; height: 2.2rem; }

/* --- transfers list page ------------------------------------------ */
.head { padding-bottom: 0; }
.head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.lead {
  max-width: 46ch;
  margin-top: 0;
  font-size: clamp(0.85rem, 1.05vw, 1.1rem);
  letter-spacing: 0.11em;
  line-height: 1.7;
  opacity: 0.9;
}
@media (max-width: 60rem) {
  .head-inner { justify-content: flex-start; }
}

/* --- transfer detail page ----------------------------------------- */
.detail { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 6rem); }

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.hero-media img { width: 100%; height: 100%; }

/* Two-column head: title + summary on the left, spec list on the right. */
.detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2rem, 5vw, 4rem);
}

.detail h1 {
  text-transform: uppercase;
  font-size: clamp(2rem, 3.8vw, 4.5rem);
  line-height: 1.05;
}
.summary {
  max-width: 44ch;
  margin-top: 1.2rem;
  font-size: clamp(0.95rem, 1.05vw, 1.15rem);
  line-height: 1.55;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.spec { margin: 0; }
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid rgba(245, 245, 245, 0.28);
}
.spec dt {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}
.spec dd {
  margin: 0;
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  font-weight: 300;
}
.spec-cta { padding-block: 1.1rem; }
.spec-cta .bokun-book { padding: 0.55rem 1.4rem; font-size: 0.8rem; }

/* Body copy sits indented under the title column, as on the live site. */
.body {
  max-width: 92ch;
  margin-top: clamp(1.75rem, 3.5vw, 3rem);
  margin-inline: auto;
}
.body p {
  font-size: clamp(1.15rem, 1.45vw, 1.6rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.back {
  display: inline-block;
  margin-top: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  opacity: 0.7;
}
.back:hover { opacity: 1; }

@media (max-width: 60rem) {
  .detail-head { grid-template-columns: 1fr; }
  .body { margin-inline: 0; }
}
