/*** PAGE CAMPING ***/

/* Réserver un emplacement au camping le soleil */
.reserver{
    text-align: center;
    margin: 5em 5%;
    position: relative;
}
.reserver__chambres{
    display: flex;
    width: 100%;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top:2rem;
}
.reserver--camping .dormir__chambres{
    display: flex;
    width: 100%;
	margin-top:2rem;
	overflow: hidden;
	gap: 0;
	flex-wrap: nowrap;
}
.reserver .chambre{
    text-align: start;
    background-color: #E9F5F6;
    margin: 0.5em 0;
    min-width: 100%;
    left: 0%;
    transition: 0.2s;
    position: relative;
	border-radius: 5px;
}




.reserver__img{width: 100%;margin-top: 40px;}
.services__img{width: 100%;margin-top: 40px;max-height: 600px;object-fit: cover;}
#popupOverlay{display:none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999;}
#popupInfo{display:none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: white; padding: 30px 20px 20px 20px; border: 1px solid black; z-index: 1000;min-width: 320px;}
#popupInfo p a{color:black;}
#popupInfo .buttons a.fermer{margin-top:20px;}




.chambre__img{
    width: 100%;
	height: 45%;
    object-fit: cover;
	border-radius: 5px;
}
.chambre__infos{
    padding: 2rem;
    position: relative;
}
.chambre__price{
    background-color: white;
    padding:0.5rem 1.5rem;
    position: absolute;
    top: -2rem;
    left: 0;
}
.chambre__price span{
	display: block;
	font-size: 0.7rem
}
.chambre__title{
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.reserver .slider__control--next{
    background-color: #eaf5f7;
}
.reserver .slider__controls{
    bottom: 4em;
    width: inherit;
}
.reserver__buttons{
    padding-top: 6em;
}
.reserver .reserver__info{
	text-align: left;
	margin: 2rem 0;
	margin-top: 0.5rem;
    font-size: 0.8rem;
}
.reserver .chambre__pictos{
	margin-top: 1rem;
}
.reserver .chambre__pictos > img{
	margin-right: 0.5rem;
}
.reserver .slider__controls{
	margin-top:0;
}

@media(min-width: 950px){
    .reserver {
        margin-top: 8em;
    }
	.reserver__chambre{
			box-shadow: rgb(0 0 0 / 10%) 0px 4px 12px;
	}
    .reserver__chambres{
        justify-content: center;
		overflow: inherit;
		gap: 0;
    }
    .reserver .chambre {
        width: 30%;
        margin: 2em 1em;
        min-width: 30%;
    }
	.reserver .chambre:hover {
		transform: scale(1.10, 1.10);
	}
    .reserver .slider__controls{
        display: none;
    }
    .reserver__buttons{
        padding-top: 0;
    }
	.reserver .reserver__info{
		margin-top: 1rem;
	}
}

/*** Slider ***/

.chambre__slider, .chambre__imgs {
  width: 100%;
  height: 250px;
  position: relative;
}

.chambre__slider .chambre__imgs {
  display: flex;
  overflow: hidden;
}

.chambre__slider .chambre__img {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  left: 100%;
  animation: .6s cubic-bezier(0.645, 0.045, 0.355, 1) 0s left;
  animation-fill-mode: forwards;
  background-size: cover !important;
  background-position: 50% !important;
}

.dots {
  position: absolute;
  bottom: -2rem;
  right: 2rem;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 2
}

.dot {
  width: 12px;
  height: 12px;
  background: gray;
  border-radius: 50%;
  margin: 0 3px;
  cursor: pointer;
}

.active-dot {
  background: #3f3f3f;
  cursor: default;
}

@keyframes leftNext {
  from { left: 100%; }
  to { left: 0; }
}

@keyframes leftCurr {
  from { left: 0; }
  to { left: -100%; }
}

@keyframes rightNext {
  from { left: -100%; }
  to { left: 0; }
}

@keyframes rightCurr {
  from { left: 0; }
  to { left: 100%; }
}

@media(min-width: 700px){
	.chambre__slider, .chambre__imgs {
	  height: 400px;
	}
}

@media(min-width: 950px){
	.chambre__slider, .chambre__imgs {
	  height: 250px;
	}
}


