/* yongjoon.dev - Corporate Developer Portfolio */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-cream: #FAF6F0;
    --surface: #F0EAE0;
    --burgundy: #6A2030;
    --burgundy-light: #9A4050;
    --burgundy-dark: #3A1018;
    --cream-white: #FFFAF4;
    --circuit-line: rgba(106, 32, 48, 0.12);
    --text-primary: #2A1818;
    --text-body: #4A3838;
    --iso-shadow: rgba(106, 32, 48, 0.08);
}

body {
    background: var(--bg-cream);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
}

/* Dot Navigation */
.dot-nav {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards 0.3s;
}
@keyframes fadeIn { to { opacity: 1; } }
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--burgundy);
    transition: transform 0.2s ease;
}
.dot-nav:hover .dot { transform: scale(1.3); }
.nav-menu {
    position: absolute;
    top: 0;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.dot-nav.open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}
.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--burgundy);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.nav-link:hover { color: var(--burgundy-light); }

/* Circuit Margin */
.circuit-margin {
    position: fixed;
    left: calc(10% - 30px);
    top: 0;
    width: 20px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.circuit-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 1s ease;
}

/* Content Column */
.content-col {
    max-width: 780px;
    margin-left: 10%;
    padding: 6rem 40px 4rem;
    position: relative;
    z-index: 2;
}

/* Sections */
.content-section {
    margin-bottom: 0;
    padding-bottom: 80px;
}
.hero-section { padding-top: 4rem; }

/* Kinetic Title */
.kinetic-title {
    font-family: 'DM Serif Text', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.kinetic-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.kinetic-title.revealed .char {
    opacity: 1;
    transform: translateY(0);
}
.dev-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: var(--burgundy);
    display: block;
    margin-bottom: 1.5rem;
}

/* Body */
.section-body {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.code-ref {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--burgundy);
    display: block;
}

/* Burgundy Rule */
.burgundy-rule {
    border: none;
    height: 1px;
    background: rgba(106, 32, 48, 0.3);
    margin-bottom: 80px;
}

/* Isometric Icons */
.iso-icons {
    position: fixed;
    right: 15%;
    top: 30%;
    z-index: 1;
    pointer-events: none;
}
.iso-object {
    width: 60px;
    height: 60px;
    position: relative;
    transform: rotateX(45deg) rotateZ(45deg);
    margin-bottom: 60px;
}
.iso-face {
    position: absolute;
    width: 100%;
    height: 100%;
}
.iso-top { background: var(--cream-white); transform: translateZ(30px); box-shadow: 0 0 0 1px var(--circuit-line); }
.iso-front { background: var(--surface); transform: rotateX(-90deg) translateZ(30px); box-shadow: 0 0 0 1px var(--circuit-line); }
.iso-side { background: var(--bg-cream); transform: rotateY(90deg) translateZ(30px); box-shadow: 0 0 0 1px var(--circuit-line); }
.iso-object { transform-style: preserve-3d; }
.iso-server { opacity: 0.5; }
.iso-db { opacity: 0.4; }

/* Footer */
.site-footer {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}
.footer-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--burgundy);
}

@media (max-width: 768px) {
    .content-col { margin-left: 0; padding: 4rem 24px 3rem; }
    .dot-nav { top: auto; bottom: 1.5rem; right: 1.5rem; }
    .iso-icons { display: none; }
    .circuit-margin { display: none; }
}
