/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-card: #333333;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --accent-primary: #4a9eff;
    --accent-secondary: #6bb6ff;
    --border-color: #444444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.hero-content {
    max-width: 800px;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 4px solid var(--accent-primary);
    object-fit: cover;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.location {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.headline {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.tagline {
    color: var(--accent-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Highlights Section */
.highlights {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.highlight-card h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Resume Section */
.resume {
    background-color: var(--bg-primary);
    padding: 4rem 0;
    position: relative;
}

.resume.hidden {
    display: none;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--accent-primary);
}

.resume h2 {
    color: var(--accent-primary);
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.resume h2:first-of-type {
    margin-top: 0;
}

.resume p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.skill-card {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.skill-card h3 {
    color: var(--accent-secondary);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Job Entries */
.job {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.job:last-of-type {
    border-bottom: none;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.job-title {
    color: var(--accent-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem !important;
}

.job-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0 !important;
}

.job-dates {
    color: var(--text-secondary);
    font-size: 1rem;
    white-space: nowrap;
    margin-bottom: 0 !important;
}

.job ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.job li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.job li strong {
    color: var(--text-primary);
}

.more-experience {
    text-align: center;
    font-style: italic;
    margin-top: 2rem;
    color: var(--text-secondary);
}

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

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .headline {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .job-header {
        flex-direction: column;
    }

    .close-btn {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Colors */
::selection {
    background-color: var(--accent-primary);
    color: white;
}
