/* =========================================================
   VARIABLES / COLOR OVERRIDES
========================================================= */
:root {
  --bs-primary: #f5d76e; /* Slate gold */
  --bs-primary-rgb: 245, 215, 110;
  --bs-primary-hover: #e0c55f;
  --bs-warning: #0dcaf0; /* Cyborg cyan */
  --bs-warning-rgb: 13, 202, 240;
  --bs-warning-hover: #0bb8dd;

  --mapbox-bg: #636060;
  --main-bg: #737373;
  --contrast-dropdown-bg: red;
  --bg-dark: #000000;
  --btn-primary: #1d569a;
  --font-color: black;
  --globe-bg: #4f4f4f;
  --sidebar-bg: black;
  --ocean-bg: #94a5db;
  --graticule-stroke: #0d0d0d;
  --wind-particule-color: #333333;
  --wind-particule-color-satellite: #eeeeee;

  /* Preloader / Globe */
  --earth-size: 300px;
  --orbit-size: 420px;
  --orbit-radius: calc(var(--orbit-size) / 2);
  --plane-size: 28px;
  --trail-length: 120;
  --trail-width: 6;
  --trail-offset: 180deg;
  --orbit-duration: 8s;

  /* Sidebar */
  --header-height: 5vw;
 
  --navbar-height: 56px; /* Bootstrap default */

  
    --departureboard_background: #4f4f4f;
    --departureboard_letter_background:#444;
        --departureboard_letter_color :#fff;
}



body, button, input, select, textarea {
    font-family: "Roboto";
   /* color: white;*/
    font-size: 1rem;
}


html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    text-shadow: none;
    color:black;
}

a {
   
    text-decoration: underline;
    background-color: transparent;
}
/* =========================================================
   BUTTONS
========================================================= */
.btn-primary,
.btn-warning {
  border-radius: 0.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(145deg, #1f6feb, #1158c7);
  border-color: #1f6feb;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(31, 111, 235, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-warning {
  background: linear-gradient(145deg, #f5d76e, #d6b84c);
  border-color: #f5d76e;
  color: #000;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(245, 215, 110, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active,
.btn-warning:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) inset;
}

.btn-primary:focus,
.btn-warning:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.5);
}

/* Slate-style toggle buttons */
.btn-slate {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  background: var(--bs-warning);
  box-shadow: 0 5px 0 #1c1c1c, inset 2px 2px 4px rgba(255, 255, 255, 0.15),
    inset -2px -2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.25s ease,
    color 0.25s ease;
}

.btn-slate.on {
  background: var(--bs-primary);
  box-shadow: 0 5px 0 #a38636, inset 2px 2px 6px rgba(255, 255, 255, 0.25),
    inset -2px -2px 6px rgba(0, 0, 0, 0.35);
  color: #000;
}

.btn-slate.off {
  background: var(--bs-warning);
  box-shadow: 0 5px 0 #1c1c1c, inset 2px 2px 6px rgba(255, 255, 255, 0.15),
    inset -2px -2px 6px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.btn-slate:hover {
  transform: translateY(-2px) scale(1.02);
}
.btn-slate:active {
  transform: translateY(3px) scale(0.98);
}

/* Responsive buttons */
@media (max-width: 576px) {
  .btn-slate {
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
  }
}
@media (max-width: 400px) {
  .btn-slate {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
}



/* Locked button style */
.btn-locked {
    cursor: not-allowed;
    opacity: 0.7;
    position: relative;
}

/* Pulse animation for locked glow */
.btn-locked.pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 0.375rem; /* match btn rounding */
    box-shadow: 0 0 6px rgba(255, 199, 0, 0.5);
    animation: pulseGlow 1.5s infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 6px rgba(255, 199, 0, 0.3); }
    50% { box-shadow: 0 0 14px rgba(255, 199, 0, 0.6); }
    100% { box-shadow: 0 0 8px rgba(255, 199, 0, 0.4); }
}

/* Ensure button text is above pulse */
.btn-locked.pulse {
    z-index: 1;
    position: relative;
}










/* =========================================================
   CARDS & MODALS
========================================================= */
.card,
.modal-content {
  border-color: var(--bs-primary);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.modal-header {
  background-color: var(--bs-primary);
  color: #1c1c1c;
}

.modal-footer {
  border-top: 2px solid var(--bs-primary);
}

/* Locked / unlocked cards */
.unlocked-card {
  border-color: #00ff99;
  box-shadow: 0 8px 20px rgba(0, 255, 153, 0.5);
}

.locked-card {
  opacity: 0.6;
  filter: grayscale(60%);
}

/* Pricing cards */
.pricing-card {
  background: #1c1c1c;
  color: #f5d76e;
  border: 2px solid var(--bs-primary);
  border-radius: 1rem;
  padding: 1rem;
  width: 18rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  margin: 0.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.7);
}

.pricing-title {
  font-weight: 700;
  font-size: 1.25rem;
}
.pricing-price {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.pricing-features li {
  margin-bottom: 0.3rem;
}
.featured-badge {
  background: var(--bs-primary);
  color: #1c1c1c;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* =========================================================
   HEADER & NAVBAR
========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 5vw; */
    height: var(--header-height);
  padding: 0;
  background-color: #4f4f4f;
  color: lightgoldenrodyellow;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-navbar {
  position: sticky;
  top: 5vw;
  z-index: 1050;
}

/* Board text */
#containerboard,
#staticBoardText {
  font: 116px "Roboto Condensed";
  font-size: 4.4vw;
  color: #fff;
}

#belowcontainerboard {
  margin-top: 5vw;
}

/* =========================================================
   LAYOUT
========================================================= */
body {
  min-height: 100vh;
  overflow-x: hidden;
  transition: margin-left 0.3s ease;
 
}

body {
        background-color: #2b345f;

}
.row,
.rowacr {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  text-align: center;
}
.media-grid {
  flex-wrap: wrap !important;
}
 


#mainrow {
  margin-top: calc(var(--header-height) + var(--navbar-height));
  height: calc(100vh - var(--header-height) - var(--navbar-height));
  display: flex;
  flex-direction: row;
  min-height: 0;
  overflow: hidden;
}


/* #mainrow {
        flex: 1;    
  display: flex;

  / * min-height: 100vh; * /
   flex-wrap: nowrap;
  display: flex;
  flex-direction: row;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
 padding-top: 78px;
} */


.top-stack {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}


.page-row {
  flex: 1;                 /* fills space between header & footer */
  display: flex; 
  min-height: 0;      /* 🔑 REQUIRED */
  overflow: hidden;   /* 🔑 REQUIRED */ 
 padding-top: 4.5rem;
}


#myMain {
  flex-grow: 1;
  padding: 2rem;
  overflow-x: auto;
  transition: margin-left 0.3s ease;
  margin-left: 0;
}

#content {
  flex-grow: 1;      /* take remaining space */
  overflow-y: auto;  /* scroll main content if needed */
    min-height: 0;   /* 🔥 same rule */
    padding: 1rem;

}



/* MAIN CONTENT */
/* #content {
  flex: 1;
  overflow-y: auto;        /* content scrolls * /
  padding: 1rem;
} */



.footer {
  position: relative;
  text-align: center;
  padding: 0px;
}

.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.article-content {
  color: var(--bs-dark);
  background-color: var(--bs-light);
}





 


.image-container {
  max-height: 400px;
}

.image-container img {
  max-height: 400px;
  width: auto;
  max-width: 100%;
}








figcaption {
    text-align: center;
   margin-bottom: 10px;
}




.caption {
    font-size: 1rem;
    margin-bottom: 10px;
    font-style: italic;
}

.disclaimer {
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 20px;
}









































/* Z-index stacking */
.header {
  z-index: 1100;
}



/* .navbar {
  z-index: 1050;
    height: var(--navbar-height);
} */

.navbar {
  position: fixed;                 /* ✅ IMPORTANT */
  top: var(--header-height);       /* directly under header */
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1050;
}

/* Content */
/* #content {
  padding: 1rem;
  transition: margin-left 0.3s ease;
} */


/* #content {
  flex: 1 1 auto;     /* grow to fill remaining space * /
  min-width: 0;       /* important for overflow inside flex * /
  overflow: auto;     /* scroll if content overflows * /
  padding: 1rem;      /* optional spacing * /
} */




/* =========================================================
   HAMBURGER
========================================================= */

.hamburger {
  display: inline-block;
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 7.5px;
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

/* Animate X (sidebar toggle + navbar toggler) */
.hamburger.open span:nth-child(1),
.navbar-toggler.active .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 7.5px;
}

.hamburger.open span:nth-child(2),
.navbar-toggler.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3),
.navbar-toggler.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 7.5px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* @media (min-width: 992px) {
  body.sidebar-open #content {
    margin-left: 260px;
  }
} */


/* @media (min-width: 992px) {
  body:not(.sidebar-open) #sidebar {
    transform: translateX(-100%);
  }
} */

@media (min-width: 992px) {
  body:not(.sidebar-open) #sidebar {
    width: 0;
    flex-basis: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    box-shadow: none;
  }
}



@media (max-width: 991.98px) {
  #sidebar {
    position: fixed;
    top: var(--header-height, 0);
    left: 0;
    height: calc(100vh - var(--header-height, 0));
    transform: translateX(-100%);
    z-index: 1050;
  }

  #sidebar.open {
    transform: translateX(0);
  }

  .page-row {
    overflow-x: hidden;
  }
}


/* @media (max-width: 991.98px) {
  .navbar-collapse {
    position: static;
    width: 100%;
    /* background-color: var(--bs-primary); * /
    z-index: 1060;
  }

  #content {
    margin-top: 0;
  }
} */


/* =========================================================
   MAP / SVG
========================================================= */
#mapContainer {
  width: 100%;
  border: 6px double #e0c97f;
  border-radius: 12px;
  background: var(--globe-bg);
  position: relative;
  overflow: hidden;
}

.map-inner {
  position: relative;
  width: 100%;
  height: 0;
}

#mymap-inner {
  cursor: default;
}

#mymap-inner.map--focused {
  cursor: grab;
}

#mymap-inner.map--focused.dragging {
  cursor: grabbing;
}


#mysvg,
#mycanvas,
#myiframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#mycanvas {
  pointer-events: none;
}

/* =========================================================
   ANIMATIONS
========================================================= */
.unlock-animate {
  animation: fadeUp 0.6s ease-out;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse-cta {
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes legend-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}



/* =========================================================
               Legend Fieldset (White)
            ========================================================= */
/* .legend-fieldset {
    /*   background: #ffffff; */
/* color: #000;
border-color: #ecdb41;
color: rgb(255, 255, 255); */
*/
    /* background-color: rgb(2, 2, 2);
} */

.form-check-input {
  background-color: pink;
  border-color: firebrick;
  accent-color: green;
}



.article-content {
  color: var(--bs-dark);
  background-color: var(--bs-light);
}
/* Column container */
.row {
  display: flex;
  /* flex-shrink: 3;
            height: 100%; */
  flex-wrap: nowrap;
  margin: 0;
}

.media-grid {
  flex-wrap: wrap !important;
}

.custom-article-container {
  /* max-width: 960px; */
  margin-left: auto;
  margin-right: auto;
  background-color: #f8f9fa; /* Bootstrap's bg-light */
  color: #212529; /* Bootstrap's text-dark */
  border: 8px double #c0c0c0; /* double silver-ish border */
  border-radius: 2rem; /* rounded corners */
  padding: 1.5rem; /* padding */
  line-height: 1.75;
  font-size: 1.25rem;
  font-weight: 400;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
  text-align: left;
}

.custom-article-container a {
  color: #212529; /* Bootstrap's text-dark */
  text-decoration: underline;
}

.custom-article-container a:hover {
  color: #0a58ca; /* Bootstrap's default link hover */
  text-decoration: none;
}

.custom-modal-content {
  background-color: #f8f9fa !important; /* Bootstrap's light gray */
  color: #212529; /* Bootstrap's text-dark color */
}

/* ---------- 
}

/* Animation keyframes */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.lifaq {
  display: block;
  text-decoration: none;
  padding: 2px 20px;
  /* color: #007bff;*/ /* Bootstrap primary color or customize */
  font-weight: 600;
 
  color:black;
    list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.lifaq:hover {
  text-decoration: underline;
  background-color: #f8f9fa;
  color: #000000;
}
li {
  list-style: none;
}

/* Optional: Remove list-style marker from the <li> */
#listarticle li {
  list-style: none;
  margin-bottom: 4px;
}

#listarticle {
  padding-left: 0;
  margin: 0;
}

#listarticle .nav-link.lifaq {
  color: #333;
  padding: 0.75rem 1rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease-in-out;
}

#listarticle .nav-link.lifaq:hover,
#listarticle .nav-link.lifaq.active {
  background-color: #f8f9fa; /* light gray */
  border-left: 3px solid #007bff;
  color: #000;
}

.contact-large-font {
  font-size: 1.5rem; /* or 1.25rem, 18px, etc. */
  line-height: 1.6;
}

.custom-article-container {
  color: #212529;
  line-height: 1.75;
  font-size: 1.25rem;
  font-weight: 400;
  text-align: left;
}

img:not(.static_map) {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}



.mapbox svg {
    pointer-events: none;
}

/* ➡️ Result:

    Page scroll always works

    Wheel never reaches the SVG

    No zoom, no drag

✅ Re-enable interaction when user activates the map
2️⃣ Add an “active” class toggle */

.mapbox.active svg {
    pointer-events: auto;
    cursor: grab;
}

/* ✅ Minimal JS to activate / deactivate



✔ Click = map becomes interactive
✔ Mouse leaves = page scroll restored
✅ Optional: overlay hint (recommended UX) */
/* 
.mapbox::after {
    content: "Click to enable zoom";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    color: #333;
    font-size: 0.9rem;
    pointer-events: none;
}

.mapbox.active::after {
    display: none;
} */




.text-muted {
  --bs-text-opacity: 1;
  color: rgb(94, 94, 94) !important;
}



.modal {
 
  top: 100px;
}



.video-container {
    position: relative;
    border: 2px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

video {
    width: 100%;
    height: auto;
    display: block;
    text-center;
}

.caption {
    font-size: 1rem;
    margin-bottom: 10px;
    font-style: italic;
}

.disclaimer {
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 20px;
}


 

/* Extra CSS to force Plotly 3.3.0 canvas to fill container */
#profile, 
#profile .js-plotly-plot, 
#profile .gl-container, 
#profile canvas, 
#profile svg {
  width: 100% !important;
  height: 100% !important;
}


.generic-autocomplete.disabled {
  opacity: 0.5;
  pointer-events: none;
}




/* -------------------------------
   Cards & Modals
---------------------------------*/
.card,
.modal-content {
    border-color: var(--bs-primary);
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    }

.modal-header {
    background-color: var(--bs-primary);
    color: #1c1c1c;
}

.modal-footer {
    border-top: 2px solid var(--bs-primary);
}

/* -------------------------------
   Badges
---------------------------------*/
.badge-primary {
    background-color: var(--bs-primary);
    color: #1c1c1c;
}

.badge-warning {
    background-color: var(--bs-warning);
    color: #1c1c1c;
}

/* -------------------------------
   Links
---------------------------------*/
a,
a:hover {
    color: var(--bs-primary);
    text-decoration: none;
}

    a:hover {
        color: var(--bs-primary-hover);
    }

/* -------------------------------
   Pricing Cards
---------------------------------*/
.pricing-card {
    background: #1c1c1c;
    color: #f5d76e;
    border: 2px solid var(--bs-primary);
    border-radius: 1rem;
    padding: 1rem;
    width: 18rem;
    box-shadow: 0 8px 15px rgba(0,0,0,0.5);
    margin: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.7);
    }

.pricing-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.pricing-price {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pricing-features li {
    margin-bottom: 0.3rem;
}

.featured-badge {
    background: var(--bs-primary);
    color: #1c1c1c;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* -------------------------------
   Locked / Unlocked cards
---------------------------------*/
.unlocked-card {
    border-color: #00ff99;
    box-shadow: 0 8px 20px rgba(0,255,153,0.5);
}

.locked-card {
    opacity: 0.6;
    filter: grayscale(60%);
}

/* -------------------------------
   Upgrade / Payment Modals
---------------------------------*/
#upgradeModal .modal-content,
#paymentModal .modal-content {
    border: 2px solid var(--bs-primary);
}

#upgradeModal .modal-header,
#paymentModal .modal-header {
    background-color: var(--bs-primary);
    color: #1c1c1c;
}

#upgradeModal .modal-footer,
#paymentModal .modal-footer {
    border-top: 2px solid var(--bs-primary);
}

/* -------------------------------
   Animations
---------------------------------*/
.unlock-animate {
    animation: fadeUp 0.6s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-cta {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
