:root {
    --bg: #f8f9fa; --card: #ffffff; --text: #212529; --accent: #2563eb; --border: rgba(0,0,0,0.08);
}
body.dark {
    --bg: #050507; --card: #111114; --text: #f0f0f0; --accent: #00f2ff; --border: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; transition: 0.3s ease; }
body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.6; }

#container--main { max-width: 1100px; margin: 0 auto; padding: 2rem; }

/* Control & Header */
.nav-control { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 2rem; }
.app-title { font-family: monospace; font-weight: bold; opacity: 0.5; }
#toggle-btn { cursor: pointer; color: var(--accent); font-size: 1.4rem; }

#wrapper--hero { display: flex; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
#profile-pic { width: 160px; height: 160px; border-radius: 50%; border: 4px solid var(--accent); object-fit: cover; }
.hero-text h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 0.5rem; }
.tagline { color: var(--accent); font-weight: bold; margin-bottom: 1rem; }

/* Grids & Cards */
.resume-grid { display: grid; grid-template-columns: 1fr 2.5fr; gap: 2rem; }
.card { background: var(--card); padding: 2rem; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 2rem; }
h2 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 1.5rem; color: var(--accent); }

/* Timeline */
.timeline-item { border-left: 2px solid var(--border); padding: 0 0 2rem 1.5rem; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; background: var(--border); border-radius: 50%; }
.timeline-item.featured { border-left-color: var(--accent); }
.timeline-item.featured::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.date { font-size: 0.8rem; font-weight: bold; opacity: 0.7; }

/* Skills & Projects */
.skills-list { list-style: none; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { background: var(--bg); padding: 0.3rem 0.7rem; border-radius: 4px; font-size: 0.8rem; border: 1px solid var(--border); }
.projects-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.projects-links a { text-decoration: none; color: var(--text); background: var(--bg); padding: 0.5rem; text-align: center; border: 1px solid var(--border); border-radius: 4px; font-size: 0.9rem; }
.projects-links a:hover { border-color: var(--accent); color: var(--accent); }

.socials-bar { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.btn-action { text-decoration: none; color: var(--text); background: var(--card); padding: 0.7rem 1.2rem; border-radius: 6px; border: 1px solid var(--border); font-size: 0.9rem; }
.btn-action.primary { background: var(--accent); color: #fff; border: none; }

.ach-item { margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; }

@media (max-width: 850px) {
    .resume-grid { grid-template-columns: 1fr; }
    #wrapper--hero { flex-direction: column; text-align: center; }
}