/* ==========================================
   FOOTER STYLES - Design moderne et épuré
   ========================================== */

.footer {
  background: #242222; /* Gris très foncé pour light mode */
  color: #ffffff; /* Blanc pour light mode */
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
  position: relative;
  z-index: 1000; /* Au-dessus des poissons et de la pluie */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Sections du footer */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-section h4 {
  color: #ffffff; /* Blanc pour light mode */
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #ffffff; /* Blanc pour light mode */
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Profil */
.footer-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff; /* Blanc pour light mode */
}

.profile-info h3 {
  color: #ffffff; /* Blanc pour light mode */
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.profile-info p {
  color: #ffffff; /* Blanc pour light mode */
  font-size: 0.9rem;
  margin: 0 0 0.25rem 0;
}

.profile-info .location {
  color: #cccccc; /* Gris clair pour light mode */
  font-size: 0.85rem;
}

.footer-description {
  color: #ffffff; /* Blanc pour light mode */
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Liens de navigation */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li a {
  color: #ffffff; /* Blanc pour light mode */
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links li a:hover {
  color: #cccccc; /* Gris clair au hover pour light mode */
}

/* Tags de compétences */
.footer-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(96, 165, 250, 0.3);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: #60a5fa;
  color: white;
  transform: translateY(-2px);
}

/* Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff; /* Blanc pour light mode */
  font-size: 0.9rem;
}

.contact-item i {
  color: #ffffff; /* Blanc pour light mode */
  font-size: 1rem;
  width: 16px;
}

/* Réseaux sociaux */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1); /* Blanc transparent pour light mode */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Blanc transparent pour light mode */
  border-radius: 50%;
  color: #ffffff; /* Blanc pour light mode */
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: #ffffff; /* Blanc au hover pour light mode */
  color: #242222; /* Gris très foncé au hover pour light mode */
  transform: translateY(-2px);
}

/* Copyright */
.footer-bottom {
  border-top: 1px solid #333333; /* Gris foncé pour light mode */
  padding-top: 1.5rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content p {
  color: #cccccc; /* Gris clair pour light mode */
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-content i {
  color: #ef4444; /* Rouge pour le cœur */
}

/* Mode sombre - Garder les couleurs actuelles */
[data-theme="dark"] .footer {
  background: #1e293b;
  color: #f1f5f9;
}

[data-theme="dark"] .footer-section h4 {
  color: #60a5fa;
  border-bottom: 2px solid #60a5fa;
}

[data-theme="dark"] .profile-img {
  border: 3px solid #60a5fa;
}

[data-theme="dark"] .profile-info h3 {
  color: #f1f5f9;
}

[data-theme="dark"] .profile-info p {
  color: #60a5fa;
}

[data-theme="dark"] .profile-info .location {
  color: #94a3b8;
}

[data-theme="dark"] .footer-description {
  color: #cbd5e1;
}

[data-theme="dark"] .footer-links li a {
  color: #cbd5e1;
}

[data-theme="dark"] .footer-links li a:hover {
  color: #60a5fa;
}

[data-theme="dark"] .contact-item {
  color: #cbd5e1;
}

[data-theme="dark"] .contact-item i {
  color: #60a5fa;
}

[data-theme="dark"] .footer-social a {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #60a5fa;
}

[data-theme="dark"] .footer-social a:hover {
  background: #60a5fa;
  color: white;
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid #334155;
}

[data-theme="dark"] .footer-bottom-content p {
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1rem 0;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-profile {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-social {
    justify-content: center;
  }
}
