/* css styles */


/* || General styles */

/* Import the font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200&display=swap');
:root {
  --main-font: 'Inter', sans-serif;
}

body {
  font-family: var(--main-font);
}


nav#TOC.toc-active h2#toc-title {
  color: white;
}

html{
  scroll-behavior: smooth;
}

/* Background page color */

body {
  background: linear-gradient(
    90deg,
    #2B558A 0%,
    #346CA9 50%,
    #7AB0E2 100%
  );
}


/* || Navbar style */

/* Navbar color */

.navbar {
  background: linear-gradient(
    90deg,
    #2B558A 0%,
    #346CA9 50%,
    #7AB0E2 100%
  );
}


/* Logo size */
.navbar-logo {
  max-height: 100px;
}

/* Navbar text color */
.navbar a {
  color: white;
}

/* Navbar text hover color */
.navbar a:hover {
  color: white;
}

/* Apply black hover to all links except those with .navbar-title */
 div#navbarCollapse.collapse.navbar-collapse a:hover {
  color: black;
}

/* Move navbar logo to the left to fit the logo */
.navbar-title {
  overflow: visible;
  padding-left: 10px; 
}


/* Animation for the navbar logo */

/* Navbar logo size */
.navbar-title img {
  max-height: calc(50px * 1.3); /* Increases max-height to accommodate the scaled image */
}

/* Navbar logo hover effect */
.navbar_logo_hover {
  border-radius: 100%;
  border: 2px solid #346CA9;
  box-shadow: 0px 0px 6px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 10s ease-in-out;
  animation: heartbeat 10s infinite;
}


/* Navbar logo hover effect transition */
.navbar-title img{
  transition:all .2s ease;
}

/* Keyframes for the heartbeat effect */
@keyframes heartbeat {
  0% {
    transform: scale(1);
    box-shadow: 0px 0px 6px 0 rgba(255, 255, 255, 0.7);
  }
  25% {
    transform: scale(1.05);
    box-shadow: 0px 0px 6px 0 rgba(255, 255, 255, 0.8);
  }
  40% {
    transform: scale(0.95);
    box-shadow: 0px 0px 4px 0 rgba(255, 255, 255, 0.6);
  }
  60% {
    transform: scale(1.05);
    box-shadow: 0px 0px 6px 0 rgba(255, 255, 255, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0px 0px 6px 0 rgba(255, 255, 255, 0.7);
  }
}

/* If there's an image inside, keep its styling */
.hover01 img {
  margin-left: -150px;
  margin-top: -150px;
  cursor: pointer;
}



/* || Animation for the text in the navbar logo */

.title-text {
  font-size: 0.7em;
  font-weight: bold;
  background-size: 200%;
  background-image: linear-gradient(
    105deg,
    #B0BEC5,  /* Soft gray-blue */
    #7AB0E2,  /* Light blue */
    white,  /* Teal */
    #7AB0E2,
    #B0BEC5
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: text 15s linear infinite both;
}


@keyframes text {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: 0 0;
  }
}

/* === DARTH Hero Section Styling === */

/* === Logo === */
.logo_intro {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .logo_intro {
    width: 150px;
  }
}

/* === Hero Section Layout === */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 85vh;
  color: white;
  position: relative;
  text-align: center;
  padding: 0 20px;
  margin-top: -100px; /* 👈 Adjust this value as needed */

}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    height: auto;
    overflow: hidden;
  }
}

.hero-content {
  width: 100%;
  z-index: 1;
}

/* === P5 Background Container === */
#container-p5 {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 0;
  overflow: hidden; /* 🔑 Prevent particles or canvas from overflowing */
}

/* === Highlight Block (Logo container) === */
.highlight img {
  display: block;
  margin: 0 auto;
}

/* === Title (h1) === */
h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 6vw;
  color: white;
  margin-bottom: 1rem;
  line-height: 1;
  letter-spacing: -0.05em;
  z-index: 10;
}

@media (max-width: 768px) {
  h1 {
    font-size: 10vw;
  }
}

/* === Subtitle / Name === */
.darth_name {
  font-size: 1.5em;
  color: #B0D4FF;
  font-weight: 100;
  letter-spacing: 0.1em;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .darth_name {
    font-size: 1em;
  }
}

/* === Slogan (h2) === */
h2 {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  max-width: 60vw;
  margin-top: 1rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1rem;
    max-width: 80vw;
  }
}


/* || Particles background */


canvas {
  background: transparent;
}


/* || Grid, Card, and Image Styles */

h5.no-anchor.card-title.listing-title {
  font-size: 1.1em;
  color: white;
  margin-top: 0px;
}

section#events.level2 h2 {
  color: white;
  font-size: 2em;
  margin-top: 0px;
}

/* Style the card text */
div.card-text.listing-description {
  font-size: 0.7em;
  color: white;
  margin-bottom: -20px;
}

/* Style the card box */
.quarto-grid-item.card.h-100.card-left {
  border: 4px solid #34495e;
  border-radius: 15px;
  overflow: hidden;
  background-color: #1b2a41;
  color: white;
}


/* Style the image itself */
.quarto-grid-item p.card-img-top img.thumbnail-image.card-img {
  width: 100%;
  height: 250px !important;
  object-fit: cover;
  object-position: center;  
}


/* Wraps image container */
.quarto-grid-item p.card-img-top {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;  
}

/* Actual image */
.quarto-grid-item p.card-img-top img.thumbnail-image.card-img {
  width: 100%;
  max-height: 420px;         /* adjust to taste */
  object-fit: cover;
  object-position: center;
  border-radius: 0;  /* no extra rounding, let container control shape */
}

/* Overlay gradient to merge with background */
.quarto-grid-item p.card-img-top::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 80px;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    #1b2a41 100%
  );
  pointer-events: none;
  z-index: 2;
}

.quarto-grid-item .card-attribution.card-text-small.end {
  margin-top: -110px;
  padding-top: -110px;
  line-height: 1.2;
}


html body.nav-fixed.quarto-light footer.footer div.nav-footer{
  background: #2B558A;
  color: white;
  z-index: 99999;
  position: relative;
}


/* Tight content: no extra vertical space */
footer.footer .nav-footer-left,
footer.footer .nav-footer-center,
footer.footer .nav-footer-right {
  margin: 0;
}

footer.footer .nav-footer .nav-footer-item {
  margin: 0;
  padding: 0;
  line-height: 1.1;
  font-size: 0.78rem;
}

@media (max-width: 770px) {
  html body.nav-fixed.quarto-light footer.footer .nav-footer {
    padding: 0.25rem 0.75rem !important;
    display: flex;
    flex-direction: column;        /* stack items */
    align-items: center;
    justify-content: center;
    gap: 0.15rem;                  /* tiny vertical gap */
  }

  footer.footer .nav-footer-left {
    order: 1;                      /* text first */
    margin: 0;
  }

  footer.footer .nav-footer-right {
    order: 2;                      /* icons below */
    margin: 0;
  }

  footer.footer .nav-footer .nav-footer-item {
    margin: 0;
    padding: 0;
    line-height: 1.1;
    font-size: 0.75rem;            /* keeps height small */
  }

  /* Make icons sit inline and tight */
  footer.footer .nav-footer-right .nav-footer-item {
    display: inline-flex;
    align-items: center;
    margin-left: 0.25rem;
  }
}

html body.nav-fixed.quarto-light footer.footer .nav-footer-center {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
}


li.nav-item.compact a.nav-link i.bi.bi-github,
li.nav-item.compact a.nav-link i.bi.bi-twitter-x,
li.nav-item.compact a.nav-link i.bi.bi-linkedin {
  color: #ffffff;
  font-size: 1.5em;
  transition:
    transform 0.25s cubic-bezier(0.19, 1, 0.22, 1),
    color 0.25s ease,
    text-shadow 0.25s ease;
  transform-origin: center;
}

/* Hover effect: apply when hovering the link, animate only the icon */
li.nav-item.compact a.nav-link:hover i.bi.bi-github,
li.nav-item.compact a.nav-link:hover i.bi.bi-twitter-x,
li.nav-item.compact a.nav-link:hover i.bi.bi-linkedin {
  transform: translateY(-2px) scale(1.18);
  color: #5bc0de;                /* tweak if you want brand colors later */
  text-shadow: 0 0 8px rgba(91, 192, 222, 0.6);
}


/* Default: unselected tabs (inactive) */
div#navbarCollapse.collapse.navbar-collapse a.nav-link:not(.active) {
  color: white !important;
  opacity: 0.8; /* optional subtle dimming */
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Hover effect for inactive tabs */
div#navbarCollapse.collapse.navbar-collapse a.nav-link:not(.active):hover {
  color: #2B558A !important; /* or any highlight color you prefer */
  opacity: 1;
}

/* Active tab — keep its distinct color */
div#navbarCollapse.collapse.navbar-collapse a.nav-link.active {
  color: #2B558A !important; /* gold highlight for active tab */
  font-weight: 600;
}


html body.nav-fixed.quarto-light header#quarto-header.headroom.fixed-top.headroom--top.headroom--not-bottom 
nav.navbar.navbar-expand-lg div.navbar-container.container-fluid button.navbar-toggler {
  color: white !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important; /* removes focus ring */
  background: transparent !important;
}

html body.nav-fixed.quarto-light header#quarto-header.headroom.fixed-top.headroom--top.headroom--not-bottom 
nav.navbar.navbar-expand-lg div.navbar-container.container-fluid button.navbar-toggler .navbar-toggler-icon {
  filter: invert(1); /* makes the hamburger bars white */
}

/* Force the detached search button icon to be WHITE, no bg */
html body.nav-fixed.quarto-light button.aa-DetachedSearchButton,
html body.nav-fixed.quarto-light button.aa-DetachedSearchButton * {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;

  color: #ffffff !important;    /* text + icon base */
  fill: #ffffff !important;     /* for filled icons */
  stroke: #ffffff !important;   /* for outlined icons */
}

/* Optional: tiny hover feedback, still no bg */
html body.nav-fixed.quarto-light button.aa-DetachedSearchButton:hover,
html body.nav-fixed.quarto-light button.aa-DetachedSearchButton:focus,
html body.nav-fixed.quarto-light button.aa-DetachedSearchButton:active {
  background: transparent !important;
  transform: scale(1.05);
  box-shadow: none !important;
  outline: none !important;
}





