/* Fonts loaded via <link> in each HTML page for better performance */

/* ── Variables ── */
:root {
  --gold:       #dcbc06;
  --dark:       #1a1a1a;
  --light-bg:   #f9f9f9;
  --border:     #e5e5e5;
  --white:      #ffffff;
  --text:       #333333;
  --muted:      #666666;
  --h-font:     'Poppins', sans-serif;
  --b-font:     'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:      1200px;
  --content-w:  900px;
  --nav-h:      64px;
  --ease:       0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--b-font);
  color: var(--text);
  line-height: 1.6;
  padding-top: var(--nav-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 0.5px; text-underline-offset: 2px; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--dark);
  padding: 8px 16px;
  font-weight: 600;
  text-decoration: none;
  z-index: 200;
  transition: top var(--ease);
}
.skip-link:focus { top: 0; }

/* ── Navigation ── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--nav-h);
  background: var(--dark);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.site-logo {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-family: var(--h-font);
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 6px 10px;
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero--full  { min-height: calc(100vh - var(--nav-h)); }
.hero--short { min-height: 55vh; }
.hero__bg {
  position: absolute;
  inset: 0;
  /* Same file as the <link rel="preload"> in each page; hero.jpg is kept only for og:image */
  background-image: url('../images/hero.webp');
  background-size: cover;
  background-position: center;
}
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.hero--short .hero__overlay { background: rgba(0,0,0,0.48); }
.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero__title {
  font-family: var(--h-font);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 0.85;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6rem);
}
.hero--short .hero__title { font-size: clamp(2rem, 5.5vw, 3.5rem); line-height: 1.1; }
.hero__eyebrow {
  display: block;
  font-size: clamp(0.8125rem, 1.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero__sub {
  font-weight: 500;
  color: var(--white);
  font-size: 1.125rem;
  max-width: 620px;
  line-height: 1.6;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--content-w); }
.section { padding: 80px 24px; max-width: var(--max-w); margin: 0 auto; }
.section--full { max-width: none; padding: 80px 24px; }
.section--light { background: var(--light-bg); max-width: none; }
.section--dark  { background: var(--dark); color: var(--white); max-width: none; }
.section--light .section, .section--dark .section { max-width: var(--content-w); }

.section__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  margin-bottom: 20px;
}
.section__title--center { text-align: center; }
.section__body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* ── Feature cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.card {
  border: 1px solid var(--border);
  padding: 30px;
  text-align: center;
  transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.09); transform: translateY(-3px); }
.card__title {
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.card__body { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--h-font);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--primary { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn--primary:hover { background: #c8aa05; border-color: #c8aa05; }
.btn--outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--dark); }
.btn--sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ── Tour cards ── */
.tour-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.tour-card { border: 1px solid var(--border); padding: 30px; }
.tour-card__name {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 1.625rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.tour-card__dates { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 3px;
  margin-bottom: 16px;
}
.badge--available { background: #e8f5e9; color: #2e7d32; }
.badge--full      { background: #fde8e8; color: #c62828; }
.badge--soon      { background: #f5f5f5; color: #555555; }
.tour-card__desc  { font-size: 0.875rem; line-height: 1.6; color: var(--muted); margin-bottom: 20px; }

/* ── Testimonial ── */
.testimonial { text-align: center; padding: 80px 24px; background: var(--light-bg); }
.testimonial__quote {
  font-family: var(--h-font);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.8;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 20px;
}
.testimonial__author { font-size: 0.875rem; color: var(--muted); }

/* ── Social cards (Instagram / Contact page) ── */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.social-card { border: 1px solid var(--border); padding: 30px; text-align: center; }
.social-card__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.social-card__body { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }

/* ── Notify / contact forms (Tour Dates + Contact pages) ── */
.notify-section,
.contact-section { padding: 60px 24px; }
.notify-form { max-width: 480px; margin: 32px auto 0; }
.contact-form { max-width: 600px; margin: 32px auto 0; text-align: left; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-group select option { background: var(--dark); }
.notify-success { text-align: center; padding: 32px 0; color: var(--white); }
.notify-success p { font-size: 1.125rem; }
.notify-success p + p { font-size: 0.9375rem; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ── Divider ── */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Footer ── */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.6); }
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand__logo { font-family: var(--h-font); font-weight: 800; font-size: 1.125rem; color: var(--gold); margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; text-align: center; font-size: 0.8125rem; color: rgba(255,255,255,0.35); }

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__content { padding: 60px 24px; }
  .form-row { flex-direction: column; gap: 0; }
  .section { padding: 60px 16px; }
}

@media (max-width: 480px) {
  .hero--full  { min-height: 90vh; }
  .hero--short { min-height: 48vh; }
  .hero__title { line-height: 0.9; }
  .btn-row { flex-direction: column; }
  .btn-row--center { align-items: center; }
  .btn { width: 100%; text-align: center; }
  .btn-row .btn { width: auto; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Print ── */
@media print {
  .site-header, .site-footer, .btn-row, .notify-section, .contact-section { display: none; }
  .hero { min-height: auto; page-break-after: avoid; }
}

/* ── Utilities ── */
.section--center { text-align: center; }
.btn--block { width: 100%; display: block; text-align: center; }
.btn-row--tight { gap: 10px; }
.btn-row--mt { margin-top: 32px; }
.section__body--spaced { margin-bottom: 32px; }
.closing-note { font-size: 1rem; font-style: italic; color: var(--muted); }


/* Automatic text colours inside dark sections — avoids inline style="color:..." */
.section--dark .section__title { color: var(--white); }
.section--dark .section__body  { color: rgba(255,255,255,0.75); }
.notify-section .section__title,
.contact-section .section__title { color: var(--white); }
.notify-section > .container > p,
.contact-section > .container > p { color: rgba(255,255,255,0.75); font-size: 1rem; }
