/* Core variables */
:root {
    --bg: #121212;
    --surface: #1e1e1e;
    --text: #e0e0e0;
    --text2: #a0a0a0;
    --accent: #3399ff;
    --accent-hover: #57b0ff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding-top: 56px;
    background: var(--surface);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 12px;
}

h1,
h2,
h3,
h4 {
    color: var(--text);
    font-weight: 600;
}

h2,
.contact-title {
    font-size: 2.1rem;
    margin: 0 0 18px 0;
    text-align: center;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
    display: inline-block;
}

section {
    padding: 16px 0 18px 0;
    text-align: center;
    background: var(--surface);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .3s;
}

a:hover {
    color: var(--accent-hover);
}

/* Header */
#main-header {
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

#main-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 12px;
}

#main-header .logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    height: 60px;
}

#main-header nav {
    display: flex;
    align-items: center;
    height: 60px;
}

#main-header nav a {
    margin-left: 25px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 60px;
}

/* Hero */
#hero {
    padding: 48px 0;
}

.profile-photo,
.profile-photo-large {
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
}

.profile-photo {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
}

.profile-photo-large {
    width: 220px;
    height: 220px;
    margin-bottom: 0;
    margin-right: 32px;
    box-shadow: 0 4px 24px rgba(51, 153, 255, 0.12);
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-info {
    text-align: left;
}

#hero h1 {
    font-size: 2.5rem;
    margin: 0 0 8px 0;
}

#hero .subtitle {
    font-size: 1.2rem;
    color: var(--text2);
    font-weight: 300;
}

.hero-resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 22px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 22px;
    box-shadow: 0 2px 12px rgba(51, 153, 255, 0.10);
    text-decoration: none;
    transition: background .2s, color .2s;
}

.hero-resume-btn:hover {
    background: var(--accent-hover);
    color: #fff;
}

.hero-resume-btn .fa-file-pdf {
    font-size: 1.2rem;
    vertical-align: middle;
    color: #fff;
}

/* About */
#about {
    padding-top: 12px !important;
}

#about p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Experience */
#experience .job {
    background: var(--bg);
    border: 1px solid #333;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 8px;
    text-align: left;
}

#experience h3 {
    margin-top: 0;
    color: var(--accent);
}

#experience .company-info {
    font-style: italic;
    color: var(--text2);
    margin-bottom: 15px;
}

#experience ul {
    padding-left: 20px;
    margin: 0;
}

#experience li {
    margin-bottom: 10px;
}

.job-dates {
    font-size: 1rem;
    color: var(--text2);
    font-weight: 400;
    margin-left: 12px;
    white-space: nowrap;
}

/* Skills */
#skills {
    padding-top: 12px !important;
}

#skills .skill-category {
    margin-bottom: 12px;
    text-align: center;
}

#skills h4,
.skill-inline h4 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 3px;
    font-weight: 500;
    margin: 0;
}

#skills p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text2);
}

.skill-inline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    text-align: left;
}

.skill-inline span {
    color: var(--text2);
    font-size: 1rem;
}

/* Footer / Contact */
#contact {
    background: var(--surface);
    text-align: center;
    padding: 18px 0 12px 0;
}

#contact h2 {
    border-bottom: none;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    font-size: 2rem;
    margin: 0 15px;
}

.copyright {
    font-size: .9rem;
    color: var(--text2);
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 50px;
    }

    h2,
    .contact-title {
        font-size: 2rem;
    }

    #main-header {
        height: 50px;
    }

    #main-header .logo {
        font-size: 1.2rem;
    }

    #main-header nav a {
        margin-left: 15px;
        font-size: .9rem;
    }

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

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero .subtitle {
        font-size: 1.2rem;
    }
}