@font-face {
  font-family: 'Dream Avenue';
  src: url('fonts/Dreamavenue.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mermaid Swash';
  src: url('fonts/Mermaidswash.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cheddar Jack';
  src: url('fonts/cheddarjack.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


:root {
  --bordeaux: #5d1119;
  --bordeaux-dark: #490419;
  --clair: #ffe8ee;
  --gris: #cbcac9;
  --noir: #030307;
  --parme: #af98a6;
}

html {
  scroll-behavior: smooth;
}


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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--parme);
  color: #333;
  line-height: 1.4;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  padding: 1rem 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(3,3,7,0.8);
  z-index: 100;
}

.branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.branding a {
  text-decoration: none;
}

.branding img {
  height: 38px;
}

.branding .name {
  font-family: 'Cheddar Jack';
  font-size: 2em;
  padding-top: 9%;
  color: white;
}

.nav a {
  margin-left: 2rem;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav a:hover {
 text-decoration: underline;
 text-decoration-color: var(--bordeaux);
 text-decoration-thickness: 2px;
}

.btn-outline {
  border: 1px solid var(--bordeaux);
  padding: 6px 18px;
  border-radius: 30px;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 1rem 5%;
    gap: 1rem;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .nav a {
    margin-left: 0;
    font-size: 0.85rem;
  }

  .branding .name {
    font-size: 1.4rem;
    padding-top: 0;
  }
}

/*menu burger mobile*/
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  margin: 5px 0;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav.active {
    display: flex;
  }
}


/* HERO */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(3,3,7,.6), rgba(3,3,7,.6)),
    url("images/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1 {
  font-family: 'Dream Avenue', serif;
  color: white;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero p {
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #eee;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  font-size: 2rem;
  color: white;
  text-decoration: none;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .hero {
    padding: 0 8%;
  }

  .hero p {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
}


/* À PROPOS */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  padding: 6rem 8%;
  background: #030307;
  color: #ffffff;
  align-items: center;
}

@media (max-width: 768px) {
  .about-content {
    text-align: left;
  }

  .about-content h3 {
    letter-spacing: 0.18em;
  }

  .about-block ul {
    padding-left: 1rem;
  }
}


/* IMAGE */
.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 550px;
  height: 550px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .about-image img {
    width: 300px;
    height: 300px;
    margin-bottom: 1rem;
  }
}


/* TEXTE */
.about-content h2 {
  font-family: 'Dream Avenue', serif;
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

.about-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #cbcac9;
  margin-bottom: 2rem;
  position: relative;
}

.about-content h3::after {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  background: #5d1119;
  margin-top: 1rem;
}

.about-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* BLOCS LISTES */
.about-block {
  margin-bottom: 2rem;
}

.about-block strong {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.about-block ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.about-block li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}



/* LINKEDIN */
.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
}

.about-linkedin img {
  height: 35px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    padding: 4rem 6%;
  }

  .about-content h2 {
    font-size: 2.5rem;
  }
}


/* OPEN TO WORK */
.open-to-work {
  background: white;
  color: var(--bordeaux);
  text-align: center;
  padding: 1.2rem;
  font-weight: 500;
}

/* COMPÉTENCES */
.skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 6rem 8%;
  background: var(--noir);
  color: #ffffff;
}

.skills h2 {
  font-family: 'Dream Avenue', serif;
  font-size: 3rem;
  margin-bottom: 2rem;
  position: relative;
}

.skills h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  background: #5d1119;
  margin-top: 1rem;
}

.skills ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.skills li {
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

.skills li span {
  font-size: 0.8rem;
  color: #cbcac9;
}

@media (max-width: 900px) {
  .skills {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .skills h2 {
    font-size: 2.4rem;
  }
}



/* PORTFOLIO */
.section {
  padding: 6rem 8%;
  text-align: center;
}
.section h2 {
  color: var(--noir);
  font-family: 'Dream Avenue', serif;
  font-size: 3rem;
}


.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}


.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/*hover image*/
.portfolio-item {
  position: relative;
  overflow: hidden;
}
.portfolio-item a {
  display: block;
  position: relative;
  overflow: hidden;
}


.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* OVERLAY */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: #490419f2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* TITRE */
.portfolio-overlay h3 {
  font-family: 'Poppins';
  font-size: 1.3rem;
  font-weight: 500;
  color: white;
  text-align: center;
}

/* HOVER EFFECTS */
.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}



.btn {
  display: inline-block;
  margin-top: 3rem;
  padding: 12px 32px;
  border-radius: 30px;
  background: var(--bordeaux);
  color: white;
  text-decoration: none;
}

/* hover bouton*/
.btn:hover {
  display: inline-block;
  margin-top: 3rem;
  padding: 12px 32px;
  border-radius: 30px;
  background: var(--bordeaux-dark);
  color: white;
  text-decoration: none;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .portfolio-overlay h3 {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
}


/* CONTACT */

.contact-section {
  background: 
  linear-gradient(rgba(3,3,7,.6), rgba(3,3,7,.6)),
  url(images/hero.jpg) center / cover no-repeat;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 10rem;
  padding: 5%;
}

.contact-avatar {
  flex-shrink: 0;
}

.contact-avatar img {
  width: 550px;
  height: 550px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .contact-avatar img {
    width: 220px;
    height: 220px;
  }

  .contact-wrapper {
    gap: 3rem;
    padding: 4rem 6%;
  }

  .contact-content h2 {
    text-align: center;
  }
}


/* Contenu texte */
.contact-content h2 {
  font-family: 'Mermaidswash';
  margin-bottom: 1.5rem;
  color: white;
}

/* Liens */
.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  color: white;
}

.contact-links li {
  margin-bottom: 1.2rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  font-family: "Poppins";
}

.contact-links img {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .contact-links a {
    justify-content: center;
  }
}



/* FOOTER */
.footer {

  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
}
