/* ══════════════════════════════════════════════
   TROPIC TWIRLERS — SHARED STYLESHEET
   Cairns Inclusive Square Dance Club
   ══════════════════════════════════════════════ */

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

:root {
  --teal:        #0e6b7a;
  --teal-dark:   #0a5060;
  --teal-light:  #e6f4f6;
  --gold:        #e8a800;
  --gold-dark:   #c48a00;
  --gold-light:  #fff8e0;
  --rb-red:      #e8312a;
  --rb-orange:   #f07020;
  --rb-yellow:   #f5c800;
  --rb-green:    #4ab840;
  --rb-blue:     #2060c0;
  --rb-purple:   #7030a0;
  --rb-grad:     linear-gradient(90deg,#e8312a,#f07020,#f5c800,#4ab840,#2060c0,#7030a0);
  --rb-grad-rev: linear-gradient(90deg,#7030a0,#2060c0,#4ab840,#f5c800,#f07020,#e8312a);
  --text:        #1a1a1a;
  --text-mid:    #444;
  --text-soft:   #666;
  --text-muted:  #999;
  --bg:          #f5f5f7;
  --bg-white:    #ffffff;
  --border:      #e0e0e0;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── RAINBOW UTILITIES ── */
.rb-stripe     { height: 4px; background: var(--rb-grad); }
.rb-stripe-rev { height: 4px; background: var(--rb-grad-rev); }
.rb-text {
  background: linear-gradient(90deg,#f07020,#f5c800,#4ab840,#2060c0,#7030a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rb-border {
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--bg-white),var(--bg-white)),
                    var(--rb-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.rb-ring {
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg,#e8312a,#f07020,#f5c800,#4ab840,#2060c0,#7030a0);
  flex-shrink: 0;
  display: inline-block;
}
.rb-ring-inner {
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: 600;
  font-size: 11px;
}

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #2a1a00;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 24px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); text-decoration: none; }

.btn-rb {
  display: inline-block;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 24px;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--teal),var(--teal)), var(--rb-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}
.btn-rb:hover { opacity: 0.88; text-decoration: none; }

.btn-teal {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 24px;
  border: 2px solid var(--teal);
  text-decoration: none;
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); text-decoration: none; }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--teal);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.nav-rb-top { height: 4px; background: var(--rb-grad); }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.nav-logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img {
  width: 44px; height: 44px;
  border-radius: 0;
  object-fit: contain;
  display: block;
  background: transparent;
}
.nav-logo-text { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.2; }
.nav-logo-sub  { font-size: 10px; color: rgba(255,255,255,0.55); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); }
.nav-cta {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #2a1a00 !important;
  background: var(--gold) !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
  margin-left: 6px;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; }

/* Hamburger — mobile */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--teal);
  padding: 44px 20px 40px;
  position: relative;
  overflow: hidden;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  max-width: 680px;
}
.page-hero .hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 20px;
}
.page-hero-rb { height: 5px; background: var(--rb-grad); }

/* ── MAIN CONTENT ── */
.page-content { max-width: 1100px; margin: 0 auto; padding: 40px 20px 60px; }

/* ── SECTION LABELS ── */
.section-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 10px;
}
.section-body { font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-bottom: 8px; }
.section-divider { height: 0.5px; background: var(--border); margin: 36px 0; }

/* ── CARD GRIDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.card-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.card-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 6px;
}
.card-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.card-body  { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.card-note  { font-size: 11px; color: var(--teal); margin-top: 8px; font-style: italic; font-weight: 600; }

/* ── PILLS ── */
.pill-rb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-white);
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--bg-white),var(--bg-white)), var(--rb-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #2a1a00;
  background: var(--gold);
  border: 1.5px solid var(--gold);
}

/* ── TRUST BAR ── */
.trust-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }

/* ── STAT BAR ── */
.stat-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
  padding: 16px;
  text-align: center;
}
.stat-num   { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: var(--text-soft); line-height: 1.4; }
.stat-cite  { font-size: 10px; color: #bbb; margin-top: 5px; font-style: italic; }

/* ── CTA BANNER ── */
.cta-banner { border-radius: var(--radius-lg); overflow: hidden; margin: 32px 0; }
.cta-inner  {
  background: var(--teal);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-title  { font-size: 17px; font-weight: 600; color: #fff; line-height: 1.4; margin-bottom: 4px; }
.cta-sub    { font-size: 12px; color: rgba(255,255,255,0.6); }
.cta-btns   { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* ── CALLOUT ── */
.callout {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  border-left: 4px solid var(--rb-purple);
  background: #f8f4ff;
}
.callout-title { font-size: 13px; font-weight: 700; color: var(--rb-purple); margin-bottom: 6px; }
.callout-body  { font-size: 13px; color: var(--text-mid); line-height: 1.75; }

/* ── QUOTE BLOCK ── */
.quote-block {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.quote-mark { font-size: 52px; color: rgba(255,255,255,0.18); line-height: 1; flex-shrink: 0; margin-top: -10px; font-family: Georgia, serif; }
.quote-text { font-size: 14px; color: #fff; line-height: 1.75; font-style: italic; margin-bottom: 8px; }
.quote-attr { font-size: 11px; color: rgba(255,255,255,0.55); }

/* ── FIRST VISIT ── */
.first-visit { border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0; border: 0.5px solid var(--border); background: var(--bg-white); }
.fv-header { background: var(--teal); padding: 16px 22px; }
.fv-title  { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.fv-sub    { font-size: 12px; color: rgba(255,255,255,0.6); }
.fv-steps  { display: grid; grid-template-columns: repeat(5,1fr); }
.fv-step   { padding: 16px 14px; border-right: 0.5px solid var(--border); }
.fv-step:last-child { border-right: none; }
.fv-step-num   { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.fv-step-title { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.fv-step-body  { font-size: 11px; color: var(--text-soft); line-height: 1.55; }
.fv-footer {
  padding: 12px 22px;
  border-top: 0.5px solid var(--border);
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.fv-footer-text { font-size: 12px; color: var(--text-soft); font-style: italic; line-height: 1.55; }

/* ── EVENTS ── */
.event-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
  padding: 14px 16px;
}
.event-card.featured {
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--bg-white),var(--bg-white)), var(--rb-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.event-date    { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.event-dot     { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.event-name    { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.event-detail  { font-size: 12px; color: var(--text-soft); }
.event-org     { font-size: 11px; color: var(--text-muted); margin-top: 3px; font-style: italic; }

/* ── CALENDAR MONTH ── */
.cal-month { margin-bottom: 28px; }
.cal-month-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0 8px;
  border-bottom: 2px solid var(--teal-light);
  margin-bottom: 12px;
}
.cal-list { display: flex; flex-direction: column; gap: 8px; }

/* ── PHOTO STRIP ── */
.photo-strip { display: flex; gap: 8px; margin: 20px 0; }
.photo-thumb {
  flex: 1;
  height: 80px;
  border-radius: var(--radius-md);
  background: #e0e0e0;
  border: 1.5px solid transparent;
  background-image: linear-gradient(#e8e8e8,#e8e8e8), var(--rb-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-thumb-label { font-size: 10px; color: #999; text-align: center; line-height: 1.4; padding: 4px; }

/* ── FOOTER ── */
.site-footer { background: #f0f0f2; border-top: 0.5px solid var(--border); margin-top: 40px; }
.footer-rb-top { height: 4px; background: var(--rb-grad); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 28px 20px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-img  { width: 44px; height: 44px; border-radius: 0; object-fit: contain; background: transparent; }
.footer-logo-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; }
.footer-logo-sub  { font-size: 10px; color: var(--text-muted); }
.footer-col-title { font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-link { font-size: 12px; color: var(--text-soft); display: block; margin-bottom: 4px; text-decoration: none; }
.footer-link:hover { color: var(--teal); }
.footer-contact-item { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; color: var(--text-soft); margin-bottom: 5px; }
.footer-bottom { border-top: 0.5px solid var(--border); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy  { font-size: 10px; color: var(--text-muted); line-height: 1.55; max-width: 440px; }
.footer-social { display: flex; gap: 8px; }
.social-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  padding: 1.5px;
  background: linear-gradient(135deg,#e8312a,#f07020,#f5c800,#4ab840,#2060c0,#7030a0);
  text-decoration: none;
}
.social-icon-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #f0f0f2;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

/* ── CHATBOT FAB ── */
.chatbot-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg,#e8312a,#f07020,#f5c800,#4ab840,#2060c0,#7030a0);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  cursor: pointer;
  z-index: 200;
  text-decoration: none;
}
.chatbot-fab-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 20px;
}

/* ── MEDIA PAGE ── */
.media-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.media-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); text-decoration: none; }
.media-card-top { height: 4px; }
.media-card-body { padding: 20px; flex: 1; }
.media-card-tag { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; display: block; }
.media-card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.media-card-excerpt { font-size: 13px; color: var(--text-soft); line-height: 1.65; margin-bottom: 12px; }
.media-card-meta { font-size: 11px; color: var(--text-muted); }
.media-card-footer { padding: 12px 20px; border-top: 0.5px solid var(--border); background: #f9f9f9; font-size: 12px; color: var(--teal); font-weight: 500; }

/* ── CONTACT FORM ── */
.contact-form { background: var(--bg-white); border-radius: var(--radius-lg); border: 0.5px solid var(--border); padding: 28px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: repeat(2,1fr); }
  .fv-steps { grid-template-columns: 1fr 1fr; }
  .fv-step { border-bottom: 0.5px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--teal); padding: 12px 20px 16px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-layout { flex-direction: column !important; }
  .hero-logo-img { width: 140px !important; height: 140px !important; }
}
@media (max-width: 480px) {
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fv-steps { grid-template-columns: 1fr; }
  .trust-bar { gap: 6px; }
}
