:root {
  --main-bg: #749481;
  --accent-pink: #FFDAB9;
  --hover-pink: #B7410E;
  --text-white: #ffffff;
  
body {
  font-family: "MuseoModerno", sans-serif;
}
  
  /* Fallback for no backdrop-filter support */
  @supports not ((-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))) {
    .track {
      background-color: rgba(255, 255, 255, 0.3);
    }
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--main-bg);
  color: var(--text-white);
}

nav {
  position: fixed;
  top: 0;
  width: calc(100% - 20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 10px;
  z-index: 5;
  background-color: var(--main-bg);

  .nav-left a {
    font-family: var(--font-links);
    color: var(--accent-pink);
    text-decoration: none;
    padding: 12px 30px;
    font-size: 1.6rem;
    transition: color 0.2s ease, transform 0.2s ease;
    
    &:hover {
      color: var(--hover-pink);
      transform: scale(1.1);
      cursor: pointer;
    }
  }

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;

    li a {
      display: block;
      padding: 20px 40px;
      text-decoration: none;
    }
  }

  li a:hover,
  .menu-btn:hover {
    background-color: #679267;

    @media (min-width: 768px) {
      background-color: transparent;
    }
  }

  .menu {
    background-color: var(--main-bg)
    position: absolute;
    top: 100%;
    left: 0;
    background-color: transparent;
    max-height: 0;
    transition: max-height .2s ease-out;
    z-index: 10;
  }
  
  .menu-icon {
    cursor: pointer;
    display: inline-block;
    padding: 28px 20px 20px;
    position: relative;
    user-select: none;
    
    
    .navicon {
      background: #FFDAB9;
      display: block;
      height: 2px;
      position: relative;
      transition: background .2s ease-out;
      width: 26px;

      &:before,
      &:after {
        background: #FFDAB9;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .2s ease-out;
        width: 100%;
      }

      &:before {
        top: 8px;
      }

      &:after {
        top: -8px;
        
      }
    }
  }

  .menu-btn {
    display: none;
    

    &:checked ~ .menu {
      max-height: 240px;
    }

    &:checked ~ .menu-icon .navicon {
      background: transparent;
      

      &:before {
        transform: rotate(-45deg);
      }

      &:after {
        transform: rotate(45deg);
      }
    }

    &:checked ~ .menu-icon:not(.steps) .navicon {
      &:before,
      &:after {
        top: 0;
      }
    }
  }

  @media (min-width: 768px) {
    li {
      float: left;
    }
    li a {
      padding: 20px 30px;
    }
    .menu {
      position: relative;
      max-height: none;
      
    }
    .menu-icon {
      display: none;
    }
  }
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  z-index: 1000;
  text-decoration: none;
}

.social-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.1s ease, filter 0.1s ease;
  cursor: pointer;
}

.tik-tok {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.social-link:visited {
  color: inherit;
}

.social-link:hover .social-icon,
.social-link:hover .tik-tok {
  transform: scale(1.3);
  filter: drop-shadow(0 0 7px #d185a7);
}

header,
section.page-section {
  position: relative;
  margin-top: 100px;
  margin-bottom: 0px;
  padding: 0rem;
  text-align: center;
  justify-content: space-between;
  
  @media (min-width: 768px) {
    margin-top: 80px;
    padding-top: 4rem;
  }
}

header {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}

.hidden {
  display: none;
} /*Do Not Delete!!! It controls how each page, relative to nav link, stays separate*/

.band-name {
  position: absolute;
  top: 50%;
  padding: 0;
  margin: 0 auto;
  transform: translateY(-50%);
  justify-self: center;

  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-bandname);
  font-weight: 900;
  color: var(--accent-pink);
  text-align: center;
  z-index: 3;
  font-size: clamp(1.7rem, 7.5vw, 5rem);
  
  @media (min-width: 768px) {
    justify-self: flex-start;
    padding-left: 25px;
    font-size: clamp(3rem, 7.5vw, 5rem);
    line-height: normal;
  }
  
  .text-reveal {
    span {
      position: relative;
      display: inline-block;

      &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 102%;
        background: var(--main-bg);
        transform-origin: left;
        transform: scale(1, 1);
      }

      &:after {
        content: "\a";
        white-space: pre;
      }

      &:nth-of-type(1):before {
        animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s forwards;
      }
      &:nth-of-type(2):before {
        animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s forwards;
      }
      &:nth-of-type(3):before {
        animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.6s forwards;
      }
      &:nth-of-type(4):before {
        animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.8s forwards;
      }
      &:nth-of-type(5):before {
        animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.10s forwards;
      }
    }
  }
}


@keyframes reveal-text {
  100% {
    transform: scale(0, 1);
  }
}

@keyframes etchFadeIn {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 100%;
    opacity: 2;
  }
}

.image-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 50px;
  width: 100%;
}

.main-photo {
  display: block;
  position: relative;
  right: 25px;
  transform: rotate(-5deg);
/*   margin: 0px 0px 50px 500px; top left bottom right */
  max-width: 90%;
  height: auto;
  border-radius: 28px;
  z-index: 2;

  @media (min-width: 768px) {
    max-width: 65%
  }
}


.spotify {
  display: block;
  margin: 0 auto;
  width: 75%;
  position: relative;
  align-items: center;
  z-index: 0;
}

.media-player {
  margin: 0 auto;
  width: 75%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.song-name {
  font-size: 1rem;
  padding-left: 1rem;
  padding-right: 2rem;
  color: var(--accent-pink);
}

.preview-note {
  font-size: .8rem;
  padding-left: .8rem;
  padding-right: 2rem;
}

.track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-evenly;
  align-items: center;
  padding: .7rem;
  width: 100%;
  text-align: center;
  background-color: rgba(178, 216, 197, 0.15);
  border: 2px solid var(--accent-pink);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.4s ease;

  @media (min-width: 1024px) {
    width: auto;
    padding: 30px 40px 20px;
    gap: 40px;
  }

  img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    
    @media (min-width: 768px) {
      width: 150px;
      height: 150px;
    }
  }
  
  .left-col {
    padding-left: 10px;

    @media (min-width: 768px) {
      padding-left: 0;
    }

    .song-name {
      margin: 0;
      padding: 0;
    }
  }

  .right-col {
    .preview-note {
      margin: 0;
      padding: 0;
    }
  }
}

.track:hover {
  box-shadow:
    0 0 20px 6px var(--accent-pink),
    0 0 40px 10px var(--accent-pink),
    0 0 60px 15px var(--accent-pink);
}

@keyframes track-pulse {
  0% {
    box-shadow:
      0 0 20px 6px var(--accent-pink),
      0 0 40px 10px var(--accent-pink),
      0 0 60px 15px var(--accent-pink);
  }
  50% {
    box-shadow:
      0 0 30px 10px var(--accent-pink),
      0 0 50px 15px var(--accent-pink),
      0 0 70px 20px var(--accent-pink);
  }
  100% {
    box-shadow:
      0 0 20px 6px var(--accent-pink),
      0 0 40px 10px var(--accent-pink),
      0 0 60px 15px var(--accent-pink);
  }
}

.track.pulsating {
  animation: track-pulse .9s ease-in-out infinite;
}

.bio-header {
  font-family: var(--font-bandname);
  color: var(--accent-pink);
  font-size: 5rem;
  margin-top: .7rem;
  margin-bottom: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.bio-text-box {
  max-width: 1000px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--accent-pink);
  box-shadow: 0 0 20px rgba(255, 182, 193, 0.1);
  color: var(--text-white);
  font-family: var(--font-body);
  text-align: center;
}

.latest-ep-label {
  font-family: var(--font-bandname);
  color: var(--accent-pink);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(255, 182, 193, 0.4);
}

.booking {
  font-family: var(--font-bandname);
  color: var(--accent-pink);
  font-size: 1.25rem;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 0.1rem;
}

.subscribe-section input[type='email'] {
  padding: 0.5rem;
  font-size: 1rem;
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
}

.subscribe-section button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: var(--accent-pink);
  border: none;
  color: var(--text-white);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
  border-radius: 5px;
}

.subscribe-section button:hover {
  transform: scale(1.3);
  filter: drop-shadow(0 0 7px #d185a7);
  background-color: var(--accent-pink);
}

.contact-link {
  font-family: var(--font-cave);
  color: var(--accent-pink);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  font-weight: 600;
}

.contact-link:hover {
  transform: scale(1.1);
  color: var(--hover-pink);
}

.subscribe-text {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  margin-bottom: 0rem;
}

footer {
  text-align: center;
  margin-top: 4rem;
  padding: 1rem;
}

.footer-logo {
  width: 500px;
  height: auto;
  max-width: 90vw;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .media-player {
    width: 90%;
    height: 20%;
  }

  .subscribe-section input[type='email'],
  .subscribe-section button {
    width: 100%;
    box-sizing: border-box;
  }

  .subscribe-section button {
    margin-top: 0.5rem;
  }

  .subscribe-text {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

  .footer-logo {
    width: 300px;
    height: auto;
  }

  .page-header {
    font-size: 3rem;
    margin: 1rem 0 1rem;
  }

  .contact {
    text-align: center;
    margin-top: 2rem;
  }
}
