/* ============================================
   PANKART MAG — Main Stylesheet
   ============================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #1a1a1a;
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
    transition: background-color 0.4s ease;
}

/* Per-page background colors (CMYK-inspired) */
body.page-archive { background-color: #0099d6; }
body.page-people  { background-color: #d4006a; }
body.page-about   { background-color: #e6d800; }
body.page-home    { background-color: #1a1a1a; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

p {
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Top Navigation --- */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    background: rgba(214, 210, 204, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav-logo {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-logo span {
    font-size: 0.7em;
    vertical-align: super;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: #1a1a1a;
    opacity: 1;
}

/* --- Main Content --- */
main {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

/* --- Page Container --- */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* --- Section Title --- */
.section-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #999;
    margin-bottom: 1.5rem;
}

/* --- Tape Decoration --- */
.tape {
    position: absolute;
    width: 120px;
    height: 30px;
    background: rgba(200, 180, 140, 0.35);
    transform: rotate(-3deg);
    border-radius: 1px;
    pointer-events: none;
    z-index: 5;
}

.tape.tape-right {
    transform: rotate(3deg);
}

.tape.tape-vertical {
    transform: rotate(90deg);
}

/* --- Card Base --- */
.card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 1.5rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* --- Coming Soon Badge --- */
.coming-soon-badge {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    border: 1px solid #ccc;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
}

/* --- Disabled Link --- */
.disabled-link {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .top-nav {
        padding: 0.8rem 1.2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.7rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

    .page-container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.6rem;
    }

    .nav-links a {
        font-size: 0.6rem;
        letter-spacing: 0.04em;
    }
}
