/* =========================================================
   TRIDENT — Penn State iGEM 2026
   Global Styles
   ========================================================= */

/* ---------- COLOR PALETTE ---------- */

:root {
  --trident-blue: #98C1D9;
  --trident-periwinkle: #6969B3;
  --trident-purple: #533A7B;
  --trident-dark-purple: #4B244A;
  --trident-near-black: #25171A;
  --trident-black: #000000;

  --trident-white: #F7F7F7;
  --trident-light: #E9E7F2;
}


/* ---------- GLOBAL ---------- */

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--trident-near-black);
    color: var(--trident-white);
    font-family: Arial, Helvetica, sans-serif;
}

#root {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

a {
  color: inherit;
}


/* =========================================================
   TRIDENT HOMEPAGE
   ========================================================= */

.trident-home {
  width: 100%;
  overflow: hidden;
}


/* ---------- HERO ---------- */

.trident-hero {
  min-height: calc(100vh - 56px);
  position: relative;

  display: flex;
  align-items: center;

  padding: 100px 8%;

  background:
    radial-gradient(
      circle at 80% 45%,
      rgba(105, 105, 179, 0.35),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      var(--trident-black),
      var(--trident-dark-purple) 55%,
      var(--trident-purple)
    );

  isolation: isolate;
}


/* ---------- HERO CONTENT ---------- */

.trident-hero-content {
  position: relative;
  z-index: 2;

  max-width: 850px;
}


.trident-eyebrow {
  margin-bottom: 18px;

  color: var(--trident-blue);

  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}


.trident-hero h1 {
  margin: 0;

  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.85;

  font-weight: 800;
  letter-spacing: -0.06em;

  background: linear-gradient(
    90deg,
    var(--trident-white),
    var(--trident-blue),
    var(--trident-periwinkle)
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


.trident-acronym {
  max-width: 850px;

  margin-top: 30px;

  color: var(--trident-blue);

  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;

  letter-spacing: 0.04em;
}


.trident-tagline {
  max-width: 650px;

  margin-top: 20px;

  color: rgba(247, 247, 247, 0.8);

  font-size: 1.2rem;
  line-height: 1.7;
}


/* ---------- BUTTONS ---------- */

.trident-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;

  margin-top: 35px;
}


.trident-button {
  display: inline-block;

  padding: 14px 25px;

  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.trident-button:hover {
  transform: translateY(-3px);
}


.trident-button.primary {
  background: var(--trident-blue);
  color: var(--trident-near-black);

  box-shadow: 0 10px 30px rgba(152, 193, 217, 0.2);
}


.trident-button.primary:hover {
  box-shadow: 0 15px 40px rgba(152, 193, 217, 0.35);
}


.trident-button.secondary {
  border: 1px solid rgba(152, 193, 217, 0.5);

  color: var(--trident-white);

  background: rgba(255, 255, 255, 0.04);
}


.trident-button.secondary:hover {
  background: rgba(152, 193, 217, 0.1);
}


/* =========================================================
   ANIMATED EXOSOME / ORB
   ========================================================= */

.trident-orb {
  position: absolute;

  right: 8%;
  top: 50%;

  width: min(32vw, 450px);
  aspect-ratio: 1;

  transform: translateY(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 30%,
      var(--trident-blue),
      var(--trident-periwinkle) 35%,
      var(--trident-purple) 65%,
      var(--trident-dark-purple)
    );

  box-shadow:
    0 0 60px rgba(105, 105, 179, 0.45),
    0 0 130px rgba(83, 58, 123, 0.3);

  animation: tridentFloat 6s ease-in-out infinite;

  z-index: 1;
}


.trident-orb::before,
.trident-orb::after {
  content: "";

  position: absolute;

  inset: -20px;

  border-radius: 50%;

  border: 1px solid rgba(152, 193, 217, 0.25);
}


.trident-orb::after {
  inset: -50px;

  border-color: rgba(105, 105, 179, 0.18);

  animation: tridentPulse 4s ease-in-out infinite;
}


.trident-orb-inner {
  position: absolute;

  width: 35%;
  height: 35%;

  left: 32.5%;
  top: 32.5%;

  border-radius: 50%;

  background: rgba(247, 247, 247, 0.12);

  border: 1px solid rgba(247, 247, 247, 0.3);

  box-shadow:
    inset 0 0 30px rgba(247, 247, 247, 0.15),
    0 0 30px rgba(152, 193, 217, 0.2);
}


@keyframes tridentFloat {
  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 18px));
  }
}


@keyframes tridentPulse {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.trident-section,
.trident-science,
.trident-framework {
  padding: 110px 8%;
}


.trident-section {
  background: var(--trident-near-black);
}


.trident-science {
  background:
    linear-gradient(
      180deg,
      var(--trident-near-black),
      var(--trident-dark-purple)
    );
}


.trident-framework {
  background: var(--trident-black);
}


.trident-section-content {
  max-width: 1200px;
  margin: 0 auto;
}


.trident-section h2 {
  max-width: 1200px;

  margin: 0 0 25px;

  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
}


.trident-section p {
  max-width: 1000px;

  color: rgba(247, 247, 247, 0.72);

  font-size: 1.1rem;
  line-height: 1.8;
}

.table tr {
  --bs-table-bg: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.06);
  --bs-table-color: rgba(247, 247, 247, 0.72);
  --bs-table-striped-color: rgba(247, 247, 247, 0.72);
  --bs-table-border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.18)
}

/* =========================================================
   PROJECT CARDS
   ========================================================= */

.feature-card {
        height: 100%;
        padding: 1.25rem 1.5rem;
        background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.06);
        border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.18);
        border-left: 4px solid var(--bs-primary, #0d6efd);
        border-radius: 0.375rem;
  }
  .feature-card h5 {
    margin-bottom: 0.5rem;
  }
  .feature-card p {
    margin-bottom: 0;
  }

.trident-cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  margin-top: 50px;
}


.trident-card {
  min-height: 280px;

  padding: 35px;

  border: 1px solid rgba(152, 193, 217, 0.18);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(105, 105, 179, 0.14),
      rgba(37, 23, 26, 0.7)
    );

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}


.trident-card:hover {
  transform: translateY(-8px);

  border-color: rgba(152, 193, 217, 0.55);

  background:
    linear-gradient(
      145deg,
      rgba(105, 105, 179, 0.25),
      rgba(37, 23, 26, 0.8)
    );
}


.trident-card span {
  color: var(--trident-blue);

  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}


.trident-card h3 {
  margin-top: 45px;

  font-size: 2rem;
}


.trident-card p {
  font-size: 1rem;
}


/* =========================================================
   FRAMEWORK
   ========================================================= */

.trident-framework-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 2px;

  margin-top: 50px;

  border: 1px solid rgba(152, 193, 217, 0.15);
}


.trident-framework-grid > div {
  padding: 40px;

  background: rgba(105, 105, 179, 0.08);

  border: 1px solid rgba(152, 193, 217, 0.1);
}


.trident-framework-grid strong {
  display: block;

  margin-bottom: 15px;

  color: var(--trident-blue);

  font-size: 1.5rem;
}


.trident-framework-grid p {
  margin: 0;

  font-size: 1rem;
}


/* =========================================================
   FINAL SECTION
   ========================================================= */

.trident-final {
  min-height: 60vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 100px 8%;

  text-align: center;

  background:
    radial-gradient(
      circle,
      var(--trident-purple),
      var(--trident-black) 70%
    );
}


.trident-final h2 {
  margin: 0 0 35px;

  font-size: clamp(3rem, 7vw, 7rem);
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 900px) {
  .trident-hero {
    min-height: auto;

    padding-top: 80px;
    padding-bottom: 100px;
  }

  .trident-orb {
    position: relative;

    right: auto;
    top: auto;

    width: min(65vw, 350px);

    margin: 80px auto 0;

    transform: none;
  }

  .trident-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .trident-cards {
    grid-template-columns: 1fr;
  }

  .trident-framework-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {
  body {
    padding-top: 56px;
  }

  .trident-hero {
    padding-left: 6%;
    padding-right: 6%;
  }

  .trident-section,
  .trident-science,
  .trident-framework {
    padding: 80px 6%;
  }

  .trident-hero h1 {
    font-size: 22vw;
  }

  .trident-acronym {
    font-size: 1rem;
  }

  .trident-tagline {
    font-size: 1rem;
  }

  .trident-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .trident-framework-grid > div {
    padding: 30px;
  }
}
/* =========================================================
   TRIDENT TEXT CONTRAST FIX
   ========================================================= */

/* Main section headings */
.trident-home h2,
.trident-home h3 {
  color: #F7F7F7 !important;
}

/* Paragraph text */
.trident-home p {
  color: rgba(247, 247, 247, 0.85) !important;
}

/* Hero text */
.trident-hero h1 {
  color: transparent !important;
}

.trident-hero .trident-acronym {
  color: #98C1D9 !important;
}

.trident-hero .trident-tagline {
  color: #F7F7F7 !important;
}

/* Section labels */
.trident-home .trident-eyebrow {
  color: #98C1D9 !important;
}

/* Card titles */
.trident-card h3 {
  color: #F7F7F7 !important;
}

/* Card descriptions */
.trident-card p {
  color: rgba(247, 247, 247, 0.78) !important;
}

/* Framework titles */
.trident-framework-grid strong {
  color: #98C1D9 !important;
}

/* Framework descriptions */
.trident-framework-grid p {
  color: rgba(247, 247, 247, 0.78) !important;
}

/* Final section */
.trident-final h2 {
    color: #F7F7F7 !important;
}
/* =========================================================
   TRIDENT — FULL PAGE BACKGROUND
   ========================================================= */

/* Remove the original iGEM template spacing around the page */
.container:has(.trident-home) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Make the TRIDENT page fill the entire available width */
.trident-home {
    width: 100% !important;
    min-height: 100vh;

    margin: 0 !important;
    padding: 0 !important;

    background: var(--trident-near-black);

    overflow: hidden;
}

/* Make the hero full width */
.trident-hero {
    width: 100% !important;
    min-height: 100vh;

    margin: 0 !important;

    border-radius: 0;
}

/* Make all TRIDENT sections full width */
.trident-section,
.trident-science,
.trident-framework,
.trident-final {
  width: 100% !important;
  margin: 0 !important;
}

/* Prevent Bootstrap rows from creating unwanted horizontal spacing */
.trident-home .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* =========================================================
   ADDED DURING TSX -> HTML CONVERSION
   The original React source referenced these classes
   (bg-hero, bd-callout, bd-callout-info, not-found-title)
   without ever defining them in App.css — they likely came
   from an external iGEM template stylesheet that wasn't
   part of this repo. Reasonable defaults are added below so
   the converted pages don't look broken.
   ========================================================= */

/* Generic page header banner (used by Header component on every page) */
.bg-hero {
  background: linear-gradient(
    135deg,
    var(--trident-black),
    var(--trident-dark-purple) 55%,
    var(--trident-purple)
  );
}

/* Bootstrap-docs-style "callout" box used throughout content pages */
.bd-callout {
  padding: 1.25rem 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(247, 247, 247, 0.15);
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
}

.bd-callout-info {
  border-left-color: var(--trident-blue);
}

.bd-callout h4 {
  color: var(--trident-blue);
  margin-bottom: 0.75rem;
}

.bd-callout a {
  color: var(--trident-blue);
  text-decoration: underline;
}

/* 404 page */
.not-found-title {
  color: var(--trident-white);
  margin-top: 3rem;
}

/* Keep the fixed-top navbar from covering page content */
body {
  padding-top: 56px;
}

/* Footer links */
.footer a {
  color: var(--trident-blue);
}

.footer a.subfoot {
  color: var(--trident-blue);
}

/* Shared navigation: compact, opaque surfaces; Bootstrap owns menu behavior. */
.trident-navbar {
  --bs-navbar-color: #ccc9d8;
  --bs-navbar-hover-color: var(--trident-white);
  --bs-navbar-active-color: var(--trident-blue);
  --bs-navbar-brand-color: var(--trident-white);
  --bs-navbar-brand-hover-color: var(--trident-blue);
  min-height: 56px;
  padding-block: 6px;
  background: #10111c;
  border-bottom: 1px solid rgba(152,193,217,.18);
}
.trident-navbar .navbar-brand {
  margin-right: 32px;
  padding-block: 6px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: .15em;
  transition: color .18s ease;
}
.trident-navbar .navbar-nav { gap: 4px; }
.trident-navbar .navbar-nav .nav-link {
  padding: 10px 13px;
  border-radius: 7px;
  font-size: .88rem;
  line-height: 24px;
  color: #ccc9d8;
  transition: color .18s ease, background-color .18s ease;
}
.trident-navbar .navbar-nav .nav-link:hover,
.trident-navbar .navbar-nav .nav-link:focus-visible,
.trident-navbar .navbar-nav .nav-link.show {
  color: var(--trident-white);
  background: rgba(152,193,217,.07);
}
.trident-navbar .navbar-nav .nav-link.active {
  color: var(--trident-blue);
  background: rgba(105,105,179,.13);
  box-shadow: inset 0 -2px rgba(152,193,217,.65);
}
.trident-navbar .dropdown-toggle::after {
  margin-left: 8px;
  vertical-align: .16em;
  opacity: .7;
}
.trident-navbar .dropdown-menu {
  --bs-dropdown-bg: #191724;
  --bs-dropdown-color: #e2deeb;
  --bs-dropdown-link-color: #e2deeb;
  --bs-dropdown-link-hover-color: var(--trident-white);
  --bs-dropdown-link-hover-bg: rgba(152,193,217,.08);
  --bs-dropdown-link-active-color: var(--trident-blue);
  --bs-dropdown-link-active-bg: rgba(105,105,179,.19);
  min-width: 224px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid rgba(152,193,217,.19);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.trident-navbar .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .86rem;
  line-height: 1.5;
  transition: color .16s ease, background-color .16s ease;
}
.trident-navbar .dropdown-item.active { box-shadow: inset 2px 0 var(--trident-blue); }
.trident-navbar .navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid rgba(152,193,217,.25);
  border-radius: 8px;
  box-shadow: none;
}
.trident-navbar .navbar-toggler-icon { width: 24px; height: 24px; }
.trident-navbar a:focus-visible,
.trident-navbar .navbar-toggler:focus-visible {
  outline: 2px solid var(--trident-blue);
  outline-offset: 3px;
  box-shadow: none;
}
.trident-navbar .nav-link:focus-visible,
.trident-navbar .dropdown-item:focus-visible {
  outline-offset: -2px;
}
@keyframes trident-menu-enter { from { opacity: 0; translate: 0 -3px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) and (min-width: 992px) {
  .trident-navbar .dropdown-menu.show { animation: trident-menu-enter .14s ease-out; }
}
@media (max-width: 991px) {
  .trident-navbar .navbar-collapse {
    max-height: calc(100svh - 57px);
    overflow-y: auto;
    overscroll-behavior: auto;
  }
  .trident-navbar .navbar-nav { gap: 3px; padding: 12px 0 16px; }
  .trident-navbar .dropdown-menu { margin: 4px 0 8px 12px; min-width: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .trident-navbar *, .trident-navbar *::after { animation: none !important; transition: none !important; }
}

/* Single-column articles with no accompanying sidebar: generous, bounded prose. */
.row > .trident-reading-layout { width: 100%; max-width: 1040px; }
