/* ====== FILTRES GALERIE ====== */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

/* Bouton catégorie */
.filter-chip {
  border-radius: 999px;               /* forme pill */
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.15);
  background-color: #fff;
  color: #212529;
  transition: all 0.2s ease;
}

/* Hover */
.filter-chip:hover {
  background-color: #f1f3f5;
  border-color: #adb5bd;
  color: #000;
}

/* Catégorie active */
.filter-chip.active {
  background-color: #17A689;          /* Bootstrap primary */
  border-color: #17A689;
  color: #fff;
  box-shadow: 0 4px 10px #17A689;
}

/* Focus clavier (accessibilité) */
.filter-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.35);
}

/* Mobile */
@media (max-width: 576px) {
  .filter-chip {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
}

.itinerary-item .day-content img.itinerary-image {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in; /* indique qu’on peut cliquer pour zoomer */
}

.itinerary-item iframe {
  width: 100%;
  min-height: 60vh;
}

@media (max-width: 768px) {
  .itinerary-item iframe {
    min-height: 50vh;
  }
}

.travel-hero .hero-text .hero-title {
    font-size: 2.5rem !important;
}

.title-color {
    color: var(--accent-color);
}

.about-image video {
    border-radius: 15px;
    margin-left: 25%;
}

.travel-hero .booking-form-wrapper .booking-form {
    background-color: rgba(37,37,37,0.75);
    backdrop-filter: blur(0px);
}

.btn-perso-outline {
    background-color: transparent;
    border: 2px solid var(--contrast-color);
    color: var(--contrast-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-perso-outline:hover {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

/* MENU */

.navbar-nav a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px; /* hauteur de la barre */
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3); /* blanc semi-transparent */
}

.logoMenu {
    border: 3px solid #16a085;
    border-radius: 50%;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

@media (min-width: 1451px) {
    .logoMenu {
        max-height: 120px !important;
        margin-top: 50px;
    }
    .main {
        margin-top: 100px;
    }
    .dropdown-menu {
        /*margin-top: 22px !important;*/
        z-index: -1;
        border-radius: 0px;
        color: #7C858D !important;
    }
    .dropdown .dropdown-menu a:hover {
        background: #F7F1E8;
        color: #3D3D3D;
        transition: all .2s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: #F7F1E8 !important;
        transition: .5s;
        opacity: 1;
        border-bottom: 5px solid #16a085;
    }
    .training-carousel .owl-stage-outer {
        margin-top: 30px;
    }
    .page-px {
        padding-right: 10rem !important;
        padding-left: 10rem !important;
    }
    .owl-stage-outer {
        margin-top: 30px;
    }
}

@media (max-width: 1450px) {
    .logoMenu {
        max-height: 80px !important;
    }
    .navbar-toggler {
        font-size: 1.8rem;
    }
    .navbar {
        padding: 0.8rem 1.5rem !important;
    }
    .quotes {
        display: none !important;
    }
    .logoMenu {
        left: 70% !important;
    }
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
        background: #ecf0f1 !important;
    }
    
    .dropdown .dropdown-menu a {
        background: #ecf0f1 !important;
        color: #8f6226 !important;
    }
    .dropdown .dropdown-menu a:hover {
        color: #c0392b !important;
    }
    .page-px {
        padding-right: 3rem !important;
        padding-left: 3rem !important;
    }
}

.dropdown-item {
    padding: .50rem 1rem !important;
    color: #f1f2f6 !important;
    font-family: "Montserrat", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-transform: uppercase;
    letter-spacing: 1.1px;

}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 10px;
    color: #F7F0E8;
    outline: none;
    transition: .5s;
    font-family: "Montserrat", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 20px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #1abc9c !important;
}

.navbar-light .navbar-brand img {
    max-height: 50px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1451px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 1450px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #3D3D3D;
        border-bottom: 5px solid #16a085;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid #16a085;
        color: #16a085;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 1451px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
/*        border-bottom: 3px solid #84817a;*/
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: url('../../imgs/menuvcj.svg') no-repeat;
    }
    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

.navbar-collapse {
    flex-grow: 0.5 !important;
}

.navbar {
    padding-top: .8rem !important;
    padding-bottom: .8rem !important;
    padding-left: 5%;
    padding-right: 2%;
    max-height: 105px;
}

/* MENU MEGA */

/* ====== Variables (adapte les couleurs si besoin) ====== */
:root{
  --brand-600: #16a085;     /* vert club */
  --surface:   #ecf0f1;     /* fond clair du mega */
  --ink-600:   #6c757d;     /* texte secondaire */
  --ink-900:   #222;        /* texte principal */
}

/* ====== Mega menu : base ====== */
.dropdown-mega{ position: static; border: 0; }
.dropdown-mega .dropdown-menu{
  width: 100%;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  padding: 1.25rem 0;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
  /* petit trait d’accent en bas */
  border-bottom: 4px solid color-mix(in oklab, var(--brand-600) 85%, white);
}

/* En-tête de colonne (si tu utilises <h6>) */
.dropdown-mega .mega-col h6{
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--brand-600) 65%, black);
  margin: .25rem 0 .5rem;
}

/* Grille responsive élégante (auto-fit) */
.dropdown-mega .mega-inner{
  display: grid;
  gap: 1.1rem 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: start;
}

/* Listes propres */
.mega-col ul{ margin:0; padding:0; list-style:none; }
.mega-col li + li{ margin-top: .55rem; }

/* ====== Carte de lien (icône + titre + description) ====== */
.mega-item{
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .75rem .8rem;
  background: rgba(22, 160, 133,0.5);
  border: 1px solid #16A085;
  border-radius: .9rem;
  text-decoration: none; color: var(--ink-900);
  min-height: 68px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.nav-link:focus-visible {
    outline: 0;
    box-shadow: none !important;
}

/* Icône circulaire */
.mega-icon{
  flex: 0 0 36px; width:36px; height:36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand-600) 12%, white);
  color: var(--brand-600);
  font-size: 1rem; line-height: 1;
}

/* Texte */
.mega-text{ min-width: 0; }
.mega-title{
  font-weight: 700;
  font-size: .95rem;
  margin-top: 8px;
}

/* ====== États “navbar sombre” (si ta barre est foncée) ====== */
.navbar.navbar-dark .dropdown-mega .dropdown-menu{
  background: color-mix(in oklab, var(--surface) 92%, black);
}

/* ====== Mobile ====== */
@media (max-width: 991.98px){
  .dropdown-mega .dropdown-menu{
    box-shadow: none;
    padding: .5rem 0 0;
    background: #fff;
    border-bottom: 0;
  }
  .dropdown-mega .mega-inner{ display: block; }
  .mega-col + .mega-col{ margin-top: 1rem; }
  .mega-item{ padding: .7rem; }
}

/* Respecte prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .mega-item{ transition: none; }
}

.dropdown-menu i {
    font-size: 25px;
    color: var(--color-2);
}

.dropdown-menu .text {
    float: right;
    font-family: 'Montserrat';
    width: calc(100% - 60px);
    font-size: 15px;
    color: #292f37;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition-duration: .4s;
    transition-property: color;
}

.dropdown-menu .description {
    float: right;
    width: calc(100% - 60px);
    font-size: 13px;
    color: var(--color-2);
    font-family: 'Montserrat';
    font-weight: 500;
}

/* MENU */

/* MENU MOBILE */

.mobile-nav ul,
.mobile-nav li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #141414; /* Couleur sombre */
    overflow-y: auto;
    transition: .3s all;
}

.mobile-menu-overlay.show {
    display: block;
}

.mobile-menu-content {
    padding: 50px 30px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.mobile-nav {
    list-style: none;
    padding-left: 0;
}

.mobile-nav li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.mobile-nav>li>ul>li>a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #16a085;
    position: absolute;
    left: 0;
    top: 0;
}

.mobile-nav a, .mobile-nav .submenu-title {
    color: #1abc9c;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

.mobile-nav>li>a:hover, .mobile-nav>li>a:focus {
    text-decoration: underline;
    transition: .3s all;
}

.mobile-nav .submenu-title {
    padding-bottom: 20px;
}

.mobile-nav ul {
    padding-left: 15px;
}

.mobile-nav ul li a {
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
}

.mobile-nav ul li a:hover, .mobile-nav ul li a:focus {
    color: #487eb0 !important;
    transition: .3s all;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
}

@media (max-width: 768px) {
    #navbarCollapse {
        display: none !important;
    }
}

/* MENU MOBILE */

/* TEAM */

.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .team .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.team .team-member .pic {
  overflow: hidden;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: cover !important;
  background-position: center !important;
}

.team .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.team .team-member:hover {
  transform: translateY(-10px);
}

.team .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .team .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.team .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
  color: #16A085;
}

.team .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .team .team-member span::after {
    left: calc(50% - 25px);
  }
}

.team .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .team .team-member .social {
    justify-content: center;
  }
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.team .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.team .team-member .social a:hover {
  background: var(--accent-color);
}

.team .team-member .social a:hover i {
  color: var(--contrast-color);
}

.team .team-member .social a+a {
  margin-left: 8px;
}