/* erwan.css - Styles for the "Qui suis-je" page */

/* === Intro Animation - Flying Plane === */
.intro-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.intro-animation.done {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.flying-plane {
  position: absolute;
  top: 40%;
  left: -100px;
  animation: flyAcross 2.5s ease-in-out forwards;
}

.flying-plane i {
  font-size: 4rem;
  color: white;
  text-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
  transform: rotate(-10deg);
}

.plane-trail {
  position: absolute;
  top: 50%;
  right: 60px;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.8));
  transform: translateY(-50%);
  border-radius: 3px;
}

@keyframes flyAcross {
  0% {
    left: -100px;
    top: 60%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    top: 35%;
  }

  90% {
    opacity: 1;
  }

  100% {
    left: 110%;
    top: 30%;
    opacity: 0;
  }
}

/* === Page Content === */
.page-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px 60px 20px;
  text-align: center;
  animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-content h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: white;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.about-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 50px;
  backdrop-filter: blur(5px);
}

.about-section .intro-text {
  font-size: 1.4rem;
  color: #00d4ff;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}

.cv-section {
  margin-top: 40px;
}

.cv-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: white;
}

.cv-container {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.cv-container iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.btn-telecharger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-telecharger:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .page-content h1 {
    font-size: 2rem;
  }

  .cv-container iframe {
    height: 400px;
  }

  .flying-plane i {
    font-size: 2.5rem;
  }
}