/*
Theme Name: Night Parade
Author: Daniel
Description: Theme for Night Parade custom website
Version: 1.4
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: 'ReadyToRide';
    src: url("fonts/ReadytoRide.ttf");
}
@font-face {
    font-family: 'Rockwild';
    src: url("fonts/Rockwild.otf");
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #0f0f0f;
    color: #e0e0e0;
    font-family: Georgia, 'Times New Roman', serif;
}

/* ── Header ─────────────────────────────────────────────── */

.siteHeader {
    background-color: #000;
    border-bottom: 2px solid #c8a94e;
    position: sticky;
    top: 0;
    z-index: 100;
}

.headerInner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.nightParadeName {
    font-family: 'Rockwild', sans-serif;
    font-size: 26px;
    color: #c8a94e;
    text-decoration: none;
    letter-spacing: 3px;
    white-space: nowrap;
}

.nightParadeName:hover {
    color: #e0bf6a;
    text-decoration: none;
}

.siteNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.siteNav ul li {
    display: inline-block;
}

.siteNav ul li a {
    font-family: 'Rockwild', sans-serif;
    font-size: 15px;
    color: #bbb;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 8px 22px;
    display: block;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.siteNav ul li a:hover,
.siteNav ul li.current-menu-item a {
    color: #c8a94e;
    border-bottom-color: #c8a94e;
}

/* ── Mobile header ───────────────────────────────────────── */

@media only screen and (max-width: 640px) {
    .headerInner {
        flex-direction: column;
        align-items: center;
        padding: 14px 16px 10px;
        min-height: auto;
        gap: 10px;
    }

    .siteNav ul {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 20px;
    }

    .siteNav ul li a {
        font-size: 15px;
        padding: 6px 4px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .headerHome {
        display: none;
    }
}

/* ── Hero image ──────────────────────────────────────────── */

.bandActionShot {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    line-height: 0;
}

.bandActionShot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -164px;
    display: block;
    filter: brightness(0.75);
}

@media only screen and (max-width: 640px) {
    .bandActionShot img {
        object-position: center top;
    }
}

/* ── Page wrapper ────────────────────────────────────────── */

.homeContent {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Video section ───────────────────────────────────────── */

.videoSection {
    padding: 48px 24px;
    background-color: #111;
    border-bottom: 1px solid #222;
}

.sectionLabel {
    font-family: 'Rockwild', sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    color: #c8a94e;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 24px;
}

.videoGrid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.firstVideo,
.secondVideo {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.firstVideo iframe,
.secondVideo iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #2a2a2a;
}

/* ── Bio section ─────────────────────────────────────────── */

.bioSection {
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    background-color: #0f0f0f;
}

.bandHeadshot {
    width: 100%;
    line-height: 0;
}

.bandHeadshot img {
    width: 100%;
    display: block;
    border: 1px solid #2a2a2a;
}

.bandDescription {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.bandDescription p {
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.75;
    color: #c0c0c0;
}

.bookBtn {
    display: inline-block;
    background-color: #c8a94e;
    color: #000;
    font-family: 'Rockwild', sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
    padding: 14px 36px;
    text-decoration: none;
    align-self: flex-start;
    transition: background-color 0.2s;
}

.bookBtn:hover {
    background-color: #e0bf6a;
    color: #000;
    text-decoration: none;
}

/* ── Instagram section ───────────────────────────────────── */

.instagramSection {
    padding: 48px 0 56px;
    background-color: #111;
    border-top: 1px solid #222;
}

.instagramSection .sectionLabel {
    margin-bottom: 24px;
    padding: 0 24px;
}

.igCarouselWrap {
    position: relative;
    display: flex;
    align-items: center;
}

.igCarousel {
    overflow: hidden;
    flex: 1;
}

.igTrack {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.igSlide {
    flex: 0 0 auto;
    overflow: hidden;
    display: block;
    line-height: 0;
    padding: 0 6px;
}

.igSlide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.9);
}

.igSlide:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

.igBtn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #c8a94e;
    font-size: 20px;
    cursor: pointer;
    padding: 16px 20px;
    transition: opacity 0.2s;
    z-index: 10;
}

.igBtn:hover {
    color: #e0bf6a;
}

@media only screen and (max-width: 640px) {
    .igBtn {
        padding: 16px 18px;
        font-size: 26px;
    }

    .acousticHero,
    .acousticHero img {
        width: 100% !important;
    }
}

/* ── Footer ──────────────────────────────────────────────── */

#footer {
    display: none !important;
}

/* ── Tablet+ ─────────────────────────────────────────────── */

@media only screen and (min-width: 768px) {

    .videoGrid {
        flex-direction: row;
    }

    .firstVideo,
    .secondVideo {
        flex: 1;
    }

    .bioSection {
        flex-direction: row;
        align-items: flex-start;
        padding: 64px 40px;
        gap: 48px;
    }

    .bandHeadshot {
        flex: 0 0 44%;
    }

    .bandDescription {
        flex: 1;
        padding-top: 8px;
    }

    .bandDescription p {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1024px) {

    .bioSection {
        padding: 72px 60px;
    }
}

/* ── Originals page ──────────────────────────────────────── */

.originalsPage {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.originalsHero {
    padding: 56px 0 32px;
    border-bottom: 1px solid #222;
    margin-bottom: 8px;
}

.originalsTitle {
    font-family: 'Rockwild', sans-serif;
    font-size: 48px;
    color: #fff;
    margin: 8px 0 0;
    letter-spacing: 4px;
    font-weight: normal;
    transition: opacity 0.25s ease;
}

/* ── Playlist ─────────────────────────────────────────────── */

.playlist {
    width: 100%;
}

.playlistRow {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 12px;
    border-bottom: 1px solid #1c1c1c;
    cursor: pointer;
    transition: background-color 0.15s;
    outline: none;
    border-radius: 2px;
}

.playlistRow:hover {
    background-color: #161616;
}

.playlistRow:focus-visible {
    box-shadow: 0 0 0 2px #c8a94e;
}

.playlistRow.playing {
    background-color: #181510;
}

.playlistRow.playing .rowSongTitle {
    color: #c8a94e;
}

.trackNum {
    font-family: 'Georgia', serif;
    font-size: 12px;
    color: #555;
    width: 24px;
    text-align: right;
    flex-shrink: 0;
}

.playlistRow:hover .trackNum,
.playlistRow.playing .trackNum {
    display: none;
}

.rowPlayBtn {
    display: none;
    width: 24px;
    flex-shrink: 0;
    text-align: center;
    color: #c8a94e;
    font-size: 13px;
}

.playlistRow:hover .rowPlayBtn,
.playlistRow.playing .rowPlayBtn {
    display: block;
}

.rowSongTitle {
    flex: 1;
    font-size: 16px;
    color: #ddd;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rowDuration {
    font-size: 13px;
    color: #555;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.noSongs {
    color: #666;
    padding: 40px 0;
    font-size: 15px;
}

/* ── Player card ──────────────────────────────────────────── */

.playerCard {
    background-color: #111;
    border-top: 3px solid #c8a94e;
    border-bottom: 1px solid #222;
    padding: 28px 24px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.albumArtWrap {
    width: 382px;
    height: 382px;
    flex-shrink: 0;
}

.albumArt {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid #2a2a2a;
}

.playerBody {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.albumTitle {
    font-family: 'Rockwild', sans-serif;
    font-size: 22px;
    letter-spacing: 2px;
    color: #c8a94e;
    text-transform: uppercase;
    text-align: center;
}

.playerSongName {
    font-size: 18px;
    color: #fff;
    min-height: 1.4em;
    text-align: center;
    margin-top:0px;
    margin-bottom:14px;
}

@media only screen and (max-width: 640px) {
    .playerCard {
        align-items: center;
        padding: 24px 16px;
    }

    .albumArtWrap {
        width: 80%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .playerBody {
        width: 100%;
    }
}

/* Progress */
.playerProgressRow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.timeDisplay {
    font-size: 12px;
    color: #666;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    min-width: 32px;
}

.progressTrack {
    flex: 1;
    height: 4px;
    background-color: #2a2a2a;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: height 0.15s;
    padding: 10px 0;
    margin: -10px 0;
    box-sizing: content-box;
}

.progressTrack:hover {
    height: 6px;
}

.progressFill {
    height: 100%;
    background-color: #c8a94e;
    border-radius: 2px;
    width: 0%;
    pointer-events: none;
}

.progressHandle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: #c8a94e;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.progressTrack:hover .progressHandle {
    opacity: 1;
}

/* Controls */
.playerControls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.playerBtn {
    background: none;
    border: none;
    color: #888;
    font-size: 22px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: color 0.15s;
}

.playerBtn:hover {
    color: #c8a94e;
}

.playerBtnPlay {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #c8a94e;
    border: none;
    color: #000;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, transform 0.1s;
    padding-left: 3px; /* optical center for play icon */
}

.playerBtnPlay:hover {
    background-color: #e0bf6a;
    transform: scale(1.06);
}

.playerBtnPlay:active {
    transform: scale(0.97);
}

/* pause icon doesn't need the offset */
.playerBtnPlay .fa-pause {
    padding-left: 0;
    margin-left: -3px;
}

/* ── Song list page ──────────────────────────────────────── */

/* ── Acoustic page ───────────────────────────────────────── */

.acousticPage {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 60px;
}

.acousticHero {
    width: 80%;
    max-height: 520px;
    overflow: hidden;
    line-height: 0;
    margin: 0 auto;
}

.acousticHero img {
    width: 80%;
    height: 480px;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0 auto;
}

.acousticBio {
    padding: 40px 24px 32px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.acousticBio p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.75;
    color: #c0c0c0;
}

.acousticBio p:last-child {
    margin-bottom: 0;
}

.acousticVideos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 24px 48px;
    background-color: #111;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding-top: 40px;
}

.acousticVideo {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.acousticVideo iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #2a2a2a;
}

.acousticSetlist {
    padding: 48px 24px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.acousticSetlistTitle {
    font-family: 'Rockwild', sans-serif;
    font-size: 36px;
    letter-spacing: 4px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 32px;
}

.acousticSetlistGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 8px;
}

.acousticSetSectionTitle {
    font-family: 'Rockwild', sans-serif;
    font-size: 16px;
    letter-spacing: 3px;
    color: #c8a94e;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a;
}

.acousticSongList {
    margin-top: 0;
}

.acousticSongRow {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #1e1e1e;
}

@media only screen and (min-width: 768px) {
    .acousticSetlistGrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 768px) {
    .acousticVideos {
        flex-direction: row;
    }

    .acousticVideo {
        flex: 1;
    }

    .acousticHero img {
        object-position: center -470px;
    }
}

/* ── Song List page ──────────────────────────────────────── */

.songListPage {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.songListGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 8px;
}

.songColumn {
    padding: 8px 0;
}

.songRow {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 11px 12px;
    border-bottom: 1px solid #1a1a1a;
    transition: background-color 0.15s;
}

.songRow:hover {
    background-color: #141414;
}

.songIndex {
    font-size: 11px;
    color: #444;
    flex-shrink: 0;
    width: 22px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.songName {
    font-size: 16px;
    color: #d0d0d0;
    letter-spacing: 0.2px;
}

/* By Request section */
.requestSection {
    margin-top: 48px;
    border-top: 1px solid #222;
    padding-top: 32px;
}

.requestTitle {
    font-family: 'Rockwild', sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c8a94e;
    font-weight: normal;
    margin: 0 0 20px 12px;
}

.requestGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.requestRow {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-bottom: 1px solid #1a1a1a;
    transition: background-color 0.15s;
}

.requestRow:hover {
    background-color: #141414;
}

.requestDot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #c8a94e;
    flex-shrink: 0;
}

.requestRow .songName {
    color: #aaa;
}

@media only screen and (min-width: 640px) {
    .songListGrid {
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid #1a1a1a;
    }

    .songColumn:first-child {
        border-right: 1px solid #1a1a1a;
    }

    .requestGrid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Pictures carousel ───────────────────────────────────── */

.picturesPage {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.carousel {
    position: relative;
    background-color: #000;
    overflow: hidden;
    border: 1px solid #1e1e1e;
}

.carouselTrack {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carouselSlide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 68vh;
    max-height: 720px;
    background-color: #000;
}

.carouselSlide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Prev / Next buttons */
.carouselBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(200, 169, 78, 0.35);
    color: #c8a94e;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
    z-index: 10;
}

.carouselBtn:hover {
    background-color: rgba(200, 169, 78, 0.18);
    border-color: #c8a94e;
}

.carouselPrev { left: 16px; }
.carouselNext { right: 16px; }

/* Dot indicators */
.carouselDots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carouselDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s, transform 0.2s;
}

.carouselDot.active {
    background-color: #c8a94e;
    transform: scale(1.25);
}

/* Photo counter (top-right corner) */
.carouselCounter {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1px;
    z-index: 10;
}

@media only screen and (max-width: 640px) {
    .carouselSlide {
        height: 72vw;
        max-height: none;
    }

    .carouselBtn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .carouselPrev { left: 8px; }
    .carouselNext { right: 8px; }
}
