
  /* CSS Portfolio Anaïs Giraud */

  /* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header h1 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

nav {
  text-align: center;
  padding: 0 2rem;
}

nav a {
  color: #2c3e50;
  text-decoration: none;
  margin: 0 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

nav a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: #667eea;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 80%;
}

/* Espacement pour le header fixe */
main {
  padding-top: 140px;
}

/* Styles généraux des sections */
section {
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 2rem;
}

/* Blocs de contenu */
#about, #projects, #gallery, #contact {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about:hover, #projects:hover, #gallery:hover, #contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Effet de brillance sur les blocs */
#about::before, #projects::before, #gallery::before, #contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

#about:hover::before, #projects:hover::before, #gallery:hover::before, #contact:hover::before {
  left: 100%;
}

/* Titres */
.grands_titres h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  font-weight: 300;
  letter-spacing: 1px;
}

.grands_titres h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 3px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  transform: translateX(-50%);
  border-radius: 2px;
}

.petits_titres h4 {
  font-size: 1.3rem;
  color: #667eea;
  margin: 2rem 0 1rem 0;
  padding-left: 1rem;
  border-left: 4px solid #667eea;
  font-weight: 500;
}

/* Paragraphes */
p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #555;
  text-align: justify;
}

/* Section À propos */
#about p {
  font-size: 1.2rem;
  text-indent: 1.5rem;
  color: #444;
}

/* Section Projets */
#projects {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.95) 100%);
}

.lien {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.lien::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.lien:hover::before {
  left: 100%;
}

.lien:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.lien p {
  margin: 0;
  font-weight: 600;
  color: white;
}

/* Section Galerie */
#gallery {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(252, 248, 255, 0.95) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .image-container img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.overlay p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
  color: white;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.skill-tag {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

.skill-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Section Contact */
#contact {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.contact {
  text-align: center;
}

.intro {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-style: italic;
}

.contact-info {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.contact-info li {
  margin: 1.5rem 0;
  font-size: 1.1rem;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 15px;
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
}

.contact-info li:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateX(10px);
}

.contact-info a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.note {
  font-style: italic;
  color: #666;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  nav a {
    margin: 0 1rem;
    font-size: 0.9rem;
  }

  main {
    padding-top: 120px;
  }

  section {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  #about, #projects, #gallery, #contact {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 15px;
  }

  .grands_titres h2 {
    font-size: 2rem;
  }

  .petits_titres h4 {
    font-size: 1.1rem;
  }

  p {
    font-size: 1rem;
    text-align: left;
  }

  .lien {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .contact-info li {
    font-size: 1rem;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 1rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
    padding: 0.5rem;
  }

  main {
    padding-top: 180px;
  }

  #about, #projects, #gallery, #contact {
    padding: 1.5rem 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .image-container {
    height: 300px;
  }

  .skills-list {
    justify-content: center;
  }

  .skill-tag {
    font-size: 0.8rem;
  }

  .grands_titres h2 {
    font-size: 1.8rem;
  }
}

/* Effets de défilement fluide */
html {
  scroll-behavior: smooth;
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
