/*
Theme Name: The MATCH (Hello Elementor Child)
Theme URI: https://mashuprockandrollmusical.com/the-match/
Description: Child theme for The MATCH — a 92-seat theatre in Traverse City. Professional base, weird colorful accents.
Author: The MATCH / Mashup Rock & Roll Musical
Template: hello-elementor
Version: 1.0.0
Text Domain: the-match-child
*/

/* ---------- Brand variables ---------- */
:root {
  --match-ink: #1A1A2E;
  --match-paper: #FAF7F2;
  --match-flame: #FF5E2B;
  --match-violet: #7B2FF7;
  --match-teal: #00C9A7;
  --match-pink: #FF3E8A;
  --match-gradient: linear-gradient(90deg, var(--match-flame), var(--match-pink), var(--match-violet));
}

/* ---------- Base polish ---------- */
body {
  background-color: var(--match-paper);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--match-flame);
  color: var(--match-paper);
}

a {
  transition: color 0.2s ease;
}

/* ---------- Signature classes (apply in Elementor > Advanced > CSS Classes) ---------- */

/* Gradient headline text */
.match-gradient-text,
.match-gradient-text .elementor-heading-title {
  background: var(--match-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Flame underline bar beneath a heading */
.match-strike .elementor-heading-title {
  display: inline-block;
  position: relative;
  padding-bottom: 0.35em;
}
.match-strike .elementor-heading-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 5px;
  background: var(--match-flame);
  border-radius: 3px;
}

/* Slight tilt for photos/cards */
.match-tilt {
  transform: rotate(-1.5deg);
  transition: transform 0.25s ease;
}
.match-tilt:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Warm glow on hover */
.match-glow,
.match-glow .elementor-button {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.match-glow:hover,
.match-glow .elementor-button:hover {
  box-shadow: 0 6px 28px rgba(255, 94, 43, 0.45);
  transform: translateY(-2px);
}

/* Gradient divider strip — add to an empty Spacer widget */
.match-divider {
  background: var(--match-gradient);
  height: 4px !important;
  min-height: 4px;
  border-radius: 2px;
}

/* Pill tag for event categories */
.match-tag {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--match-paper);
  background: var(--match-violet);
  padding: 4px 14px;
  border-radius: 999px;
}
.match-tag.is-flame { background: var(--match-flame); }
.match-tag.is-teal  { background: var(--match-teal); color: var(--match-ink); }
.match-tag.is-pink  { background: var(--match-pink); }

/* ---------- Buttons ---------- */
.elementor-button {
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- The Events Calendar: light brand alignment ---------- */
.tribe-events .tribe-events-c-ical__link,
.tribe-events .tribe-common-c-btn,
.tribe-events button.tribe-events-c-search__button {
  background-color: var(--match-flame);
  border-color: var(--match-flame);
}
.tribe-events a {
  color: var(--match-ink);
}
.tribe-events .tribe-event-date-start,
.tribe-events .tribe-events-calendar-list__event-datetime {
  color: var(--match-flame);
}

/* ---------- Accessibility ---------- */
a:focus-visible,
button:focus-visible,
.elementor-button:focus-visible {
  outline: 3px solid var(--match-violet);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .match-tilt, .match-glow, .match-glow .elementor-button {
    transition: none;
    transform: none;
  }
}
