/* ===== Resume Page Stylesheet ===== */

:root {
    --pf-accent: #2563eb;
    --pf-accent-light: #dbeafe;
    --pf-text: #1e293b;
    --pf-text-light: #64748b;
    --pf-bg: #ffffff;
    --pf-bg-alt: #f8fafc;
    --pf-border: #e2e8f0;
    --pf-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--pf-font);
    color: var(--pf-text);
    background-color: var(--pf-bg);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    cursor: auto;
}

body::after {
    display: none;
}

/* ===== Top Nav ===== */

.pf-topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pf-border);
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pf-topnav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--pf-text);
    text-decoration: none;
}

.pf-topnav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.pf-topnav-links a {
    color: var(--pf-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.pf-topnav-links a:hover {
    color: var(--pf-accent);
}

.pf-nav-email {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--pf-accent);
    color: #fff !important;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

.pf-nav-email:hover {
    opacity: 0.85;
    color: #fff !important;
}

/* ===== Hero Section ===== */

.pf-hero {
    padding: 5rem 2rem 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.pf-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--pf-text);
    letter-spacing: -0.02em;
}

.pf-hero .pf-tagline {
    font-size: 1.1rem;
    color: var(--pf-text-light);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.pf-hero-name {
    font-size: 0.9rem;
    color: var(--pf-text-light);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.pf-hero-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pf-hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--pf-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--pf-accent);
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.pf-hero-links a:hover {
    background: var(--pf-accent);
    color: #fff;
}

.pf-hero-links a.pf-email-priority {
    background: var(--pf-accent);
    color: #fff;
}

.pf-hero-links a.pf-email-priority:hover {
    opacity: 0.9;
}

/* ===== Sections ===== */

.pf-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.pf-section + .pf-section {
    border-top: 1px solid var(--pf-border);
}

.pf-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--pf-text);
    letter-spacing: -0.01em;
}

.pf-section p {
    font-size: 1rem;
    color: var(--pf-text-light);
    margin-bottom: 1rem;
}

/* ===== Experience Items ===== */

.pf-exp-item {
    margin-bottom: 2rem;
}

.pf-exp-item:last-child {
    margin-bottom: 0;
}

.pf-exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.pf-exp-role {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--pf-text);
}

.pf-exp-date {
    font-size: 0.85rem;
    color: var(--pf-text-light);
    white-space: nowrap;
}

.pf-exp-org {
    font-size: 0.95rem;
    color: var(--pf-accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.pf-exp-item ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--pf-text-light);
    font-size: 0.95rem;
}

.pf-exp-item ul li {
    margin-bottom: 0.35rem;
}

/* ===== Projects Grid ===== */

.pf-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.pf-project-card {
    border: 1px solid var(--pf-border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.pf-project-card:hover {
    border-color: var(--pf-accent);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.pf-project-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--pf-text);
}

.pf-project-card p {
    font-size: 0.95rem;
    color: var(--pf-text-light);
    margin: 0 0 0.75rem;
}

.pf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pf-tag {
    display: inline-block;
    background: var(--pf-accent-light);
    color: var(--pf-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* ===== Cyber Experience List ===== */

.pf-cyber-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pf-cyber-list li {
    font-size: 0.95rem;
    color: var(--pf-text-light);
    padding-left: 1.25rem;
    position: relative;
}

.pf-cyber-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: var(--pf-accent);
    border-radius: 50%;
}

/* ===== Skills ===== */

.pf-skills-group {
    margin-bottom: 1.25rem;
}

.pf-skills-group:last-child {
    margin-bottom: 0;
}

.pf-skills-group h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pf-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.pf-skills-group .pf-tags {
    gap: 0.5rem;
}

.pf-skills-group .pf-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
}

/* ===== Education ===== */

.pf-edu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pf-edu-item span:first-child {
    font-weight: 600;
    color: var(--pf-text);
}

.pf-edu-item span:last-child {
    font-size: 0.85rem;
    color: var(--pf-text-light);
}

.pf-edu-item.pf-edu-no-date {
    justify-content: flex-start;
}

.pf-edu-item.pf-edu-no-date span:last-child {
    display: none;
}

/* ===== Footer ===== */

.pf-footer {
    text-align: center;
    padding: 2rem;
    color: var(--pf-text-light);
    font-size: 0.85rem;
    border-top: 1px solid var(--pf-border);
    max-width: 800px;
    margin: 0 auto;
}

.pf-footer a {
    color: var(--pf-accent);
    text-decoration: none;
}

/* ===== Responsive ===== */

@media (max-width: 640px) {
    .pf-hero {
        padding: 3rem 1.25rem 2rem;
    }

    .pf-hero h1 {
        font-size: 2rem;
    }

    .pf-section {
        padding: 2rem 1.25rem;
    }

    .pf-exp-header {
        flex-direction: column;
        gap: 0.15rem;
    }

    .pf-topnav {
        padding: 0.75rem 1.25rem;
    }

    .pf-topnav-links {
        gap: 1rem;
    }
}
