/* Font Face Declarations */
@font-face {
  font-family: 'Harmond ExtBd Exp';
  src: url('../assets/fonts/Harmond%20ExtBd%20Exp.woff2') format('woff2'),
       url('../assets/fonts/Harmond%20ExtBd%20Exp.woff') format('woff'),
       url('../assets/fonts/Harmond%20ExtBd%20Exp.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- REPRISE DES STYLES COMMUNS (IDENTIQUES À TON PORTFOLIO) --- */
/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: auto;
  overflow-x: hidden;
  font-family: "Harmond ExtBd Exp", sans-serif;
  color: rgba(154, 232, 196, 0.8);
  background: transparent;
}

/* Fond vidéo et header (IDENTIQUE à ton portfolio) */
.common-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-texture-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/images/stripped\ glass.jpg");
  background-repeat: repeat;
  opacity: 0.12;
  pointer-events: none;
}

/* Header (IDENTIQUE à ton portfolio) */
.main-header {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  padding: 0.6rem 3rem;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(154, 232, 196, 0.25);
  transition: all 0.6s ease;
}

.header-nav {
  display: flex;
  gap: 2vw;
  justify-content: center;
}

.header-nav a {
  color: rgba(154, 232, 196, 0.75);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: rgba(154, 232, 196, 1);
}

.main-header.active {
  top: 2vh;
  opacity: 1;
  pointer-events: auto;
}

/* Titre de la page (ALIGNÉ AVEC LE RESTE DU CONTENU) */
.page-title {
  position: relative;
  min-height: 10vh;
  padding-top: 15vh;
  z-index: 20;
  text-align: left;
  padding-left: 7.7vw;
  max-width: 1200px; /* Même largeur que .contact-content */
  margin: 0 auto;   /* Centrage comme .contact-content */
}

/* Titre principal (h1) */
.page-title h1 {
  font-size: 4rem; /* Même taille que les h2 */
  text-transform: lowercase;
  color: rgba(154, 232, 196, 0.8);
  margin: 0; /* Supprime les marges par défaut */
  padding: 0; /* Même padding que les h2 */
  display: inline-block; /* Largeur ajustée au texte */
  line-height: 1.2;
}

/* --- ANIMATIONS DE SLIDE POUR LES H2 (sauf "Mes coordonnées") --- */
/* État initial (masqué et décalé) */
.social-section h2,
.info-section h2 {
  opacity: 0;
  transform: translateX(-70vw); /* Décalage initial à gauche */
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.4, 1);
}
.info-section h2 {
  transform: translateX(70vw);
}
/* État visible (après animation) */
.social-section h2.visible,
.info-section h2.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Délais progressifs */
.social-section h2 { transition-delay: 0.5s; }
.info-section h2 { transition-delay: 1s; }

/* Pas d'animation pour "Mes coordonnées" (déjà visible) */
.personal-info-section h2 {
  opacity: 1;
  transform: translateX(0);
}

/* --- STYLES SPÉCIFIQUES À LA PAGE CONTACT (SIMPLIFIÉS) --- */
/* Conteneur principal */
.contact-content {
  position: relative;
  z-index: 20;
  padding: 40px 8vw;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section informations personnelles (NOUVELLE) */
.personal-info-section {
  margin-bottom: 60px;
  background: rgba(0,0,0, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(154, 232, 196, 0.2);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.personal-info-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: rgba(154, 232, 196, 0.9);
  text-transform: lowercase;
  text-align: left;
}

/* Grille d'informations */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 1000px;
  align-items: flex-start;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

.info-label {
   font-family: 'Bodoni Moda', serif;
  font-size: 0.8rem;
  line-height: 1;
  color: rgba(154, 232, 196, 0.7);
  text-transform: lowercase;
}

.info-value {
  font-family: 'Bodoni Moda', serif;
  font-size: 1rem;
  line-height: 1;
  color: rgba(154, 232, 196, 0.9);
  font-weight: 400;
}

/* Section réseaux sociaux */
.social-section {
  margin-bottom: 60px;
}

.social-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: rgba(154, 232, 196, 0.9);
  text-transform: lowercase;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-link {
   font-family: 'Bodoni Moda', serif;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
 background: rgba(0,0,0, 0.03);
  border: 1px solid rgba(154, 232, 196, 0.2);
  border-radius: 30px;
  color: rgba(154, 232, 196, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(154, 232, 196, 0.2);
  border-color: rgba(154, 232, 196, 0.4);
  transform: translateX(5px);
}

.social-icon {
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(154, 232, 196, 0.1);
  border-radius: 50%;
}

/* Section informations */
.info-section {
  margin-bottom: 60px;
}

.info-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: rgba(154, 232, 196, 0.9);
  text-transform: lowercase;
}

.info-section p {
   font-family: 'Bodoni Moda', serif;
  font-size: 1rem;
  line-height: 1.5;
  
  line-height: 1.8;
  margin-bottom: 15px;
  color: rgba(154, 232, 196, 0.85);
}

/* Animations d'apparition */
.personal-info-section,
.social-section,
.info-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.personal-info-section.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.social-section.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.info-section.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid .info-item {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: flex-start !important;
  }
  
  .info-grid .info-item > div {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .personal-info-section,
  .social-section,
  .info-section {
    margin-bottom: 40px;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE VERSION
   ============================================ */

@media (max-width: 768px) {
  /* Header */
  .main-header {
    width: 90vw;
    padding: 0.5rem 1.5rem;
  }
  
  .header-nav {
    gap: 4vw;
  }
  
  .header-nav a {
    font-size: 1rem;
  }
  
  /* Page title */
  .page-title {
    padding-left: 1.5rem;
    padding-top: 10vh;
    min-height: auto;
  }
  
  .page-title h1 {
    font-size: 2.5rem;
  }
  
  /* Content */
  .contact-content {
    padding: 25px 1.5rem;
  }
  
  /* Personal info */
  .personal-info-section {
    padding: 20px;
    margin-bottom: 40px;
  }
  
  .personal-info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
  
  .info-grid {
    margin-bottom: 10px !important;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .info-label {
    font-size: 0.75rem;
  }
  
  .info-value {
    font-size: 0.85rem;
  }
  
  /* Social section */
  .social-section {
    margin-bottom: 40px;
  }
  
  .social-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .social-links {
    gap: 12px;
  }
  
  .social-link {
    padding: 10px 15px;
    font-size: 0.9rem;
    gap: 12px;
    border-radius: 25px;
  }
  
  .social-link:hover {
    transform: translateX(3px);
  }
  
  .social-icon {
    width: 26px;
    height: 26px;
    font-size: 1rem;
  }
  
  /* Info section */
  .info-section {
    margin-bottom: 40px;
  }
  
  .info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .info-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  
  /* Animations - reduce initial transform on mobile */
  .social-section h2,
  .info-section h2 {
    transform: translateX(-30vw);
  }
  
  .info-section h2 {
    transform: translateX(30vw);
  }
}

/* --- SMALL MOBILE (max 480px) --- */
@media (max-width: 480px) {
  /* Header */
  .main-header {
    width: 95vw;
    padding: 0.4rem 1rem;
  }
  
  .header-nav a {
    font-size: 0.9rem;
  }
  
  /* Page title */
  .page-title {
    padding-left: 1rem;
    padding-top: 8vh;
  }
  
  .page-title h1 {
    font-size: 2rem;
  }
  
  /* Content */
  .contact-content {
    padding: 20px 1rem;
  }
  
  /* Personal info */
  .personal-info-section {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
  }
  
  .personal-info-section h2 {
    font-size: 1.3rem;
    margin-bottom: 25px;
  }
  
  .info-grid {
    margin-bottom: 5px !important;
  }
  
  .info-item {
    gap: 3px;
  }
  
  .info-grid .info-item {
    margin-bottom: 0 !important;
  }
  
  .info-grid .info-item span.info-value {
    margin-right: 0 !important;
  }
  
  .info-label {
    font-size: 0.7rem;
  }
  
  .info-value {
    font-size: 0.8rem;
  }
  
  /* Social section */
  .social-section {
    margin-bottom: 30px;
  }
  
  .social-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  
  .social-links {
    gap: 10px;
  }
  
  .social-link {
    padding: 8px 12px;
    font-size: 0.85rem;
    gap: 10px;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }
  
  /* Info section */
  .info-section {
    margin-bottom: 30px;
  }
  
  .info-section h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .info-section p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  
  /* Reduce animation distance on small screens */
  .social-section h2,
  .info-section h2 {
    transform: translateX(-20vw);
  }
  
  .info-section h2 {
    transform: translateX(20vw);
  }
}
