

/* --- initialisation ----------------------------------------------- */
*{
  margin:0;
  padding:0;
  box-sizing: border-box;

}

body {
    font-family: 'DM Sans', sans-serif;
   
    background: #121212;
    
    color: #ffffff;
}

a { text-decoration: none; color: inherit; }


/* Container des différentes sections */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Utilities -------------------------------------------------- */
.gradient-text {
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accent { color: #db2777; }




/*navigation*/


    .navbar{

    display:flex;
    justify-content: space-between;
    align-items: center;
    background-color: #353333;
    color:white;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    }
    /* nom de la marque*/
    .logo{

    font-size: 1.5rem;

    }
    /*liste des liens de mon menu*/
    .nav-links{
    list-style: none;
    display:flex;
    gap: 1rem;

    }
    /*liens de navigation*/
    .nav-links a {
    color:white;
    text-decoration:none;
    

    }
    /*menu burger*/
    .burger{

        display:none;
        flex-direction:column;
        cursor:pointer;
    }
    .burger span{

        background: white;
        height:3px;
        width: 25px;
        margin:4px;
        border-radius: 5px;
    }

    /* pour petits écrans*/

    @media (max-width: 770px){
    .nav-links{
        display: none;
        flex-direction: column;
        background-color: #2a2828;
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        padding: 0.5rem 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        border-top: 2px solid rgba(236, 72, 153, 0.4);
    }
    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
    .nav-links a {
        display: block;
        padding: 0.9rem 1.5rem;
        font-size: 1.1rem;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links a:hover,
    .nav-links a:active {
        background-color: rgba(236, 72, 153, 0.12);
        color: #ec4899;
    }
    .nav-links.active{
        display: flex;
    }
    .burger {
        display: flex;
    }


    }

/* ================================================================
   HERO
   ================================================================ */

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-top: 50px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 45%),
    linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-name {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-role {
  font-size: 2.75rem;
  font-weight: 300;
  color: #fff;
  margin-top: 0.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-arrow {
  display: inline-block;
  margin-top: 2.5rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.icon-bounce {
  width: 2rem;
  height: 2rem;
  color: #fff;
  animation: bounce 1s infinite;
}

@media (max-width: 767px) {
  .hero {
    margin-top: 0;
    padding-top: 64px; /* compense la navbar fixe */
  }

  .hero-overlay {
    background:
      linear-gradient(to top,  rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 55%),
      linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }

  .hero-name {
    font-size: 2.5rem;
  }

  .hero-role {
    font-size: 2rem;
  }
}
/*style des sections*/

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-divider {
    width: 5rem;
    height: 0.25rem;
    background-color: #db2777;
    margin: 0 auto;
}

.section-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

/* section à propos */

.section-about {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1rem 5rem 1rem;
}

.about-text {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

/* ================================================================
   REALISATIONS
   ================================================================ */

.section-realisations { padding: 4rem 1.5rem; }

.realisations-inner {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.projects-grid {
    display: grid;
    gap: 2rem;
}

/* --- Project cards ---------------------------------------------- */

.project-card {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, #1f1f1f, #2d2d2d);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.3);
    border-color: rgba(236, 72, 153, 0.6);
}

.project-preview-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

.project-preview-container iframe,
.project-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.project-preview-container iframe { pointer-events: none; }
.project-card:hover .project-preview-container iframe { pointer-events: auto; }

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 70%, transparent 100%);
    transition: transform 0.4s ease;
}

.project-card:hover .project-content { transform: translateY(100%); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,92,246,0.95) 0%, rgba(236,72,153,0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 1.5rem;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.project-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: #ec4899;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-link:hover {
    background: #f9fafb;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.project-tech-stack {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-badge {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    color: #fff;
}

/* ================================================================
   COMPETENCES
   ================================================================ */

.section-competences {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
    text-align: left;
}

.skill-card {
    background-color: rgba(31, 41, 55, 0.7);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s;
}

.skill-card:hover {
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-icon {
    font-size: 2.25rem;
    margin-right: 1rem;
}

.skill-icon--orange     { color: #f97316; }
.skill-icon--blue       { color: #3b82f6; }
.skill-icon--yellow     { color: #facc15; }
.skill-icon--purple     { color: #a855f7; }
.skill-icon--blue-light { color: #60a5fa; }
.skill-icon--green      { color: #4ade80; }

.skill-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.skill-desc {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 0.625rem;
    background-color: #374151;
    border-radius: 9999px;
}

.progress-fill {
    height: 0.625rem;
    border-radius: 9999px;
}

.progress-fill--pink       { background-color: #ec4899; }
.progress-fill--blue       { background-color: #3b82f6; }
.progress-fill--yellow     { background-color: #facc15; }
.progress-fill--purple     { background-color: #a855f7; }
.progress-fill--blue-light { background-color: #60a5fa; }
.progress-fill--green      { background-color: #4ade80; }

.skill-percentage {
    text-align: right;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #9ca3af;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.3s, transform 0.3s;
}

.skill-card:hover .skill-percentage {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   DIPLOMES
   ================================================================ */

.section-diplomes { padding: 5rem 0; }

.diplomes-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.diploma-card {
    background: linear-gradient(to bottom right, #4c1d95, #111827);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #1f2937;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.diploma-card:hover { transform: scale(1.05); }

.diploma-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

/* Icon boxes */
.icon-box {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.icon-box--pink   { background-color: rgba(219, 39,  119, 0.2); }
.icon-box--blue   { background-color: rgba(37,  99,  235, 0.2); }
.icon-box--purple { background-color: rgba(147, 51,  234, 0.2); }
.icon-box--yellow { background-color: rgba(202, 138, 4,   0.2); }
.icon-box--green  { background-color: rgba(22,  163, 74,  0.2); }

.icon-box i { font-size: 1.5rem; }

.icon--pink   { color: #f472b6; }
.icon--blue   { color: #60a5fa; }
.icon--purple { color: #c084fc; }
.icon--yellow { color: #facc15; }
.icon--green  { color: #4ade80; }

.diploma-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.diploma-subtitle {
    font-size: 0.875rem;
    color: #9ca3af;
}

.diploma-text { color: #d1d5db; margin: 0; }

/* ================================================================
   EXPERIENCE
   ================================================================ */

.section-experience { padding: 3rem 0; }

/* Mobile cards */
.exp-mobile {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.exp-card {
    background-color: #1f2937;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.exp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.exp-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.exp-badge {
    background-color: #db2777;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.exp-company {
    font-weight: 500;
    color: #d1d5db;
    margin: 0.5rem 0 0;
}

.exp-company--pink { color: #db2777; }

.exp-list {
    list-style-type: disc;
    list-style-position: inside;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Desktop timeline */
.timeline {
    display: none;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #db2777;
    transform: translateX(-50%);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.timeline-left {
    width: 50%;
    text-align: right;
    padding-right: 2rem;
}

.timeline-right {
    width: 50%;
    text-align: left;
    padding-left: 2rem;
}

.timeline-date-box {
    display: inline-block;
    background-color: #1f2937;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.timeline-date-box p { color: #d1d5db; margin: 0; }

.timeline-job-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-role {
    color: #d1d5db;
    margin: 0.5rem 0;
}

.timeline-role--pink { color: #db2777; font-size: 1.25rem; }

.timeline-list {
    list-style-type: disc;
    list-style-position: inside;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ================================================================
   ACTION
   ================================================================ */

.section-action { padding: 5rem 0; }

.action-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.action-card {
    background-color: #1f2937;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.action-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.action-text {
    color: #d1d5db;
    margin-bottom: 1rem;
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
    background-color: #111827;
    padding: 3rem 0 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 2.25rem;
    font-weight: 700;
    display: inline-block;
}

.footer-tagline {
    margin-top: 1rem;
    font-size: 1.125rem;
    max-width: 28rem;
}

.contact-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-value { color: #9ca3af; margin: 0; }

.contact-link {
    color:  #c084fc;
    transition: color 0.3s;
}

.contact-link:hover { color: #ec4899; }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border-top: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    font-size: 1.125rem;
}

.footer-copyright { margin: 0; }

.footer-credit {
    color: #ec4899;
}

.footer-credit:hover { text-decoration: underline; }

/* adaptation mobiles */ 

@media (min-width: 768px) {

    .section-title { font-size: 3.75rem; }

    .section-about {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .about-text { font-size: 1.25rem; }

    .skills-grid   { grid-template-columns: repeat(2, 1fr); }
    .diplomes-grid { grid-template-columns: repeat(2, 1fr); }

    /* Hide mobile exp, show timeline */
    .exp-mobile { display: none; }
    .timeline   { display: block; }

    .section-experience { padding: 5rem 0; }

    .action-cards {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }

    .action-card { flex: 1; }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}



@media (min-width: 1024px) {

   

    .hero-title { font-size: 6rem; }

    .section-about {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .section-competences {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .skills-grid   { grid-template-columns: repeat(3, 1fr); }
    .diplomes-grid { grid-template-columns: repeat(3, 1fr); }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }

    .project-card { height: 450px; }
}
