:root {
  --primary: #ffa600;
  --primary-hover: #ffbb3c;
  --dark: #333333;
  --light: #f8fafc;
  --cream: #f5f5dc;
  --gray: #94a3b8;
  --surface: #111111;
  --font-main: "Oswald", sans-serif;
  --transition: all 0.3s ease;
  --pad-fat: 40px 20px 40px 20px;
  --pad-fat-bottom: 0 20px 80px 20px;
  --pad-fat-top: 80px 20px 0 20px;
  --pad-really-fat: 40px 20px 80px 20px;
  --max-width: 1200px;
}

/* ---------- Textures & torn edges ---------- */
.bg-paper-light { background: #ebe9e4 url("../assets/paper.webp") repeat; }
.bg-paper-dark  { background: #222 url("../assets/bg-dark.png") repeat; }
.tear-up, .tear-down { width: 100%; height: 30px; background-repeat: repeat-x; position: relative; z-index: 1; }
.tear-up   { background-image: url("../assets/tear-up.png");   margin-bottom: -1px; }
.tear-down { background-image: url("../assets/tear-down.png"); margin-top: -1px; }

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body {
  background-color: var(--dark);
  font-family: var(--font-main); font-weight: 400;
  color: var(--light); line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.wrapper { width: 100%; margin: 0 auto; }
.pad-fat { padding: var(--pad-fat); }
.pad-really-fat { padding: var(--pad-really-fat); }
.pad-fat-bottom { padding: var(--pad-fat-bottom); }
.pad-fat-top { padding: var(--pad-fat-top); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block; background-color: var(--primary); color: var(--dark);
  padding: 0.75rem 2rem; border-radius: 5px; border: 0; text-decoration: none;
  font-family: inherit; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.btn-primary:hover { background-color: var(--primary-hover); }

/* ---------- Headline ---------- */
.headline-content { max-width: var(--max-width); display: flex; flex-direction: column; justify-content: center; }
.headline-content .logo { width: 50%; margin: 0 auto; }
.headline-content .collage { width: 100%; margin: 0 auto; }
.music-links { display: flex; justify-content: center; max-width: var(--max-width); }
.music-links-container { display: flex; gap: 2rem; }
.music-link-item { color: var(--cream); font-size: 2rem; transition: var(--transition); }
.music-link-item:hover { color: var(--platform-color); }

/* ---------- Shows ---------- */
.shows { color: var(--dark); }
.shows-content { max-width: var(--max-width); display: flex; flex-direction: column; justify-content: center; }
.shows-header h2, .media-header h2 { font-family: var(--font-main); font-weight: 700; font-size: 3rem; color: var(--dark); }
.shows-list { display: flex; flex-direction: column; gap: 20px; margin-top: 1rem; }
.show-item {
  display: flex; gap: 2rem; align-items: center; padding: 10px; border-radius: 5px;
  background: #ffffff;
  box-shadow: rgba(0,0,0,0.1) 0 4px 20px;
}
.show-date-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 80px; height: 80px; background: var(--dark); color: var(--cream);
  border-radius: 5px; font-weight: 700;
}
.show-day { font-size: 1.8rem; line-height: 1; }
.show-month { font-size: 0.9rem; opacity: 0.8; text-transform: uppercase; }
.show-info { flex-grow: 1; }
.show-title { font-size: 1.8rem; color: var(--dark); line-height: 1.3; }
.show-meta { display: flex; gap: 1.5rem; font-size: 1rem; color: var(--surface); margin-bottom: 0.4rem; font-weight: 500; }
.show-location a { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--gray); }
.show-location a:hover { border-bottom-style: solid; }
.show-description { font-size: 0.95rem; color: #666; line-height: 1.5; }
.shows-loading, .no-shows { text-align: center; padding: 3rem; font-size: 1.2rem; color: var(--surface); }
.shows-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.now-booking { padding: 1rem 2.2rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- About ---------- */
.about { color: var(--light); }
.about-content { max-width: var(--max-width); display: flex; flex-direction: column; gap: 4rem; }
.about h2, .about h3 { font-family: var(--font-main); font-weight: 700; font-size: 3rem; color: var(--cream); line-height: 1.3; }
.bio p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.8; }
.lineup { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.member-list { margin: 1.5rem 0; }
.core-band p, .extended-family p { font-size: 1.1rem; line-height: 1.7; color: var(--gray); margin-bottom: 1rem; }
.core-band strong { color: var(--primary); }
.extended-family h3 { margin-bottom: 1.5rem; }
.extended-family strong { color: var(--light); }
.core-outro { margin-top: 1.5rem; }

/* ---------- Merch banner ---------- */
.merch { background: #000; }
.merch-banner {
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  max-width: var(--max-width); padding: 60px 20px 70px; text-align: center; text-decoration: none;
}
.merch-title {
  font-family: var(--font-main); font-weight: 700; font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.1; color: var(--cream); letter-spacing: 1px; transition: var(--transition);
}
.merch-sub {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap;
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--gray);
}
.merch-sub img { height: clamp(1.8rem, 3vw, 2.4rem); width: auto; }
.merch-banner:hover .merch-title { color: var(--primary); }
.merch + .tear-up { background-color: #000; }

/* ---------- Media ---------- */
.media { color: var(--dark); }
.media-content { max-width: var(--max-width); }
.media-header p { color: var(--surface); font-size: 1.2rem; }
.media-links { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 40px; }
.media-btn { flex: 1 1 0; min-width: 200px; padding: 1.2rem 2.5rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; text-align: center; }

/* ---------- Booking ---------- */
.booking { display: flex; justify-content: center; }
.booking-content { max-width: var(--max-width); }
.booking h2 { font-family: var(--font-main); font-size: 3rem; font-weight: 700; margin-bottom: 3rem; color: var(--cream); }
.booking-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.9rem; font-weight: 500; color: var(--light); }
.form-group input, .form-group textarea {
  padding: 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: var(--light); font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(248,250,252,0.4); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,0.08); }
.date-note { font-size: 0.85rem; color: var(--gray); }

/* Date picker (Flatpickr) in the site colors */
.flatpickr-calendar { background: var(--dark) !important; border: 1px solid var(--surface) !important; box-shadow: rgba(0,0,0,0.5) 0 10px 30px !important; font-family: var(--font-main); }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--primary) !important; border-color: var(--primary) !important; color: var(--dark) !important; }
.flatpickr-day:hover { background: var(--surface) !important; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
  color: rgba(255,255,255,0.18) !important; text-decoration: line-through; background: transparent !important; cursor: not-allowed;
}
.booking-form .btn-primary { margin-top: 1rem; font-size: 1.1rem; align-self: flex-start; }
.form-status { color: var(--primary); min-height: 1.4em; }

/* ---------- Footer ---------- */
footer { background: #000; padding: 2rem; text-align: center; color: var(--gray); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .lineup { grid-template-columns: 1fr; gap: 2rem; }
  .headline-content .logo { width: 80%; }
}
@media (max-width: 600px) {
  .show-item { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
  .show-date-box { flex-direction: row; gap: 0.5rem; min-width: unset; width: 100%; height: auto; padding: 0.5rem; }
  .show-day { font-size: 1.2rem; }
  .show-meta { flex-direction: column; gap: 0.2rem; }
  .media-btn { min-width: 0; flex: 1 1 100%; }
  .about h2, .about h3, .shows-header h2, .media-header h2, .booking h2 { font-size: 2.4rem; }
}
