/* Global Reset */
* {
    box-sizing: border-box;
}

:root {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Body Styles */
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    margin: 0;
    padding: 0.5%;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}


.navlinks {
    display: flex;
    flex: 3 1 95%;
    justify-content: flex-end;
}

/* Button Styling */
.nav-link {
    background-color: black;
    color: white;
    border: 2px solid white;
    padding: 6px 10px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
}

.nav-link a {
    color: inherit; /* Inherits button's text color */
    text-decoration: none; /* Removes underline */
}

.nav-link:hover {
    background-color: yellow;
    color: black;
}

.nav-link:hover a {
    color: inherit; /* Ensures the text color inside the button changes dynamically */
}

.nav-link:focus,
.nav-link:active {
    outline: none;
    border-color: gray;
    text-decoration: none;
}

.dropdown {
    float: left;
overflow: hidden;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: Black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  /* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }

  /* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: yellow;
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .droplinks {
    background-color: white;
    color: white;
  }

/* Layout Containers */
.container {
    display: flex;
    width: 100%;
    border-style: solid;
    border-radius: 1px;
}

.navbar {
    display: flex;
    flex-direction: grid;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0px 0px 0px 2px;
    overflow: hidden;
}

.media {
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: black;
    gap: 2px;
}

.infosection {
    position: relative;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 6px;
    background-color: black;
}

.aboutsection {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 6px;
    background-color: black;
}

.aboutImage {
    width: 100%;
    flex: 2 1 90%;
}

/* About Section */
.aboutInfo {
    width: 2%;
    background-color: white;
    flex: 1 10%;
    padding: 0 24px;
}


.footer {
    justify-content: center;
    align-items: center;
}

/* Logo & Text */
.logoText {
    justify-content: flex-start;
    flex: 1 1 5%;
    text-align: center;
    font-size: xx-small;
}

.logotitle {
    padding-bottom: 0;
}


.artDisplay {
    min-height: 50vh;
    width: 100%;
}

.trackinfo {
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex: 1 1 auto;
    background-color: white;
    text-align: center;
    height: 620px;
    overflow-y: auto;
}

/*.trackHeading {
    padding-top: 12px;
    padding-bottom: 0;
    margin: 0;
}
*/

/* About Section */
.about {
    background-color: white;
    flex: 1 1 50%;
    padding: 0 24px;
}

/* Schedule Section */
.schedule {
    background-color: white;
    flex: 1 1 50%;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

.schedule h3 {
    padding-top: 12px;
    padding-bottom: 10px;
    margin: 0;
}

.schedule-item {
    cursor: pointer;
    margin-bottom: 10px;
}

.schedule-item:hover {
    background-color: #f0f0f0;
}

/* Schedule Links */
#scheduleList a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

#scheduleList a:hover {
    color: darkblue;
}


/* Modal Styling */
.modal {
    display: none;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding-top: 20px;
    margin: 0 auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* Modal Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Lists */
ul {
    padding: 0;
}

li {
    list-style: none;
    padding: 4px 0;
    border-top: 1px solid;
}


a {
    text-decoration: none;
}

/* Audio Player Styles */
.audio-container {
    background: yellow;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 5px;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    flex-wrap: wrap;
    min-width: 300px;
}

.live-section {
    display: flex;
    align-items: center;
    width: 15%;
    min-width: 100px;
    justify-content: start;
}

.live-indicator {
    width: 12px;
    height: 12px;
    background: red;
    border-radius: 50%;
    display: none;
    margin-right: 8px;
}

#liveText {
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
}

.play-btn {
    background: black;
    color: white;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 16px;
}

.play-btn:hover {
    background: white;
    color: black;
}

.show-info {
    flex: 5;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    width: 50%;
    min-width: 150px;
}

.volume-control {
    width: 30%;
    max-width: 100px;
    min-width: 60px;
    margin-left: 10px;
}

.audio-dropdown {
    position: relative;
    display: flex;
    width: 20%;
    min-width: 100px;
    justify-content: end;
}

.audio-dropdown-toggle {
    background: black;
    color: white;
    border: none;
    padding: 5px 8px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.audio-dropdown-toggle:hover {
    background: white;
    color: black;
}

.audio-dropdown-content {
    display: none;
    position: absolute;
    background: white;
    width: 100%;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.audio-dropdown-content p {
    color: black;
    font-size: 14px;
    text-align: left;
}

.show {
    display: block;
}

@media screen and (max-width: 600px) {
    .audio-container {
        flex-direction: column;
        align-items: center;
    }

    .live-section, .show-info, .volume-control, .audio-dropdown {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-bottom: 5px;
    }

    .volume-control {
        max-width: 80%;
    }
}

.dropdown-img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

#showPageLink {
    color: blue;
    text-decoration: underline;
    margin-top: 8px;
    display: none; /* Hidden by default, shown if link exists */
}

.show-item {
    margin: 10px 0;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.show-item h4 {
    margin: 0 0 5px;
}

.show-item p {
    margin: 0;
    font-size: 14px;
}

.show-item a {
    margin-top: 5px;
    display: inline-block;
    color: blue;
    text-decoration: underline;
}
