/* ===== LAYOUT GENERAL ===== */
.apropos-main {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
.logo-floating {
    position: fixed;
    top: 15px;
    right: 5px;     /* aligné avec le menu */
    width: 220px;
    height: 120px;
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 200;
    pointer-events: none; /* ne bloque pas les clics */
}

/* ===== SECTION INTRO ===== */
.intro {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.intro-photo {
  position: relative;
  width: 420px;
  height: 420px;
  min-width: 320px;
}

.intro-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top; /* ajuste le cadrage */
  border: 8px solid #1ec0ff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.intro-photo img:hover {
  transform: scale(1.07);
  box-shadow: 0 20px 55px rgba(30,192,255,0.9);
}

.photo-glow {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,192,255,0.3) 0%, transparent 70%);
  animation: pulse 3s infinite;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.2; }
}

.intro-text h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #1ec0ff;
  font-weight: bold;
  text-shadow: 0 0 12px rgba(30,192,255,0.8);
}

.intro-text p {
  font-size: 1.2em;
  line-height: 1.7em;
  margin-bottom: 18px;
  color: #e0ebf9;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.intro-text p.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SECTION CARTES ===== */
.apropos-cards {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 30%;
  background: rgba(19, 49, 92, 0.9);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, background 0.3s ease;
  min-width: 280px;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(30, 78, 140, 0.95);
}

.card h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #1ec0ff;
}

.card p {
  font-size: 1em;
  line-height: 1.6em;
  color: #ffffff;
}

.search-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-container input {
    padding: 8px 14px;
    border-radius: 20px;
    border: none;
    outline: none;
    width: 180px;
    transition: 0.3s ease;
}

.search-container input:focus {
    width: 240px;
    box-shadow: 0 0 10px rgba(30,192,255,0.8);
}

.search-container button {
    background: #ffb703;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

/* ===== PHOTO DE PROFIL AGRANDIE ET LARGER ===== */
.profile-pic {
  width: 500px;           /* largeur plus grande */
  height: 500px;          /* hauteur pour garder un ovale/ronde */
  border-radius: 100%;     /* cercle parfait pour une largeur égale à la hauteur */
  object-fit: cover;      /* recadre l’image correctement */
  border: 6px solid #1e4e8c; /* bordure assortie */
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6); /* effet relief */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet au survol */
.profile-pic:hover {
  transform: scale(1.1); /* zoom fluide */
  box-shadow: 0 15px 45px rgba(30, 192, 255, 0.8);
}

/* ===== TITRES DE SECTION ===== */
.section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  color: #1ec0ff;
  text-shadow: 0 0 10px rgba(30,192,255,0.7);
}

/* ===== BLOC COMPÉTENCES ===== */

.skills-block {
  margin: 90px 0;
}

.section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  color: #1ec0ff;
  text-shadow: 0 0 10px rgba(30,192,255,0.7);
}

.skills-card {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, #102542, #1e4e8c);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.6);
  flex-wrap: wrap;
  transition: transform 0.4s ease;
}

.skills-card:hover {
  transform: translateY(-6px);
}

.skills-column {
  flex: 1 1 30%;
  min-width: 250px;
}

.skills-column h3 {
  margin-bottom: 20px;
  color: #1ec0ff;
}

.skills-column ul {
  list-style: none;
  padding: 0;
}

.skills-column li {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.05em;
  position: relative;
  padding-left: 20px;
}

.skills-column li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #1ec0ff;
}

/* LOGOS */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.logo-grid img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-grid img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #1ec0ff);
}


/* ===== SECTION PROJETS PERSONNELS ===== */
.personal-projects {
  margin-top: 100px;
}

/* GROS BLOC */
.project-card-large {
  background: linear-gradient(135deg, #13315c, #1e4e8c);
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  transition: transform 0.4s ease;
}

.project-card-large:hover {
  transform: translateY(-8px);
}

/* TIMELINE */
.project-timeline {
  border-left: 3px solid #1ec0ff;
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item .dot {
  position: absolute;
  left: -42px;
  top: 5px;
  width: 15px;
  height: 15px;
  background: #1ec0ff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(30,192,255,0.9);
}

.timeline-item h4 {
  margin-bottom: 8px;
  color: #1ec0ff;
}

.timeline-item p {
  color: #e0ebf9;
}
