/* ============================================================
   SIMEON WATERS — PREMIUM NAVIGATION SYSTEM
   Desktop Menu • Mobile Panel • Dropdowns • Sticky Shrink
   ============================================================ */

/* ------------------------------
   GLOBAL HEADER WRAPPER
--------------------------------*/
#site-navigation {
  position: sticky;
  top: 100PX;
  z-index: 9999;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding: 18px 32px;
  transition: padding 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

#site-navigation.tw-shrink {
  background: #ffffff;
  border-bottom-color: rgba(15,23,42,0.08);
  box-shadow: 0 8px 24px rgba(15,23,42,0.16);
  padding: 10px 24px;
}

/* ------------------------------
   HEADER LAYOUT
--------------------------------*/
.tw-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.tw-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.tw-header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.tlp-portfolio-detail-wrap {
  margin-top: 80px; /* adjust this number to taste */
}

/* ------------------------------
   DESKTOP MENU
--------------------------------*/
@media (min-width: 1025px) {
  .tw-desktop-menu {
    position: absolute;      /* allows top positioning */
    top: 100px;              /* ⭐ EXACTLY 15px from the top */
    left: 50%;               /* center horizontally */
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;             /* ensures full-width centering */
    z-index: 9999;
  }
}

@media (min-width: 1025px) {
  .tw-icons-label {
    display: none !important;
  }
}


.tw-menu-root {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
   position: relative;
}


.tw-menu-root > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.tw-menu-root > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.tw-menu-root > li > a:hover {
  color: #1d4ed8;
}

.tw-menu-root > li > a:hover::after {
  width: 100%;
}

.tw-menu-root a.active {
  color: #1d4ed8;
  font-weight: 700;
}

.tw-menu-root a.active::after {
  width: 100%;
}
.tw-menu-root li.has-children {
  position: relative;
}

/* ------------------------------
   DROPDOWN MENU
--------------------------------*/
.tw-menu-root li.has-children .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15,23,42,0.18);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  list-style: none;
  margin: 0;
  z-index: 9999;
}

.tw-menu-root li.has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tw-menu-root li.has-children .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #0f172a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.tw-menu-root li.has-children .sub-menu li a:hover {
  background: #e5edff;
  color: #1d4ed8;
}

.tw-menu-root li.has-children > a::after {
  content: "▾";
  margin-left: 4px;
  font-size: 11px;
  transition: transform 0.25s ease;
}

.tw-menu-root li.has-children:hover > a::after {
  transform: rotate(180deg);
}

/* ------------------------------
   MOBILE PANEL
--------------------------------*/
.tw-mobile-panel {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100vh;
  background: #020617;
  padding: 22px;
  transition: left 0.35s ease;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.tw-mobile-panel.open {
  left: 0;
}

.tw-close-btn {
  font-size: 34px;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 18px;
  align-self: flex-end;
}

.tw-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tw-mobile-menu li a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease;
}

.tw-mobile-menu li a:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.tw-mobile-menu li.has-children .sub-menu {
  max-height: 0;
  overflow: hidden;
  padding-left: 8px;
  transition: max-height 0.32s ease;
  list-style: none;
  margin: 0;
}

.tw-mobile-menu li.open .sub-menu {
  max-height: 500px;
}

.tw-mobile-menu li.has-children .sub-menu li a {
  background: #e2e8f0;
  margin-bottom: 6px;
}

.tw-mobile-menu li.has-children > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.25s ease;
}

.tw-mobile-menu li.open > a::after {
  transform: rotate(180deg);
}

/* ------------------------------
   MOBILE MENU BUTTON
--------------------------------*/
.tw-mobile-open {
  display: none;
}

.tw-mobile-open span {
  font-size: 28px;
  cursor: pointer;
  color: #0f172a;
}

/* ------------------------------
   RESPONSIVE
--------------------------------*/
@media (max-width: 991px) {
  .tw-desktop-menu {
    display: none;
  }
  .tw-mobile-open {
    display: block;
  }
}

/* LOGO + NAME */
.tw-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.tw-logo {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 10px;
}


.tw-logo img {
  max-height: 42px;
  width: auto;
}

.tw-logo-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tw-icons {
  position: fixed;
  top: 100px; /* 15px + 50px lower */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 999999;
}

.tw-icons-label {
  font-size: 14px;
  font-weight: 700;
  color: #000000;        /* black label */
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 6px;    /* space above the hamburger */
  display: block;
}


/* Shrink name on scroll */
#site-navigation.tw-shrink .tw-logo-name {
  font-size: 17px;
}


.lang-fr .pdfprnt-buttons a {}
   /* French version */
.lang-fr .pdfprnt-buttons a {
    /* French style */
    background: #111;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.25s ease;
}

/* French hover */
.lang-fr .pdfprnt-buttons a:hover {
    background: #fff;
    color: #111 !important;
    transform: translateY(-2px);
}



}

.lang-en .pdfprnt-buttons a {
  /* English version */
.lang-en .pdfprnt-buttons a {
    /* English style */
    background: #fff;
    color: #111 !important;
    padding: 10px 22px;
    border-radius: 40px;
    border: 1px solid #111;
    transition: all 0.25s ease;
}

/* English hover */
.lang-en .pdfprnt-buttons a:hover {
    background: #111;
    color: #fff !important;
    transform: translateY(-2px);
}
}
/* ------------------------------------------
   PORTFOLIO HAMBURGER BUTTON
------------------------------------------- */
/* Portfolio hamburger */
.menu-toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 999999;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  font-size: 20px;
  border-radius: 6px;
  cursor: pointer;
}

/* Portfolio menu */
.left-vertical-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  padding-top: 80px;
  background: #fafafa;
  border-right: 1px solid #ddd;
  overflow-y: auto;
  transition: width 0.3s ease, transform 0.3s ease;
  z-index: 999998;
}
.left-vertical-menu .menu-item img {
  width: 100%;
  height: auto;
  display: block;
}




/* Collapsed portfolio menu */
.left-vertical-menu.collapsed {
  width: 0;
  transform: translateX(-260px);
  overflow: hidden;
}
.menu-button {
  display: inline-block;
  padding: 8px 14px;
  background: #f1f5f9;
  border-radius: 6px;
  color: #0f172a;
  font-weight: 600;
}

.menu-button:hover {
  background: #e2e8f0;

  color: #2563eb;          /* blue hover */
  transition: 0.2s ease;


}


/* Hide content when collapsed */
.left-vertical-menu.collapsed img,
.left-vertical-menu.collapsed .menu-button {
  display: none;
}

/* ------------------------------------------
   MOBILE FIX
------------------------------------------- */
@media (max-width: 768px) {
  body { margin-left: 0 !important; }
}
.tw-mobile-title {
  background: #000; /* black strip */
  color: #fff;      /* white text */
  padding: 20px 25px 10px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  
  text-align: center;
  letter-spacing: 2px;
}
.tw-language-switcher {
  position: fixed;
  top: 15px;          /* distance from top */
  left: 50%;          /* center horizontally */
  transform: translateX(-50%);
  z-index: 999999;
  text-align: center;
}


