/* CD Case */
.cd-case {
    position: relative;
    width: 800px;
    margin: 50px auto;
    cursor: pointer;
    text-align: center;
    z-index: 10;
}

.cd-cover {
    width: 100%;
    border: 3px solid #444;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}


/* Booklet */
.flipbook-overlay {
    display: flex;
    justify-content: center;
    align-items: start;
    background: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
}

.flipbook-container {
    position: relative;
    width: 1600px;
    height: 800px;
    margin: 0 auto;
    margin-top: 4%;
    display: flex;
    justify-content: center;
}

.flipbook {
    width: 1600px;
    height: 800px;
}

.flipbook .cover {
    background: #c0392b !important;
    color: #fff;
    font-weight: bold;
    border: none;
}

.flipbook .cover small {
    font-style: italic;
    font-weight: lighter;
    opacity: 0.7;
    font-size: 14px;
}

.flipbook .page {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* border: 1px solid rgba(0, 0, 0, 0.11); */
    /* border: none; */
    border-left: 1px solid rgba(255, 255, 255, 0.6);
}

/* .page img {
    width: 70%;
    object-fit: cover;
    margin: auto;
} */

.flipbook .page small {
    font-size: 14px;
    margin-bottom: 10px;
}


/* .flipbook .even .gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background:-webkit-gradient(linear, left top, right top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, rgba(0,0,0,0.2)));
	background-image:-webkit-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-moz-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-ms-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-o-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
    background-image: linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
}

.flipbook .odd .gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background:-webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, rgba(0,0,0,0.15)));
	background-image:-webkit-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-moz-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-ms-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-o-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
    background-image: linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
} */

/* .booklet-page {
    width: 800px;
    height: 800px;
    background-size: cover;
    background-position: center;
    background-color: white;
    justify-content: center;
    align-items: center;
} */

/* Close Button */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.close-button:hover {
    background: rgba(255, 0, 0, 0.8);
}


.interaction-zone {
    position: absolute;
    top: 0;
    width: 50px;
    /* Width of the clickable zones */
    height: 100%;
    cursor: pointer;
    z-index: 2;
    /* Above the flipbook */
    background: rgba(147, 147, 147, 0.25);
    /* Initially invisible */
    animation: breathe 4s infinite;
    /* 3-second loop */
    transition: background-color 0.3s, opacity 0.3s;
    /* transition: background 0.2s ease; */
    /* Smooth hover effect */
    pointer-events: all;
    /* Initially don't block interactions */
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-zone {
    left: -50px;
    /* Position outside the flipbook */
    border-radius: 20px 0 0 20px;
    /* Rounded corners on the left */
}

.right-zone {
    right: -50px;
    /* Position outside the flipbook */
    border-radius: 0 20px 20px 0;
    /* Rounded corners on the right */
}

.interaction-zone:hover {
    animation: breathe-hover 2s infinite;
    /* faster loop */
    cursor: pointer;
    /* background: rgba(0, 0, 0, 0.1); */
    /* Highlight effect on hover */
}

.left-zone::before,
.right-zone::before {
    content: ''; /* Pseudo-element for the arrow */
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    opacity: 0.7; /* Slight transparency for the arrow */
    transition: opacity 0.3s ease;
}

.left-zone::before {
    border-width: 15px 20px 15px 0; /* Triangle pointing left */
    border-color: transparent rgba(0, 0, 0, 0.5) transparent transparent;
    left: 10px; /* Position slightly inside the button */
}

.right-zone::before {
    border-width: 15px 0 15px 20px; /* Triangle pointing right */
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.5);
    right: 10px; /* Position slightly inside the button */
}

.interaction-zone:hover::before {
    opacity: 1; /* Make arrow fully visible on hover */
}

@keyframes breathe {
    0% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.05);
        /* light red */
    }

    50% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.10);
        /* darker red */
    }

    100% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.05);
        /* light red */
    }
}

@keyframes breathe-hover {
    0% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.3);
        /* light green */
    }

    20% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.6);
        /* brighter green */
    }

    100% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.3);
        /* light green */
    }
}


.gradient-style-even {
    position: absolute;
    /* Ensure it can be positioned on the page */
    top: 0;
    right: 8%;
    /* 5% from the right side of the page */
    width: 14%;
    /* Spans 3% in either direction (total 6%) */
    height: 100%;
    /* Full height of the page */
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            /* Start transparent */
            rgba(255, 255, 255, 0.05) 60%,
            /* Middle at 10% opacity */
            rgba(255, 255, 255, 0) 100%
            /* End transparent */
        );
    pointer-events: none;
    /* Prevent it from blocking interactions */
}

.gradient-style-odd {
    position: absolute;
    /* Ensure it can be positioned on the page */
    top: 0;
    left: 0%;
    /* 1% from the left side of the page */
    width: 1%;
    /* Total width of the gradient */
    height: 100%;
    /* Full height of the page */
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            /* Start transparent */
            rgba(255, 255, 255, 0.5) 50%,
            /* Middle at 80% opacity */
            rgba(255, 255, 255, 0) 100%
            /* End transparent */
        );
    pointer-events: none;
    /* Prevent it from blocking interactions */
}

.flipbook .page.bs-cover {
    background-size: cover;
    background-position: center;
    background: black;
    justify-content: center;
    align-items: center;
    background-image: "../images/cover-v3.jpg";
}

.flipbook .page.bs-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flipbook .page.bs-interior-page-type-1 {
    /* background: black; */
    background: linear-gradient(45deg, #000000, #0c0c0c);
}

/* General header styles */
.bs-header {
    position: absolute;
    /* Positions the header relative to the top-left corner */
    top: 20px;
    /* 10px from the top */
    font-size: 14px;
    /* Adjust as needed */
    font-family: 'Montserrat', sans-serif;
    color: white;
    display: flex;
    /* Align items inline with flexibility */
    gap: 5px;
    /* Adds spacing between the spans */
}

.bs-header-even {
    left: 20px;
    right: auto;
    text-align: left;
}

.bs-header-odd {
    right: 20px;
    left: auto;
    text-align: right;
}

/* Page number (regular text) */
.bs-page-num {
    font-weight: normal;
    /* Regular weight */
    font-style: normal;
    /* Not italic */
}

/* Band name (bold text) */
.bs-band {
    font-weight: bold;
    /* Bold text */
    font-style: normal;
    /* Not italic */
}

/* Album name (italic text) */
.bs-album-name {
    font-style: italic;
    /* Italic text */
    font-weight: normal;
    /* Regular weight */
}


.tracklist {
    position: absolute;
    top: 60px;
    left: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #fff;
    text-align: left;
}

.track {
    display: flex;
    /* Align items horizontally */
    gap: 20px;
    /* Space between elements */
}

.track-number {
    font-weight: normal;
    /* Regular weight for the track number */
    min-width: 20px;
    /* Ensure consistent spacing for track numbers */
}

.track-title {
    font-weight: bold;
    /* Bold text for the song title */
    flex-grow: 1;
    /* Push the duration to the far right */
}

.track-duration {
    font-weight: normal;
    /* Regular weight for the duration */
    min-width: 40px;
    /* Consistent width for durations */
    text-align: right;
    /* Align duration text to the right */
}


/* Outer container for the text section */
.bs-text-section {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: 60px;
    /* justify-content: space-between; */
    /* align-items: flex-start; */
    margin-left: 20px;
    margin-right: 20px;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
}

.bs-full-width {
    width: 100%;
    /* Full width */
    text-align: left;
    /* Center align the header */
    margin-bottom: 0px;
    /* Space below the header */
}

.bs-full-width h2 {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.bs-full-width h3 {
    font-size: 18px;
    font-weight: bold;
    color: #c19966;
}

.bs-full-width h4 {
    font-size: 14px;
    font-weight: lighter;
    font-style: italic;
    color: #c19966;
}

/* Columns container */
.bs-columns {
    display: flex;
    /* Side-by-side layout for the columns */
    gap: 20px;
    /* Space between columns */
    justify-content: space-between;
    /* Evenly spaced columns */
    align-items: flex-start;
}

/* Column styles */
.bs-column {
    flex: 1;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Headers */
.bs-column h2 {
    font-size: 20px;
    font-weight: bold;
    color: #fdfdfd;
    margin-bottom: 0px;
}

/* Subheadings */
.bs-column h3 {
    font-size: 18px;
    font-weight: lighter;
    font-style: italics;
    color: #c19966;
    margin-bottom: 0px;
}

/* Paragraphs */
.bs-column p {
    font-size: 14px;
    line-height: 1.5;
    color: white;
    margin-bottom: 12px;
}

.bs-spacer {
    flex-grow: 1;
    height: 100px
}

.bs-column .bs-info-block {
    margin-top: auto;
    align-self: flex-end;
}
