/* Polices */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap");

/* Variables */
:root {
  --primary-blue: #3050ff;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --text-gray: #666;
}

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

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--dark-gray);
  background-color: white;
  line-height: 1.6;
}

/* Container principal */
.cv-container {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
}

/* Sidebar gauche */
.sidebar {
  width: 35%;
  background-color: white;
  padding: 30px;
  position: relative;
  border-right: 1px solid #eee;
}

/* Photo de profil */
.profile-container {
  text-align: center;
  margin-bottom: 30px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-blue);
}

/* Sections de la sidebar */
.sidebar section {
  margin-bottom: 30px;
}

.sidebar h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
  font-weight: 600;
}

/* Contact */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-item i {
  width: 20px;
  margin-right: 10px;
  color: var(--primary-blue);
}

.email-icon::before {
  content: "✉";
  color: var(--primary-blue);
  margin-right: 10px;
}

.phone-icon::before {
  content: "📱";
  color: var(--primary-blue);
  margin-right: 10px;
}

.web-icon::before {
  content: "🌐";
  color: var(--primary-blue);
  margin-right: 10px;
}

/* Logiciels */
.software-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.software-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(33.33% - 10px);
  margin-bottom: 15px;
}

.software-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.software-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.software-item span {
  font-size: 0.8rem;
  text-align: center;
}

/* Compétences et Soft-Skills */
.skills-section ul,
.soft-skills-section ul {
  list-style-type: none;
}

.skills-section li,
.soft-skills-section li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.skills-section li:before,
.soft-skills-section li:before {
  content: "•";
  color: var(--primary-blue);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Contenu principal */
.main-content {
  width: 65%;
  padding: 30px;
  position: relative;
}

/* En-tête */
header {
  margin-bottom: 40px;
}

.header-title h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-title h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.blue-text {
  color: var(--primary-blue);
}

.subtitle {
  font-size: 1rem;
  color: var(--text-gray);
}

/* Sections du contenu principal */
.main-content section {
  margin-bottom: 30px;
}

.main-content h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
  font-weight: 600;
}

/* Expériences et Éducation */
.experience-item,
.education-item {
  margin-bottom: 20px;
}

.experience-item h3,
.education-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.date {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 5px;
}

.description {
  font-size: 0.95rem;
}

/* Projets */
.projects-section ul {
  list-style-type: none;
}

.projects-section li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.projects-section li:before {
  content: "•";
  color: var(--primary-blue);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Réseaux sociaux */
.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--dark-gray);
}

.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .cv-container {
    flex-direction: column;
  }

  .sidebar,
  .main-content {
    width: 100%;
  }
}
