:root {
    --main-color: #000000;
    --light-bg: #fffaf5;
    --accent-bg: #fbe9e7;
    --text-color: #ffffff;
    --font: 'Segoe UI', sans-serif;
  }
  
  body {
    margin: 0;
    font-family: var(--font);
    background-color:#000000;
    color: var(--text-color);
  }
  
  .container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
  }
  
  .hero {
    background-color: var(--main-color);
    background-image: url('media/image/hro.webp'); /* ← ICI */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* assombrit légèrement l’image */
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .hero .btn {
    background: white;
    color: var(--main-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .about-content img {
    width: 300px;
    border-radius: 10px;
  }
  
  .about-content div {
    max-width: 600px;
  }
  
  
  
  .about-content ul {
    padding-left: 20px;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .project-item {
    background: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
  }
  
  .project-item img {
    width: 100%;
    border-radius: 10px;
  }
  
  .project-item a {
    display: block;
    margin-top: 10px;
    color: var(--main-color);
    text-decoration: none;
    font-weight: bold;
  }
  
  .skill-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .skill-list li {
    background:#C2410C;
    padding: 8px 14px;
    border-radius: 20px;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  input, textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  button {
    background:#C2410C;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  footer {
    background: var(--accent-bg);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
  }
  