/* ==========================================================================
   TL Slicks — design system (tokens, reset, header, footer, buttons)
   Black & gold, old-school / western. Rye display + Libre Franklin body.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:          #0E0E0E;
  --bg-alt:      #131210;
  --bg-alt2:     #161410;
  /* Gold */
  --gold:        #C9A24B;
  --gold-bright: #E8C766;
  /* Text */
  --cream:       #F4EFE3;
  --muted:       #cfc9bb;
  --muted-2:     #b8b2a4;
  --dim:         #8a8478;
  /* Lines */
  --border:      #2a2620;
  --border-soft: #1c1a16;
  /* Type */
  --serif: 'Rye', cursive;
  --sans:  'Libre Franklin', sans-serif;
  /* Layout */
  --maxw: 1200px;
  --radius: 8px;
  --ease: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* Accessibility ----------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #0E0E0E;
  padding: 10px 18px;
  font-weight: 700;
  z-index: 10000;
}
.skip-link:focus { left: 8px; top: 8px; }

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Shared buttons ---------------------------------------------------------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 2px solid var(--gold);
  transition: background var(--ease), color var(--ease), transform var(--ease), border-color var(--ease);
}
.btn-primary { background: var(--gold); color: #0E0E0E !important; }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--gold) !important; }
.btn-secondary:hover { background: var(--gold); color: #0E0E0E !important; }

/* Section helpers --------------------------------------------------------- */
.section { padding: 80px 24px; }
.section--alt { background: var(--bg-alt); }
.container { max-width: var(--maxw); margin: 0 auto; }

/* Shared section head + centered CTA (used on every page) */
.head { text-align: center; margin-bottom: 48px; }
.head h1, .head h2 {
  font-family: var(--serif);
  color: var(--gold);
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 14px;
}
.head h1 { font-size: clamp(34px, 5vw, 52px); }
.head > p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; line-height: 1.6; }
.center-cta { text-align: center; margin-top: 48px; }

/* Gold divider rule used on hero / cta bands */
.rule-top, .rule-bottom { position: relative; }
.rule-top::before, .rule-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.rule-top::before { top: 0; }
.rule-bottom::after { bottom: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--bg);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 9999;
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.nav-logo { display: flex; align-items: center; line-height: 0; }
.nav-logo img { height: 58px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-book { font-size: 15px; padding: 11px 22px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span { width: 26px; height: 3px; background: var(--gold); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .nav-right {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 2px solid var(--gold);
  }
  .nav-right.open { max-height: 420px; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    font-size: 17px;
  }
  .nav-book {
    display: block;
    width: calc(100% - 48px);
    margin: 16px 24px 20px;
    text-align: center;
    padding: 14px;
    font-size: 16px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg);
  border-top: 2px solid var(--gold);
  padding: 40px 24px;
  text-align: center;
}
.footer-brand {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 26px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 18px;
}
.footer-brand:hover { color: var(--gold-bright); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-bottom: 18px;
}
.footer-links a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--gold); }
.footer-meta { color: var(--dim); font-size: 13px; line-height: 1.7; }
.footer-meta a { color: var(--dim); text-decoration: none; }
.footer-meta a:hover { color: var(--gold); }
