/*
 * FORCED UPDATE - MARCH 15, 2024, 2:30 PM - Attempting to bust cache
 * styles.css
 * Adjusting transform: translateX() to bring the GIF slightly left.
 */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5vh;
    margin: 0;
    box-shadow: none;
}

.top-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-logo {
    display: block;
    max-width: 90%;
    height: auto;
    margin-bottom: 5vh;
    transform: translateX(5px);
}

.button-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.nav-button {
    display: block;
    text-decoration: none;
    background-color: black;
    color: white;
    border: 2px solid white;
    text-transform: uppercase;
    padding: 15px 40px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.35em;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    min-width: 150px;
    font-family: "Alata", sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
}

.nav-button:hover {
    background-color: white;
    color: black;
    border-color: black;
}

/* --- NEW STYLES FOR MUSIC PAGE ELEMENTS --- */

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 5vh;
}

.catalog-section {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.album-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.album-carousel {
    display: flex;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 20px;
    gap: 20px;
    width: calc(100% - 100px);
    margin: 0 50px;

    /* Hide scrollbar for Webkit browsers (Chrome, Safari) */
    &::-webkit-scrollbar {
        display: none;
    }
    /* Hide scrollbar for Firefox */
    scrollbar-width: none;
    /* Hide scrollbar for IE and Edge */
    -ms-overflow-style: none;
}

.carousel-nav {
    /* --- MODIFIED FOR RECTANGULAR, BLACK BUTTONS --- */
    background-color: black; /* Now black background */
    border: none;            /* No border initially */
    color: white;            /* White arrow text */
    font-size: 1.5em;        /* Slightly adjusted size for better fit */
    padding: 5px 10px;       /* Adjusted padding for rectangular shape */
    border-radius: 0;        /* Make it rectangular */
    /* ------------------------------------------------ */

    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Added border-color to transition */
    font-family: "Alata", sans-serif;
}

.carousel-nav:hover {
    /* --- MODIFIED HOVER STATE --- */
    background-color: white;       /* Background becomes white on hover */
    color: black;                  /* Arrow text becomes black on hover */
    border: 2px solid black;       /* Black border appears on hover for definition */
    /* -------------------------- */
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.album-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    text-align: center;
    cursor: pointer;
    background-color: black;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 5px;
    border: 2px solid transparent;
}

.album-item p {
    font-size: 0.9em;
    color: white;
}

.album-item.active {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.album-item.active img {
    border-color: #00bcd4;
}

.details-section {
    width: 100%;
    background-color: black;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 50px;
    min-height: 200px;
}

.details-section h3 {
    margin-top: 0;
    color: #00bcd4;
}

.details-section ul {
    list-style: none;
    padding: 0;
}

.details-section ul li {
    padding: 8px 0;
    border-bottom: 1px solid #444;
    color: #eee;
}
.details-section ul li:last-child {
    border-bottom: none;
}