/* ============================================
   KAI KANG — Ghost Theme
   screen.css
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    background: #080808;
    color: #aaa;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Site Wrapper --- */
.site-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Background Image --- */
/* Drop your background image in assets/images/bg.jpg
   and it will fill the whole page */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* --- Dark Overlay --- */
/* Adjust opacity (0.0 = fully visible image, 0.9 = very dark) */
.site-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
}

/* --- All content sits above bg and overlay --- */
.site-nav,
.site-header,
.site-main,
.site-footer {
    position: relative;
    z-index: 2;
}

/* --- Left Navigation --- */
.site-nav {
    position: fixed;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(255, 255, 255, 0.95);
}

/* --- Site Header (Logo) --- */
.site-header {
    display: flex;
    justify-content: center;
    padding-top: 48px;
    pointer-events: none;
}

.site-logo-link {
    pointer-events: all;
    display: inline-block;
}

.site-logo {
    /* Adjust width to fit your logo's proportions */
    width: auto;
    max-width: 220px;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

/* Fallback text if no logo is set in Ghost admin */
.site-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 32px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

/* --- Main Content Area --- */
.site-main {
    flex: 1;
    padding: 60px 120px 60px 120px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* --- Post Cards (index page) --- */
.page-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.post-card a {
    display: block;
}

.post-card-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 16px;
    opacity: 0.8;
}

.post-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 26px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.post-card:hover .post-card-title {
    color: #fff;
}

.post-card-excerpt {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.post-card-date {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

/* --- Single Post / Page --- */
.post-full-header {
    margin-bottom: 40px;
}

.post-full-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 42px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.post-full-meta {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.post-full-image {
    margin-bottom: 40px;
}

.post-full-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    opacity: 0.85;
}

.post-full-content {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.55);
}

.post-full-content h1,
.post-full-content h2,
.post-full-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 40px 0 16px;
    letter-spacing: 0.04em;
}

.post-full-content p {
    margin-bottom: 20px;
}

.post-full-content a {
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.2s;
}

.post-full-content a:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

/* --- Footer --- */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 40px 32px;
}

/* --- Streaming Links Row --- */
.streaming-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.stream-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.25s ease;
}

.stream-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Platform icon dots (replaced by PNGs later) */
.stream-icon {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* To swap in a PNG logo, replace <span class="stream-icon"> with:
   <img src="{{asset "images/spotify.png"}}" alt="Spotify" style="width:16px;height:16px;object-fit:contain;opacity:0.5;">
   The stream-link:hover will brighten the text — add filter:opacity(1) on the img too if needed */

.stream-icon--spotify    { background: #1DB954; }
.stream-icon--youtube    { background: #FF0000; }
.stream-icon--apple      { background: #FC3C44; }
.stream-icon--soundcloud { background: #FF5500; }
.stream-icon--tidal      { background: #e0e0e0; }
.stream-icon--instagram  { background: #E1306C; }

.stream-divider {
    color: rgba(255, 255, 255, 0.12);
    font-size: 14px;
    line-height: 1;
}

/* --- Copyright --- */
.site-copyright {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {

    /* Nav moves to top horizontal bar on mobile */
    .site-nav {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
        padding: 24px 20px 0;
    }

    .site-header {
        padding-top: 24px;
    }

    .site-logo {
        max-width: 160px;
    }

    .site-main {
        padding: 40px 24px;
    }

    .post-full-title {
        font-size: 28px;
    }

    .streaming-links {
        gap: 10px 12px;
    }

    .stream-link {
        font-size: 10px;
    }
}
