
/* --------------------------------------------------
   RESET & GLOBAL
-------------------------------------------------- */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
letter-spacing: 0.25px; /* ou essaye 0.3px si tu veux forcer encore un peu */
  background: #0d0d0d;
  color: #f5f5f5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1.5rem;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.header {
  background: linear-gradient(160deg, #131313 0%, #1f1f1f 100%);
  padding: 2rem 2rem;
  color: #fff;
  border-bottom: 2px solid #1f1f1f;
  border-bottom-left-radius: 70% 30px;
  border-bottom-right-radius: 70% 30px;
  display: block;
}

.header-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: left;
}

.header-left {
  flex: 0 0 220px;
  margin-right: 4rem;
  text-align: center;
}

.header-right {
  flex: 1;
  max-width: 700px;
  text-align: justify;
}

/* Responsive mobile (≤ 768px) */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    text-align: center;
  }

  .header-left {
    margin-right: 0;
  }

  .header-right {
    text-align: center;
  }
}

.profile-pic {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff22;
}

/* --------------------------------------------------
   TITRES, TEXTES, ETC.
-------------------------------------------------- */
h1 {
  font-size: 2.7rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.job-title {
  font-size: 2rem;
  font-weight: 700;
  color: #66fcf1;
  margin-bottom: 0.5rem;
}

.contact-info {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact-info i {
  margin-right: 8px;
  color: #66fcf1;
}

.obfuscated {
  unicode-bidi: bidi-override;
  direction: rtl;
}

.header-summary {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

/* --------------------------------------------------
   SECTIONS & TITRES DE SECTION
-------------------------------------------------- */
.section {
  margin-bottom: 4rem;
  text-align: justify;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #66fcf1;
  margin-bottom: 1.5rem;
  border-left: 4px solid #66fcf1;
  padding-left: 1rem;
}

/* --------------------------------------------------
   EXPERIENCE
-------------------------------------------------- */
.experience-entry {
  background-color: #1c1c1c;
  border: none;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .experience-entry:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 6px rgba(102, 252, 241, 0.4);
  }
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.experience-summary-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.experience-summary,
.experience-result {
  flex: 1;
  min-width: 250px;
  font-weight: 400;
  color: #ccc;
  padding-top: 0.5rem;
}

.experience-summary {
  padding-right: 2rem;
  border-top: 1px solid #444;
}

.label {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
}

.experience-entry ul {
  margin-left: 0;
  padding-left: 1rem;
}

.position {
  font-size: 1.2rem;
  font-weight: 600;
  color: #66fcf1;
}

.date {
  font-size: 0.9rem;
  color: #c5c6c7;
}

.status {
  font-size: 0.9rem;
  font-style: italic;
  color: #999;
}

.company {
  font-size: 1rem;
  color: #bbb;
  margin-top: 1rem;
  margin-bottom: 1.75rem;
}

.company-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25em;
  gap: 1rem;
}

.company-name {
  font-size: 1rem;
  color: #ffffff;
}

.company-logo {
  width: auto;
  height: 50px;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); /* ➜ Ombre blanche subtile */
  background-color: #fff;
  padding: 3px;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  text-align: center;
  color: #888;
  padding: 2rem 0;
}

/* --------------------------------------------------
   WHAT I DO & TOOLS BOXES
-------------------------------------------------- */
.what-i-do-box {
  padding: 0rem 0rem;
  border-radius: 0.5rem;
  text-align: left;
  height: 100%;
}

.what-i-do-box p {
  text-align: justify;
  color: #ccc;
}

.what-i-do-icon {
  font-size: 2.5rem;
  color: #66fcf1;
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}


/* --------------------------------------------------
   WHAT I DO — Mobile : masquer le détail
-------------------------------------------------- */
@media (max-width: 768px) {
  .what-i-do-box p {
    display: none;
  }
}

/* --------------------------------------------------
   WHAT I DO — Desktop : transition fluide au hover
-------------------------------------------------- */
@media (hover: hover) {

  /* Caché par défaut mais animable (pas display:none !) */
  .what-i-do-box p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
  }

  /* Affichage progressif au hover */
  .what-i-do-box:hover p {
    max-height: 500px; /* assez grand pour tous tes paragraphes */
    opacity: 1;
  }
}

/* --------------------------------------------------
   BUTTONS & DETAILS
-------------------------------------------------- */
.toggle-btn {
  display: block;
  margin: 0.5rem auto 1rem auto;
  background-color: transparent;
  color: #3fb7b3;
  border: 1px solid #66fcf1;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

@media (hover: hover) {
  .toggle-btn:hover {
    background-color: #66fcf1;
    color: #0d0d0d;
  }
}

.exp-details {
  margin-top: 0.75rem;
}

/* Commun aux encadrés "What I Do" et "Tools" */
.hover-box {
  border-radius: 1.3rem;
  padding: 1.2rem;
  height: 100%;
  background-color: #1a1a1a;
  transition: box-shadow 0.1s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
}

@media (hover: hover) {
  .hover-box:hover {
    box-shadow: 0 0 6px rgba(102, 252, 241, 0.4);
  }
}

/* --------------------------------------------------
   SKILLS & TAGS
-------------------------------------------------- */
.skill-category {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.skill-category span {
  display: inline-block;
  color: #66fcf1;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0px 6px;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.skills-col {
  flex: 1;
  min-width: 300px;
  padding-right: 0;
}

.skills-col:last-child {
  border-right: none;
  padding-right: 0;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.skill-tag {
  background-color: #2a2a2a;
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid #444;
}

/* --------------------------------------------------
   LANGUAGES
-------------------------------------------------- */
.language-box {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 1rem;
  transition: box-shadow 0.3s ease;
  margin-bottom: 1rem;
  text-align: center;
}

@media (hover: hover) {
  .language-box:hover {
    box-shadow: 0 0 6px rgba(102, 252, 241, 0.4);
  }
}

.language-label {
  font-weight: 600;
  font-size: 1rem;
  color: #66fcf1;
}
