/* Sunshine Coast Strings — shared styles */

:root {
  --navy: #14223c;
  --navy-light: #1c2f52;
  --offwhite: #e0e1dc;
  --header-bg: #0d0d0d;
  --ink: #1a1a1a;
  --paper: #ffffff;
  --accent: #c98a3a;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  color: #fff;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.reveal-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.reveal-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.brand {
  font-family: var(--font-serif);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #e7e7e7;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-nav.open { display: flex; }
  .site-header .container { flex-wrap: wrap; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid #222; }
}

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  min-height: 340px;
  max-height: 620px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  opacity: 0.85;
  font-size: 1.8rem;
  animation: bob 2s ease-in-out infinite;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Full-bleed overlay hero (landing page) */
.hero-full {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 480px;
  max-height: 760px;
  overflow: hidden;
}

.hero-full > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 52%, rgba(13,13,13,0.88) 100%);
}

.hero-content {
  color: #fff;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 4rem);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.hero-tagline {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  color: #f2f2f0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}

.btn-hero:hover { background: #dda053; }

@media (max-width: 640px) {
  .hero-full { height: 88vh; min-height: 480px; }
}

/* Intro band */
.intro-band {
  background: var(--navy);
  color: #f2f2f0;
  padding: 48px 0;
}

.intro-band p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.7;
}

/* Stockists / brand strip */
.stockists {
  background: var(--offwhite);
  padding: 40px 0;
}

.stockists-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}

.stockists-row + .stockists-row {
  border-top: 1px solid #cfd0ca;
}

.stockists-row img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .stockists-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .stockists-row { grid-template-columns: repeat(2, 1fr); }
}

/* Booking section */
.booking {
  padding: 56px 0;
  text-align: center;
}

.booking p.lead {
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.booking-card {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 32px 28px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.booking-card h2 {
  margin-top: 0;
  font-family: var(--font-serif);
  font-weight: 500;
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0;
  font-size: 0.95rem;
  color: #333;
}

.booking-meta strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: #777; }

.btn-book {
  display: inline-block;
  margin-top: 12px;
  background: var(--navy);
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn-book:hover { background: var(--navy-light); }

.tz-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #777;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #f0f0ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding: 48px 0 32px;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img { width: 72px; height: 72px; }

.footer-brand .wordmark {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.footer-brand .wordmark .line1 {
  display: block;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

.footer-brand .wordmark .line2 {
  display: block;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.footer-col-contact div {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.9;
  color: #d8dae2;
}

.footer-col-contact strong {
  font-weight: 400;
  color: inherit;
}

.footer-col-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-col-contact a:hover {
  text-decoration: underline;
}

.footer-col-resources ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col-resources li { margin: 8px 0; }

.footer-col-resources a {
  color: #d8dae2;
  font-weight: 400;
  text-decoration: none;
}

.footer-col-resources a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(240,240,238,0.65);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Quiz / theory page banner */
.page-banner {
  background: #f4f4f2 url('../images/notes-pattern.svg') repeat;
  background-size: 340px;
  padding: 70px 0 60px;
  text-align: center;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.6rem;
  margin: 0;
  display: inline-block;
  background: rgba(255,255,255,0.0);
  padding: 4px 18px;
}

/* Note reading quiz grid */
.quiz-section {
  /* Distinct from the footer (also navy) directly below, so the two
     sections stay visually separated instead of blending together. */
  background: var(--header-bg);
  color: #fff;
  padding: 40px 0 56px;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .quiz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .quiz-grid { grid-template-columns: 1fr; }
}

.quiz-col h2 {
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.quiz-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-col a {
  display: block;
  background: #f0f0ee;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  padding: 10px 8px;
  border-radius: 4px;
  font-size: 0.92rem;
  border: 1px solid #d8d8d3;
}

.quiz-col a:hover { background: #fff; }

.quiz-col a.prep {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* Theory outline page */
.theory-section {
  padding: 40px 0;
}

.theory-section.alt {
  background: var(--navy);
  color: #fff;
}

.theory-section h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.theory-section ol {
  padding-left: 22px;
}

.theory-section ol ol {
  padding-left: 20px;
  margin: 6px 0 14px;
}

.theory-section li { margin: 4px 0; }

.theory-section a {
  text-decoration: underline;
}
