/* General Layout */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Discography Section */
.discography {
    padding: 0;
    text-align: center;
}

.pg-name {
    font-size: 2.5rem;
    color: #ff6a3d;
    margin-bottom: 10px;
    padding-top: 10px;
}

/* Centering & Responsive Grid */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 90vw;
    margin: 0 auto;
    z-index: 1; /* Ensure grid is below modal */
}

/* Album Item */
.album-item {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease; /* Only transition transform */
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(0); /* Force hardware acceleration */
}

.album-item:hover {
    transform: scale(1.05);
}

/* Album Covers */
.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Album Details */
.album-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 100%;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-item:hover .album-details {
    opacity: 1;
}

/* Buttons */
.album-button, .show-songs-button {
    padding: 10px 20px;
    background-color: #ff6a3d;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.album-button:hover, .show-songs-button:hover {
    background-color: #e63946;
}

/* Song Modal */
.song-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Ensure modal is on top of other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    overflow: auto; /* Enable scrolling if content overflows */
}

/* Active Modal */
.song-modal.active {
    display: block; /* Show modal when active class is added */
}

/* Modal Content */
.modal-content {
    background-color: #333; /* Dark background for modal content */
    margin: 5% auto; /* Center the modal vertically and horizontally */
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    max-width: 500px; /* Limit maximum width */
    color: white; /* White text */
    position: relative; /* For positioning the close button */
}

/* Close Button */
.close-buttn {
    color: #bbbbbb; /* Light gray for the close button */
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none; /* Remove any background */
    border: none; /* Ensure no border around the button */
    padding: 0; /* Remove any padding */
    text-shadow: none; /* Remove any text shadow */
}

.close-buttn:hover {
    color: white; /* Change to white on hover */
}

/* Song List Styling */
.song-modal h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem; /* Slightly larger font for the title */
}

.song-modal ul {
    list-style-type: none;
    padding: 0;
}

.song-modal li {
    margin: 5px 0;
    font-size: 1.2rem; /* Slightly larger font for song names */
}.merch-blurb {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin: 0; /* Remove any margin */
    padding: 70; /* Remove any padding */
    position: relative; /* Adjust positioning if needed */
}

/* If you want to ensure the blurb starts at the very top of the viewport */
.merch-blurb img {
    width: 120%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    clip-path: inset(0px 0px 10% 0px); /* Crops bottom slightly */
    display: block;
}
