/* ============================================================
   Strictly Dancing — Main Stylesheet
   strictlydancinguk.co.uk
   ============================================================ */

/* ── RESET & ROOT ────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:         #C9A84C;
  --gold-light:   #E8D08A;
  --gold-pale:    #F9F3E3;
  --dark:         #0E0E12;
  --dark-2:       #1A1A22;
  --dark-3:       #26263A;
  --mid:          #4A4A6A;
  --muted:        #8888A0;
  --border:       #2E2E44;
  --white:        #FFFFFF;
  --off-white:    #F6F4F0;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script:  'Dancing Script', cursive;
  --font-body:    'Inter', system-ui, sans-serif;
  --radius:       12px;
  --radius-sm:    8px;
  --max-w:        1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--off-white);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── NAVIGATION ──────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--gold);
  text-decoration: none;
}

.nav-brand img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 0.4rem 1rem !important;
  border-radius: 20px !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  gap: 0.25rem;
}

.mobile-menu a {
  display: block;
  padding: 0.6rem 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active { color: var(--gold); }
.mobile-menu.open { display: flex; }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-primary { background: var(--gold); color: var(--dark); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

/* ── SECTIONS ────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-body {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 55ch;
  line-height: 1.8;
}

.section-divider {
  height: 1px;
  background: var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── PAGE HEADER ─────────────────────────── */
.page-header {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3rem;
}

.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-header-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.page-header-sub {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 50ch;
}

/* ── CARDS ───────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.card-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── INFO / HIGHLIGHT BOXES ──────────────── */
.info-box {
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.info-box p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.info-box strong { color: var(--off-white); }

.highlight-box {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.highlight-box p { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }
.highlight-box strong { color: var(--gold); }

/* ── HERO (index.html) ───────────────────── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 64px);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-title em { font-style: normal; color: var(--gold); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 40ch;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glitter-ring {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, rgba(201,168,76,0.18) 0%, transparent 65%);
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.glitter-ring::before {
  content: '';
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; }
.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

/* ── DANCES TICKER STRIP ─────────────────── */
.dances-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  overflow: hidden;
}

.dances-scroll {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
}

.dances-scroll:hover { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.dance-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dance-tag::after {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
}

/* ── SOCIAL GRID (home) ──────────────────── */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.social-item {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.social-emoji { font-size: 1.75rem; line-height: 1; }
.social-title { font-weight: 600; color: var(--white); font-size: 0.95rem; margin-bottom: 0.25rem; }
.social-desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* ── CLASSES / SCHEDULE ──────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.schedule-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.schedule-day {
  background: rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.day-badge {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.venue-name { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.schedule-body { padding: 1.25rem; }

.class-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.class-row:last-child { border-bottom: none; }
.class-name  { font-size: 0.9rem; color: var(--off-white); font-weight: 500; }
.class-time  { font-size: 0.82rem; color: var(--gold); font-weight: 600; white-space: nowrap; }

/* ── EVENTS ──────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }

.event-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.event-card:hover { border-color: rgba(201, 168, 76, 0.35); }

.event-date-block {
  min-width: 60px;
  text-align: center;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}

.event-date-block .month {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-date-block .day {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.event-info-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.event-info-body { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

.event-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.5rem;
}

/* ── NEWS ────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.news-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.news-card:hover { border-color: rgba(201, 168, 76, 0.35); }

.news-card-top {
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.news-card-body { padding: 1.5rem; }

.news-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.news-card-text { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ── VENUES ──────────────────────────────── */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.venue-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.venue-card:hover { border-color: rgba(201, 168, 76, 0.35); }

.venue-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.venue-card-addr { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

.venue-pin {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  text-align: center;
  line-height: 32px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* ── TWO-COLUMN LAYOUT ───────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.prose-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin: 1.5rem 0 0.5rem;
}

.prose-section h3:first-child { margin-top: 0; }

.prose-section p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.price-pill {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1rem 0;
}

/* ── CONTACT ─────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.contact-method:hover { border-color: rgba(201, 168, 76, 0.35); }

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-value { font-size: 1rem; color: var(--white); font-weight: 500; }
.contact-value a { color: var(--gold); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* Contact form */
.form-wrap {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select option { background: var(--dark-3); }

.form-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.form-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.form-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-brand img { height: 52px; width: auto; border-radius: 8px; }

.footer-about { font-size: 0.85rem; color: var(--muted); line-height: 1.75; max-width: 28ch; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-istd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
}

.istd-badge {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ── TOAST NOTIFICATION ──────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--dark-2);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--off-white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  z-index: 200;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s;
  max-width: 300px;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast strong { color: var(--gold); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; min-height: auto; padding-bottom: 3rem; }
  .hero-visual { order: -1; margin-bottom: 1rem; }
  .glitter-ring { width: 220px; height: 220px; }
  .glitter-ring::before { width: 185px; height: 185px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero { padding-top: 2.5rem; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.6rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) { display: none; }
}
