/* ============================================================
   DESIGN-SYSTEM.CSS — Liam M. Daisley
   Typography • Buttons • Navigation • Forms • Utilities
   ============================================================ */

/* ------------------------------------------------------------
   1. GLOBAL BASE TYPOGRAPHY + COLOURS
   ------------------------------------------------------------ */

/* ============================================================
   DESIGN-SYSTEM.CSS — Liam M. Daisley
   Typography • Buttons • Navigation • Forms • Utilities
   ============================================================ */

/* ------------------------------------------------------------
   1. GLOBAL BASE TYPOGRAPHY + COLOURS
   ------------------------------------------------------------ */

/* ============================================================
   DESIGN-SYSTEM.CSS — Liam M. Daisley
   Typography • Buttons • Navigation • Forms • Utilities
   ============================================================ */

/* ------------------------------------------------------------
   1. GLOBAL BASE TYPOGRAPHY + COLOURS
   ------------------------------------------------------------ */

body {
  margin: 0;
  font-family: var(--font-body);
  color: #1a1a1a;
  background-color: var(--lm-offwhite);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.015em;
  color: #1a1a1a;
}

.page-title {
  font-weight: 600;
  font-size: 1.875rem;
  letter-spacing: 0.015em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 2.25rem;
  }
}

.body-text {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .body-text {
    font-size: 1rem;
  }
}

.body-list {
  font-size: 0.875rem;
  line-height: 1.6;
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.body-list li + li {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .body-list {
    font-size: 1rem;
  }
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hidden {
  display: none !important;
}

/* ------------------------------------------------------------
   3. PAGE WRAPPER SPACING (ALL NON-HERO PAGES)
   ------------------------------------------------------------ */

main:not(.hero) {
  padding-top: 3.5rem;
}

@media (min-width: 768px) {
  main:not(.hero) {
    padding-top: 4.25rem;
  }
}

@media (min-width: 1024px) {
  main:not(.hero) {
    padding-top: 5rem;
  }
}

/* Inner content wrapper used on EPK / Bookings / Sets / Contact */
.page-wrapper {
  max-width: 64rem;          /* matches header/footer width */
  margin: 0 auto;            /* centre the block */
  padding: 0 1rem 3.5rem;    /* side padding + bottom space */
}

@media (min-width: 768px) {
  .page-wrapper {
    padding: 0 2.5rem 3.75rem;
  }
}

@media (min-width: 1024px) {
  .page-wrapper {
    padding: 0 3rem 4rem;
  }
}

/* ------------------------------------------------------------
   HERO — Full-bleed with centred content
   ------------------------------------------------------------ */

.hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--lm-cream, #f7f3e9);
  color: #f7f3e9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.36) 55%,
    rgba(0, 0, 0, 0.52) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 5.25rem 1.75rem 4.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  text-align: center;
  color: #f7f3e9;
}

.hero-subtitle,
.hero-title,
.hero-text {
  color: #f7f3e9;
}

.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: -0.25rem;
}

.hero-title {
  font-size: clamp(2.6rem, 3.6vw, 3.8rem);
  line-height: 1.04;
  text-shadow:
    0 0 18px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(0, 0, 0, 0.75);
}

.hero-text {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.8),
    0 0 22px rgba(0, 0, 0, 0.7);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 5.75rem 2.25rem 4.75rem;
  }

  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding: 6rem 3rem 5.25rem;
  }
}

/* ------------------------------------------------------------
   STACK UTILITIES
   ------------------------------------------------------------ */

.stack-sm > * + * { margin-top: 0.5rem; }
.stack-md > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }

/* rest of your existing sets/gigs/header/footer/forms code… */
/* ------------------------------------------------------------
   STACK UTILITIES
   ------------------------------------------------------------ */

.stack-sm > * + * { margin-top: 0.5rem; }
.stack-md > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }

/* ============================================================
   4. SETS LIST (Sets page)
   ============================================================ */

/* ------------------------------
   BASE = MOBILE  (≤ 640px)
   ------------------------------ */

.sets-header {
  margin-bottom: 1.5rem;
}

.sets-list {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================================
   GIGS LIST — MOBILE BASE (3 columns)
   ============================================================ */

.gigs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Mobile layout: 3 columns (date/time | venue/location | icons) */
.gig-row {
  display: grid;

  /* UPDATED: more space for middle col + pushes it visually left */
  grid-template-columns: 1.25fr 1.65fr auto;

  align-items: center;
  justify-items: start;     
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* generic cell */
.gig-col {
  font-size: 0.85rem;
}

/* Column 1 — Date / Time */
.gig-col-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gig-date {
  font-weight: 600;
}

.gig-time {
  margin-top: 0.15rem;
  font-size: 0.75rem;
}

/* Column 2 — Venue / Location */
.gig-col-venue {
  font-size: 0.9rem;
  justify-self: start;
  margin-left: -0.4rem;
}

.gig-venue {
  font-weight: 600;
}

.gig-location {
  margin-top: 0.1rem;
  font-size: 0.75rem;
}

/* Column 3 — Icons */
.gig-col-links {
  display: flex;
  justify-content: flex-end; 
  align-items: center;
  gap: 0.75rem;
}

.gig-link-icon {
  width: 20px;
  height: 20px;
}

/* Dim + disable private rows */
.gig-links-muted .gig-link-icon {
  opacity: 0.6;
}

.gig-links-muted a {
  pointer-events: none;
}

/* ============================================================
   TABLET — 4 columns (date+time | venue | location | links)
   641px – 1024px
   ============================================================ */

@media (min-width: 641px) and (max-width: 1024px) {

  .gig-row {
    display: grid;
    grid-template-columns:
      0.9fr   /* date + time           */
      2.6fr   /* venue                 */
      .7fr    /* location              */
      auto;   /* links                 */
    align-items: center;
    gap: 1rem;
  }

  .gig-col-date {
    grid-column: 1;
  }

  .gig-col-venue {
    display: contents;
    margin-left: 0;
  }

  .gig-venue {
    grid-column: 2;
    justify-self: start;
    font-weight: 600;
  }

  .gig-location {
    grid-column: 3;
    justify-self: start;
    margin-top: 0;
    font-size: 0.8rem;
  }

  .gig-col-links {
    grid-column: 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
  }
}

/* ============================================================
   GIGS LIST — DESKTOP (5 columns)
   ============================================================ */

@media (min-width: 1024px){

  .gig-row {
    grid-template-columns: 0.5fr 0.7fr 2.4fr 1fr auto;
    align-items: center;
    gap: 0.75rem;
  }

  .gig-col-date,
  .gig-col-venue {
    display: contents;
  }

  .gig-col-venue {
    margin-left: 0;
    font-size: 0.9rem;
  }

  .gig-date {
    grid-column: 1;
    font-weight: 600;
  }

  .gig-time {
    grid-column: 2;
    margin-top: 0;
    font-size: 0.8rem;
  }

  .gig-venue {
    grid-column: 3;
    font-weight: 600;
  }

  .gig-location {
    grid-column: 4;
    margin-top: 0;
    font-size: 0.8rem;
  }

  .gig-col-links {
    grid-column: 5;
    justify-content: flex-end;
  }
}

/* ------------------------------------------------------------
   5. HEADER & NAVIGATION
   ------------------------------------------------------------ */

.site-header {
  background-color: var(--lm-green);
  color: var(--lm-cream);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* Header inner layout -------------------------------------- */

.header-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  position: relative;
}

@media (min-width: 640px) {
  .header-inner {
    padding: 1.5rem 2.5rem;
  }
}

/* Logo ------------------------------------------------------ */

.header-logo {
  display: inline-flex;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .header-logo {
    margin-left: 0;
    margin-right: auto;
  }
}

.header-logo img {
  height: 20px;
  display: block;
}

/* Desktop nav ---------------------------------------------- */

.nav-desktop {
  display: none;
  margin-left: auto;
}

@media (min-width: 640px) {
  .nav-desktop {
    display: flex;
    gap: 1.25rem;
  }
}

/* Mobile nav toggle ---------------------------------------- */

.nav-toggle {
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  height: 32px;
  position: absolute;
  left: 0;
  margin-left: 1rem;   /* spacing from edge */
  cursor: pointer;
}

@media (min-width: 640px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile nav dropdown -------------------------------------- */

.nav-mobile {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem 1.25rem 1rem;
}

.nav-mobile-list {
  list-style: none;
  margin: 0.75rem 0 0 0;
  padding-left: 0.5rem;      /* pull whole list slightly right */
}

/* Hide mobile nav completely on desktop */
@media (min-width: 640px) {
  .nav-mobile {
    display: none !important;
  }

  /* hide mobile icons on desktop */
  .nav-icon-mobile {
    display: none;
  }
}

/* Links (desktop & mobile) -------------------------------- */

.nav-link,
.nav-link-mobile {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-decoration: none;
  color: inherit;
  transition: color 150ms ease;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 0.4rem;
}

.nav-link:hover {
  color: #dfe4d8;
}

/* Mobile links with icons */

.nav-link-mobile {
  display: flex;
  align-items: center;
  gap: 0.85rem;        /* space between icon + label */
  padding: 0.9rem 0;   /* taller tap target */
  margin-left: 0.25rem;/* subtle right shift */
  font-size: 0.85rem;
}

.nav-link-mobile:hover {
  color: #dfe4d8;
}

/* Mobile nav icons ---------------------------------------- */

.nav-icon-mobile {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
  opacity: 0.9;
}

/* ============================================
   MOBILE SVG SAFETY (Fix Instagram oversizing)
   ============================================ */

@media (max-width: 640px) {

  /* All SVGs inside the nav mobile menu */
  .nav-mobile img,
  .nav-mobile svg,
  .nav-icon-mobile {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    flex-shrink: 0;
  }

  /* Prevent mega blow-ups from 1000px SVGs */
  img[src$=".svg"],
  svg {
    max-width: 120px;
    max-height: 120px;
  }
}

/* Extra safety: reset SVG scaling globally */
svg {
  height: auto;
  width: auto;
  max-width: 100%;
}

/* ------------------------------------------------------------
   6. BUTTONS — Upgraded for polish + consistency
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.65rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;

  text-decoration: none;
  cursor: pointer;

  border-radius: 9999px;
  border: 1px solid transparent;

  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

/* PRIMARY BUTTON */

.btn-primary {
  background-color: var(--lm-green);
  border-color: var(--lm-green);
  color: var(--lm-cream);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background-color: #1f2914;
  border-color: #1f2914;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

/* OUTLINE BUTTON */

.btn-outline {
  background-color: transparent;
  border-color: var(--lm-green);
  color: var(--lm-green);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

/* Special treatment when inside HERO overlay */
.hero-ctas .btn-outline {
  border-color: #f7f3e9;
  color: #f7f3e9;
}

.hero-ctas .btn-outline:hover {
  background-color: rgba(247,243,233,0.08);
}

/* LIGHT BUTTON (Bookings page CTA) */

.btn-light {
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  background-color: var(--lm-cream);
  border-color: var(--lm-cream);
  color: var(--lm-green);
  border-radius: 9999px;

  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

.btn-light:hover {
  background-color: #e7e2d6;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* PILL BUTTON (EPK enquiry) */

.btn-pill {
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  border-radius: 9999px;
  border: 1px solid var(--lm-green);
  background-color: transparent;
  color: var(--lm-green);

  transition:
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

.btn-pill:hover {
  background-color: var(--lm-green);
  color: var(--lm-cream);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* ------------------------------------------------------------
   7. FOOTER
   ------------------------------------------------------------ */

.site-footer {
  background-color: var(--lm-black);
  color: var(--lm-cream);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 1.5rem 2.5rem;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 150ms ease;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-meta {
  margin-top: 1rem;
  font-size: 0.7rem;
  opacity: 0.7;
}

/* ------------------------------------------------------------
   8. FORMS
   ------------------------------------------------------------ */

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.form-textarea {
  resize: vertical;
}

/* Contact form layout */
.contact-form {
  max-width: 32rem;
}

.contact-form > * + * {
  margin-top: 1.25rem;
}

/* ------------------------------------------------------------
   9. STACK / SPACING UTILITIES
   ------------------------------------------------------------ */

.stack-sm > * + * {
  margin-top: 0.5rem;
}

.stack-md > * + * {
  margin-top: 1rem;
}

.stack-lg > * + * {
  margin-top: 1.5rem;
}

/* ------------------------------------------------------------
   AVAILABILITY CARDS (Bookings page)
   ------------------------------------------------------------ */

.availability-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.availability-card {
  background-color: var(--lm-offwhite);
  border: 1px solid var(--lm-green);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  box-shadow: 0 8px 22px rgba(0,0,0,0.10);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.availability-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

.availability-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.availability-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 18rem;
}
/* ------------------------------------------------------------
   BOOKINGS CTA — fixed colours + spacing
   ------------------------------------------------------------ */

.booking-cta {
  background-color: var(--lm-green);
  color: var(--lm-cream);
  border: 1px solid var(--lm-green);

  max-width: 44rem;
  margin: 2.25rem 0 2.75rem;   /* add top + bottom space */
  padding: 1.5rem 1.75rem;

  border-radius: 0.9rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);

  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* Force light text on headings inside the CTA */
.booking-cta h1,
.booking-cta h2,
.booking-cta h3,
.booking-cta-title {
  color: var(--lm-cream);
}

.booking-cta-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Body copy */
.booking-cta p,
.booking-cta-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 30rem;
}

/* CTA Button wrapper */
.booking-cta-actions {
  display: flex;
  align-items: center;
}

/* Boost the button a bit inside the card */
.booking-cta .btn-light {
  padding-inline: 1.6rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .booking-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.75rem;
  }

  .booking-cta-body {
    font-size: 0.95rem;
  }
}

/* Section heading — unchanged */
.section-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Underline link — unchanged */
.underline-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}