/*
---------------------------------------------------------------------------------
	DARK TERMINAL RESUME TEMPLATE
    Based on original design by thingsthatarebrown.com (matt brown)
    Updated for dark terminal theme consistency
---------------------------------------------------------------------------------
*/

:root {
    --primary-color: #00ff88;
    --secondary-color: #00ccff;
    --accent-color: #ff6b6b;
    --background-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --text-color: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --glow: 0 0 10px rgba(0,255,136,0.3);
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 8px;
    text-decoration: none;
    font-weight: bold;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Base styles */
body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Anonymous Pro', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 204, 255, 0.1) 0%, transparent 50%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

#inner {
    max-width: 900px;
    margin: 2rem auto;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

#inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

/* Header styles */
#hd {
    background: var(--surface-color);
    color: var(--text-color);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.terminal-header {
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.code-line {
    display: inline-block;
}

.prompt {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

#hd h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hd h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Body styles */
#bd {
    padding: 2rem;
}

.yui-gf {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.yui-gf:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Typography */
h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

h2::before {
    content: '##';
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

h3, h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

p.enlarge {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

p.enlarge span {
    color: var(--accent-color);
    font-weight: 600;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

a:hover,
a:focus-visible {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Lists */
li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
    position: relative;
}

li:last-child {
    border-bottom: none;
}

li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.references {
    list-style-type: none;
    padding-left: 0;
}

.references li::before {
    content: '▸ ';
}

/* Grid system replacement */
.yui-g .yui-u {
    display: inline-block;
    vertical-align: top;
}

.yui-g .yui-u.first {
    width: 35%;
    padding-right: 2rem;
}

.yui-g .yui-u {
    width: 60%;
}

.first h2 {
    font-style: italic;
    color: var(--secondary-color);
}

/* Footer */
#ft {
    background: var(--background-color);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

#ft p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        background-image:
            radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(0, 204, 255, 0.05) 0%, transparent 50%);
    }

    #inner {
        margin: 1rem;
        border-radius: 4px;
    }

    #hd {
        padding: 2rem 1rem;
    }

    #hd h1 {
        font-size: 2rem;
    }

    #bd {
        padding: 1rem;
    }

    .yui-g .yui-u.first {
        width: 100%;
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .yui-g .yui-u {
        width: 100%;
    }

    h2 {
        font-size: 1.2rem;
        white-space: normal;
    }

    p.enlarge {
        font-size: 1.1rem;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    #hd {
        padding: 1.5rem 1rem;
    }

    #hd h1 {
        font-size: 1.8rem;
    }

    #bd {
        padding: 0.75rem;
    }
}


/* Job section styles */
.job {
    position: relative;
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--border-color);
}

.job h4 {
    position: absolute;
    top: 0.35em;
    right: 0;
}

.job p {
    margin: 0.75em 0 3em 0;
}

.last {
    border: none;
}

.skills-list ul {
    margin: 0;
}

.skills-list li {
    margin: 3px 0;
    padding: 3px 0;
}

.skills-list li span {
    font-size: 152%;
    display: block;
    margin-bottom: -2px;
    padding: 0;
}

.talent {
    width: 32%;
    float: left;
}

.talent h2 {
    margin-bottom: 6px;
}

#srt-ttab { margin-bottom: 100px; text-align: center;  }
#srt-ttab img.last { margin-top: 20px }

/* --// override to force 1/8th width grids -- */
.yui-gf .yui-u{width:80.2%;}
.yui-gf div.first{width:12.3%;}

#values_left {
    font-size: 3em;
    width:25%;
    text-align: left;
    float: left;
}
#values_middle {
    font-size: 3em;
    width:33.3333%;
    text-align: center;
    float: left;
}
#values_right {
    font-size: 3em;
    width:41%;
    text-align: right;
    float: left;
}

