/* Main Filter*/ 

#main {
    transition: margin-left .5s;
    margin: 0;
    padding: 0;
}

/* nav-filter-spots */

.nav-filter-spots {
    background-color: #009;
    display: flex;
    height: 50px;
    margin: 18px;
    padding: 0;
    justify-content: space-between;
    font-size: 16px;
    color: #f90;
    border: none;
    border-radius: 50%;
}

/* menu Filter left*/ 

.sidenavleft {
    background-color: #005;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 7;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 30px;
}
  
.sidenavleft a {
    text-decoration: none;
    font-size: 25px;
    color: #f90;
    display: block;
    transition: 0.3s;
}
  
.sidenavleft a:hover {
    color: #f1f1f1;
}
  
.sidenavleft .closebtnleft {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.sidenavleft img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
  
@media screen and (max-height: 450px) {
    .sidenavleft {padding-top: 0px;}
    .sidenavleft a {font-size: 18px;}
}

/* menu Filter right */

.sidenavright {
    background-color: #005;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 7;
    top: 0;
    right: 0;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 30px;
}
  
.sidenavright a {
    text-decoration: none;
    font-size: 25px;
    color: #f90;
    display: block;
    transition: 0.3s;
}
  
.sidenavright a:hover {
    color: #f1f1f1;
}
  
.sidenavright .closebtnright {
    position: absolute;
    top: 0;
    right: 160px;
    font-size: 36px;
    margin-left: 50px;
}

.sidenavright img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media screen and (max-height: 450px) {
    .sidenavright {padding-top: 0px;}
    .sidenavright a {font-size: 18px;}
}

/* end menu Filter left and right */

/* the spot */

.nav-the-spot {
    background-color: #007;
    display: flex;
    height: 50px;
    margin-top: 18px;
    padding: 0;
    justify-content: space-evenly;
    font-size: 30px;
    color: #f90;
    border: none;
    border-radius: 50%;
}
.open-modules {
    cursor: pointer;
}
.open-all {
    cursor: pointer;
}
.open-infos {
    cursor: pointer;
}

/* the spot background circle */

#contour_the_spot_1 {
	z-index: 0;
	position: absolute;
	left: 36%;
	top: 11%;
	width: 27%;
	height: 81%;
	border-radius: 50%;
	border: 2px solid #F90;
}
#contour_the_spot_2 {
	z-index: 0;
	position: absolute;
	left: 25%;
	top: 5%;
	width: 48%;
	height: 90%;
	border-radius: 50%;
	border: 2px solid #F90;
}
#contour_the_spot_3 {
	z-index: 0;
	position: absolute;
	left: 1%;
	top: 0%;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 2px solid #F90;
}

/* cylin images the spot */

.images-the-spot {
	perspective: 1000px;
	width: 100%;
	height: 500px;
	overflow: hidden;
}   
.cylin-the-spot {
	z-index: 4;
	position: absolute;
	top: 15%;
	left: 50%;
	margin-left: -200px;
	text-align: center;
	transform-style: preserve-3d;
	transform: translateZ(1000px);
}
.cylin-the-spot div {
	position: absolute;
	display: block;
	box-sizing: border-box;
	transition-duration: 4s;
	transition-timing-function: ease-in-out;
	cursor: pointer;
}
#pic0 {
	transform: rotateY(0deg) scaleX(-1) translateZ(1300px);
}
#pic1 {
	transform: rotateY(18deg) scaleX(-1) translateZ(1300px);
}
#pic2 {
	transform: rotateY(36deg) scaleX(-1) translateZ(1300px);
}
#pic3 {
	transform: rotateY(54deg) scaleX(-1) translateZ(1300px);
}
#pic4 {
	transform: rotateY(72deg) scaleX(-1) translateZ(1300px);
}
#pic5 {
	transform: rotateY(90deg) scaleX(-1) translateZ(1300px);
}
#pic6 {
	transform: rotateY(108deg) scaleX(-1) translateZ(1300px);
}
#pic7 {
	transform: rotateY(126deg) scaleX(-1) translateZ(1300px);
}
#pic8 {
	transform: rotateY(144deg) scaleX(-1) translateZ(1300px);
}
#pic9 {
	transform: rotateY(162deg) scaleX(-1) translateZ(1300px);
}
#pic10 {
	transform: rotateY(180deg) scaleX(-1) translateZ(1300px);
}
#pic11 {
	transform: rotateY(198deg) scaleX(-1) translateZ(1300px);
}
#pic12 {
	transform: rotateY(216deg) scaleX(-1) translateZ(1300px);
}
#pic13 {
	transform: rotateY(234deg) scaleX(-1) translateZ(1300px);
}
#pic14 {
	transform: rotateY(252deg) scaleX(-1) translateZ(1300px);
}
#pic15 {
	transform: rotateY(270deg) scaleX(-1) translateZ(1300px);
}
#pic16 {
	transform: rotateY(288deg) scaleX(-1) translateZ(1300px);
}
#pic17 {
	transform: rotateY(306deg) scaleX(-1) translateZ(1300px);
}
#pic18 {
	transform: rotateY(324deg) scaleX(-1) translateZ(1300px);
}
#pic19 {
	transform: rotateY(342deg) scaleX(-1) translateZ(1300px);
}

/* Mirror effect top for images */
.cylin-the-spot .mirror-effect-top {
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.cylin-the-spot .mirror-effect-top img {
	transform: scaleY(-1);
	opacity: 0.3;
	filter: blur(1px);
	mask-image: linear-gradient(to top, rgba(0,0,0,0) 60%, rgba(0,0,0,0.2) 100%);
	-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 60%, rgba(0,0,0,0.2) 100%);
}

/* Mirror effect bottom for images */
.cylin-the-spot .mirror-effect {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.cylin-the-spot .mirror-effect img {
	transform: scaleY(-1);
	opacity: 0.6;
	filter: blur(1px);
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
	-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
}

/* next and prev cylin images the spot */
.nextimage, .previmage {
	z-index: 6;
	position: absolute;
	background-color: #f90;
	top: 45%;
	width: 60px;
	height: 50px;
	border: 2px solid #fc6;
	border-radius: 50%;
	text-align: center;
	font-size: 40px;
	color: #009;
	text-shadow:
		1px 1px 1px #000,
		2px 1px 1px #000;
	transition: box-shadow 0.1s, top 0.1s;
	-webkit-user-select: none;  
	-moz-user-select: none;    
	-ms-user-select: none;      
	user-select: none;
	cursor: pointer;
}
.nextimage:hover, .previmage:hover {
	background-color: #009;
	color: #f90; 
}
.nextimage:active, .previmage:active {
	top: 46%;
}
.nextimage { 
	position: absolute;
	right: 0%; 
}
.previmage { 
	position: absolute;
	left: 0%;
}

/* arrow cylin left and right*/

.arrow {
	border: solid #005;
	border-width: 0 6px 6px 0;
	display: inline-block;
	padding: 10px;
}
.arrow:hover {
	border: solid #fff;
	border-width: 0 6px 6px 0;
	display: inline-block;
	padding: 10px;
}
  .right {
	position: relative;
	right: 9%;
	top: -17%;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
  }
  .left {
	position: relative;
	left: 9%;
	top: -17%;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
  }

/* Fullscreen Modal Styles */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 153, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-modal[style*="flex"] {
    opacity: 1;
}

.fullscreen-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close-fullscreen {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #f90;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: #009;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-fullscreen:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.fullscreen-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 153, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f90;
}

.fullscreen-nav:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-prev {
    left: 20px;
}

.fullscreen-next {
    right: 20px;
}

.fullscreen-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f90;
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(0, 0, 153, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 10000;
}

/* zoom in out on image fulscreem*/
.zoom-controls {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 10000;
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.zoom-btn {
	background-color: rgba(0, 0, 153, 0.9);
	color: #f90;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-size: 16px;
}

.zoom-btn:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.fullscreen-image {
	cursor: grab;
	transition: transform 0.1s ease-out;
}

.fullscreen-image:active {
	cursor: grabbing;
}

/* Responsive adjustments for fullscreen */
@media (max-width: 768px) {
    .fullscreen-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .close-fullscreen {
        top: 15px;
        right: 15px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }
    
    .fullscreen-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .fullscreen-prev {
        left: 15px;
    }
    
    .fullscreen-next {
        right: 15px;
    }
    
    .fullscreen-counter {
        bottom: 15px;
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* -----------------------titles top ts: name, note, town)----------------------------------- */
.title-top-ts {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px;
	gap: 10px;
	flex-wrap: nowrap;
}
.name-ts {
	border: 1px solid #009;
	color: #f90;
	font-size: 50px;
	text-align: right;
	white-space: nowrap;
	text-shadow:
		1px 1px 0px #fc6,
		2px 2px 0px #fc6;
	border-radius: 50%;
	padding: 10px 20px;
	flex: 1;
}
.note-ts {
	width: 50px;
	height: 50px;
	background-color: #007;
	border: 1px solid #009;
	border-radius: 50%;
	color: #f90;
	font-size: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow:
		1px 1px 1px #fc6,
		2px 1px 1px #fc6;
	flex-shrink: 0;
}
.town-ts {
	border: 1px solid #009;
	color: #f90;
	font-size: 50px;
	text-align: left;
	white-space: nowrap;
	text-shadow:
		1px 1px 0px #fc6,
		2px 2px 0px #fc6;
	border-radius: 50%;
	padding: 10px 20px;
	flex: 1;
}

/* Responsive pour les titles du top */
@media (max-width: 768px) {
	.title-top-ts {
		margin-top: 20px;
		padding: 5px;
		gap: 5px;
	}
	.note-ts {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}
	.name-ts, .town-ts {
		font-size: 30px;
		padding: 8px 15px;
	}
}

@media (max-width: 480px) {
	.title-top-ts {
		margin-top: 30px;
		padding: 3px;
		gap: 3px;
	}
	.note-ts {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}
	.name-ts, .town-ts {
		font-size: 20px;
		padding: 5px 10px;
	}
}

/* -----------------------titles bottom ts: created-at, category, email)----------------------------------- */
.title-bottom-ts {
	background-color: #006;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px;
	gap: 10px;
	flex-wrap: nowrap;
}
.created-at-ts {
	color: #f90;
	font-size: 25px;
	text-align: left;
	white-space: nowrap;
	text-shadow:
		1px 1px 0px #fc6,
		2px 2px 0px #fc6;
	border-radius: 50%;
	flex: 1;
}
.category-new-ts {
	border: 1px solid #009;
	color: #f90;
	font-size: 50px;
	margin-top: -45px;
	text-align: center;
	white-space: nowrap;
	text-shadow:
		1px 1px 0px #fc6,
		2px 2px 0px #fc6;
	border-radius: 50%;
	flex: 0 1 auto;
	width: fit-content;
	padding: 0px 10px;
}
.email-ts {
	color: #f90;
	font-size: 25px;
	text-align: right;
	white-space: nowrap;
	text-shadow:
		1px 1px 0px #fc6,
		2px 2px 0px #fc6;
	border-radius: 50%;
	flex: 1;
}

/* Responsive pour les titles du bottom */
@media (max-width: 768px) {
	.title-bottom-ts {
		padding: 5px;
		gap: 5px;
	}
	.created-at-ts, .category-new-ts, .email-ts {
		font-size: 25px;
		padding: 8px 15px;
	}
}

@media (max-width: 480px) {
	.title-bottom-ts {
		padding: 3px;
		gap: 3px;
	}
	.created-at-ts, .category-new-ts, .email-ts {
		font-size: 18px;
		padding: 5px 10px;
	}
}

/* video map section */
.video-map {
	position: relative;
	display: flex;
	width: 100%;
	gap: 8px;
}
#map-ts {
	width: 60%;
	background-color: #005;
	border: 1px solid #009;
	border-radius: 25px;
	min-height: 500px;
}
.video-ts {
	width: 40%;
	background-color: #005;
	border: 1px solid #009;
	border-radius: 25px;
	min-height: 500px;
}

/* Bouton fullscreen pour la carte */
.map-fullscreen-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1000;
	background-color: #009;
	color: #f90;
	border: none;
	border-radius: 50%;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s ease;
}

.map-fullscreen-btn:hover {
	background-color: #f90;
	color: #009;
	transform: scale(1.05);
}

.map-fullscreen-btn i {
	margin: 0;
}

/* Mode fullscreen pour la carte */
#map-ts.map-fullscreen {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 9 !important;
	border-radius: 0 !important;
}

.map-fullscreen .map-fullscreen-btn {
	position: fixed !important;
	top: 2% !important;
	right: 2% !important;
	z-index: 9 !important;
}

.map-fullscreen .map-fullscreen-btn i::before {
	content: "\f066"; /* icône de réduction fullscreem fa-compress */
}

/* left menu infos */

.address-ts {
	background-color: #005;
    width: 90%;
    min-height: 170px;
	text-align: center;
	margin: 5%;
	padding: 33px;
    border: 1px solid #009;
    border-radius: 50%;
	font-size: 16px;
	color: #f90;
    overflow: auto;
    transition: 0.5s;
}
.address-ts:hover { 
    background-color: #007;
    border: 1px solid #007;
}

.money-ts {
	background-color: #009;
    width: 100%;
    height: 100px;
	padding: 16px;
    border: thick double #006;
    border-width: 0.3em;
    border-radius: 50px;
	font-size: 16px;
	color: #f90;
    overflow: hidden;
    transition: 0.5s;
}
.money-ts:hover { 
    background-color: #003;
    border: thick double #f90;
    border-width: 0.4em;
}
.moneyparking-ts {
	background-color: #009;
    width: 100%;
    height: 100px;
	padding: 16px;
    border: thick double #006;
    border-width: 0.3em;
    border-radius: 7px;
	font-size: 16px;
	color: #f90;
    overflow: hidden;
    transition: 0.5s;
}
.moneyparking-ts:hover { 
    background-color: #003;
    border: thick double #f90;
    border-width: 0.4em;
}
.camping-ts {
	position: relative;
	top: 0%;
	left: 0%;
	height: 150px;
}
.description-ts {
	background-color: #009;
    width: 100%;
    height: 100px;
	padding: 16px;
    border: thick double #006;
    border-width: 0.3em;
    border-radius: 7px;
	font-size: 16px;
	color: #f90;
    overflow: scroll;
    transition: 0.5s;
}
.description-ts:hover { 
    background-color: #003;
    border: thick double #f90;
    border-width: 0.4em;
}
