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

@page {
    size: A4;
    margin: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #333;
    background: #f5f5f5;
}

.cv-container {
    display: flex;
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* LEFT COLUMN - Main content */
.left-column {
    width: 65%;
    padding: 25px 20px 25px 25px;
    border-right: 2px solid #2c5282;
}

/* RIGHT COLUMN - Skills & Info */
.right-column {
    width: 35%;
    padding: 25px 25px 25px 20px;
    background: #fff;
}

/* HEADER */
.header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2c5282;
}

.header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.header .subtitle {
    font-size: 11px;
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.5;
}

.header .contact-line {
    font-size: 10px;
    color: #444;
}

.header .contact-line .separator {
    margin: 0 10px;
    color: #999;
}

/* SECTIONS */
.section {
    margin-bottom: 18px;
}

.section-title {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 1px solid #2c5282;
    margin-bottom: 10px;
}

.content {
    padding-left: 0;
}

/* ENTRIES - for experiences, education */
.entry {
    margin-bottom: 12px;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2px;
}

.entry-header strong {
    font-size: 11px;
    color: #1a1a1a;
}

.entry-header .date {
    font-size: 10px;
    color: #666;
    white-space: nowrap;
    margin-left: 10px;
}

.entry .location {
    font-size: 10px;
    color: #555;
    font-style: italic;
    margin-bottom: 3px;
}

.entry .details {
    list-style: none;
    padding-left: 0;
    margin-top: 3px;
}

.entry .details li {
    font-size: 10px;
    color: #444;
    padding-left: 12px;
    position: relative;
    margin-bottom: 2px;
}

.entry .details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c5282;
}

/* ATOUTS */
.atouts p {
    font-size: 10px;
    margin-bottom: 4px;
    color: #333;
}

/* RIGHT COLUMN STYLES */
.right-column .section {
    margin-bottom: 20px;
}

/* LANGUES */
.langue-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 10px;
}

.langue-name {
    font-weight: 600;
    color: #1a1a1a;
}

.langue-level {
    color: #555;
    font-style: italic;
}

/* COMPETENCES TECHNIQUES */
.competence-group {
    margin-bottom: 10px;
}

.competence-group h3 {
    font-size: 10px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.competence-group p {
    font-size: 10px;
    color: #444;
}

/* SOFT SKILLS */
.soft-skills p {
    font-size: 10px;
    margin-bottom: 4px;
    color: #333;
}

/* PROJETS */
.projet-item {
    margin-bottom: 8px;
}

.projet-item strong {
    font-size: 10px;
    color: #1a1a1a;
    display: block;
}

.projet-item p {
    font-size: 9px;
    color: #555;
}

/* INTERESTS */
.interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interests span {
    font-size: 10px;
    color: #333;
}

/* REFERENCES */
.references p {
    font-size: 10px;
    color: #555;
    font-style: italic;
}

.reference-item {
    margin-bottom: 10px;
}

.reference-item strong {
    font-size: 10px;
    color: #1a1a1a;
    display: block;
}

.reference-item p {
    font-size: 9px;
    color: #555;
    margin: 1px 0;
}

/* SOCIAL ICONS */
.icon {
    display: inline-block;
    width: 14px;
    font-weight: bold;
    color: #2c5282;
    font-size: 9px;
}

/* PRINT STYLES */
@media print {
    body {
        background: white;
    }
    
    .cv-container {
        box-shadow: none;
        width: 100%;
        min-height: auto;
    }
}

/* RESPONSIVE - for screen viewing */
@media screen and (max-width: 800px) {
    .cv-container {
        flex-direction: column;
        width: 100%;
        min-height: auto;
    }
    
    .left-column,
    .right-column {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #2c5282;
    }
    
    .right-column {
        border-bottom: none;
    }
}
