@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0f0f0f;
    --bg2: #1a1a1a;
    --border: #2a2a2a;
    --text: #ccc;
    --white: #eee;
    --gold: #c9a84c;
    --gray: #777;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-weight: 300;
}

/* NAV */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(15,15,15,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 span { color: var(--gold); }

.hero p {
    font-size: 1rem;
    color: var(--gray);
    max-width: 400px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    width: fit-content;
}

.btn:hover {
    background: var(--gold);
    color: #000;
}

/* SECTIONS */
section {
    padding: 5rem 5%;
}

section:nth-child(even) {
    background: var(--bg2);
}

.section-num {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 3rem;
}

/* ABOUT */
#presentation {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 5rem;
    align-items: start;
}

.about-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border: 1px solid var(--border);
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--bg2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.8rem;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.fact-label {
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.fact-value {
    font-size: 0.9rem;
    color: var(--white);
}

/* SKILLS */
.skills-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.skill-pct { color: var(--gold); }

.skill-track {
    height: 2px;
    background: var(--border);
}

.skill-fill {
    height: 100%;
    width: 0;
    background: var(--gold);
    transition: width 1s ease;
}

.soft-list {
    list-style: none;
}

.soft-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
}

.soft-list li::before {
    content: '— ';
    color: var(--gold);
}

/* PROJECTS */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.project-card {
    display: grid;
    grid-template-columns: 2rem 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}

.project-card:hover {
    border-color: var(--gold);
}

.project-num {
    font-size: 0.75rem;
    color: var(--gold);
}

.project-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.project-card p {
    font-size: 0.82rem;
    color: var(--gray);
}

.project-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border);
    color: var(--gray);
}

/* TIMELINE */
.timeline {
    border-left: 1px solid var(--border);
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.3rem;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}

.timeline-role {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 0.2rem;
}

.timeline-company {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
    max-width: 500px;
}

/* CONTACT */
#contact {
    text-align: center;
}

#contact h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
}

#contact p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-link {
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.contact-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* FOOTER */
footer {
    padding: 1.5rem 5%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray);
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    #presentation {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img-placeholder { aspect-ratio: 16/9; }

    .skills-wrap { grid-template-columns: 1fr; gap: 2rem; }

    .project-card { grid-template-columns: 2rem 1fr; }
    .project-tags { display: none; }

    .nav-links { display: none; }

    footer { flex-direction: column; gap: 0.3rem; }
}