<style>
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI, sans-serif;
}

body{
    background:#f8faf8;
    color:#333;
}

/* HEADER */
header{
    background:#EE4C26;
    color:white;
    padding:15px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:28px;
    font-weight:bold;
}

.logo span{
    color:#ffc107;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    font-weight:600;
}

/* HERO */
.hero{
    height:90vh;
    background:
    linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),
    url("https://images.unsplash.com/photo-1500595046743-cd271d694d30");
    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero-content{
    max-width:800px;
    padding:20px;
}

.hero h1{
    font-size:55px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:30px;
    line-height:1.6;
}

nav{
    display:flex;
    align-items:center;
    gap:20px;
}

.btn-nav{
    background:#ffc107;
    color:#000;
    text-decoration:none;
    padding:10px 18px;
    border-radius:6px;
    font-weight:bold;
    transition:0.3s;
}

.btn-nav:hover{
    background:#ffb300;
    transform:translateY(-2px);
}

 /* NAVBAR */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #EE4C26;
      padding: 15px 30px;
      color: black;
    }

    nav a {
      color: white;
      margin-left: 20px;
      text-decoration: none;
    }

 /* SLIDER */
    .slider {
      position: relative;
      width: 100%;
      height: 700px;
      overflow: hidden;
      margin-bottom: 0;
    }

    .slides {
      display: flex;
      width: 200%;
      height: 100%;
      transition: transform 1s ease-in-out;
    }

    .slide {
      width: 100%;
      flex-shrink: 0;
    }

    .slide img {
      width: 70%;
      height: 500px;
      object-fit: cover;
    }

    /* TEXTE SUR IMAGE */
    .caption {
      position: absolute;
      bottom: 30px;
      left: 30px;
      color: white;
      background: rgba(0,0,0,0.5);
      padding: 10px 20px;
      border-radius: 5px;
    }


/* SERVICES */
.services{
    padding:80px 8%;
    text-align:center;
    padding-top: 10px;
}

.section-title{
    font-size:36px;
    color:#1b5e20;
    margin-bottom:50px;
     margin-top: 0;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.card h3{
    color:#1b5e20;
    margin-bottom:15px;
}

/* A PROPOS */
.about{
    background:#eef7ee;
    padding:80px 8%;
    text-align:center;
}

.about p{
    max-width:1500px;
    margin:auto;
    line-height:1.5;
}

/* CONTACT */
.contact{
    padding:80px 8%;
    text-align:center;
}

.contact-info{
    font-size:18px;
    line-height:2;
}

/* FOOTER */
footer{
    background:#EE4C26;
    color:black;
    text-align:center;
    padding:20px;
}

/* RESPONSIVE */
@media(max-width:768px){

header{
    flex-direction:column;
    gap:15px;
}

.hero h1{
    font-size:38px;
}

.hero p{
    font-size:18px;
}

}
</style>
