:root {
    --primary: #263238; /* Dark Slate */
    --accent: #009688; /* Teal */
    --text: #37474f;
    --text-light: #78909c;
    --bg: #eceff1;
    --white: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

/* Header */
.main-header {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header-content h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.header-content h1 .light {
    font-weight: 300;
    color: #b0bec5;
}

.job-title {
    font-size: 1.2rem;
    background: var(--accent);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.contact-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: -30px auto 40px; /* Overlap header */
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 0 20px;
}

/* Sidebar */
.sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.sidebar .section {
    margin-bottom: 40px;
}

.sidebar h3 {
    color: var(--primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sidebar .item {
    margin-bottom: 20px;
}

.sidebar h4 {
    font-size: 1rem;
    color: var(--text);
}

.sidebar .date {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.sidebar .place {
    font-size: 0.9rem;
    color: var(--text-light);
}

.skill-category {
    margin-bottom: 15px;
}

.skill-category h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.skill-category p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.simple-list {
    list-style: none;
    padding: 0;
}

.simple-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.tags {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags li {
    background: var(--bg);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--primary);
}

/* Main Content */
.main-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.main-content h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-content h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #cfd8dc;
}

.profile p {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 40px;
}

.job {
    margin-bottom: 35px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--bg);
}

.job:last-child {
    margin-bottom: 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.job-role {
    font-size: 1.1rem;
    color: var(--primary);
}

.tag {
    font-size: 0.7rem;
    background: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 10px;
    font-weight: 400;
}

.job-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.job-company {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.job-desc {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.job-tasks {
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text);
}

.job-tasks li {
    margin-bottom: 5px;
}

/* Print Button */
.print-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-btn:hover {
    transform: scale(1.1);
    background: var(--accent);
}

.print-btn::before {
    content: "🖨️";
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .contact-bar {
        flex-direction: column;
        gap: 5px;
    }
}

/* Print */
@media print {
    @page { margin: 0; }
    body { background: white; }
    .container {
        box-shadow: none;
        margin: 0;
        max-width: 100%;
        width: 100%;
        padding: 20px;
        gap: 20px;
    }
    .sidebar, .main-content {
        box-shadow: none;
        padding: 0;
    }
    .main-header {
        padding: 20px 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .print-btn { display: none; }
    .job { break-inside: avoid; }
}
