/* ==========================================================================
   HUDHUD SAFARIS — BASE STYLESHEET
   Design tokens: color, type, spacing.
   Palette is sampled directly from the client's logo (hoopoe emblem):
   charcoal ink + terracotta orange. Typography pairs a script "brand" font
   (matching the logo's lettering) with an editorial serif for headings.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Yellowtail&display=swap');

:root {
  /* --- Color: sampled from HudHud logo.png --- */
  --color-ink: #292b2a;           /* primary text (deepened from logo's #434747 for AA contrast) */
  --color-ink-soft: #4f524f;      /* secondary text */
  --color-charcoal: #434747;      /* logo charcoal, used for the bird/wordmark */
  --color-sand: #f7f2e9;          /* page background */
  --color-sand-dark: #ece2cd;     /* section band background */
  --color-clay: #c8752f;          /* logo terracotta orange — primary accent */
  --color-clay-dark: #a35c22;     /* accent hover/active */
  --color-savanna-green: #5c6b4a; /* secondary accent (tags, icons) */
  --color-line: #ddd2b8;          /* hairlines, dividers */
  --color-white: #ffffff;

  /* --- Type --- */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-brand: "Yellowtail", "Brush Script MT", cursive;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-h1: clamp(2rem, 4vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 2.6vw, 2.25rem);
  --fs-h3: clamp(1.15rem, 1.8vw, 1.5rem);
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;

  --lh-heading: 1.15;
  --lh-body: 1.6;

  /* --- Spacing scale --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  /* --- Layout --- */
  --content-max: 1200px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-ink);
  background: var(--color-sand);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  margin: 0 0 var(--space-2);
  color: var(--color-ink);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 var(--space-2); }

a {
  color: var(--color-clay);
  text-decoration: none;
}
a:hover, a:focus { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  background: var(--color-clay);
  color: var(--color-white);
  font-weight: 600;
  font-size: var(--fs-body);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover, .btn:focus {
  background: var(--color-clay-dark);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--color-clay);
  border: 1.5px solid var(--color-clay);
}
.btn-secondary:hover {
  background: var(--color-clay);
  color: var(--color-white);
}

.section {
  padding: var(--space-5) 0;
}
.section-alt {
  background: var(--color-sand-dark);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-savanna-green);
  margin-bottom: var(--space-1);
}

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

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-clay);
  outline-offset: 2px;
}
