/* ===========================
   ROOT + THEMES
=========================== */

:root {
    --bg:#0d0d0d;
    --text:#ffffff;
    --accent:#666;
    --nav-bg:#111;
    --footer-bg:#080808;
}

:root.light {
    --bg:#ffffff;
    --text:#cc0000;
    --accent:#ff3333;
    --nav-bg:#f2f2f2;
    --footer-bg:#f7f7f7;
}

/* ===========================
   GLOBAL RESET
=========================== */

* {
    box-sizing: border-box;
}

/*<!--
html, body {
    height: 100%;
}
*/

body {
    background: var(--bg);
    margin: 0;
    color: var(--text);
    font-family: Arial, sans-serif;
    opacity: 0;
    animation: bodyFadeIn .6s forwards;
    
}

@keyframes bodyFadeIn {
    to { opacity: 1; }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: none;
    z-index: -1;
}

.about-page {
  background-image: url('images/trail-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optional cinematic parallax */
}

.about-band-image {
    width: 100%;
    max-width: 500px;   /* adjust to taste */
    height: auto;
    display: block;
    margin: 40px auto;  /* centres the image and adds breathing room */
    border-radius: 6px; /* optional, matches your album art */
}

/* ===========================
   LINKS
=========================== */

a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--accent);
    filter: brightness(2.2);
    text-shadow: 0 0 16px var(--accent);
}

/* ===========================
   NAVIGATION
=========================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    background: var(--nav-bg);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--accent);
    text-align: center;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.site-title {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.home-bg {
  background-image: url('images/trail-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optional cinematic parallax */
}

.home-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.theme-btn {
    background: none;
    border: 1px solid var(--text);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.theme-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===========================
   LAYOUT
=========================== */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    opacity: 0.85;
    margin-bottom: 20px;
}

/* ===========================
   GRID LAYOUT (ALBUMS + SINGLES)
=========================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.item {
    text-align: center;
}

.item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 6px;
}

.item-title {
    margin-top: 8px;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* ===========================
   BACKGROUND BLOCKS
=========================== */

.album-bg,
.single-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    position: relative;
}

.album-bg::before,
.single-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: 8px;
}

.album-bg > *,
.single-bg > * {
    position: relative;
    z-index: 2;
}

/* ===========================
   STREAMING BUTTONS — ROW
=========================== */

.stream-buttons-row {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stream-buttons-row .btn {
    flex-direction: row;
    justify-content: center;
    min-width: 160px;
}

/* ===========================
   BUTTONS
=========================== */

.btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--text);
    border-radius: 6px;
    color: var(--text);
    transition: 0.2s ease;
}

.btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.icon {
    width: 20px;
    height: 20px;
}

/* ===========================
   ALBUM TABLES
=========================== */

.album-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 30px;
    background: rgba(0,0,0,0.35);
}

.album-table th,
.album-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--accent);
    vertical-align: top;
}

.album-table th:nth-child(1),
.album-table td:nth-child(1) {
    width: 20%;
}

.album-table th:nth-child(2),
.album-table td:nth-child(2) {
    width: 80%;
}



.track-desc {
    opacity: 0.85;
    font-size: 0.95rem;
}

/* ===========================
   FOOTER
=========================== */

footer {
    position:fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    background: var(--footer-bg);
    border-top: 1px solid var(--accent);
    padding: 15px 20px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Social icons row */
.footer-center {
    display: flex;
    gap: 20px;
}



/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 700px) {

    body {
        padding-top: 120px; /* adjust depending on your mobile nav height */
    }

    nav {
        flex-direction: column;
        gap: 12px;
    }

        nav.nav-fade {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
    }

    .nav-left,
    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    nav a,
    nav button {
        font-size: 0.9rem;
    }

    .container {
        padding: 30px 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.2rem; }

    .album-table {
        table-layout: auto;
        font-size: 0.9rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .stream-buttons-row {
        justify-content: center;
    }
}



/* FILTER BAR */
.media-filter-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 18px;
    border: 1px solid var(--text);
    background: none;
    color: var(--text);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
}

/* YOUTUBE RESPONSIVE WRAPPER */
.yt-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
}

.yt-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* PAGINATION */
.pagination {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid var(--text);
    background: none;
    color: var(--text);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.page-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}
.media-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 12px;
    background: rgba(0,0,0,0.4);
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hidden {
    display: none;
}

.load-more-wrapper {
    margin-top: 30px;
    text-align: center;
}

.load-more-btn {
    padding: 10px 20px;
    border: 1px solid var(--text);
    background: none;
    color: var(--text);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.load-more-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}