@font-face {
    font-family: 'DegularText';
    src: url('../fonts/DegularText-Regular.woff2') format('woff2'),
         url('../fonts/DegularText-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'DegularText';
    src: url('../fonts/DegularText-Bold.woff2') format('woff2'),
         url('../fonts/DegularText-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'DegularText';
    src: url('../fonts/DegularText-Italic.woff2') format('woff2'),
         url('../fonts/DegularText-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animated gradient background - Layer 1 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 85% 80%, rgba(102, 126, 234, 0.2) 0%, rgba(255, 255, 255, 1) 65%);
    opacity: 1;
    transition: opacity 0.6s ease-out;
}

/* Animated gradient background - Layer 2 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 85% 80%, rgba(102, 126, 234, 0.2) 0%, rgba(255, 255, 255, 1) 65%);
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

body {
    font-family: 'DegularText', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    whe: #000;
    background-color: transparent;
    position: relative;
}

/* CV Container */
.cv-container {
    max-width: 800px;
    margin: 40px 0 0 40px;
    padding: 20px;
    background-color: transparent;
    transition: transform 5s ease-out;
}

/* Main content wrapper */
.cv-content {
    width: 100%;
}

/* Header */
.cv-header {
    display: flex;
    gap: 68px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    width: 100%;
}

.header-left {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-left h1 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 0;
}

.header-left h2 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 20px;
}

.specialty {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 40px;
}

.header-right {
    width: 472px; /* 800px - 40px padding - 220px left - 68px gap = 472px */
    flex-shrink: 0;
}

.header-right p {
    margin-bottom: 20px;
    text-align: left;
}

.header-right p:last-child {
    margin-bottom: 0;
}

/* Contact Info - now properly positioned in left column */
.contact-info {
    margin-top: auto;
}

.contact-info p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
}

/* Experience Section */
.experience {
    margin-top: 24px;
}

/* Clients and Additional Info Sections */
.clients,
.additional-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.4);
}

.clients .job:first-child,
.additional-info .job:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.job {
    display: flex;
    gap: 68px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    width: 100%;
}

/* Make job separators in experience section very subtle */
.experience .job {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

/* Job header grouping */

.job-header-group h1,
.job-header-group h2,
.job-header-group h3,
.job-header-group h4 {
    margin-bottom: 4px;
}

.job-header-group h2:last-child,
.job-header-group h4:last-child {
    margin-bottom: 0;
}

.job-left {
    width: 220px; /* Match header-left width exactly */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Only apply min-height to experience section jobs */
.experience .job-left {
    min-height: 120px; /* Ensure minimum height for alignment */
}

/* Remove excessive spacing from previous-note section */
.job.previous-note {
    margin-bottom: 0;
    padding-bottom: 0;
}

.job.previous-note .job-left {
    min-height: auto;
}

.job-left h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 4px;
}

.job-left h4 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0; /* Remove large margin, let flexbox handle spacing */
}

.period {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.job-right {
    width: 472px; /* Match header-right width exactly */
    flex-shrink: 0;
}

.job-right p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
    text-align: left;
}

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

/* Print styles */
@media print {
    body {
        font-size: 12px;
        line-height: 18px;
    }
    
    .cv-container {
        max-width: none;
        padding: 20px;
        margin: 0;
    }
    
    .job {
        page-break-inside: avoid;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .cv-container {
        padding: 16px;
    }
    
    .cv-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-left,
    .header-right {
        width: 100%;
    }
    
    .header-left h2 {
        margin-bottom: 10px;
    }
    
    .specialty {
        margin-bottom: 20px;
    }
    
    .job {
        flex-direction: column;
        gap: 16px;
    }
    
    .job-left,
    .job-right {
        width: 100%;
    }
    
    .job-left h4 {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .cv-container {
        padding: 12px;
    }
    
    body {
        font-size: 13px;
        line-height: 18px;
    }
    
    .cv-header {
        gap: 16px;
    }
    
    .job {
        gap: 12px;
    }
} 