*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #222;
    --secondary-color: #f4f4f4;
    --highlight-color: #00aaff;
    --dark-overlay: rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Mulish', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #444;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'PT Serif', serif;
    text-transform: uppercase;
    margin: 0;
    font-size: 1.9em;
    font-weight: 100;
    color: var(--secondary-color);
    transition: color 0.3s ease;
    user-select: none;
}

.logo-word {
    display: inline-block;
}

.logo:hover {
    color: var(--primary-color);
    cursor: none;
	text-decoration: none;
}

.logo-word::first-letter {
    font-size: 125%; /* Makes the first letter larger */
}

a {
    color: var(--highlight-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--highlight-color);
}

main {
  background: black;
}

#showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('showcase.webp') no-repeat center top/cover;
    position: relative;
    color: #fff;
}

#behind-the-fake {
  position: relative;
  min-height: 100vh;
  background: url('showcase.webp') no-repeat center top/cover;
}

#behind-the-fake::before,
#showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-overlay);
}


#behind-the-fake::before {
  background: linear-gradient(to bottom, var(--dark-overlay) 100vh, rgba(0, 0, 0, 100));
}

#behind-the-fake .container {
    position: relative;
    z-index: 1;
}

#showcase .content {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-style: italic;
}

#showcase h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#showcase p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.article-image {
  display: flex;
  flex-direction: column;
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
  align-items: center;
  justify-content: center;
}

.article-image i {
  width: 290px;
  margin-top: 5px;
  text-align: center;
}

.section-title {
    text-align: center;
    margin: 0 0 1em 0;
    font-size: 3rem;
    font-weight: 300;
    font-family: 'Merriweather', serif;
}

.section-subtitle {
    text-align: left;
    margin: 0 0 2rem 0;
}

section {
    padding: 60px 0;
    border-bottom: 1px solid #444;
    min-height: calc(100vh - 80px);
    scroll-snap-align: start;
    scroll-margin-top: 80px
}

.album-content {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 40px;
}

.album-cover {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    flex-shrink: 0; /* Prevent image from shrinking */
    cursor: pointer;
}

.album-details {
    flex: 1;
}

.tracklist {
    margin-top: 30px;
}

.tracklist h3 {
    margin-bottom: 10px;
}

.song-lyrics,
.tracklist ol {
  	columns: 2;
    list-style-position: inside;
    padding-left: 0;
  	overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #777 var(--primary-color);
}

.lyrics-column {
  padding-bottom: 1em;
  break-inside: avoid-column;
}

.tracklist li {
    margin-bottom: 8px;
}

#about {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    min-height: calc(100vh - 80px);
}

#about p {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
}

.button-group {
    text-align: left;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--highlight-color);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    margin: 0 10px 10px 0;
    transition: background 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background: #0077b3;
  	text-decoration: none;
}

.btn.disabled {
	background: gray;
}

.btn.disabled:hover  {
	background: gray;
	cursor: default;
}

footer {
    position: relative;
    text-align: center;
    padding: 2rem 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    z-index: 1;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaa;
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-links a {
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.2s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.2s ease-in-out;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}


/* --- Lightbox Styles (Refined and Integrated) --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent scrollbars on the overlay */
    background-color: rgba(0,0,0,0.85); /* Black w/ opacity */
    
    /* NEW: Use flex to center the content wrapper */
    align-items: center;
    justify-content: center;
}

#lightbox-content-wrapper {
    position: relative;
    max-height: 90%;
  	max-width: 80%;
    animation: zoom 0.4s;
    width: auto;
    height: auto;
}

@keyframes zoom {
    from {transform:scale(0.5)}
    to {transform:scale(1)}
}

#lightbox-content {
    display: flex;
    max-height: 85vh;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  	user-select: none;
  	z-index: 1002;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#lightbox-content img {
    min-width: 300px;
    flex: 1 1 auto;
  	object-fit: contain;
}

#lightbox-content img.lightbox-image-only {
    display: block;
    max-width: 100%;
}


.lightbox-bio-container {
    display: flex;
    width: 100%;
    height: auto;
  	justify-content: space-between;
  	gap: 1.5em;
}

.lightbox-bio-description {
  display: flex;
  flex-direction: column;
  max-width: 55%;
  max-height: 85vh;
  flex: 1 1 55%;
}

.lightbox-bio-description h1 {
  margin-top: 0;
}

.lightbox-bio-description .role {
  font-size: 1.2rem;
}

.song-bio {
  font-style: italic;
  padding-bottom: 1.5em;
}

/* Band Members section from your file */
.band-members {
    display: flex;
    justify-content: center;
    gap: 21px;
    margin-top: 2rem;
    text-align: center;
    user-select: none;
}

.member {
}

.member img {
    width: 143px;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer; /* Add cursor to indicate it's clickable */
}

.member img:hover {
    transform: scale(1.20);
}

.member h3 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.member p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.member.missing {
  display:none;
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: row; /* Keep logo and hamburger on same line */
        align-items: center;
    }
    
    .nav-toggle {
        display: block; /* Show hamburger */
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 60%; /* Increased width for better readability */
        background: var(--primary-color);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 80px;
    }
    
    nav a {
        font-size: 1.5rem; /* Adjusted from 200% to be more manageable */
    }

    body.nav-open nav {
        transform: translateX(0);
    }
    
    body.nav-open .hamburger {
        transform: rotate(45deg);
    }
    body.nav-open .hamburger::before {
        transform: rotate(90deg);
        top: 0;
    }
    body.nav-open .hamburger::after {
        transform: rotate(90deg);
        bottom: 0;
        opacity: 0; /* Hide bottom bar */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    #showcase {
        background: url('showcase_mobile.webp') no-repeat center top/cover;
    }
  
    #showcase .content {
      padding-left: 1em;
      padding-right: 1em;
    }
    
    #behind-the-fake {
      background: url('showcase_mobile.webp') no-repeat center top/cover fixed;
      background-position-y: 80px;
    }
    
    .album-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tracklist ol {
      columns: 1;
    }
  
    .section-subtitle {
        text-align: center;
    }
    
    .button-group {
        text-align: center;
    }
    .btn {
        margin: 5px;
    }
    
    .article-image {
      float: none;
    }
    
    .band-members {
        gap: 10px;
    }

    .member img {
        width: 95%;
        object-position: right;
    }
    
    .member img:hover {
        transform: object-position(right);
    }
  
    .lightbox {
        overflow-y: auto;
        align-items: initial;
        justify-content: initial;
        padding: 0;
    }
  
    #lightbox-content {
		display: block;
    }
  
    #lightbox-content img {
      	max-width: 100%;
		max-height: 100vh;
      	padding: 1em;
    }
  
    #lightbox-content img.lightbox-image-only {
      padding-top: 20%;
    }

    #lightbox-content-wrapper {
        max-width: 100%;
        height: auto;
        max-height: none;
    }

    .lightbox-bio-container {
        display: flex;
    	flex-direction: column;
    	height: auto;
    	max-height: none;
    }
  
	.lightbox-bio-description { 
        max-width: 100%;
      	padding-left: 1em;
      	padding-right: 1em;
    }
}