@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sean+Slab:wght@400;800&display=swap');

@font-face {
  font-family: 'Sean Slab Narrow';
  src: url('../fonts/seanslab-normalblack-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

:root {
    --main: #EAEAEA;
    --main-light: #C6C5C6;
    --main-dark: #7B7A7B;
    --bg: #f4f6f8;
    --text: #1d1d1f;
    --white: #fff;
}

body {
    font-family: 'Sean Slab', serif;
    font-size: 12pt;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--main-dark);
}

a:focus{
    outline: 2px solid var(--main-light);
}

h1,
h2 {
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--main-dark);
    font-family: 'Sean Slab', serif;
    font-size: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
}

/* --------------------- NAVIGATION HEADER --------------------- */




  

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}
    
.social-icons img {
    height: 80px;
}

.social-icons-wrapper {
    margin-left: auto;
    margin-right: -50px; /* Increased negative margin to shift further right */
}

.social-icons-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: none !important;
}

.social-icons-wrapper img,
.LogoRedirect {
    height: 80px !important;
}

.social-icons-wrapper i {
    font-size: 1.5rem !important;
}

/* --------------------- HERO --------------------- */

.hero {
    background: var(--white);
    color: var(--main-dark);
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero-text h1 {
    font-size: 2.8rem;
}

.hero-text span {
    color: var(--white);
    background: var(--main);
    padding: 0.3rem 0.8rem;
    border-radius: 0px;
}

.cta {
    background: var(--main);
    color: var(--text);
    padding: 0.8rem 1.5rem;
    border-radius: 0px;
    display: block;
    margin: 1.5rem auto;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
}

.cta:hover {
    background: var(--main-dark);
    color: var(--text);
}

/* --------------------- SECTIONS --------------------- */

.section, .light {
    background: var(--bg);
    color: var(--text);
    padding: 60px 40px;
    width: 100%;
}

.section *, .light * {
    color: var(--text) !important;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.text {
    flex: 1;
}

.profile {
    max-width: 300px;
    border-radius: 0px;
    box-shadow: none;
}

.quote {
    font-style: italic;
    margin-top: 1rem;
    color: #444;
}

/* --------------------- TIMELINE --------------------- */

.timeline {
    display: block;
    gap: 0;
    margin-top: 2rem;
}

.timeline-item {
    display: block;
    align-items: unset;
    gap: 0;
    position: static;
    padding-left: 0;
    margin-bottom: 2rem;
    background: none;
    box-shadow: none;
    border: none;
}

.timeline-item::before {
    display: none;
}

.timeline-icon {
    display: none;
}

.timeline-content {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.timeline-content:hover {
    transform: none;
}

.timeline-date {
    font-weight: bold;
    color: var(--text);
    font-size: 1.1rem;
    display: inline;
    margin-right: 0.5em;
}

.timeline-item .timeline-content p {
    margin-top: 0.2rem;
    font-size: 16px;
    color: var(--text);
    font-family: 'Sean Slab Narrow', serif;
    font-weight: 400;
}

.timeline h2 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 2.5rem; /* Adjusted for better visual hierarchy */
}

.timeline-item p strong {
    font-family: 'Sean Slab', serif;
    font-weight: 800;
    font-size: 1.2rem; /* Adjusted for better visual hierarchy */
}

.timeline-item p,
.timeline-item ul li {
    font-family: 'Sean Slab Narrow', serif;
    font-weight: 400;
    font-size: 1rem;
}

/* --------------------- SKILLS --------------------- */

h2 {
    font-size: 36px !important;
    font-family: 'Sean Slab', serif;
    font-weight: 800;
    color: #111;
    margin-bottom: 2rem;
    text-align: left;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-top: 2rem;
}

.skill-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0px;
    box-shadow: 0 6px 16px rgba(169, 168, 169, 0.1);
    transition: transform 0.3s;
    text-align: center;
    font-weight: 600;
    color: var(--text);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(169, 168, 169, 0.2);
}

.skill-card h3 {
    font-family: 'Sean Slab', serif;
    font-weight: 800;
}

/* --------------------- HIGHLIGHT / FOOTER --------------------- */

.highlight {
    background: var(--bg);
    color: var(--text);
    padding: 60px 40px;
}

.highlight .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.highlight .container h2 {
    text-align: left;
}

.highlight .container p {
    text-align: left;
}

.footer {
    background: var(--main-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

#about, #skills {
    background: var(--bg);
    color: var(--white);
}

#skills h2 {
    font-size: 1.5rem;
    font-family: 'Sean Slab', serif;
    font-weight: 800;
}

/* --------------------- RESPONSIVE --------------------- */









.historique-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 40px 0 60px 0;
}

.anniversary-banner {
    display: flex;
    flex-wrap: wrap;
    background: #eaeaea;
    border-radius: 0px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 20px;
    gap: 10px;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
}

.anniversary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 180px;
    min-width: 140px;
    max-width: 280px;
    position: relative;
    padding: 20px;
    text-align: center;
}

.anniversary-content .years {
    font-family: 'Sean Slab', serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text);
}

.anniversary-content .text {
    font-family: 'Sean Slab Narrow', serif;
    font-size: 16px;
    font-weight: 400;
    margin-top: 8px;
    text-align: center;
    color: var(--text);
}

/* Styles pour le compteur à barillet */
.roller-counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    height: 100%;
}

.digit-container {
    overflow: hidden;
    height: 1em; /* Ajuste selon la taille de ta police */
    width: 0.8em; /* Ajuste selon la taille de ta police */
    display: inline-block;
    margin: 0 0.05em;
}

.digit-roller {
    display: flex;
    flex-direction: column;
    transition: transform 2s cubic-bezier(0.23, 1, 0.32, 1);
}

.digit {
    height: 1em; /* Même hauteur que .digit-container */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajouter des marqueurs pour simuler un compteur mécanique */
.digit-container::before,
.digit-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
    box-shadow: none;
}

.digit-container::before {
    top: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.digit-container::after {
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
}

/* Option pour désactiver les animations pour les personnes qui préfèrent réduire les mouvements */


/* Responsive styles */






#about h2 {
    font-family: 'Sean Slab', serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

#about p {
    font-family: 'Sean Slab Narrow', serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--text);
    text-align: left;
}

.page-title {
    text-align: left;
    font-family: 'Sean Slab', serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #111;
    margin: 1.5rem 0 1.5rem 0;
    padding-bottom: 0;
    border-bottom: none;
    text-decoration: none;
    letter-spacing: -1px;
}

.historique-page .logo, .historique-page .logo img {
    height: 120px !important;
    max-height: 120px !important;
    width: auto;
    color: rgb(0, 0, 0) !important;
    background-color: transparent;
    text-decoration: none;
}
.navbar a, .navbar a:visited {
  color: rgb(0, 0, 0);
  font-weight: bold;
}

.fw-bold {
  font-weight: bold !important;
}

.navbar a, .navbar a:visited {
    color: #000 !important;
    font-family: 'Sean Slab', serif !important;
    font-size: 16px !important;
}

.fw-bold {
    font-weight: bold !important;
}

.card-content h3 {
    font-family: 'Sean Slab', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 0.5em;
    text-align: left;
    line-height: 1.2;
    height: 76px; /* Hauteur fixe pour tous les titres */
    display: flex;
    align-items: flex-end;
}
  
.nav-icon img {
    height: 28px;
    vertical-align: middle;
  }
  
  .nav-icon.contact-icon img {
    height: 26px;
  }
  
  .navbar-nav.desktop-nav {
    gap: 2.5rem;
  }

/* Animations de base */
.animate-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-card {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-card.visible {
  opacity: 1;
  transform: scale(1);
}

.animate-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-item.visible {
  opacity: 1;
  transform: translateX(0);
}



 





 

 




 


 


 

 


 







