/* Selector général */
*{
    margin: 0;
    padding: 0;
}
body{
    font-family: arial;
    font-size: 15px;
    width: 100%;
}
h1 h2 h3 h4{
    color: #444;
}
h1{
    font-family: 'Create Round', serif;
    font-size: 45px;
}
h2{
    font-size: 55px;
}
h3{
    font-size: 30px;
    text-align: center;
}
h4{
    font-size: 24px;
}
h5{
    font-size: 20px;
    padding-bottom: 15px;
}
h6{
    font-size: 20px;
    margin-top: 30px;
}
p{
    line-height: 20px;
    color: #777;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: #444;
}
.Orange{
    color: #fa983a;
}
.Clear{
    clear: both;
}


/* Selector Header */
header{
    height: 190px;
}
header h1{
    text-align: center;
    margin-top: 32px;
}
header p{
    color: #464646;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}
nav{
    width: 100%;
    margin: 0 auto;
    background-color: white;
    position: sticky;
    top: 0;
}
nav ul li{
    float: left;
    width: 25%;
    text-align: center;
    position: relative;
}
nav ul::after{
    content: "";
    display: table;
    clear: both;
}
nav a{
    display: block;
    text-decoration: none;
    color: #444;
    border-bottom: 2px solid transparent;
    padding: 10px 0;
}
nav a:hover{
    color: #fa983a;
    border-bottom: 2px solid #fa983a;
}
.Sous{
    display: none;
    box-shadow: 0 1px 2px #ccc;
    background-color: white;
    position: absolute;
    width: 100%;
    z-index: 1000;
}
nav > ul li:hover .Sous{
    display: block;
}
.Sous li{
    float: none;
    width: 100%;
    text-align: left;
}
.Sous a{
    padding: 10px;
    border-bottom: none;
}
.Sous a:hover{
    border-bottom: none;
    background-color: rgba(200, 200, 200, 0.1);
}
header nav ul li a{
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 20px;
}
.Logo{
    display: block;
    text-align: center;
}


/* Imagine principale */
.Image-principal{
    height: 450px;
    margin-top: 20px;
    background: url('Picture/Paysage_Llanca.jpg') center no-repeat;
}
.Image-principal h2{
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    padding: 150px 0 40px 0;
    margin-bottom: 20px;
}


/* Index */
.Index article p{
    font-size: 15px;
    padding: 25px 300px;
    text-align: center;
    color: black;
}


/* Destinations */
.Destinations ul{
    margin: 80px 0;
    display: flex;
    justify-content: center;
}
.Destinations ul li{
    width: 300px;
    padding-top: 140px;
    text-align: center;
    margin-right: 10px;
}
.Destinations h4{
    text-transform: uppercase;
    margin-bottom: 20px;
}
.Destinations p{
    margin-bottom: 20px;
}
.Destinations-1 {
    background: url('Picture/planification-du-temps.png') no-repeat top center;
}
.Destinations-2 {
    background: url('Picture/Organisation.png') no-repeat top center;
}
.Destinations-3 {
    background: url('Picture/les-vacances.png') no-repeat top center;
}


/* Activités */
.Activités{
    background-color: #efefef; 
    padding: 60px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
 }
 .Activités article{
     width: 460px;
     height: 270px;
     border-radius: 10px;
     margin-left: 20px;
 }
 .Overlay{
     float: right;
     background: rgba(255,255,255, 0.70);
     height: 100%;
     width: 190px;
     padding: 20px;
     border-radius: 10px 10px 10px 10px;
     text-align: center;
     box-sizing: border-box;
 }
 .Overlay2{
     background: rgba(255,255,255, 0.70);
     height: 100%;
     width: 190px;
     padding: 20px;
     border-radius: 10px 10px 10px 10px;
     text-align: center;
     box-sizing: border-box;
 }
 small{
     font-size: 13px;
     font-style: italic;
 }
 article h4{
     border-bottom: 1px solid #ddd;
     padding-bottom: 20px;
     text-transform: uppercase;
     margin-bottom: 20px;
     text-align: center;
 }
 .Activités p{
     text-align: center;
     margin-bottom: 20px;
 }
 .Bouton-2{
     color: white;
     background-color: #fa983a;
     padding: 6px 20px;
     border-radius: 3px;
 }
 .Bouton-2:hover{
     background-color: #4a69bd;
 }
 section article h3 {
     color: #777;
     padding-top: 30px;
 }
 section article {
     text-align: center;
     font-family: 'Create Round', serif;
 }
 .Ville p{
     font-size: 15px;
     padding: 25px 300px;
     text-align: justify;
     color: #444;
 }
 .Ville img{
     margin-top: 20px;
     margin-bottom: 15px;
     padding: 0 25px;
 }
 .Ville h6{
     text-decoration: underline;
 }
 section article a{
     color: #fa983a;
 }
 .Ville a{
     color: #4a69bd;
 }
 .Ville a:hover{
     color: #fa983a;
     text-decoration: underline;
 }
 .Image_act_principale{
    width: 1200px;
    height: 500px;
}
.Img{
    width: 525px;
    height: 300px;
}
.Img2{
    width: 400px; 
    height: 535px;
}
.Img3{
    width: 400px;
}


/* Appartement */
.Appartement{
    padding: 20px 50px;
}
.Appartement p {
    padding-left: 30px;
    width: 550px;
    color: #444;
}
.Appartement ul{
    padding-left: 30px;
    color: #444;
}
.Appartement ol{
    padding-left: 30px;
    color: #444;
    list-style: circle;
}
.Appartement_loca{
    padding: 20px 50px;
}
.Appartement a{
    color: #4a69bd;
}
.Appartement a:hover{
    color: #fa983a;
    text-decoration: underline;
}
.Appartement h3{
    text-decoration: underline;
}
iframe{
    height: 300px;
    width: 600px;
}
.Container{
    display: grid;
    width: auto;
    grid-template-columns: 1fr 1fr;
}
.gallery {
    display: grid;
    width: auto;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}
.gallery img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Styling pour la modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    display: block;
    margin: auto;
    width: 80%;
    max-width: 1000px;
    height: 80%;
    max-height: 800px;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}


/* Contact */
form{
    margin: auto;
    text-align: center;
}
label{
    font-weight: bold;
    font-size: 18px;
    color: #777;
    display: block;
    margin-top: 25px;
}
input{
    padding: 10px 50px;
    font-size: 15px;
    margin: 5px auto;
    border: 2px solid #ddd;
    border-radius: 3px;
    text-align: center;
}
textarea{
    display: block;
    margin-top: 25px;
    margin: 5px auto;
    height: 150px;
    width: 500px;
    resize: none;
    text-align: center;
}
.Bouton-3{
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding:11px;
    border-style: none;
    border-radius: 3px;
    background-color: #444;
}


/*Slider*/
.slider {
    width: 700px;
    height: 400px;
    overflow: hidden;
    margin: 50px auto;
    border-radius: 10px;
}
.slides {
    width: calc(700px * 3);
    animation: glisse 15s infinite;
}
.slide {
    float: left;
}
.slide img{
    width: 700px;
    height: 400px;
    border-radius: 10px;
}

@keyframes glisse {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(0);
    }
    33% {
        transform: translateX(-700px);
    }
    43% {
        transform: translateX(-700px);
    }
    66% {
        transform: translateX(-1400px);
    }
    76% {
        transform: translateX(-1400px);
    }
    100% {
        transform: translateX(0);
    }
}


/* Footer */
footer{
    margin-top: 50px;
    height: 330px;
    background-color: wheat;
}
footer p{
    color: #464646;
    text-align: center;
}
.Copyright{
    text-align: Center;
    font-weight: bold;
    padding-top: 15px;
    color: #777;
    font-size: 10px;
}
footer img {
    display: block;
    margin: auto;
    padding-top: 10px;
}
.Signature{
    margin-top: 20px;
    text-decoration: underline;
}


/* Confidentialité */
.Confidentialité p{
    color: black;
}
.Confidentialité h3{
    color: black;
}
.Confidentialité p div{
    text-align: center;
    color: black;
}


/* Cookies */
.cookie-consent-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f1f1f1;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    z-index: 1000;
}
.cookie-consent-container p {
    margin: 0;
    font-size: 14px;
}
.cookie-btn {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.cookie-btn:hover {
    background-color: #0056b3;
}


/* Responsive */
  /* Computer firts */
@media all and (max-width: 1200px){
    .Ville p{
        padding: 25px 25px;
    }
    .Index article p{
        padding: 25px 25px;
    }
    .Image_act_principale{
        width: 900px;
        height: 500px;
    }
    .Container{
        display: contents;
    }
    .gallery{
        width: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}

@media all and (max-width: 975px) {
    .Activités{
        display: grid;
        padding:10px
   }
   .Activités article:first-child{
        margin-bottom: 20px;
    }
    .Bouton-3{
        margin-top: 10px;
    }
    .Destinations ul{
        padding: 0 20px;
    }
    .Image_act_principale{
        width: 750px;
        height: 400px;
    }
}
@media all and (max-width: 800px) {
    .slider {
        width: 500px;
        height: 300px;
        overflow: hidden;
        margin: 75px auto;
    }
    .slides {
        width: calc(500px * 3);
        animation: glisse 15s infinite;
    }
    .slide img{
        width: 500px;
        height: 300px;
        border-radius: 10px;
    }
    .Image_act_principale{
        width: 475px;
        height: 300px;
    }
    .Img{
        width: 450px;
        height: 200px;
    }
    
    
    @keyframes glisse {
        0% {
            transform: translateX(0);
        }
        10% {
            transform: translateX(0);
        }
        33% {
            transform: translateX(-500px);
        }
        43% {
            transform: translateX(-500px);
        }
        66% {
            transform: translateX(-1000px);
        }
        76% {
            transform: translateX(-1000px);
        }
        100% {
            transform: translateX(0);
        }
    }
    
}

@media all and (max-width: 550px){
    @keyframes glisse {
        0% {
            transform: translateX(0);
        }
        10% {
            transform: translateX(0);
        }
        33% {
            transform: translateX(-350px);
        }
        43% {
            transform: translateX(-350px);
        }
        66% {
            transform: translateX(-700px);
        }
        76% {
            transform: translateX(-700px);
        }
        100% {
            transform: translateX(0);
        }
    }
    .slider {
        width: 350px;
        height: 150px;
        overflow: hidden;
        margin: 50px auto;
    }
    .slides {
        width: calc(700px * 3);
        animation: glisse 15s infinite;
    }
    .slide img{
        width: 350px;
        height: 150px;
        border-radius: 10px;
    }
    .Activités article{
        width: 350px;
        height: 270px;
        border-radius: 10px;
        margin-left: 0;
    }
    .Destinations ul li{
        width: 150px;
        padding-top: 140px;
        text-align: center;
        margin-right: 10px;
    }
    .Destinations ul li{
        width: 100px;
    }
    .Destinations ul li h4{
        font-size: 15px;
    }
    .Destinations-1 {
        background-size: 100px;
    }
    .Destinations-2 {
        background-size: 100px;
    }
    .Destinations-3 {
        background-size: 100px;
    }
    nav ul li a{
        font-size: 11px;
    }
    .Image-principal{
        background-size: 350px;
        height: 180px;
    }
    .Appartement p {
        padding-left: 30px;
        width: auto;
    }
    .Appartement{
        padding: 20px 20px;
    }
    iframe{
        height: 200px;
        width: auto;
    }
    .Appartement_loca{
        padding: 20px 20px;
    }
    .Image_act_principale{
        width: 325px;
        height: 180px;
    }
    .Img{
        width: 300px;
        height: 200px;
    }
    .Img2{
        width: 300px; 
        height: 400px;
    }
    .Img3{
        width: 300px;
    }
    textarea{
        height: 125px;
        width: 300px;
        
    }
}

@media all and (max-width: 370px){
    @keyframes glisse {
        0% {
            transform: translateX(0);
        }
        10% {
            transform: translateX(0);
        }
        33% {
            transform: translateX(-300px);
        }
        43% {
            transform: translateX(-300px);
        }
        66% {
            transform: translateX(-600px);
        }
        76% {
            transform: translateX(-600px);
        }
        100% {
            transform: translateX(0);
        }
    }
    .slider {
        width: 300px;
        height: 150px;
        overflow: hidden;
        margin: 50px auto;
    }
    .slides {
        width: calc(600px * 3);
        animation: glisse 15s infinite;
    }
    .slide img{
        width: 300px;
        height: 150px;
        border-radius: 10px;
    }
    .Activités article{
        width: 300px;
        height: 250px;
        border-radius: 10px;
        margin-left: 0;
    }
    .Destinations ul li{
        width: 150px;
        padding-top: 100px;
        text-align: center;
        margin-right: 10px;
    }
    .Destinations ul li{
        width: 80px;
    }
    .Destinations ul li h4{
        font-size: 13px;
    }
    .Destinations-1 {
        background-size: 80px;
    }
    .Destinations-2 {
        background-size: 80px;
    }
    .Destinations-3 {
        background-size: 80px;
    }
    nav ul li a{
        font-size: 8px;
    }
    .Image-principal{
        background-size: 350px;
        height: 180px;
    }
    .Appartement p {
        padding-left: 30px;
        width: auto;
    }
    .Appartement{
        padding: 20px 20px;
    }
    iframe{
        height: 200px;
        width: auto;
    }
    .Appartement_loca{
        padding: 20px 20px;
    }
    .gallery img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 10px;
        cursor: pointer;
    }
    .Image_act_principale{
        width: 250px;
        height: 180px;
    }
    .Img{
        width: 240px;
        height: 180px;
    }
    .Img2{
        width: 240px; 
        height: 310px;
    }
    .Img3{
        width: 240px;
    }
    textarea{
        height: 125px;
        width: 200px;
        
    }
    .Sous li a{
        font-size: 8px;
    }
    .Activités article:first-child{
        margin-right: 0;
    }
}

@media all and (max-width: 280px) {
    .Image_act_principale{
        width: 200px;
        height: 100px;
    }
    .Img{
        width: 190px;
        height: 90px;
    }
    .Img2{
        width: 190px; 
        height: 253.33px;
    }
    .Img3{
        width: 190px;
    }
    .Sous li a{
        font-size: 5px;
    }
}



