/* ============================================================
   ATLANTIC TOURS AND TRANSFERS · ARUBA
   Design System
   ============================================================
   Mirrors Atlantic Car Rental Aruba's visual system.
   Single variable changed: gold → silver.
   ============================================================ */

:root {
  /* --- Colors --- */
  --color-bg: #000000;
  --color-bg-soft: #0a0a0a;
  --color-bg-card: #111111;
  --color-bg-input: #1a1a1a;
  --color-border: rgba(193, 197, 200, 0.18);
  --color-border-strong: rgba(193, 197, 200, 0.36);

  --color-text: #ffffff;
  --color-text-soft: rgba(255, 255, 255, 0.72);
  --color-text-muted: rgba(255, 255, 255, 0.52);

  --color-accent: #C1C5C8;          /* Atlantic silver */
  --color-accent-soft: rgba(193, 197, 200, 0.72);
  --color-accent-bright: #DDE0E2;   /* hover state */

  /* --- Typography --- */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --fs-display-xl: clamp(3rem, 8vw, 6rem);
  --fs-display-lg: clamp(2.25rem, 6vw, 4rem);
  --fs-display-md: clamp(1.75rem, 4vw, 2.75rem);
  --fs-display-sm: clamp(1.25rem, 3vw, 1.75rem);
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.875rem;
  --fs-caption: 0.75rem;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-normal: 1.55;
  --lh-loose: 1.75;

  --ls-display: -0.01em;
  --ls-body: 0;
  --ls-caption: 0.18em;

  /* --- Spacing --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* --- Layout --- */
  --max-width: 1280px;
  --max-width-narrow: 880px;
  --max-width-prose: 640px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 180ms;
  --duration: 360ms;
  --duration-slow: 720ms;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--color-accent); color: var(--color-bg); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}

.display--xl { font-size: var(--fs-display-xl); }
.display--lg { font-size: var(--fs-display-lg); }
.display--md { font-size: var(--fs-display-md); }
.display--sm { font-size: var(--fs-display-sm); }

.display em, .display i {
  font-style: italic;
  color: var(--color-accent);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: var(--ls-caption);
  color: var(--color-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent);
  display: inline-block;
}

.prose { max-width: var(--max-width-prose); }
.prose p {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-loose);
  color: var(--color-text-soft);
}
.prose p + p { margin-top: var(--space-4); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--max-width-narrow); }

.section {
  padding-block: var(--space-9);
}

.section--lg {
  padding-block: var(--space-10);
}

.section--sm {
  padding-block: var(--space-8);
}

.rule {
  width: 3rem;
  height: 1px;
  background: var(--color-accent);
  border: 0;
  margin: var(--space-4) 0 0;
}

/* ============================================================
   LANGUAGE BAR (top of viewport)
   ============================================================ */
.lang-bar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) var(--gutter);
  display: flex;
  justify-content: center;
  gap: var(--space-5);
}

.lang-bar a {
  font-size: var(--fs-body-sm);
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  position: relative;
  padding: var(--space-1) var(--space-2);
  transition: color var(--duration-fast) var(--ease);
}

.lang-bar a:hover { color: var(--color-text); }

.lang-bar a.is-active {
  color: var(--color-accent);
}

.lang-bar a + a::before {
  content: "|";
  position: absolute;
  left: calc(var(--space-2) * -1 - 0.5px);
  color: var(--color-border-strong);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) var(--gutter);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
}

/* Wordmark */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.wordmark__top {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.32em;
  color: var(--color-text);
  font-weight: 400;
  text-transform: uppercase;
  padding-left: 0.32em; /* visual balance for letter-spacing */
}

.wordmark__bottom {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 500;
  padding-left: 0.32em;
}

/* Phone + WhatsApp inline contact in header */
.header-contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-body-sm);
  color: var(--color-text);
}

.header-contact__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.header-contact__phone svg {
  color: var(--color-accent);
  width: 16px;
  height: 16px;
}

.header-contact__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #25D366;
  color: white;
}

.header-contact__whatsapp svg {
  width: 18px;
  height: 18px;
}

/* CTA button in header */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-5);
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease);
}

.btn-cta:hover { background: var(--color-accent-bright); }

/* Mobile: hide phone text, keep WhatsApp + CTA */
@media (max-width: 720px) {
  .header-contact__phone span { display: none; }
  .site-header__inner { gap: var(--space-3); }
  .wordmark__top { font-size: 1.2rem; }
  .wordmark__bottom { font-size: 0.55rem; }
  .btn-cta { padding: var(--space-3) var(--space-4); font-size: 0.75rem; }
}

/* ============================================================
   BUTTONS (general)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-6);
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn--primary:hover { background: var(--color-accent-bright); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn--block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.78) 100%);
}

.hero__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-9) var(--gutter);
  width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display-xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--color-text);
  max-width: 12ch;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__lede {
  margin-top: var(--space-5);
  font-size: var(--fs-body-lg);
  color: var(--color-text-soft);
  max-width: 48ch;
  line-height: var(--lh-loose);
}

.hero__actions {
  margin-top: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 420px;
}

.hero__meta {
  margin-top: var(--space-4);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
  margin-bottom: var(--space-7);
  max-width: 720px;
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display-lg);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  margin-top: var(--space-3);
}

.section-head__title em {
  font-style: italic;
  color: var(--color-accent);
}

.section-head__lede {
  margin-top: var(--space-5);
  color: var(--color-text-soft);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-loose);
  max-width: 56ch;
}

/* ============================================================
   CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-sm);
  line-height: var(--lh-snug);
  color: var(--color-text);
}

.card__body {
  color: var(--color-text-soft);
  line-height: var(--lh-loose);
  font-size: var(--fs-body);
  flex: 1;
}

.card__meta {
  font-size: var(--fs-caption);
  color: var(--color-accent);
  letter-spacing: var(--ls-caption);
  text-transform: uppercase;
}

/* ============================================================
   FEATURE LIST (used on Black Card section)
   ============================================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-top: 0.6rem;
}

.feature-list strong {
  color: var(--color-text);
  font-weight: 600;
}

.feature-list span {
  color: var(--color-text-soft);
  line-height: var(--lh-loose);
}

/* ============================================================
   IMAGE BLOCK (full-bleed within container)
   ============================================================ */
.image-block {
  margin-top: var(--space-7);
  overflow: hidden;
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
}

.image-block--tall {
  aspect-ratio: 4 / 5;
}

.image-block--tall img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ============================================================
   SPLIT (two-column section)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split--narrow { grid-template-columns: 1.1fr 0.9fr; }
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-9) var(--gutter) var(--space-6);
  background: var(--color-bg);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-block h4 {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: var(--ls-caption);
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.footer-block p, .footer-block a {
  color: var(--color-text-soft);
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
}

.footer-block a:hover { color: var(--color-accent); }

.footer-block p + p { margin-top: var(--space-2); }

.footer-services a {
  display: block;
  padding: var(--space-1) 0;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.footer-bottom__attribution {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.footer-bottom__parent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.footer-bottom__parent-mark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.footer-bottom__parent-tag {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: var(--ls-caption);
  color: var(--color-text-muted);
}

.footer-bottom__legal {
  display: flex;
  gap: var(--space-5);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
}

/* ============================================================
   FORM (Reservation Request)
   ============================================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .form__row--two { grid-template-columns: 1fr 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field label {
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: var(--ls-caption);
  color: var(--color-accent);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: var(--space-4);
  font-size: var(--fs-body);
  font-family: var(--font-body);
  transition: border-color var(--duration-fast) var(--ease);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.field textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-soft { color: var(--color-text-soft); }
.text-accent { color: var(--color-accent); }

.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }

/* ============================================================
   REVEAL (subtle on-scroll entrance, never hides content)
   ============================================================ */
/* By default, content is fully visible. JS adds a gentle animation
   only for elements that scroll INTO view after initial paint.
   This avoids any "blank page" effect on slow connections or screenshots. */
.reveal { opacity: 1; }

html.js .reveal.will-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

html.js .reveal.will-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal.will-animate { opacity: 1; transform: none; transition: none; }
}
