@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
*{
margin:0;
padding:0;
box-sizing:border box;
font-family: "Raleway", sans-serif;
 }
 a {
    text-decoration: 0;
}
html{
     font-size: 62,5%;
     scroll-behavior: smooth;
     scroll-padding-top: 9px;
     }


body{
        background-color: #f5f1f1;
}

section{
      margin-top: 50px;  
}

header{
    background-color: #000000;   
    position:fixed; 
    top:0;
    left:0;
    right:0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 5%;
}
header .logo a {
    font-size: 25px; 
    color:#29d9d5;
    
}
header  .logo a span {
    color:#fff;  
}
.menu {
    display: flex;
    align-items: center;
}
.menu li  {
    margin: 0 15px;
    list-style-type: none;
}
.menu li a {
    color: #fff;
    font-size: 14px;
    
}
.menu li a.active {
    border-bottom: 3px solid #29d9d5; 
    
}

.reservation {
    color: #29d9d5;
    font-size: 14px;
    border: 2px solid #29d9d5;
    padding: 5px 20px;
    transition: 0.5s;
    font-weight: bolder;
}
.reservation:hover {
    background-color: #29d9d5;
    color: #fff;
   
 
}


#accueil{
        background:url("images/Comores1.jpg");
        background-position: center;
        background-size: cover;
        height: 100vh;
        display: flex;
        align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
       
    }

#accueil h1{
    flex: 1;
    font-size: 30px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center; 
    
  
    }

.title {
    text-transform: capitalize;
    margin: 70px 0;
    font-weight: bold;
    color: #29d9d5;
    position: relative;
    margin-left:15px;
    font-size: 18px;

}
.title::after {
    position: absolute;
    left: -15px;
    content: "";
    height: 100%;
    background-color: #fff;
    width: 5px;
}
    /*destination CSS*/
#populaire-destination {
    padding: 0 10% ;
    margin-bottom: 50px;
    
}
#populaire-destination .content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 32px;
}
#populaire-destination .content .box {
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: 0.5s;
}
#populaire-destination .content .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.box .content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    text-align: center;
    align-items: center;
    transform: translateX(100%);
    transition: 0.5s;
}
.box .content  h4 {
    font-size: 25px;
    margin-bottom: 10px;
}
.box .content p {
    padding: 2px;
    font-size: 12px;
}
.box .content p:nth-child(3){
    margin-bottom: 25px;
}
.box .content a {
    margin-top: 60px;
    padding: 10px 60px;
    border: 2px solid #29d9d5;
    color: #29d9d5;
    font-weight: bold;
}
.box:hover {
    box-shadow: 0 0 10px #29d9d5;
}
.box:hover .content {
    transform: translateX(0);
}
footer {
    width: 100%;
    background-color: #222;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    margin-top: auto;
    
}
footer p {
    color: #fff;
}

/*ACCUEIL*/
@media (min-width: 1024px) {
  .populaire-destination {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .menu {
    flex-direction: column;
    font-size: 18px;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  .populaire-destination {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  h1 {
    font-size: 1.5rem;
    margin-top: 20px;
  }
}

/*les boutons */
.buttons {
    position: fixed;
    bottom: 600px;  
    left: 50%;
    transform: translateX(-50%); /*centrer horizontalement */
    text-align: center;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #29d9d5; 
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.button:hover {
    background-color: #266b6a; 
}



