:root {
    --primary-color: #2A5C3A;
    --accent-color: #059669;
    --text-color: #334155;
    --muted-color: #64748B;
    --sidebar-bg: #2A5C3A;
    --sidebar-text: #F8FAFC;
    --sidebar-label: #A7F3D0;
    --tag-bg: #ECFDF5;
    --line-color: #E2E8F0;
    --bg-color: #F1F5F9;
    --card-bg: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.layout {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--card-bg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Sidebar */
.sidebar {
    width: 340px;
    background: linear-gradient(145deg, var(--primary-color), #1f472b);
    color: var(--sidebar-text);
    padding: 3rem 2.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.profile-img-container {
    width: 100%;
    margin-bottom: 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sidebar-section {
    margin-bottom: 2.5rem;
}

.sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.5rem;
    color: #fff;
}

.contact-item {
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.sidebar-label {
    display: block;
    font-size: 0.75rem;
    color: var(--sidebar-label);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.sidebar-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.sidebar-text:hover {
    color: #fff;
    text-decoration: underline;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 0.4rem;
}

.language-item .sidebar-label {
    margin-bottom: 0;
}

.sidebar-note {
    font-size: 0.8rem;
    color: var(--sidebar-label);
    margin-top: 1rem;
    opacity: 0.9;
    font-style: italic;
}

.interest-item {
    margin-bottom: 1.2rem;
}

.interest-item .sidebar-text {
    display: block;
    margin-bottom: 0.3rem;
}

.interest-item .sidebar-label {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    padding: 4rem 5rem;
    background-color: var(--card-bg);
}

.header {
    margin-bottom: 3rem;
}

.name {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.separator {
    color: var(--line-color);
    margin: 0 0.5rem;
    font-weight: 300;
}

.divider {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    margin-bottom: 2rem;
}

.profile-desc {
    font-size: 1.05rem;
    color: var(--text-color);
    max-width: 900px;
}

.content-section {
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.divider-small {
    height: 2px;
    width: 60px;
    background-color: var(--accent-color);
    border-radius: 2px;
    margin-bottom: 2rem;
}

/* Skills */
.skills-category {
    margin-bottom: 1.8rem;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background-color: var(--tag-bg);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(5, 150, 105, 0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}

/* Timeline / Entries */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: -2.5rem;
    width: 2px;
    background-color: var(--line-color);
}

.timeline-item:last-child::before {
    bottom: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    transform: scale(1.3);
    background-color: var(--primary-color);
}

.timeline-left {
    flex: 0 0 220px;
}

.role {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.company {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.date {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted-color);
}

.timeline-right {
    flex: 1;
}

.desc {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.styled-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.styled-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.styled-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: 0;
}

.accent-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.accent-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.accent-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--muted-color);
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-left: 3px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
}

/* Footer */
.footer {
    margin-top: 5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted-color);
    padding-top: 2rem;
    border-top: 1px solid var(--line-color);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 3rem 2rem;
    }
    
    .profile-img-container {
        max-width: 300px;
        margin: 0 auto 2.5rem auto;
    }
    
    .main-content {
        padding: 3rem 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-left {
        flex: 0 0 auto;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .timeline-item {
        padding-left: 0;
        border-left: 3px solid var(--accent-color);
        padding-left: 1.5rem;
        border-radius: 2px;
    }
}
