/* Reset */
* {
  margin: 0; padding: 0; box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
  font-weight: 400;
}
a {
  color: #bfa16f;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #d4c484;
}
header {
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.95);
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
  z-index: 1000;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #bfa16f;
  letter-spacing: 2px;
  cursor: default;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}
nav ul li a {
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}
nav ul li a:hover {
  border-bottom: 2px solid #bfa16f;
  color: #bfa16f;
}

/* HERO with video background */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #f5f5f5;
  font-family: 'Playfair Display', serif;
}
.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  filter: brightness(0.45) saturate(1.2);
  object-fit: cover;
}
.hero-content {
  max-width: 700px;
  padding: 0 2rem;
  z-index: 10;
  animation: fadeInUp 1.5s ease forwards;
}
.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
  text-shadow: 0 0 15px rgba(191,161,111,0.6);
}
.hero-content p {
  font-size: 1.3rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  font-weight: 300;
}
.cta-button {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #bfa16f;
  padding: 1rem 3rem;
  border-radius: 40px;
  color: #bfa16f;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
}
.cta-button:hover {
  background-color: #bfa16f;
  color: #0a0a0a;
  box-shadow: 0 0 15px #bfa16f;
  transform: scale(1.05);
}

/* SERVICES */
#services {
  background-color: #121212;
  padding: 6rem 2rem 8rem;
  text-align: center;
}
#services h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #bfa16f;
  margin-bottom: 3rem;
  letter-spacing: 2px;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: #1e1e1e;
  border-radius: 15px;
  padding: 2rem;
  width: 280px;
  box-shadow: 0 6px 20px rgba(191,161,111,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(191,161,111,0.7);
}
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #bfa16f;
  letter-spacing: 1px;
}
.card p {
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.5;
  opacity: 0.85;
  flex-grow: 1;
}
.media-thumb {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(191,161,111,0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
  max-height: 160px;
  object-fit: cover;
}
.media-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(191,161,111,0.7);
}

/* CONTACT */
#contact {
  background-color: #0a0a0a;
  padding: 6rem 2rem 8rem;
  text-align: center;
}
#contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #bfa16f;
  margin-bottom: 2.5rem;
  letter-spacing: 2px;
}
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
input, textarea {
  background: #1e1e1e;
  border: 1.5px solid #bfa16f;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  color: #f5f5f5;
  font-size: 1.1rem;
  font-weight: 300;
  resize: none;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #d4c484;
  box-shadow: 0 0 10px #d4c484;
}
button {
  background-color: #bfa16f;
  color: #0a0a0a;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 1.2rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
button:hover {
  background-color: #d4c484;
  transform: scale(1.05);
  box-shadow: 0 0 15px #d4c484;
}

/* FOOTER */
footer {
  background-color: #121212;
  text-align: center;
  padding: 2rem 1rem;
  color: #bfa16f;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 0.9rem;
  user-select: none;
}
footer a {
  color: #d4c484;
  font-weight: 600;
}
footer a:hover {
  text-decoration: underline;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    gap: 1.5rem;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Portfolio Section */

.portfolio {
    padding: 80px 20px;
    background-color: #111;
    color: #fff;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #B13C56;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(177, 60, 86, 0.6);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(177, 60, 86, 0.9);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent, rgba(177, 60, 86, 0.85));
    color: white;
    padding: 15px;
    font-weight: 600;
    font-size: 1.3rem;
    text-align: center;
    transition: background 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23bfa16f' fill-opacity='0.08'%3E%3Cpath d='M10 0a10 10 0 100 20A10 10 0 0010 0zm0 2a8 8 0 110 16A8 8 0 0110 2z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px;
  color: #000000;
  line-height: 1.6;
  font-weight: 400;
}

.hero-avatar {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.8;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 30px 10px #bfa16f; /* halo doré */
}

@keyframes floatRandom {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  25% {
    transform: translate(15px, -10px) rotate(3deg);
  }
  50% {
    transform: translate(-10px, 10px) rotate(-2deg);
  }
  75% {
    transform: translate(20px, 5px) rotate(1deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

.services {
  text-align: center;
  padding: 60px 20px;
  background: #fff; /* garde ton fond général */
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222;
}

.services .subtitle {
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 50px;
}

.services-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.services-left,
.services-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-center {
  flex: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-center img {
  max-width: 220px;
}

.service-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.service-card .icon {
  font-size: 2rem;
  color: #bfa16f; /* doré */
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 15px;
}

.service-btn {
  display: inline-block;
  padding: 8px 14px;
  background: #bfa16f;
  color: #fff;
  border-radius: 25px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s;
}

.service-btn:hover {
  background: #a88c54;
}


/* Responsive */
@media(max-width: 900px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }
  .services-left, .services-right {
    text-align: center;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

section.skills {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  background: rgba(255, 255, 255, 0.85); /* petit voile blanc transparent pour lisibilité */
  border-radius: 12px;
}

.skills h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
}

.skills p.subtitle {
  text-align: center;
  color: gray;
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.filter {
  text-align: center;
  margin-bottom: 40px;
}

.filter select {
  padding: 10px 15px;
  border: 2px solid #bfa16f;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.skills-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.skills-left, .skills-right {
  flex: 1;
  min-width: 300px;
}

.skills-left h3,
.skills-right h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: #666;
}

.domain {
  margin-bottom: 20px;
}

.domain h4 {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.domain p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.progress-bar {
  margin-bottom: 20px;
}

.progress-bar span {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}

.bar {
  width: 100%;
  height: 15px;
  background: #f2f2f2;
  border-radius: 8px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #bfa16f;
  width: 0;
  transition: width 1s ease;
}

/* Responsive */
@media(max-width: 900px) {
  .skills-container {
    flex-direction: column;
  }
}

/* Bandeau pleine largeur avec image au centre */
.divider-center {
  display: flex;
  align-items: center;
  width: 100%;          /* occupe toute la largeur */
  margin: 40px 0;
}

.divider-center::before,
.divider-center::after {
  content: "";
  flex: 1;              /* prend tout l’espace dispo */
  height: 2px;          /* épaisseur du trait */
  background: #bfa16f;  /* couleur dorée */
}

.divider-center img {
  height: 50px;         /* taille du logo/image */
  width: auto;
  margin: 0 20px;       /* espace autour de l’image */
}

