/* LOADING SCREEN */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #100c0c;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  position: relative;
  width: 60%;
  max-width: 80rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.loader-logo {
  width: 100%;
  filter: brightness(0) invert(1);
  animation: shimmer 2s ease-in-out infinite alternate;
  margin-bottom: 0;
}

.loader-image {
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.45;
  margin-top: -55rem;
}

.loader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/**************************/
/* HEADER */
/**************************/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
  z-index: 100;
}

.logo {
  height: 8.9rem;
}

.logo-crop {
  overflow: hidden;
  height: 70px; /* adjust this until the MH circle disappears */
}

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16.2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  font-size: 3.2rem;
  transition: all 0.3s;
  white-space: nowrap;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #ef2c2c;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #000000;
  line-height: 1;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #eb3232;
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
}

.sticky main {
  margin-top: 9.6rem;
}

/* LOGO BAR (ABOVE CAROUSEL) */
.logo-bar {
  background-color: #ffffff;
  padding: 2.4rem 0;
  text-align: center;
}

.simple-logo {
  height: 6rem;
}

/**************************/
/* HERO SECTION - CAROUSEL */
/**************************/

.section-hero {
  background-color: #100c0c;
  position: relative;
  padding: 0;
  height: 70vh;
  min-height: 50rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-slide:nth-child(1) img {
  object-position: center 30%;
}
.carousel-slide:nth-child(2) img {
  object-position: center 45%;
}
.carousel-slide:nth-child(3) img {
  object-position: center 30%;
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-arrow:hover {
  background-color: rgba(239, 44, 44, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow ion-icon {
  width: 3rem;
  height: 3rem;
}

.carousel-arrow-left {
  left: 3.2rem;
}

.carousel-arrow-right {
  right: 3.2rem;
}

/* Dots Indicators */
.carousel-dots {
  position: absolute;
  bottom: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.2rem;
  z-index: 10;
}

.dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background-color: #ef2c2c;
  width: 3.2rem;
  border-radius: 0.6rem;
}

/**************************/
/* MUSIC & SOCIALS SECTION */
/**************************/

.section-music-socials {
  padding: 9.6rem 0;
}

.section-music-socials .social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 4.8rem;
  margin-top: 4.2rem;
}

.section-music-socials .social-links li {
  display: block;
  margin-bottom: 4.2rem;
}

.section-music-socials .social-links .footer-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 2rem;
  text-decoration: none;
  color: #000;
  transition: all 0.3s;
}

.section-music-socials .social-links .footer-link:hover {
  color: #ef2c2c;
}

.section-music-socials .social-links .social-icon {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 3.2rem;
}

.section-music-socials .social-links .fab {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 3.2rem;
}

.video-container {
  max-width: 80rem;
  margin: 4.8rem auto;
  margin-top: -8.8rem;
  margin-bottom: 0;
}

.video-container video {
  width: 100%;
  border-radius: 11px;
}

/**************************/
/* RELEASED TRACKS SECTION */
/**************************/

.section-tracks {
  padding: 9.6rem 0;
  background-color: #f9f9f9;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
  margin-bottom: 4.8rem;
}

.track-item {
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.3s;
}

.track-item:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0 3.2rem 6.4rem rgba(160, 4, 4, 0.4);
}

.track-item img {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.3s;
  object-fit: cover;
  aspect-ratio: 1/1; /*forces perfect square */
}

.track-item:hover img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s;
}

.track-item:hover .play-overlay {
  opacity: 1;
}

.play-overlay ion-icon {
  width: 8rem;
  height: 8rem;
  color: #fff;
}

.track-item.playing .play-overlay {
  opacity: 1;
  background-color: rgba(226, 34, 34, 0.6);
}

/* Track Title Overlay */
.track-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem;
  color: #000;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  z-index: 5;
}

.track-title.white {
  color: #fff;
}

/**************************/
/* CUSTOM AUDIO PLAYER */
/**************************/

.audio-player {
  max-width: 80rem;
  margin: 4.8rem auto 0;
  padding: 2.4rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border-radius: 11px;
  border: 1px solid #333;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}

.player-album-art {
  width: 8rem;
  height: 8rem;
  border-radius: 8px;
  object-fit: cover;
}

.player-track-info {
  flex: 1;
}

.player-track-name {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.control-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.control-btn ion-icon {
  width: 4rem;
  height: 4rem;
  color: #fff;
}

.control-btn:hover ion-icon {
  color: #ef2c2c;
  transform: scale(1.1);
}

.progress-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.time {
  font-size: 1.4rem;
  color: #fff;
  min-width: 4rem;
}

.progress-bar {
  flex: 1;
  height: 0.6rem;
  background-color: #333;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef2c2c 0%, #ff6262 100%);
  width: 0%;
  transition: width 0.1s linear;
}

.volume-slider {
  width: 10rem;
  height: 0.6rem;
  -webkit-appearance: none;
  appearance: none;
  background: #333;
  border-radius: 3px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.6rem;
  height: 1.6rem;
  background: #ef2c2c;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.volume-slider::-webkit-slider-thumb:hover {
  background: #ff6262;
  transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
  width: 1.6rem;
  height: 1.6rem;
  background: #ef2c2c;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.volume-slider::-moz-range-thumb:hover {
  background: #ff6262;
  transform: scale(1.2);
}

#musicPlayer {
  display: none;
}

/**************************/
/* LIVE SHOWS SECTION */
/**************************/

.section-shows {
  padding: 1.8rem 0 9.6rem;
  scroll-margin-top: 8rem; /* match this to your header height */
}

.section-shows .container:first-child {
  margin-bottom: 2rem; /* was likely 4.8rem or 9.6rem, adjust to taste */
}

.show-card {
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.4s;
  border: 1px solid #000000;
}

.show-card:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 0.2rem 1.4rem #e93b3b;
}

.show-content {
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
  color: #333;
}

.show-tags {
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #333;
  border-radius: 100px;
  font-weight: 600;
}

.tag--upcoming {
  background-color: #ff2323;
}

.tag--tonight {
  background-color: #ea3636;
}

.tag--soldout {
  background-color: #888;
}

.show-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 3.2rem;
}

.show-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.show-detail {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.show-detail span {
  color: #333;
}

.show-icon {
  height: 2.4rem;
  width: 2.4rem;
  color: #640000;
}

.show-img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.show-detail a {
  color: #ef2c2c;
  text-decoration: none;
  transition: all 0.3s;
}

.show-detail a:hover {
  color: #d32424;
  text-decoration: underline;
}

/* Search Bar */
.shows-search-container {
  margin-bottom: 3.2rem;
}
.shows-search-wrapper {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 100px;
  padding: 1rem 2.4rem;
  max-width: 50rem;
  margin: 0 auto;
}
.shows-search-icon {
  width: 2rem;
  height: 2rem;
  color: #888;
}
.shows-search-input {
  border: none;
  outline: none;
  font-size: 1.6rem;
  width: 100%;
  font-family: inherit;
}

/* Pagination */
.shows-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  margin-top: 3.2rem;
}
.shows-arrow {
  background-color: #100c0c;
  border: none;
  color: #fff;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.shows-arrow:hover:not(:disabled) {
  background-color: #ef2c2c;
}
.shows-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.shows-arrow ion-icon {
  width: 2.4rem;
  height: 2.4rem;
}
.shows-page-indicator {
  font-size: 1.8rem;
  font-weight: 600;
}
.shows-no-results {
  text-align: center;
  font-size: 1.8rem;
  color: #888;
  padding: 3.2rem 0;
}

/**************************/
/* MERCH SECTION */
/**************************/

.section-merch {
  padding: 9.6rem 0;
  background-color: #f9f9f9;
}

.section-merch .subheading,
.section-merch .heading-secondary {
  text-align: center;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.8rem;
  margin-top: 4.8rem;
}

.merch-item {
  background-color: #fff;
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid #000;
}

.merch-item:hover {
  transform: translateY(-1.2rem);
}

.merch-img-box {
  width: 100%;
  height: 40rem;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: #fff;
  margin-top: -1.2rem;
}

.merch-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* CHANGED FROM cover TO contain */
  transition: all 0.3s;
}

.merch-item:hover .merch-img-box img {
  transform: scale(1.05);
}

.merch-info {
  padding: 2.4rem;
  text-align: center;
}

.merch-name {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.2rem;
}

.merch-price {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ef2c2c;
  margin-bottom: 2.4rem;
}

.merch-btn {
  display: inline-block;
  padding: 1.2rem 3.2rem;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 9px;
  font-size: 1.8rem;
  font-weight: 600;
  transition: all 0.3s;
}

.merch-btn:hover {
  background-color: #ef2c2c;
  transform: scale(1.05);
}

/**************************/
/* BIO SECTION */
/**************************/
.section-bio {
  padding: 9.6rem 0;
}

.bio-toggle {
  text-align: center;
  margin: 3.2rem 0;
}

.bio-toggle-btn {
  padding: 1.2rem 3.2rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.bio-toggle-btn:hover {
  background-color: #ef2c2c;
  transform: scale(1.05);
}

.bio-content {
  margin-top: 3.2rem;
}

.bio-text {
  font-size: 1.8rem;
  line-height: 1.8;
  max-width: 80rem;
  margin: 0 auto;
  color: #333;
  text-align: center;
}

.band-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.8rem;
  align-items: center;
  max-width: 120rem;
  margin: 0 auto;
}

.band-info .bio-text {
  text-align: left;
  margin: 0;
}

.band-img-box {
  width: 100%;
}

.band-img {
  width: 100%;
  border-radius: 11px;
  border: 1px solid #000;
}

/**************************/
/* CONTACT SECTION */
/**************************/

.section-contact {
  padding: 4.8rem 0 12.8rem;
}

.contact-box {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-radius: 11px;
  background-image: linear-gradient(to right bottom, #ff6262, #000000);
  overflow: hidden;
}

.contact-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #45260a;
}

.contact-box .heading-secondary {
  color: inherit;
  margin-bottom: 3.2rem;
}

.contact-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.contact-img-box {
  background-image:
    linear-gradient(
      to right bottom,
      rgba(93, 229, 247, 0.125),
      rgba(81, 232, 234, 0.137)
    ),
    url("../img/reachM.JPG");
  background-size: cover;
  background-position: center;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.contact-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color: #fdf2e9;
  border-radius: 9px;
}

.contact-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-box *:focus {
  outline: none;
}

/**************************/
/* FOOTER */
/**************************/

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #eee;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #090802;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #f02e2e;
}
