/* Body Styles */

body {
  background-color: var(--black);
  scroll-behavior: smooth;
}

/* Header Styles */
header {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

/* header video {
  position: fixed;
  top: 0;
  filter: brightness(0.75);
  min-width: 100vw;
  height: 100vh;
} */

header .background {
  position: fixed;
  top: 0;
  filter: brightness(0.5);
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: top;
}

header .cta {
  background-color: var(--highlight);
  border-radius: 100%;
  color: var(--white);
  z-index: 10;
  position: absolute;
  padding: 12px 24px;
  bottom: 50px;
  width: 70px;
  height: 70px;
}

header .cta svg {
  position: absolute;
  top: 14%;
  left: 17%;
}

header .logo {
  width: 90vw;
  z-index: 5;
  padding-bottom: 260px;
}

header h1 {
  opacity: 0;
  position: absolute;
}

@media (min-width: 768px) {
  header .cta {
    right: 100px;
    top: 100px;
    transition: all var(--transition-time) ease;
  }

  header .cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px var(--black);
  }

  header .logo {
    padding-bottom: 200px;
  }
}

/* Section Styles */

section {
  width: 100%;
  position: relative;
  background-color: var(--black);
  padding: 44px 0;
}

section:first-of-type {
  padding-top: 0;
}

section > img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

section .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 20px;
  color: var(--white); 
  margin-top: -60px;
  z-index: 10;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--black) 50px);
}

section .content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--highlight);
}

section:last-of-type {
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  section {
    display: flex;
  }

  section > img {
    position: sticky;
    top: 0;    
    min-width: 380px;
  }

  section .content h2 {
    font-size: 3rem;
  }

  section:first-of-type {
    padding-top: 120px;
  }

  section .content {
    padding: 0 60px;
    margin-top: 0px;
    z-index: 0;
    position: default;
    background: none;
    justify-content: flex-start;
  }

  section > img {
    max-height: 100vh;
    max-width: 100%;
    min-height: 100vh;
  }

  section:last-of-type {
    padding-bottom: 120px;
  }
}

@media (min-width: 1720px) {
  section .content h2 {
    font-size: 3.8rem;
  }
}

/* Intro Styles */

.intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intro .quote {
  font-weight: bold;
  font-size: 22px;
  line-height: 32px;
  margin: 12px 0;
}

@media (min-width: 768px) {
  .intro .quote {
    font-size: 28px;
    line-height: 36px;
    margin: 24px 0;
  }
}

/* Ticket List Styles */

.concerts .filter {
  display: flex;
  margin-bottom: 12px;
}

.concerts .filter button {
  width: 100%;
  border: 1px solid var(--white);
  color: var(--white);
  cursor: pointer;
  padding: 8px 16px;
  font-weight: 600;
  transition: all var(--transition-time) ease;
}

.concerts .filter button:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.concerts .filter button:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.concerts .filter button.active {
  background-color: var(--white);
  color: var(--black);
}

.concerts .ticket-list {
  list-style: none;
  padding: 0;
  /* max-width: 720px; */
}

.concerts .ticket-list li {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--white);
  width: 100%;
}

.concerts .ticket-list .info h3 {
  font-weight: 800;
}

.concerts .ticket-list li:last-child {
  border-bottom: none;
}

.concerts .ticket-list .ticket {
  color: var(--white);
  height: min-content;
}

.concerts .ticket-list .ticket svg {
  transition: all var(--transition-time) ease;
}

.concerts .ticket-list.upcoming li.past {
  display: none;
}

.concerts .ticket-list.past li.upcoming {
  display: none;
}

@media (min-width: 768px) {
  .concerts .ticket-list .ticket:hover svg {
    fill: var(--black);
    background-color: var(--white);
    padding: 1px;
    border-radius: 4px;
  }

  .concerts .filter button.active {
    cursor: default;
    pointer-events: none;
  }

  .concerts .filter button { 
    width: max-content;
  }
}

/* About Styles */

.about {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.members {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.members ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.members ul li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--white);
  transition: transform var(--transition-time) ease;
}

.members ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.members ul li .info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.members ul li .person {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.members ul li .person h3 {
  font-weight: 800;
}

.members ul li img {
  width: 100%;
  height: 240px;
}

.members ul li .role {
  filter: brightness(0.8);
}

@media (min-width: 768px) {
  .members {
    gap: 36px;
  }

  .members ul {
    gap: 36px;
  }

  .members ul li {
    flex-direction: row;
  }

  .members ul li .info {
    flex-direction: column;
  }

  .members ul li .person {
    flex-direction: row;
  }

  .members ul li:hover {
    transform: scale(1.01);
  }
}

/* Booking info */
.further-info .description {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 16px;
}

.further-info .item {
  margin: 12px 0;
}

.further-info .item .label {
  filter: brightness(0.8);
}

@media (min-width: 768px) {
  .further-info {
    gap: 12px;
    margin-bottom: 24px;
  }
}

/* Footer Styles */

footer {
  position: sticky;
  bottom: 0;
  z-index: 10;
}

footer ul {
  position: fixed;
  bottom: -20px;
  left: 20px;
  right: 20px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  text-transform: lowercase;
  opacity: 0;
  transition: all var(--transition-time-long) ease-in-out;
  pointer-events: auto;
  background: var(--black-50);
  box-shadow: 0 4px 8px var(--black);
}

footer ul.initialized {
  bottom: 20px;
  opacity: 1;
}

footer ul.visible {
  opacity: 1;
  pointer-events: auto;
}

footer ul li {
  border-bottom: 1px solid transparent;
  border-radius: 4px;
  padding: 4px 8px;
  transition: all var(--transition-time) ease;
}

footer ul li.active {
  background-color: var(--black-25);
}

footer ul li.active button img {
  filter: invert(80%);
} 

footer ul li button {
  text-transform: lowercase;
  color: inherit;
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer ul li button span {
  display: none;
}

footer ul li button img {
  transition: filter var(--transition-time) ease-out;
  filter: invert(90%);
}

@media (max-width: 767px) {
  footer ul li {
    transition: all var(--transition-time) ease-out;
  }

  footer ul li.clicked {
    background-color: var(--light-grey);
    transform: scale(0.95);
  }
}


@media (min-width: 768px) {
  footer {
    transition: opacity var(--transition-time-long) ease-out;
  }

  footer ul {
    max-width: calc(50% - 52px);
    transition: all var(--transition-time-long) ease;
  }

  footer ul.initialized {
    opacity: 1;
  }

  footer ul:hover {
    opacity: 1;
    background-color: var(--white);
  }

  footer ul li button span {
    display: inline;
    margin-left: 8px;
    transition: color var(--transition-time) ease;
  }

  footer ul:hover li button span {
    color: var(--black);
  }

  footer ul:hover li button img {
    filter: invert(0);
  }

  footer ul:hover li.active {
    color: var(--black);
    background-color: var(--white-25);
    /* border-color: var(--black); */
  }

  footer ul:hover li.active button span {
    color: var(--black);
  }

  footer ul li {
    color: var(--white-50);
    transition: all var(--transition-time) ease;
  }

  footer ul li.active {
    background-color: var(--white-5);
  }

  footer ul li.active button span {
    color: var(--white);
  } 
  footer ul li button img {
    filter: invert(50%);
  }

  footer ul li.clicked {
    transform: none;
    background-color: var(--white-25);
  }


  footer ul li:hover {
    background-color: var(--black-5);
  }
}

@media (min-width: 1440px) {
  .members ul li .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "left right-top"    
      "left right-bottom"; 
    gap: 0;
  }

  .members ul li .info > img {
    padding-right: 24px;
    grid-area: left;
  }

  .members ul li .info > .person {
    grid-area: right-top;
    margin-bottom: 12px;
  }

  .members ul li .info > .description {
    grid-area: right-bottom;
  }
}

/* Utility Classes */

.visually-hidden {
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

.visually-hidden:focus-visible {
  clip: auto;
  height: auto;
  width: auto;
  position: relative;
  z-index: 100;
  color: var(--white);
}