/* ==========================================================================
   #STYLES
   ========================================================================== */


/**
 *
 * [1]: Inheriting box sizing slightly better best-practice
 * https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
 *
 * [2]: WordPress System font-stack
 */


/* RESET
   ========================================================================== */


html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit; /* [1] */
  margin: 0;
  padding: 0;
}



/* FONTS
   ========================================================================== */
@font-face {
  font-family: Roboto;
  src: url(../fonts/Roboto-Thin.ttf);
}

body {
  font-family: Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; /* [2] */
}
a {
  font-family: Roboto;
}

/* BACKGROUND STUFF 
   ========================================================================== */
#water {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  filter: blur(4px);

}

.darkener {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  pointer-events: none;

}

/* General elements 
   ========================================================================== */
  .header {
    display: flex;
    justify-content: space-around;
    font-size: 32px;
    color: #FFFFFF;
  }

  a {
    text-decoration: none;
    color: #FFFFFF;
  }
  
  .centerchildren {
    display: flex;
    justify-content: center;
  }
  .txtmargin {
    margin: 10px;
  }

  .hidden {
    opacity: 0;
    pointer-events: none;
    user-select: none;
}

/* Buttons
   ========================================================================== */
.corner-button {
    position: fixed;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 10px;
}

.corner-button:hover {
    transform: scale(1.2);
    color: white;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;  /* Add this line to fix positioning */
}

.side-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 20px;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.side-button:hover {
    transform: translateY(-50%) scale(1.2);
}

.left-side {
    left: 20px;
}

.right-side {
    right: 20px;
}

/* Album selector
   ========================================================================== */
.album-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Album detail page
   ========================================================================== */
.album-detail {
    max-width: 600px;
    margin: 40px auto;
    padding: 32px 24px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.album-title {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 500;
}

.album-detail-img {
    display: block;
    margin: 0 auto 20px;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    background: transparent;
}

.album-description {
    margin-bottom: 18px;
    color: #ccc;
    font-size: 1rem;
    text-align: center;
}

.album-price {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.tracklist-title {
    margin-top: 24px;
    font-size: 1.3rem;
    text-align: center;
}

.track-list {
    margin-bottom: 20px;
    width: 100%;
    background: rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0 0 0 20px;
}

.track-item {
    margin-bottom: 8px;
    color: #fff;
}

.album-audio {
    width: 100%;
    margin-top: 4px;
    background: transparent;
}

.album-back-link {
    display: inline-block;
    margin-top: 20px;
    color: #8ecae6;
    text-decoration: underline;
    text-align: center;
    width: 100%;
}

/* Portrait specific
   ========================================================================== */
@media (orientation: portrait) {
  .header {
    max-height: 35vh;
    max-width: 100vw;
    flex-direction: row;
    align-items: top;
    padding-top: 10px;
  }
  .header2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }
  .logo {
    max-height: 50%;
    max-width: 40%;
  }
}

/* Landscape specific
   ========================================================================== */
@media (orientation: landscape) {
  .header {
    max-height: 20vh;
    max-width: 70vw;
    align-items: center;
  }
  .header2 {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .logo {
    max-height: 100%
  }
}
.album-container {
  min-height: 50vh;
}

.album-title {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 500;
}

/* Audio Player Container
   ========================================================================== */
.audio-player-container {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 80%;
    max-width: 500px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    z-index: 100;
    background: rgba(0, 0, 0, 0.2); /* changed from 0.0 to 0.5 for transparency */
    border-radius: 12px; /* matches other containers */
    box-shadow: 0 4px 24px rgba(0,0,0,0.15); /* optional: for consistency */
}

/* Track List Styles
   ========================================================================== */
.track-list {
    width: 100%;
    height: calc(3 * 40px);
    overflow-y: auto;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.track-item {
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Audio Controls Styles
   ========================================================================== */
.audio-controls {
    width: 100%;
    margin: 5px 0;
}

.playback-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.player-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.player-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.progress-slider {
    -webkit-appearance: none;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    width: 100%;
  }

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.progress-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Fancy scrollbar for webkit browsers */
.track-list::-webkit-scrollbar {
        width: 8px;
    }
    
.track-list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
.track-list::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }
    
.track-list::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
    }



/* Hamburger Menu
   ========================================================================== */
.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1003; /* increased to ensure above nav-menu */
    cursor: pointer;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1004; /* ensure icon is above nav-menu */
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 9px; }
.hamburger-icon span:nth-child(3) { top: 18px; }

.menu-open .hamburger-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.menu-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.menu-open .hamburger-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    padding-top: 60px;
    transition: 0.3s ease-in-out;
    z-index: 1002; /* below hamburger-menu and hamburger-icon */
}

.menu-open .nav-menu {
    right: 0;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
}

.nav-menu li {
    padding: 15px 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: 0.2s;
}

.nav-menu a:hover {
    transform: translateX(10px);
}

.menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 20px;
}

/* Contact Form
   ========================================================================== */
.contact-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.2);
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group input,
.form-group textarea {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.submit-button {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Services & Press Kit Containers
   ========================================================================== */
.services-container,
.presskit-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 32px 24px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    text-align: center;
}

.services-container h2,
.presskit-container h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.services-container ul,
.presskit-container ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
}

.services-container li,
.presskit-container li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.services-container li:last-child,
.presskit-container li:last-child {
    border-bottom: none;
}

.presskit-container p {
    margin-bottom: 18px;
    color: #ccc;
    font-size: 1rem;
}

.presskit-container a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s;
}

.presskit-container a:hover {
    color: #8ecae6;
}

/* Fix for white background on body */
body {
    /* ...existing code... */
    background: #181a1b; /* or your preferred dark background */
}

/* Footer Styles
   ========================================================================== */
footer.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 16px 20px;
    text-align: center;
    z-index: 150;
}

footer.copyright p {
    margin: 0;
    font-size: 12px;
    color: white;
    letter-spacing: 0.5px;
}

footer.copyright a {
    color: #8ecae6;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer.copyright a:hover {
    color: white;
    text-decoration: underline;
}
