/*
Theme Name: Womble
Author: Rosemont Communications
Description: Custom theme for Womble — DJ website. Dark ground, blue headings, yellow buttons and navigation. Homepage, About, Mixes (custom post type) and Booking (native enquiry form) built in.
Version: 1.0.0
Requires PHP: 5.6
Text Domain: womble
*/

:root {
  --bg: #0B0B0C;
  --bg-elevated: #18181B;
  --border: #2A2A2E;
  --text: #F5F4EF;
  --text-muted: #9A9A9F;
  --accent: #FFFF00;
  --accent-ink: #101204;
  --header: #4D6DFF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  color: var(--header);
}

a {
  color: var(--accent);
}

img {
  max-width: 100%;
}

/* ---------- Buttons / links ---------- */

.btn-primary,
.btn-secondary,
.submit-btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
}

.btn-primary,
.submit-btn {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  cursor: pointer;
}

.btn-primary:hover,
.submit-btn:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.tag {
  background: rgba(255, 255, 0, 0.12);
  color: var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
  width: fit-content;
}

.chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Site header / nav ---------- */

.site-header {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  border-radius: 6px;
  display: block;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.menu a:hover {
  color: var(--accent);
}

.menu li.current-menu-item > a,
.menu li.current_page_item > a {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* ---------- Hero (homepage) ---------- */

.hero {
  padding: 140px 56px 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-logo {
  height: 112px;
  width: auto;
  border-radius: 16px;
  display: block;
}

.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: 112px;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.hero-tagline {
  margin: 0;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* ---------- Section shells ---------- */

.section {
  padding: 0 56px 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-heading {
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  letter-spacing: 0.02em;
}

.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Latest mix (homepage) ---------- */

.latest-mix-card {
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  flex-wrap: wrap;
}

.artwork-placeholder,
.artwork-thumb {
  flex-shrink: 0;
  border-radius: 12px;
  background: #232327;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.artwork-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.latest-mix-card .artwork-placeholder,
.latest-mix-card .artwork-thumb {
  width: 220px;
  height: 220px;
}

.latest-mix-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  min-width: 240px;
}

.latest-mix-body h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.latest-mix-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 480px;
}

/* ---------- About teaser (homepage) ---------- */

.about-teaser {
  padding: 0 56px 96px;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.portrait-placeholder,
.portrait-thumb {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  overflow: hidden;
}

.portrait-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-teaser-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.about-teaser-body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

/* ---------- Mix grid ---------- */

.mix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mix-teaser-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.mix-teaser-card .artwork-placeholder,
.mix-teaser-card .artwork-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 10px;
  font-size: 12px;
}

.mix-teaser-title {
  font-size: 15px;
  font-weight: 600;
}

.mix-teaser-genre {
  font-size: 13px;
  color: var(--text-muted);
}

.mix-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.mix-card .artwork-placeholder,
.mix-card .artwork-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 10px;
  font-size: 12px;
}

.mix-card-title {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.mix-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mix-card-duration {
  font-size: 13px;
  color: var(--text-muted);
}

.mix-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.mix-link:hover {
  text-decoration: underline;
}

.mix-empty-state {
  color: var(--text-muted);
  font-size: 15px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
}

/* ---------- Page header (About / Mixes / Booking) ---------- */

.page-header {
  padding: 96px 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-header-lg {
  padding-bottom: 64px;
}

.page-title {
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  line-height: 0.95;
}

.page-intro {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
}

/* ---------- About page ---------- */

.about-hero {
  padding: 96px 56px 64px;
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
}

.about-hero .portrait-placeholder,
.about-hero .portrait-thumb {
  width: 320px;
  height: 380px;
  border-radius: 18px;
}

.about-hero-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}

.about-hero-body h1 {
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.about-hero-body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.bio {
  padding: 0 56px 80px;
  display: flex;
  justify-content: center;
}

.entry-content {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.entry-content p {
  margin: 0 0 1.4em;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

.entry-content a {
  color: var(--accent);
}

.influences {
  padding: 0 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.influences h2 {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  letter-spacing: 0.02em;
}

.influence-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 640px;
}

.setup {
  padding: 0 56px 96px;
  display: flex;
  justify-content: center;
}

.setup-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 640px;
  width: 100%;
}

.setup-card h2 {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.setup-items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.setup-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.setup-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.setup-value {
  font-size: 16px;
  font-weight: 600;
}

.cta-block {
  padding: 0 56px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.cta-block h2 {
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  letter-spacing: 0.02em;
}

.cta-block p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- Mixes page ---------- */

.mix-grid-section {
  padding: 0 56px 40px;
}

.pagination {
  padding: 0 56px 80px;
  display: flex;
  gap: 16px;
}

.pagination a,
.pagination span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.pagination a:hover {
  color: var(--accent);
}

/* ---------- Single mix ---------- */

.single-mix {
  padding: 96px 56px 120px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.single-mix .artwork-placeholder,
.single-mix .artwork-thumb {
  width: 320px;
  height: 320px;
  border-radius: 16px;
}

.single-mix-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.single-mix-body h1 {
  font-family: 'Anton', sans-serif;
  font-size: 48px;
  line-height: 1;
}

/* ---------- Booking page ---------- */

.booking-layout {
  padding: 48px 56px 120px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 260px;
  flex: 1 1 260px;
}

.booking-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.booking-info-value {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}

.booking-info-value:hover {
  color: var(--accent);
}

.booking-available {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.booking-available ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: var(--text);
}

.booking-form-wrap {
  flex: 2 1 420px;
  min-width: 320px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 200px;
}

.field label {
  font-size: 13px;
  color: var(--text-muted);
}

.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.submit-btn {
  align-self: flex-start;
}

.form-errors {
  background: rgba(255, 60, 60, 0.1);
  border: 1px solid #ff3c3c;
  color: #ff8080;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
}

.booking-thanks h3 {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
}

.booking-thanks p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Footer ---------- */

.site-footer {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 48px 56px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-logo {
  height: 28px;
  width: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 5px;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.foot-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.foot-link:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-title {
    font-size: 72px;
  }

  .hero-logo {
    height: 72px;
  }

  .page-title,
  .about-hero-body h1 {
    font-size: 48px;
  }

  .mix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .about-teaser,
  .page-header,
  .about-hero,
  .bio,
  .influences,
  .setup,
  .cta-block,
  .mix-grid-section,
  .pagination,
  .booking-layout,
  .single-mix {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-wrap,
  .menu {
    gap: 18px;
    width: 100%;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-title {
    font-size: 52px;
  }

  .mix-grid {
    grid-template-columns: 1fr;
  }
}
