/*
Theme Name: Resume Site
Theme URI: https://github.com/npd00/resume_site
Author: Nathanael Dunning
Author URI: https://npdfw.com
Description: A single-page resume theme for WordPress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: resume-site
*/

:root {
    --bg-color: #050510;
    --bg-secondary: #0a0a1f;
    --text-primary: #e0faff;
    --text-secondary: #8892b0;

    --neon-cyan: #00f3ff;
    --neon-pink: #ff0055;
    --neon-purple: #bd00ff;
    --neon-green: #0aff0a;

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    --glow-strong: 0 0 10px rgba(0, 243, 255, 0.7), 0 0 20px rgba(0, 243, 255, 0.5);
    --glow-soft: 0 0 5px rgba(0, 243, 255, 0.3);

    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
    /* Slightly larger for readability */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Grid effect */
}

/* CRT Scanline Effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.1));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2000;
}

/* Helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.hash {
    color: var(--neon-pink);
    margin-right: 15px;
    text-shadow: 0 0 5px var(--neon-pink);
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    width: 200px;
    margin-left: 20px;
    box-shadow: var(--glow-soft);
}

.center-text {
    text-align: center;
}

.center-margin {
    justify-content: center;
}

.center-margin::after {
    display: none;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    color: var(--neon-cyan);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--neon-cyan);
}

.blink {
    animation: blink 1s infinite;
}

.nav-list {
    display: flex;
    gap: 30px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list a {
    color: var(--text-primary);
    position: relative;
}

.nav-list a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

.nav-list a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    color: var(--neon-pink);
    transition: width 0.3s;
    white-space: nowrap;
}

.nav-list a:hover::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--neon-cyan);
    box-shadow: 0 0 5px var(--neon-cyan);
}


/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.overline {
    color: var(--neon-green);
    font-family: var(--font-heading);
    margin-bottom: 10px;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 5px;
    text-transform: uppercase;
    position: relative;
    text-shadow: 2px 2px 0px var(--neon-purple);
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.bio {
    max-width: 500px;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--neon-pink);
    font-weight: 600;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.8rem;
    margin-top: auto;
    align-self: flex-start;
    display: inline-block;
}

.btn-primary {
    background-color: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.8);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    box-shadow: inset 0 0 0 2px var(--neon-cyan);
}

.btn-outline:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: inset 0 0 0 2px var(--white), 0 0 15px var(--neon-cyan);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Visual - Animated Cyber Circle */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.cyber-circle-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.outer {
    width: 100%;
    height: 100%;
    border-top: 2px solid var(--neon-cyan);
    border-bottom: 2px solid var(--neon-purple);
    animation: rotate 10s linear infinite;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.inner {
    width: 70%;
    height: 70%;
    border-left: 2px solid var(--neon-pink);
    border-right: 2px solid var(--neon-green);
    animation: rotate-reverse 7s linear infinite;
}

.cyber-icon {
    color: var(--text-primary);
    width: 60px;
    height: 60px;
}

/* Experience Cards */
.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 20px;
    width: 10px;
    height: 10px;
    background: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
    border-radius: 50%;
}

.timeline-card {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 25px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timeline-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    transform: translateX(5px);
}

/* Glowing corner effect */
.timeline-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, var(--neon-purple) 50%);
    opacity: 0.5;
}

.timeline-header {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.timeline-header h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.timeline-header .company {
    color: var(--neon-cyan);
    font-weight: 600;
    display: block;
    font-size: 1.1rem;
}

.timeline-header .date,
.timeline-header .location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: 15px;
}

.timeline-body ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.timeline-body ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-family: monospace;
}

.timeline-body strong {
    color: var(--text-primary);
    font-weight: 500;
}


/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--bg-secondary);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: var(--transition);
}

.skill-category:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.2);
}

.skill-category h3 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h3 .icon {
    font-size: 1.5rem;
}

.skill-list li {
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    padding: 8px 15px;
    border-left: 3px solid var(--neon-cyan);
    color: var(--text-primary);
    font-weight: 500;
}

/* Education & Projects */
.education-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.edu-card,
.project-card {
    background: linear-gradient(180deg, rgba(17, 34, 64, 0.8) 0%, rgba(10, 10, 25, 0.8) 100%);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-desc {
    margin-bottom: 20px;
}

.edu-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
    box-shadow: 0 5px 20px rgba(189, 0, 255, 0.15);
}

.edu-card h3,
.project-card h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.school,
.project-date {
    display: block;
    color: var(--neon-cyan);
    margin-bottom: 5px;
    font-weight: 600;
}

.year,
.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


/* Contact */
.big-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.big-btn {
    min-width: 250px;
}

.phone-number {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    margin-top: 20px;
    display: block;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 100px;
}

.status-ok {
    color: var(--neon-green);
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-green);
    animation: blink 2s infinite;
}

/* Animations */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-reverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .nav-list {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(5, 5, 16, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-list.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .bar {
        transition: all 0.3s ease;
    }

    .header {
        height: 60px;
    }

    .hero {
        padding-top: 60px;
    }

    .big-title {
        font-size: 2.5rem;
    }
}