@font-face {
    font-family: 'Garet Book';
    src: url('fonts/Garet-Book.woff2') format('woff2'),
        url('fonts/Garet-Book.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Garet';
    src: url('fonts/Garet-Heavy.woff2') format('woff2'),
        url('fonts/Garet-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
body{
    font-family: 'Garet Book';
    outline: none !important;
    overflow-x: hidden;
}
.rm-padding {
    padding-left: initial !important;
    padding-right: initial !important;
}
#map *, #map *:focus, #map *:focus-visible {
    outline: none !important;
}
.custom-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 11000;
}

.custom-modal.visible {
    display: block;
}

h1 {
    font-family: 'Garet';
    text-shadow: 5px 5px #9BCFDD;
    text-transform: capitalize;
    font-size:4em;
    padding-left:30px;
    padding-right: 30px;
    text-align: center;
}
h2,h3 {
    font-family: 'Garet';
}
hr {
    background-color: black;
    opacity: initial;
}
hr:not([size]){
    height:3px;
}
.btn-primary {
    color: #fff;
    background-color: #11A522;
    border-color: #9BCFDD;
}
.btn-primary:hover {
    color: #fff;
    background-color: #11A522;
    border-color: #80C6D8;
}
svg {
    font-family: 'Garet';
}
#map {
    height: 100vh;
    position: relative;
}
.col-sign {
    padding-left:20px;
    padding-right:20px;
}
.txt-background {
    background-color: #11A522;
    padding:15px;
    border-radius: 20px;
}
label {
    font-family: 'Garet';
    font-size:18px;
    padding:10px 0px 10px 0px;
}
.dropdown-triangle {
    max-width: 15px;
    max-height:15px;
    margin-left: 5px;
    margin-top:-5px;
}
.ul-category-markers {
    list-style: none;
    padding: 0;
    cursor: pointer;
}
.li-category-markers {
    margin:5px 0px 5px 0px;
}
.marker-symbol {
    background:var(--marker-color);
    display: inline-block; 
    width: 30px;
    height: 30px;
    line-height: 30px; 
    text-align: center;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
}
.h2-mg-b {
    margin-bottom: 30px;
}
.h3-mg-t {
    margin-top: 30px;
}
.modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: initial;
}
.modal.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    position: relative;
}
.popup-title {
    text-transform: capitalize;
    font-size:2em;
    padding-left:30px;
    padding-right: 30px;
    text-align: center;
}
.popup-category {
    background: var(--category-color);
    width:fit-content;
    color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 20px;
    display: inline-block;
}
.close-button {
    color: #FFF;
    font-size: 30px;
    font-weight: bold;
    padding: 0px 15px 0px 15px;
    background-color: #11A522;
    position: absolute;
    right:10px;
    top:10px;
}
.itinary-btn {
    width: fit-content;
    margin-left:10px;
    margin-right:10px;
}
.itinary-btn-img {
    max-width: 30px;
    max-height:30px;
}
.close-button:hover,
.close-button:focus {
    text-decoration: none;
    cursor: pointer;
}
.dropdown-triangle {
    transform: initial;
    transition: transform 0.5s ease;
}
.dropdown-triangle.rotate {
    transform: rotate(180deg);
}
.modal-dialog {
    max-width: 80%;
}
.modal-dialog-iframe {
    height: 80%;
    top: 10%;
}
.modal-content-iframe, .modal-content-iframe {
    height:95%;
}
/* .img-modal-iframe, .img-fluid {
    margin-bottom: 30px;
} */
.img-modal-iframe:hover {
    cursor: pointer;
}
.container-map {
    position: relative;
}
.container-logo {
    position: absolute;
    top:0;
    left:0;
}
.container-searchbar {
    width: 30%;
    position: absolute;
    top: 10px;
    left:20px;
    z-index: 9;
    display: flex;
    align-items: center;
}
.container-searchbar-mobile {
    display: none;
}
#search-input {
  width: 250px;
  max-height:40px;
  padding: 10px 15px;
  border: none;
  border-radius: 30px;
  background: #f1f3f4;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

/* Effet focus */
#search-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(66,133,244,0.3);
}

/* Placeholder stylé */
#search-input::placeholder {
  color: #999;
  font-style: italic;
}

.logo-fcai {
    width: 150px;
}
/* #search-results, #search-results-mobile {
    position: absolute;
    top: 85px;
    padding: 10px;
    background-color: white;
    left: 150px;
}
#search-results > li, #search-results-mobile > li {
    border-bottom: 1px solid black;
    cursor: pointer;
}
#search-results > li:hover {
    background-color: #888;
} */
 #search-results,
#search-results-mobile {
    position: absolute;
    top: 95px;
    left: 150px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    overflow: hidden;
    width: 250px; /* ajuste selon ton design */
    z-index: 999;
}

#search-results > li,
#search-results-mobile > li {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

#search-results > li:last-child,
#search-results-mobile > li:last-child {
    border-bottom: none;
}

#search-results > li:hover,
#search-results-mobile > li:hover {
    background-color: #f1f3f4;
    color: #000;
}

.container-types-all {
    width: 30%;
    position: absolute;
    top: 10px;
    right:0;
    z-index: 9;
    display: flex;
}
.container-types {
    background-color: var(--marker-type-color);
    border-radius:15px;
    width: fit-content;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-right:10px;
    cursor: pointer;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    --my-fill-color: white;
    --my-stroke-color: white;
    color: white;
}
.container-types.active-type {
    background-color:white;
    color: var(--marker-type-color);
    --my-fill-color: var(--marker-type-color);
    --my-stroke-color: var(--marker-type-color);
}
.container-types > img {
    max-width: 40px;
}
.container-types-p {
    font-size:13px;
    margin-bottom: initial !important;
    user-select: none;
}
.toggle-button {
  position: absolute;
  top: 100px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: width 0.5s ease, right 0.5s ease;
  z-index: 999;
}

.toggle-button.active {
  right: 350px;
}
/* .toggle-button {
    position: absolute;
    top: 100px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: width 0.5s ease, right 0.5s ease;
    z-index:999;
} */
/* .container-lateral-sign {
    position: absolute;
    top: 100px;
    right: -350px;
    width: 350px;
    background-color: #FFF;
    transition: right 0.5s ease;
    padding-top: 60px;
    padding-left: 20px;
    padding-bottom: 20px;
    border-radius: 25px;
    z-index: 998;
} */
 /* .container-lateral-sign {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.15);
  transition: right 0.4s ease, opacity 0.3s ease;
  padding: 60px 20px 20px 20px;
  border-radius: 12px 0 0 12px;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
}
.container-lateral-sign.active {
  right: 0;
  opacity: 1;
  pointer-events: auto;
}
.toggle-button img {
    width: 30px;
    height: 30px;
}
.overlay-filter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.overlay-filter.active {
  opacity: 1;
  pointer-events: auto;
} */
 .filter-toggle {
  position: fixed;
  top: 100px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.filter-toggle.active {
  right: 350px; /* décale le bouton quand le panneau est ouvert */
}

.filter-toggle img {
  width: 30px;
  height: 30px;
}
.icon-close {
    margin-left: 10px;
    margin-top: 10px;
}

.filter-panel {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 6px rgba(0,0,0,0.2);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}
.filter-panel.active {
  right: 0;
}

.filter-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.filter-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Liste des catégories et items */
.filter-categories h3 {
  margin-top: 20px;
  font-size: 18px;
  padding: 5px 10px;
  border-radius: 20px;
  color: #fff;
  display: inline-block;
}
.filter-categories ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}
.filter-categories li {
  padding: 5px 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
}
.filter-categories li:hover {
  background: #eee;
}
@media (max-width:600px){
  .filter-toggle { right: 20px; top: 30px; }
  .filter-toggle.active { right: 80%; }
  .filter-panel { width: 80%; }
}

.h3-category {
    text-transform:capitalize;
    background-color:var(--h3-type-color);
    width: fit-content;
    padding: 15px;
    border-radius: 30px;
    color: white;
}
.li-marker {
    cursor: pointer;
}
.ul-type {
    list-style: none;
    padding-left: 0.3rem;
    margin-top: 20px;
}
.li-marker {
    border: 2px var(--h3-type-color) solid;
    width: fit-content;
    padding: 5px;
    margin-bottom: 5px;
}
.li-marker:hover {
    border: 2px var(--h3-type-color) solid;
    width: fit-content;
    padding: 5px;
    margin-bottom: 5px;
    background-color: var(--h3-type-color);
    color: white;
}

/* CAROUSEL */
.carousel-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 20%;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.carousel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.item {
    display: none;
    opacity: 0; /* Initial state */
    transition: opacity 1s ease-in-out; /* Transition effect */
    width: 100%;
    text-align: center;
    padding: 20px;
}
.active {
    display: block;
    opacity: 1; /* Fully visible */
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: black;
    padding: 0 10px;
    user-select: none;
}
.next {
    right: 0;
}
.prev {
    left: 0;
}

/* BANNER */
.banner-container {
    position: relative;
    text-align: center;
    color: white;
    /* margin-top: 40px; */
}
.banner-container img {
    width: 100%;
    height: auto;
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Opacité noire */
    z-index: 1;
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
}
.popup-content {
    margin-top: 15px;
}
.popup-icons {
    width: 30px;
    margin-right: 10px;
}
.practical-information {
    font-size: 1.5em;
    margin-bottom: 15px;
}
.modal-backdrop.show {
    opacity: 0 !important;
}
.modal-backdrop {
    width:0px;
    height: 0px;
}
#reset-button, #reset-button-mobile {
    border: none;
    border-radius: 15px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
    background-color: #11A522;
    color: white;
}
.marker-position {
    top:-30px;
    left: 0px;
    position: relative;
    text-align: right;
    background-color: white;
    padding:5px;
}
.gm-style .gm-style-iw-c {
    max-width: 300px !important;
    z-index: 9999999999;
}
.img-info-window{
    max-width:100% !important;
}
.h5-info-window {
    font-size:12px;
    margin-top:10px;
}
#viewButton {
    border: none;
    border-radius: 15px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #11A522;
    color: white;
    width: fit-content;
}
.popup-website {
    margin-top: 10px;
    margin-bottom: 10px;
}
.itinary-mobile {
    display: none;
}
.itinary-desktop {
    display: initial;
}
/* MOBILE */
@media only screen and (max-width: 600px) {
    .container-map {
        padding-left: initial;
        padding-right: initial;
    }
    .container-searchbar {
        display:none;
    }
    .container-searchbar-mobile {
        position: absolute;
        top: 10px;
        left:20px;
        z-index: 9;
        display: flex;
        flex-direction: column;
    }
    .logo-fcai {
        width: 100px;
    }
    #-mobile {
        width: 30%;
    }
    input[type=text]#search-input-mobile {
        width: 50px;
        box-sizing: border-box;
        border: 2px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
        background-color: white;
        background-image: url(icons/searchicon.png);
        background-position: 10px 12px;
        background-repeat: no-repeat;
        padding: 12px 5px 12px 40px;
        -webkit-transition: width .4s ease-in-out;
        transition: width .4s ease-in-out;
        margin-left: 12px;
        margin-top: 10px;
    }
    input[type=text]#search-input-mobile:focus {
        width: 200px;
    }
    #reset-button-mobile {
        padding-left: initial;
        padding-right: initial;
        padding:10px;
        width: 52px;
        margin-top: 6px;
    }
    #reset-button-mobile > img {
        width: 23px;
    }
    .container-types-all {
        left: 30%;
        right: initial;
        margin-top: 12px;
        width: initial;
    }
    .container-types > svg {
        width: 30px;
    }
    .container-types-p {
        font-size: 10px;
    }
    .row-popup {
        flex-direction: column-reverse;
        margin-top: 50px;
    }
    .practical-information {
        margin-top:20px;
        font-size: 1.3em;
    }
    .popup-title {
        font-size: 1em;
    }
    .itinary-mobile {
        display: block;
    }
    .itinary-desktop {
        display: none;
    }
    .modal-content {
        width:100%;
    }
    .modal-dialog {
        max-width: 100%;
    }
    .modal-dialog-iframe {
        height: 100%;
        top: initial;
    }
    .close-button {
        right: 22px;
    }
    .carousel-container {
        bottom: 21px;
        left: -1px;
        width: 42%;
    }
    #search-results, #search-results-mobile {
        top: 158px;
        left:13px;
    }
}
  