/* --------------------- BASE STYLES --------------------- */
body {
  font-family: system-ui, sans-serif;
  background-image: url("Images/Queasy Website Main Background Tile.png");
  background-repeat: repeat;
  color: #111;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  overflow-x: hidden;
}

header {
  width: 100%;
  text-align: center;
}

header img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

main {
  width: 100%;
  max-width: 1000px;
  padding: 1rem;
}

/* --------------------- ALBUM GRID --------------------- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.album {
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s;
}

.album:hover {
  transform: scale(1.03);
}

.album img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.album-title {
  margin-top: 0.5rem;
  font-weight: 600;
  font-family: "Gaegu", sans-serif;
}

/* --------------------- PLAYER VIEW --------------------- */
.player-view {
  display: none;
  margin-top: 2rem;
}

.player-view.active {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.player-top {
  display: flex;
  gap: 2rem;
}

.player-left {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.player-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.album-art-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.album-art-container img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

.album-buttons {
  display: flex;
  gap: 0.5rem;
}

.back-button,
.download-button {
  color: #dce57c;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  font-family: "Gaegu", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: none;
  border: none;
  text-decoration: none;
}

.back-button:hover,
.download-button:hover {
  color: white;
}

.album-description {
  text-align: center;
  font-size: 0.9rem;
  color: #eee;
  font-family: "Sono", monospace;
  white-space: pre-wrap;
  margin: 2rem auto 0 auto;
  max-width: 700px;
  display: block;
}

@media (min-width: 601px) {
  /* Center description below player-top */
  #playerView {
    position: relative;
  }
  .album-description {
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 0;
    display: block;
    max-width: 700px;
    text-align: center;
    left: 0;
    right: 0;
  }
}

/* --------------------- TRACKLIST --------------------- */
.tracklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.track {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.track h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #dce57c;
  font-family: "Gaegu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.track h3:hover {
  color: white;
  cursor: pointer;
}

.lyrics-btn {
  background: none;
  border: none;
  font-family: "Gaegu", sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #dce57c;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  font-size: 1rem;
}

.lyrics-btn:hover {
  color: white;
}

.lyrics-content {
  display: none;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #ddd;
  font-family: "Sono", monospace;
  white-space: pre-wrap;
}

/* --------------------- CUSTOM AUDIO PLAYER --------------------- */
.single-player-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  padding: 0.5rem 0;
  width: 100%;
}

.single-player-container .progress-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.single-player-container .current-track-title {
  display: block;
  font-size: 1rem;
  color: #dce57caf;
  text-align: center;
  line-height: 1.2;
  font-family: "Gaegu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.single-player-container .progress-container {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(218, 215, 13, 0.33);
  border-radius: 2px;
  cursor: pointer;
}

.single-player-container .progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #dce57c;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.single-player-container .play-btn {
  background: none;
  border: none;
  color: #dce57cc9;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.single-player-container .play-btn:hover {
  color: white;
}

.single-player-container .time {
  font-size: 0.9rem;
  color: #dce57caf;
  min-width: 40px;
  text-align: right;
}

/* --------------------- MEDIA QUERIES --------------------- */
@media (max-width: 600px) {
  .player-top {
    flex-direction: column;
    align-items: center;
  }

  .player-right {
    order: 1;
    width: 100%;
    align-items: center;
  }

  .player-left {
    order: 2;
    width: 100%;
  }

  .album-description {
    width: 95%;
    margin: 1.5rem auto 1rem auto;
    text-align: center;
    font-family: "Sono", monospace;
    font-weight: 300;
    white-space: pre-wrap;
    max-width: 95vw;
    display: block;
  }
}

/* --------------------- Nav Styles-------------------- */
nav {
            background-color: none;
            padding: 0;
            position: relative;
        }

        /* Mobile: Position nav over header */
        @media (max-width: 768px) {
            header {
                position: relative;
            }

            nav {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                background-color: transparent;
                z-index: 100;
            }
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-menu li {
            margin: 0;
            display: block;
            color: #dce57caf;
            text-decoration: none;
            padding: .5rem;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
            transition: background-color 0.3s;
        }
        .nav-menu li:hover {
            color: white;
            cursor: pointer;
        }
/* -----------------Bio styles----------------- */

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #dce57caf;
            font-size: 1.5rem;
            cursor: pointer;
            padding-top: 1rem;
            /* changes for fullscreen menu */
            position: relative;
            z-index: 101;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            .nav-menu {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                background-image: url("Images/Queasy\ Website\ Nav\ Background\ Tile.png");
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.3s ease, visibility 0.3s ease;
                z-index: 100;
            }

            .nav-menu.active {
                opacity: 1;
                visibility: visible;
            }

            .nav-menu li {
                width: 100%;
                padding: 15px 40px;
                font-size: 24px;
                text-align: center;
            }
        }
/* --------------------------------------------bio styles-------------------------------------- */
        .bio-section {
            display: none; /* Initially hidden */
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
        }

        .bio-section.active {
            display: block;
        }

        .bio-container {
            display: flex;
            gap: 40px;
            align-items: center;
        }

        .bio-text {
            flex: 1;
        }

        .bio-text h2 {
            /* font-size: 36px; */
            margin-bottom: 20px;
            color: #dce57caf;
            text-decoration: none;
            padding: .5rem;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
            font-size: 2rem;
        }

        .bio-text p {
            font-size: 18px;
            line-height: 1.6;
            color: #ffffffd1;
            font-family: "Sono", monospace;
            font-weight: 300;
            margin-bottom: 15px;
        }

        .bio-image {
            flex: 1;
            text-align: center;
        }

        .bio-image img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .bio-container {
                flex-direction: column-reverse;
            }

            .bio-image {
                margin-bottom: .5rem;
            }

            .bio-text h2 {
                font-size: 3rem;
                text-align: center;
            }

            .bio-text p {
                font-size: 16px;
                text-align: center;
            }
        }

        /* ---------------------Shows Section Styles---------------------------- */
        
        .shows-section {
          display: none; /* Initially hidden */
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
        }
        .shows-section.active {
            display: block;
        }
        .shows-section ul li {
            color: #dce57caf;
            text-decoration: none;
            padding: .5rem;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
            font-size: 1.2rem;
        }
        .shows-section ul a{
            color: #dce57caf;
            text-decoration: none;
            padding: .5rem;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
        }
        .shows-section ul a:hover {
            color: white;
            cursor: pointer;
        }
        
        #showsList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#showsList li {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid #ddddddd6;
    line-height: 1.6;
}

#showsList li:last-child {
    border-bottom: none;
}

/* Show flyer image */
.show-flyer {
    display: block;
    margin: 20px auto 0;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .shows-section {
        padding: 40px 15px;
    }
    
    #showsList li {
        font-size: 1.2rem;
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .show-flyer {
        max-height: 400px;
    }
    
}

@media (max-width: 480px) {
    #showsList li {
        font-size: 1rem;
    }
    
    .show-flyer {
        max-height: 300px;
    }
}

/* -----------------Mailing List Styles----------------- */
        .contact-section {
            display: none; /* Initially hidden */
            max-width: 800px;
            margin: 0 auto;
            padding: 1rem .5rem;
        }

        .contact-section.active {
            display: block;
        }

        .contact-container {
            text-align: center;
        }

        .contact-container h2 {
            font-size: 36px;
            margin-bottom: .5rem;
            color: #dce57caf;
            text-decoration: none;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
        }

        .contact-email {
            font-size: 20px;
            margin-bottom: 1rem;
            color: #dce57caf;
            text-decoration: none;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
        }

        .contact-email a {
            color: #dce57caf;
            text-decoration: none;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
            text-decoration: none;
            border-bottom: 2px solid #dce57caf;
            transition: color 0.3s;
        }

        .contact-email a:hover {
            color: #ffffffc9;
        }

        .mailing-list {
            padding: 40px 30px;
            border-radius: 8px;
            margin-top: .5rem;
        }

        .mailing-list h3 {
            font-size: 24px;
            margin-bottom: .5rem;
            color: #dce57caf;
            text-decoration: none;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
        }

        .signup-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-width: 400px;
            margin: 0 auto;
        }

        .signup-form input {
            padding: 12px 15px;
            font-size: 16px;
            background-color: transparent;
            border: 2px dotted #dce57caf;
            border-radius: 4px;
            transition: border-color 0.3s;
        }

        .signup-form input:focus {
            outline: none;
            border-color: #ffffff83;
            background-color:#ffffff83 ;
        }
        .signup-form input:hover {
            outline: none;
            border-color: #ffffff83;
            background-color:#ffffff83 ;
        }

        .signup-form button {
            padding: 12px 15px;
            font-size: 16px;
            background-color: #dce57caf;
            color: black;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .signup-form button:hover {
            background-color: #ffffff83;
        }

        .form-message {
            margin-top: 15px;
            padding: 10px;
            border-radius: 4px;
            display: none;
        }

        .form-message.success {
            background-color: #d4edda;
            color: #155724;
            display: block;
        }

        .form-message.error {
            background-color: #f8d7da;
            color: #721c24;
            display: block;
        }

        .thank-you-message {
            display: none;
            text-align: center;
            padding: 40px 20px;
        }

        .thank-you-message.visible {
            display: block;
        }

        .thank-you-message h3 {
            font-size: 40px;
            margin-bottom: 15px;
            color: #dce57caf;
            text-decoration: none;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
        }

        .thank-you-message p {
            font-size: 28px;
            color: #dce57caf;
            text-decoration: none;
            font-family: "Gaegu", sans-serif;
            font-weight: 800;
            font-style: bold;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .contact-section {
                padding: 40px 15px;
            }

            .contact-container h2 {
                font-size: 28px;
            }

            .contact-email {
                font-size: 18px;
            }

            .mailing-list {
                padding: 30px 20px;
            }

            .mailing-list h3 {
                font-size: 20px;
            }
        }