/* Exceptional Portfolio Design - Sazulis.dev */
body {
  margin: 0;
  font-family: 'Montserrat', 'Fira Mono', Arial, sans-serif;
    background: radial-gradient(ellipse at 60% 20%, #e3eafc 0%, #b6c6e3 60%, #f7f3e3 100%);
    color: #2d2d2d;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated geometric background */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg, #e7db97 0deg 10deg, #232946 10deg 20deg, #2c5364 20deg 30deg);
  opacity: 0.13;
  animation: rotateBg 32s linear infinite;
}
@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(44,83,100,0.85);
  box-shadow: 0 2px 24px #ffd70044;
  padding: 2em 0;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  position: sticky;
  top: 0;
  z-index: 100;
    background: repeating-conic-gradient(from 0deg, #f7f3e3 0deg 10deg, #b6c6e3 10deg 20deg, #e3eafc 20deg 30deg);
  
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.navbar a {
  color: #ffd700;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1.2px;
  padding: 0.32rem 0.85rem;
  min-width: 5.2rem;
  border-radius: 1.1rem;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, filter 0.22s;
    color: #4a4a4a;
    background: linear-gradient(90deg, #b6c6e3 55%, #f7f3e3 100%);
    box-shadow: 0 1px 6px #b6c6e322, 0 0 0 0 #f7f3e3;
    filter: drop-shadow(0 0 8px #b6c6e344);
  white-space: nowrap;
  filter: drop-shadow(0 0 8px #ffd70044);
}
/* Effet néon/futuriste et correction overflow */
/* Correction : bloc mal fermé et propriétés orphelines supprimées */
.navbar a.active::after {
  opacity: 0.7;
}
.navbar a:hover,
.navbar a.active {
  background: linear-gradient(90deg, #e7db95 65%, #232946 100%);
  color: #232946;
  box-shadow: 0 2px 32px #ffd70099, 0 0 24px 8px #ffd70044;
  filter: drop-shadow(0 0 16px #ffd70099);
  z-index: 2;
}
@media (max-width: 900px) {
  .navbar a {
    padding: 0.13rem 0.35rem;
    font-size: 0.72rem;
    border-radius: 0.5rem;
    color: #4a4a4a;
    background: linear-gradient(120deg, #b6c6e3 60%, #f7f3e3 100%);
    box-shadow: 0 2px 24px #b6c6e344;
  }
}

.navbar a:hover,
.navbar a.active {
  background: linear-gradient(90deg, #ece2a7 60%, #232946 100%);
    color: #2d2d2d;
  box-shadow: 0 2px 16px #ffd70066;
}

.hero-dev {
  min-height: 80vh;
  display: flex;
    background: #f7f3e3;
    color: #4a4a4a;
    box-shadow: 0 2px 12px #b6c6e322;
  background: linear-gradient(120deg, #232946 60%, #e2d588 100%);
  border-radius: 0 0 3.5rem 3.5rem;
  box-shadow: 0 8px 48px #ffd70044;
    color: #4a4a4a;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-dev .hero-bg-anim {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
      color: #4a4a4a;
      background: linear-gradient(90deg, #b6c6e3 55%, #f7f3e3 100%);
  pointer-events: none;
  opacity: 0.22;
}
.hero-dev h1 {
  font-size: 4.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 2.5px;
  background: linear-gradient(90deg, #ece1a1 60%, #232946 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  z-index: 2;
  animation: fadeInDown 1.1s cubic-bezier(0.77, 0, 0.18, 1) both;
}
.hero-dev .subtitle {
  font-size: 1.7rem;
  color: #ffd700;
  margin-bottom: 1.7rem;
  max-width: 900px;
  text-align: center;
  z-index: 2;
  font-family: 'Fira Mono', monospace;
  animation: fadeIn 1.5s 0.2s both;
}
.hero-dev .hero-badge {
  display: inline-block;
  background: #232946;
  color: #ffd700;
  padding: 0.8rem 2.2rem;
  border-radius: 2.2rem;
  font-weight: 900;
  font-size: 1.18rem;
  box-shadow: 0 2px 12px #ffd70033;
  margin-top: 1.2rem;
  letter-spacing: 2px;
  z-index: 2;
  animation: fadeIn 1.5s 0.4s both;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.about-dev {
  max-width: 1100px;
  margin: 4.5rem auto 3.5rem auto;
  background: linear-gradient(120deg, #232946 60%, #ffd700 100%);
  border-radius: 2.2rem;
  box-shadow: 0 2px 24px #ffd70044;
  padding: 3.7rem 3.2rem 3.2rem 3.2rem;
  text-align: center;
  position: relative;
}
.about-dev h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #ffd700;
  font-size: 2.7rem;
  margin-bottom: 1.7rem;
  letter-spacing: 2px;
}
.about-dev p {
  color: #fffaf0;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  font-family: 'Fira Mono', monospace;
}
.about-dev .stack {
  margin: 2.2rem 0 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.7rem;
}
.about-dev .stack span {
  background: #ffd700;
  color: #232946;
  font-family: 'Fira Mono', monospace;
  font-size: 1.18rem;
  border-radius: 1.2em;
  padding: 0.7em 1.7em;
  font-weight: 900;
  letter-spacing: 1.2px;
  box-shadow: 0 2px 12px #23294622;
  margin-bottom: 0.5em;
}

.projects-section {
  max-width: 1400px;
  margin: 0 auto 4.5rem auto;
  padding: 0 2.2rem;
}
.projects-title {
  text-align: center;
  font-size: 2.7rem;
  color: #ffd700;
  font-weight: 900;
  margin-bottom: 3.2rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.7rem;
  justify-content: center;
}
.project-card {
  background: linear-gradient(120deg, #232946 80%, #ffd700 100%);
  color: #fffaf0;
  border-radius: 1.7rem;
  box-shadow: 0 2px 24px #ffd70044;
  padding: 2.7rem 2.2rem 2.2rem 2.2rem;
  text-align: left;
  font-size: 1.18rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
  min-width: 240px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2.5px solid #ffd70088;
  position: relative;
  overflow: hidden;
}
.project-card .project-flag {
  position: absolute;
  top: 38px;
  right: -42px;
    background: linear-gradient(90deg, #e6cfa7 60%, #2d334a 100%);
    color: #2d334a;
    font-size: 1.05rem;
    font-weight: 900;
    padding: 0.425em 2.7em;
    border-radius: 0.7em;
    transform: rotate(35deg);
    box-shadow: 0 1px 8px #e6cfa722;
    letter-spacing: 1.2px;
    z-index: 3;
    pointer-events: none;
    user-select: none;
}
.project-card.fictif .project-flag {
  background: linear-gradient(90deg, #2d334a 60%, #e6cfa7 100%);
  color: #e6cfa7;
}
.project-card:hover {
  background: linear-gradient(120deg, #e6cfa7 80%, #2d334a 100%);
  color: #2d334a;
  box-shadow: 0 12px 48px #e6cfa799;
  transform: translateY(-12px) scale(1.05);
}
.project-card .emoji {
  font-size: 2.7rem;
  margin-bottom: 1.2rem;
  transition: transform 0.3s;
}
.project-card:hover .emoji {
  transform: scale(1.22) rotate(-12deg);
}
.project-card .desc {
  font-size: 1.18rem;
  font-weight: 400;
  margin-top: 0.7rem;
  color: #ffd700;
  transition: color 0.18s;
}
.project-card:hover .desc {
  color: #232946;
}
.project-card .project-techs {
  margin: 1.2em 0 0.5em 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
}
.project-card .project-techs span {
  background: #ffd700;
  color: #232946;
  font-family: 'Fira Mono', monospace;
  font-size: 1.08rem;
  border-radius: 1.2em;
  padding: 0.45em 1.2em;
  font-weight: 900;
  letter-spacing: 1.2px;
  margin-bottom: 0.3em;
}
.project-card .project-link {
  margin-top: 1.7rem;
  display: inline-block;
  background: #ffd700;
  color: #232946;
  padding: 0.65em 1.7em;
  border-radius: 1.2em;
  font-size: 1.18rem;
  font-weight: 900;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.project-card .project-link:hover {
  background: #232946;
  color: #ffd700;
}
.section-title {
  text-align: center;
  font-size: 2.3rem;
  color: #ffd700;
  font-weight: 900;
  margin-bottom: 2.7rem;
  letter-spacing: 2px;
}
footer {
  text-align: center;
  padding: 3.5rem 0 2.2rem 0;
  color: #ffd700;
  font-size: 1.18rem;
  background: linear-gradient(90deg, #232946 60%, #ffd700 100%);
  border-top: 2px solid #ffd70088;
  margin-top: 4.5rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -2px 24px #ffd70044;
}
@media (max-width: 1200px) {
  .projects-gallery {
    gap: 1.7rem;
  }
}
@media (max-width: 900px) {
  .projects-gallery {
    grid-template-columns: 1fr;
  }
  .about-dev {
    padding: 2.2rem 1.2rem;
  }
}
@media (max-width: 600px) {
  .hero-dev h1 {
    font-size: 2.1rem;
  }
  .project-card {
    min-width: 140px;
    padding: 1.2rem 1.2rem;
  }
  .about-dev h2 {
    font-size: 1.3rem;
  }
}
