/* ~/Documents/candidature_gabar/cv_data_scientist/inknyto.github.io/style.css 20 Feb at 11:31:26 AM */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.resume-container {
    width: 100%;
    max-width: 900px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas: 
        "sidebar header"
        "sidebar main";
    min-height: 1200px;
}

/* Header - Moved to top level for better control */
.header {
    grid-area: header;
    text-align: center;
    padding: 40px 45px 30px;
    border-bottom: 3px solid #2c5282;
    background: white;
}

.header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #2c5282;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.header .title {
    font-size: 24px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; 
    justify-items: center;
    align-items: center;
    font-size: 13px;
    color: #4a5568;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    font-size: 16px;
    color: #2c5282;
}

/* Left Sidebar */
.sidebar {
    grid-area: sidebar;
    background: linear-gradient(180deg, #2c5282 0%, #1a365d 100%);
    color: white;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.2);
    background: #4a5568;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

.profile-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 35px;
    text-align: justify;
    opacity: 0.95;
}

.section {
    margin-bottom: 35px;
}

.section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.skill-item {
    margin-bottom: 12px;
}

.skill-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #4299e1 0%, #63b3ed 100%);
    border-radius: 4px;
}

.language-item {
    margin-bottom: 18px;
}

.language-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.language-icon {
    font-size: 18px;
}

.language-name {
    font-size: 14px;
    font-weight: 600;
}

/* Main Content */
.main-content {
    grid-area: main;
    padding: 0 45px 40px;
    background: white;
}

.main-section {
    margin-top: 35px;
    margin-bottom: 35px;
}

.main-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c5282;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.timeline-item {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
}

.timeline-year {
    font-size: 16px;
    font-weight: 700;
    color: #2c5282;
    text-align: right;
}

.timeline-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.timeline-content .institution {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 2px;
}

.timeline-content .subtitle {
    font-size: 14px;
    color: #718096;
    margin-bottom: 8px;
}

.experience-item {
    margin-bottom: 25px;
}

.experience-header {
    display: flex;
    gap:10px;
    align-items: baseline;
    margin-bottom: 8px;
}

.experience-title {
    align-self:start;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
}

.experience-date {
    font-size: 13px;
    font-weight: 600;
    color: #2c5282;
}

.experience-company {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 10px;
    font-weight: 600;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item li {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.experience-item li:before {
    content: "-";
    position: absolute;
    left: 5px;
    color: #2c5282;
    font-weight: 700;
}

.project-item {
    margin-bottom: 15px;
}

.project-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 5px;
}

.project-tech {
    font-size: 12px;
    color: #718096;
    font-style: italic;
}

.tools-grid {
    display: grid;
    gap: 15px;
}

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

.tools-category h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.tools-list {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    body {
        padding: 0;
    }

    .resume-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "header"
            "sidebar"
            "main";
        min-height: auto;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 32px;
    }

    .header .title {
        font-size: 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        justify-items: start;
        padding-left: 20px;
    }

    .sidebar {
        padding: 30px 20px;
    }

    .main-content {
        padding: 0 20px 30px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .timeline-year {
        text-align: left;
        font-size: 14px;
    }

    .experience-header {
        flex-direction: column;
        gap: 5px;
    }

    .main-section h2 {
        font-size: 24px;
    }
}

@media print {
    body {
        background: white;
        padding: 0;
    }
    .resume-container {
        box-shadow: none;
        max-width: 100%;
    }
}
