/* side-menu.css — deployable left-side navigation drawer for the Wodel-Test
 * website, shaped after the Gotten website drawer: brand panel with a white
 * logo tile, tagline, action pills, section labels and icon-led rounded option
 * rows — in the original Wodel-Test identity: Source Code Pro, the terminal
 * green #1F7F1F on near-black (#242d24 body tone), grey #777 labels and the
 * theme's glow hovers. The toggle sits just below the fixed Bootstrap navbar,
 * and the drawer stack renders above it. */

.side-menu-toggle {
  position: fixed;
  top: 62px;
  left: 14px;
  z-index: 1035;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(31, 127, 31, 0.8);
  background-color: #0a0a0a;
  background-image: linear-gradient(135deg, #000000 0%, #143814 55%, #1F7F1F 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.side-menu-toggle:hover,
.side-menu-toggle:focus {
  transform: scale(1.06);
  box-shadow: 0 0 14px rgba(31, 127, 31, 0.65);
  outline: none;
}

.side-menu-toggle:focus-visible {
  outline: 2px solid #1F7F1F;
  outline-offset: 2px;
}

.side-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #1F7F1F;
}

.side-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1050;
  width: 320px;
  max-width: 85vw;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #161d16;
  background-image: linear-gradient(175deg, #050505 0%, #242d24 58%, #2a4d14 100%);
  color: #d2d2d2;
  font-family: "Source Code Pro", Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 15px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6);
  border-right: 1px solid rgba(31, 127, 31, 0.35);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
}

body.side-menu-open .side-menu {
  transform: translateX(0);
}

body.side-menu-open .side-menu-overlay {
  opacity: 1;
  visibility: visible;
}

body.side-menu-open {
  overflow: hidden;
}

/* ---------- brand panel (Gotten layout) ---------- */

.side-menu-brand {
  position: relative;
  padding: 28px 26px 20px;
  margin-bottom: 4px;
}

.side-menu-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #d2d2d2;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.side-menu-close .material-icons {
  font-size: 20px;
  line-height: 1;
}

.side-menu-close:hover,
.side-menu-close:focus {
  background: rgba(31, 127, 31, 0.25);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(31, 127, 31, 0.5);
  outline: none;
}

.side-menu-close:focus-visible {
  outline: 2px solid #1F7F1F;
  outline-offset: 2px;
}

.side-menu-lockup-row {
  margin: 0;
  padding: 0 0 10px;
  display: flex;
  justify-content: center;
}

.side-menu-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(31, 127, 31, 0.55);
  border-radius: 20px;
  box-shadow: 0 0 18px rgba(31, 127, 31, 0.3);
  text-decoration: none;
}

.side-menu-lockup img {
  display: block;
  width: 148px;
  height: auto;
}

.side-menu-tagline {
  margin: 0 0 18px;
  color: rgba(210, 210, 210, 0.9);
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.side-menu-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.side-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.side-menu-btn--solid {
  background: #1F7F1F;
  color: #ffffff;
  border: 1px solid #1F7F1F;
}

.side-menu-btn--solid:hover,
.side-menu-btn--solid:focus {
  background: #2a9c2a;
  border-color: #2a9c2a;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(31, 127, 31, 0.55);
  text-decoration: none;
  outline: none;
}

.side-menu-btn--flat {
  background: transparent;
  color: #1F7F1F;
  border: 1px solid rgba(31, 127, 31, 0.7);
}

.side-menu-btn--flat:hover,
.side-menu-btn--flat:focus {
  background: rgba(31, 127, 31, 0.16);
  border-color: #1F7F1F;
  color: #4fbf4f;
  box-shadow: 0 0 10px rgba(31, 127, 31, 0.4);
  text-decoration: none;
  outline: none;
}

.side-menu-btn:focus-visible {
  outline: 2px solid rgba(31, 127, 31, 0.9);
  outline-offset: 2px;
}

/* ---------- section labels + icon rows (Gotten layout) ---------- */

.side-menu-nav {
  padding: 0 0 24px;
}

.side-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-menu-label {
  padding: 14px 26px 6px;
  color: #777777;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.side-menu-nav li {
  margin: 0;
}

.side-menu-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 16px 6px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #1F7F1F;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.side-menu-nav a .material-icons {
  font-size: 20px;
  line-height: 1;
  color: inherit;
  flex: none;
}

.side-menu-nav a:hover,
.side-menu-nav a:focus {
  background: rgba(31, 127, 31, 0.14);
  color: #4fbf4f;
  text-shadow: 0 0 0.1em rgba(31, 127, 31, 0.8);
  transform: translateX(2px);
  text-decoration: none;
  outline: none;
}

.side-menu-nav a:focus-visible {
  outline: 2px solid rgba(31, 127, 31, 0.9);
  outline-offset: 1px;
}

.side-menu-nav a.is-active {
  background: rgba(31, 127, 31, 0.28);
  color: #dff5df;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .side-menu,
  .side-menu-overlay,
  .side-menu-toggle,
  .side-menu-nav a {
    transition: none;
  }
}

@media print {
  .side-menu-toggle,
  .side-menu-overlay,
  .side-menu {
    display: none !important;
  }
}

/* ---------- content overflow guard (unrelated to the drawer) ----------
 * The theme constrains content images via JavaScript ($("img").addClass(
 * "img-responsive") in main.js). If any script ever fails, oversized media
 * would overflow the column, as happened while d3.js was missing from
 * head.html. This static rule makes the constraint unconditional. */

.content-div img,
.content-div iframe,
.content-div video,
.content-div embed,
.content-div object {
  max-width: 100%;
  height: auto;
}
