/*============================================================================================*/
/* FORCE HIDE HAMBURGER ON DESKTOP - Override JS
/*============================================================================================*/

/* Sélecteur ultra-spécifique pour battre le JS */
html body header .hamburger_2,
html body header .hamburger_2.open_close_menu,
html body header .hamburger_2.custom-menu-toggle-btn,
html body .menu_v4 .hamburger_2,
html body .menu_v4 .hamburger_2.open_close_menu,
html body .menu_v4 .hamburger_2.custom-menu-toggle-btn,
html body header .col-8 .hamburger_2,
html body header .col-8 .hamburger_2.open_close_menu,
html body header .d-flex .hamburger_2,
html body header .justify-content-center .hamburger_2,
html body header .align-items-center .hamburger_2,
html body header .float-end.hamburger_2,
html body header .float-end .hamburger_2 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Afficher uniquement en mobile */
@media (max-width: 991px) {
    html body header .hamburger_2,
    html body header .hamburger_2.open_close_menu,
    html body header .hamburger_2.custom-menu-toggle-btn,
    html body .menu_v4 .hamburger_2,
    html body .menu_v4 .hamburger_2.open_close_menu,
    html body .menu_v4 .hamburger_2.custom-menu-toggle-btn,
    html body header .col-8 .hamburger_2,
    html body header .col-8 .hamburger_2.open_close_menu,
    html body header .d-flex .hamburger_2,
    html body header .justify-content-center .hamburger_2,
    html body header .align-items-center .hamburger_2,
    html body header .float-end.hamburger_2,
    html body header .float-end .hamburger_2 {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 46px !important;
        height: 30px !important;
        padding: 9px 10px !important;
        margin: 0 !important;
        border: none !important;
        overflow: visible !important;
        pointer-events: auto !important;
        position: relative !important;
        left: auto !important;
        top: -25px;
    }
}










/*============================================================================================*/
/*  RESPONSIVE.CSS — GoldYacht Mobile & Tablet
/*============================================================================================*/

/*============================================================================================*/
/* 0. HIDE DESKTOP ELEMENTS ON MOBILE + FIX MENU VISIBILITY
/*============================================================================================*/

@media (max-width: 991px) {
  /* Masquer le bouton desktop "Book Now" */
  .btn_Header {
    display: none !important;
  }

  /* Masquer le menu desktop horizontal (le nav qui est dans le header) */
  .main-menu {
    display: none ;
  }

.main-menu.open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 320px !important;
    height: 100vh !important;
    background-color: #1A1B2F !important;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 999999 !important;
    padding: 0 !important;
    display: block !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
}

  /* ===== CORRECTION CRITIQUE : Cacher les liens du menu mobile par défaut ===== */
  /* Le nav_panel doit être caché quand il n'a pas la classe .show */
  .nav_panel {
    display: none !important; /* CACHÉ par défaut */
  }

  /* AFFICHER seulement quand .show est présent */
  .nav_panel.show {
    display: flex !important;
  }

  /* Hamburger visible */
  .hamburger_2 {
    display: inline-block !important;
  }
}

/*============================================================================================*/
/* 1. HEADER MOBILE LAYOUT
/*============================================================================================*/

@media (max-width: 991px) {
  header.fixed_header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
    padding-top: 30px !important;
    padding-bottom: 20px !important;
    z-index: 1000 !important;
  }

  header .logo_sticky {
    width: 140px !important;
    height: auto !important;
    padding-top: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  header .logo_sticky img {
    max-height: 60px !important;
    display: block !important;
  }

  header .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  header .col-2,
  header .col-8 {
    width: auto !important;
    flex: none !important;
    padding: 0 !important;
  }

  header .col-8 {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
}

/*============================================================================================*/
/* 2. HAMBURGER BUTTON
/*============================================================================================*/

@media (max-width: 991px) {
  .hamburger_2 {
    background: linear-gradient(135deg, #F5D042, #D4AF37) !important;
    border: none !important;
    border-radius: 10px !important;
    width: 46px !important;
    height: 36px !important;
    padding: 9px 10px !important;
    cursor: pointer !important;
    z-index: 1050 !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
    position: relative !important;
    float: none !important;
  }

  .hamburger_2 .hamburger__box {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .hamburger_2 .hamburger__inner,
  .hamburger_2 .hamburger__inner::before,
  .hamburger_2 .hamburger__inner::after {
    width: 100% !important;
    height: 2px !important;
    background-color: #FFF !important;
    border-radius: 1px !important;
    display: block !important;
    position: relative !important;
  }

  .hamburger_2 .hamburger__inner::before {
    content: "" !important;
    position: absolute !important;
    top: -8px !important;
  }

  .hamburger_2 .hamburger__inner::after {
    content: "" !important;
    position: absolute !important;
    bottom: -8px !important;
  }
}

/*============================================================================================*/
/* 3. MOBILE MENU PANEL (caché par défaut, visible avec .show)
/*============================================================================================*/

@media (max-width: 991px) {
  .nav_panel {
    /* CACHÉ par défaut - positionné hors écran */
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    max-width: 320px !important;
    height: 100vh !important;
    background-color: #1A1B2F !important;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 999999 !important;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1) !important;
    padding: 20px 0 !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transform: none !important;
    overflow-y: auto !important;
    /* display: none est géré plus haut dans la section 0 */
  }

  /* VISIBLE quand .show est ajouté par JS */
  .nav_panel.show {
    left: 0 !important;
    display: flex !important;
  }

  /* Close button */
  .nav_panel .closebt,
  .main-menu.open .closebt {
    background: linear-gradient(135deg, #E4BF3B, #C29D2C) !important;
    border: none !important;
    border-radius: 8px !important;
    width: 44px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10 !important;
  }

  .nav_panel .closebt i,
  .main-menu.open .closebt i {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }


  /* Logo in panel */
  .nav_panel .logo_panel,
  .main-menu.open .logo_panel {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 20px 30px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    background-color: transparent !important;
    border: none !important;
  }

  .nav_panel .logo_panel img,
  .main-menu.open .logo_panel img {
    width: 120px !important;
    height: auto !important;
    display: block !important;
  }


 .nav_panel #mainNav,
  .main-menu.open #mainNav {
    width: 100% !important;
    padding: 0 !important;
    margin-top: 10px !important;
  }

  .nav_panel #mainNav ul,
  .main-menu.open #mainNav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    text-align: left !important;
  }

  .nav_panel #mainNav ul li,
  .main-menu.open #mainNav ul li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  .nav_panel #mainNav ul li:first-child,
  .main-menu.open #mainNav ul li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  .nav_panel #mainNav ul li a,
  .main-menu.open #mainNav ul li a {
            display: block !important;
        font-size: 14px !important;
        color: #A3A8B8 !important;
        font-weight: 400 !important;
        font-family: 'Atkinson Hyperlegible', sans-serif !important;
        text-decoration: none !important;
        padding: 9px 24px !important;
        transition: color 0.2s ease, background-color 0.2s ease !important;
        text-transform: none !important;
        margin: 0 !important;
        letter-spacing: 0.02em !important;
  }

  .nav_panel #mainNav ul li a:hover,
  .nav_panel #mainNav ul li a:active,
  .main-menu.open #mainNav ul li a:hover,
  .main-menu.open #mainNav ul li a:active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
  }

  /* Book Now button in menu */
  .nav_panel .btn_1 {
    margin: auto 20px 20px 20px !important;
    background: linear-gradient(135deg, #f4d03f, #d4af37 50%, #b27a47) !important;
    color: #000000 !important;
    text-align: center !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    padding: 14px 0 !important;
    display: block !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2) !important;
    width: calc(100% - 40px) !important;
  }
}

/*============================================================================================*/
/* 4. LAYER OVERLAY
/*============================================================================================*/

@media (max-width: 991px) {
  .layer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    background-color: rgba(0, 0, 0, 0.35) !important;
    transition: all 0.1s ease !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .layer.layer-is-visible {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/*============================================================================================*/
/* 5. HERO & GLOBAL MOBILE FIXES
/*============================================================================================*/

@media (max-width: 767px) {

  img {
    max-width: 100%;
  }

  #page {
    border-radius: 32px !important;
    overflow: hidden !important;
    background-color: #111217 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .hero .wrapper h1,
  .hero .wrapper h3 {
    font-size: 36px !important;
  }

  .flet-title-hero {
    font-size: 30px !important;
  }

  .hero-features-list {
      width: 100%;
  }

  .best {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .hero .wrapper h1,
  .hero .wrapper h3 {
    font-size: 32px !important;
  }

  .flet-title-hero {
    font-size: 26px !important;
  }
}

/*============================================================================================*/
/* 6. FLEET SECTION MOBILE
/*============================================================================================*/

@media (max-width: 1024px) {
  .yacht-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .flet-title,
  .jet-title {
    font-size: 34px !important;
  }
}

@media (max-width: 767px) {
  .flet {
      margin-top: 0;
      padding: 0 15px;
  }

  .yacht-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-image-wrapper {
    height: 220px;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .book-btn {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
}

/*============================================================================================*/
/* 7. ACTIVITIES MOBILE
/*============================================================================================*/

@media (max-width: 1024px) {
  .activity-gallery {
    flex-wrap: wrap;
    gap: 20px 16px;
  }

  .activity-item {
    width: calc(50% - 8px);
  }

  .activity-image-wrapper {
    height: 280px;
    border-radius: 140px;
  }
}

@media (max-width: 767px) {
  .activity-item {
    width: calc(50% - 8px);
  }

  .activity-image-wrapper {
    height: 200px;
    border-radius: 100px;
  }
}

@media (max-width: 480px) {

  .activity-image-wrapper {
    height: 240px;
    border-radius: 120px;
  }
}

/*============================================================================================*/
/* 8. ROUTES / TESTIMONIALS MOBILE
/*============================================================================================*/

@media (max-width: 1024px) {
  .routes-container {
    flex-direction: column;
    gap: 36px;
  }

  .routes-right {
    flex-direction: column;
  }

  .routes-col {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .routes-title {
    font-size: 28px;
  }

  .text-card {
    padding: 24px;
  }

  .image-card {
    min-height: 200px;
  }
}

/*============================================================================================*/
/* 9. FAQ-2 MOBILE
/*============================================================================================*/

@media (max-width: 1024px) {
  .faqs2-grid {
    flex-direction: column;
  }

  .faqs2-col {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .faq2-question {
    font-size: 18px;
  }
}

/*============================================================================================*/
/* 10. PARTNERS MOBILE
/*============================================================================================*/

@media (max-width: 767px) {
  .partner-logo {
    width: 28%;
  }

  .partner-logo img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .partner-logo {
    width: 40%;
  }
}

/*============================================================================================*/
/* 11. FOOTER MOBILE
/*============================================================================================*/

@media (max-width: 1024px) {
  .footer .container > .row {
    flex-direction: column !important;
    gap: 36px !important;
  }

  .footer .container > .row > div {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 40px 16px 32px;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .newsletter-form {
    justify-content: center;
  }

  .footer-links {
    align-items: center !important;
  }

  .footer-links li {
    text-align: center !important;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-legal-wrapper {
    justify-content: center;
  }

  .copyright-text {
    text-align: center;
  }
}

/*============================================================================================*/
/* 12. PAGE HEROES MOBILE
/*============================================================================================*/

@media (max-width: 1024px) {
  .hero.fleet-search,
  .hero.vip-search,
  .hero.activities-search,
  .hero.events-search {
    margin: 12px;
    border-radius: 18px;
  }
}

@media (max-width: 767px) {
  .hero.fleet-search,
  .hero.vip-search,
  .hero.activities-search,
  .hero.events-search {
    margin: 8px;
    border-radius: 14px;
    height: 28vh;
    min-height: 200px;
  }

  .fleet-hero-title {
    font-size: 28px !important;
  }
}

/*============================================================================================*/
/* 13. GENERAL UTILITIES
/*============================================================================================*/

@media (max-width: 991px) {
  .progress-wrap {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .activity-title,
  .routes-title,
  .faqs2-title,
  .partners-title,
  .explore-title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}





/*****************************************************************************************************************************/
/*============================================================================================
   ALIAS CSS — Compatibilité avec le JS de ton collègue
   Ces classes redirigent vers tes classes existantes
   À supprimer quand le JS sera corrigé
============================================================================================*/

/* ---------- 1. HAMBURGER BUTTON ---------- */
.custom-menu-toggle-btn,
.hamburger_2 {
    background: linear-gradient(135deg,#f4d03f,#d4af37 50%,#b27a47);
    border: none !important;
    border-radius: 6px !important;
    width: 46px !important;
    height: 36px !important;
    padding: 9px 10px !important;
    cursor: pointer !important;
    z-index: 1050 !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
    position: relative !important;
    display: inline-block !important;
    right: -20px;
    top: -15px;
}

.custom-menu-toggle-btn .custom-bar,
.hamburger_2 .hamburger__inner,
.hamburger_2 .hamburger__inner::before,
.hamburger_2 .hamburger__inner::after {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background-color: #FFF !important;
    border-radius: 1px !important;
}

/* ---------- 2. MOBILE MENU PANEL ---------- */
.custom-mobile-menu-overlay,
.nav_panel {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    max-width: 320px !important;
    height: 100vh !important;
    background-color: #1A1B2F !important;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 999999 !important;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1) !important;
    padding: 20px 0 !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transform: none !important;
    overflow-y: auto !important;
}

.custom-mobile-menu-overlay.is-visible,
.nav_panel.show {
    left: 0 !important;
    display: flex !important;
}

/* ---------- 3. MENU HEADER ---------- */
.custom-mobile-menu-header,
.nav_panel .logo_panel {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 20px 30px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    background-color: transparent !important;
    border: none !important;
}

.mobile-sidebar-logo,
.nav_panel .logo_panel img,
.nav_panel .logo_panel .logo_sticky {
    width: 120px !important;
    height: auto !important;
    display: block !important;
}

/* ---------- 4. CLOSE BUTTON ---------- */
.custom-menu-close-btn,
.nav_panel .closebt {
    background: linear-gradient(135deg, #E4BF3B, #C29D2C) !important;
    border: none !important;
    border-radius: 8px !important;
    width: 44px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10 !important;
}

.custom-menu-close-btn span,
.nav_panel .closebt i {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* ---------- 5. NAVIGATION LINKS ---------- */
.custom-mobile-nav-links,
.nav_panel .sidebar-navigation,
.nav_panel #mainNav {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    top: 0 !important;
    padding: 0 !important;
    border-top: none !important;
    overflow-x: visible !important;
}

.custom-mobile-nav-links ul,
.nav_panel .sidebar-navigation nav ul,
.nav_panel #mainNav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    text-align: left !important;
}

.custom-mobile-nav-links ul li,
.nav_panel .sidebar-navigation nav ul li,
.nav_panel #mainNav ul li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-mobile-nav-links ul li a,
.nav_panel .sidebar-navigation nav ul li a,
.nav_panel #mainNav ul li a {
    display: block !important;
    font-size: 16px !important;
    color: #A3A8B8 !important;
    font-weight: 400 !important;
    font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif !important;
    text-decoration: none !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
    text-transform: none !important;
    margin: 0 !important;
}

.custom-mobile-nav-links ul li a:hover,
.custom-mobile-nav-links ul li a:active,
.nav_panel .sidebar-navigation nav ul li a:hover,
.nav_panel .sidebar-navigation nav ul li a:active,
.nav_panel #mainNav ul li a:hover,
.nav_panel #mainNav ul li a:active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* ---------- 6. CTA BUTTON ---------- */
.custom-mobile-book-btn,
.nav_panel .btn_1 {
    margin: auto 20px 20px 20px !important;
    background: linear-gradient(135deg, #f4d03f, #d4af37 50%, #b27a47) !important;
    color: #000000 !important;
    text-align: center !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    padding: 14px 0 !important;
    display: block !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2) !important;
    width: calc(100% - 40px) !important;
}

/* ---------- 7. LAYER OVERLAY ---------- */
.layer-is-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 767px) {
    header .logo_sticky{
        left: -20px;
        top: -20px;
        position: relative;   
    }
    .hero-features-list svg{
        margin-right:15px;
    }
    .faqs{
        padding: 60px 0;
        background-position: center left;
    }
    .faqs-title{
        font-size: 32px;
    }
    .routes-left{
        text-align: center;
    }
    .routes-col:nth-child(1){
        flex-direction: column-reverse;
    }
    .faq2-item.active .faq2-content{
        max-height: none;
    }
    .spec-item{
        display:block;
    }
    .spec-label{
        display:block;
    }
    .current-price-detail{
        font-size: 42px;
    }
    .detail-gallery{
        padding: 0;
    }
    .explore-header{
        align-items: center;
    }
    .header-left{
        align-items: center;
    }
    .flet-container .col-6,
    .flet-container .col-6:first-child{
        flex: auto;
    }
    .activities-page{
        padding: 0 15px;
    }
    .act-pricing{
        display:block;
    }
    .ActDetail{
        margin: 0 16px;
    }
    .ActDetail .textbox{
        margin-bottom: 30px;
    }
    .event-section{
        margin-top:40px;
    }
    .cards-wrapper{
        padding:0;
    }
    .event-card .card-body p{
        color: #535465 !important;
    }
    .hero.full-height.blog-search{
        height: 28vh;
    }
    .blogdetail-container{
        display: block;
    }
    .blogdetail-content {
        padding: 25px 0;
    }
    .recent-post{
        margin-bottom: 30px;
    }
    .details-text-side p{
        color: #535465;
    }
    .booking-grid-wrapper{
        flex-direction: column-reverse;
    }
}