/* GLOBAL + BACKGROUND */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    background: linear-gradient(270deg, #000000, #5fa5d4, #5fa5d4, #000000);
    background-size: 400% 400%;
    animation: shimmerBG 12s ease infinite;
}

@keyframes gradientShift {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

h1, h2, h3 { color: #3a76e5; }

/* Bubbly, outlined, gold shimmer title */
.page-header .shimmer {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;

  /* gold ? white ? gold animated fill */
  background: linear-gradient(90deg, #5fa5d4 0%, #FFFFFF 50%, #0839c2 100%);
  background-size: 200% auto;
  animation: titleShimmer 3s linear infinite;

  /* show the gradient as text */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */

  /* thin black outline so it pops on any bg */
  -webkit-text-stroke: 1px #000;
  
   /* spacing & shaping fixes */
  letter-spacing: 0.02em;            /* tiny spread prevents collisions */
  font-variant-ligatures: none;      /* no fi/ff/etc. ligatures */
  font-feature-settings: "liga" 0, "clig" 0;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* keep position the same (left) */
  display: inline-block;
  margin: 0;
}

/* keep the header content left-aligned */
.page-header { text-align: left; }

/* animation for the title fill */
@keyframes titleShimmer {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Optional: softer outline on small screens */
@media (max-width: 600px) {
  .page-header .shimmer { -webkit-text-stroke: 1.5px #000; }
}


.subtitle {
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

header {
    text-align: left;   /* make sure everything inside <header> is left-aligned */
    margin-left: 0;     /* reset any centering margin */
}




/* ========= SECTIONS ========= */

section {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(6px);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}


/* ========= SECTION HEADERS ========= */
section h2 {
    position: relative;
    font-family: 'Montserrat', sans-serif; /* match sidebar */
    font-size: 1.6rem;
    font-weight: 700;
    color: #3A76E5; /* DRACO blue text */
    margin-bottom: 14px;
    padding-bottom: 6px;

    /* black outline for readability */
    -webkit-text-stroke: 0.8px #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* gold underline accent */
section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;  /* adjust underline length */
    height: 3px;
    background-color: #000000; /* UCF gold */
    border-radius: 2px;
}


/* ========= SIDEBAR ========= */
.sidebar {
    width: 250px;
    background-color: #3a76e5;
    color: white;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    padding-top: 20px;
    
    font-family: 'Montserrat', sans-serif;
}

sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar a {
    display: block;
    margin: 10px 20px;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.sidebar a:hover {
    background: #fff;
    color: #3a76e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ========= MAIN LAYOUT ========= */
.main {
    margin-left: 250px;
    padding: 20px;
    flex-grow: 1;
    /* No background so the gradient shows */
}



/* ========= TEAM ========= */
.team-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.team-member {
    text-align: center;       /* already centers content */
    margin: 10px;
    width: 200px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;      /* centers headshot + text horizontally */
}


.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* LED chase border effect */
.team-member::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    pointer-events: none;
    background:
      linear-gradient(90deg, #3A76E5 25%, transparent 25%) 0 0 / 12px 3px no-repeat,    /* top */
      linear-gradient(90deg, #3A76E5 25%, transparent 25%) 0 100% / 12px 3px no-repeat, /* bottom */
      linear-gradient(0deg,  #3A76E5 25%, transparent 25%) 0 0 / 3px 12px no-repeat,    /* left */
      linear-gradient(0deg,  #3A76E5 25%, transparent 25%) 100% 0 / 3px 12px no-repeat; /* right */
    opacity: 0;
    transition: opacity .2s;
}

.team-member:hover::after {
    opacity: 1;
    animation: led-chase .9s linear infinite;
}

@keyframes led-chase {
    0%   { background-position: 0 0, 0 100%, 0 0, 100% 0; }
    100% { background-position: 100% 0, 100% 100%, 0 100%, 100% 100%; }
}


.headshot {
    width: 150px;           /* set width */
    height: 150px;          /* set height */
    border-radius: 0;       /* ensure square corners */
    object-fit: cover;      /* crop/scale image nicely */
    border: 2px solid #3a76e5;
    margin-bottom: 10px;
    display: block;
}
.crop-annesley {
    width: 150px;           /* set width */
    height: 150px;          /* set height */
    border-radius: 0;       /* ensure square corners */
    object-fit: cover;      /* crop/scale image nicely */
    border: 2px solid #3a76e5;
    margin-bottom: 10px;
    display: block;
}


.team-member h3 {
    margin: 5px 0 2px 0;
    color: #004f97;
}

.team-member p {
    margin: 0;
    font-style: italic;
}

/* SECTION */
section h2 {
    background-color: transparent;  /* remove background */
    padding: 0;                     /* remove padding */
    border-left: none;               /* remove the left bar */
    border-radius: 0;
    display: block;                  /* normal block element */
}

/* ========= BUTTON LINKS ========= */

.doc-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #3a76e5;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.25s, transform 0.15s;
    margin-bottom: 6px;
}

.doc-link:hover {
    background-color: #2f5ab0;
    transform: translateY(-1px);
}

/* ========= SPONSORS / FOOTER ========= */
.sponsor-logo {
    width: 120px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

footer {
    text-align: center;
    padding: 20px 0 10px;
    background-color: rgba(248,248,248,0.75);
    border-radius: 12px;
}

.footer-logos img {
    width: 100px;
    margin: 0 10px;
    vertical-align: middle;
}

/* Header layout + subtitle color */
.page-header { text-align: left; }

.page-header .subtitle {
  color: #fff !important;              /* force white */
  font-weight: 500;
  margin-top: -4px;                    /* optional tighter stack */
  text-shadow: 0 1px 4px rgba(0,0,0,.7);  /* readable on dark bg */
}

.block-chip-row{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 6px}
.block-chip{
  position:relative;
  padding:10px 16px;
  border-radius:12px;
  background:#fff;
  font-weight:700;
  letter-spacing:.2px;
  border:2px solid #3A76E5;      /* DRACO blue edge */
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:transform .2s, box-shadow .2s, border-color .2s;
}

/* gold “pads” appear on hover for project description section */
.block-chip::after,.block-chip::before{
  content:""; position:absolute; top:50%; transform:translateY(-50%);
  width:8px; height:8px; border-radius:50%;
  background:#FFC904; box-shadow:0 0 0 2px rgba(0,0,0,.15) inset;
  opacity:0; transition:opacity .2s, left .2s, right .2s;
}
.block-chip::before{left:-6px}
.block-chip::after{right:-6px}
.block-chip:hover{
  transform:translateY(-2px) rotate(-1deg);
  box-shadow:0 6px 16px rgba(0,0,0,.2);
  border-color:#FFC904;           /* hint: snaps “electrically” */
}
.block-chip:hover::after,.block-chip:hover::before{opacity:1}
.block-chip.input{border-style:dashed}
.block-chip.logic{border-style:solid}
.block-chip.output{border-style:double}
.block-chip.brain{border-width:3px}

/* SOCIAL HEADERS */

.social-links {
    margin-top: 8px;
}

.social-links a {
    font-size: 1.5em;
    color: #3A76E5; /* DRACO blue */
    margin: 0 6px;
    transition: color 0.3s, transform 0.2s;
}

.social-links a:hover {
    color: #FFC904; /* UCF gold */
    transform: scale(1.2);
}

/* ========= ADVISORS & REVIEWERS ========= */
#advisors a, #reviewers a {
    color: #3A76E5;           /* DRACO blue */
    text-decoration: none;
    font-weight: 500;
}

#advisors a:hover, #reviewers a:hover {
    color: #FFC904;           /* UCF gold on hover */
    text-decoration: underline;
}

#bg-net {
  position: fixed;
  inset: 0;
  z-index: -2;
}

/* ========= VIDEO EMBEDS ========= */
/* ========= VIDEO EMBEDS ========= */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* HAMBURGER BUTTON */
.hamburger {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;
    background: #3a76e5;
    color: white;
    border: none;
    padding: 10px 12px;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;
    display: block; /* Hidden on desktop */
}

/* Show hamburger on smaller screens */
@media (max-width: 900px) {
    .hamburger {
        display: block;
    }
}

/* COLLAPSING SIDEBAR */
.sidebar {
    transition: transform 0.3s ease-in-out;
}

.sidebar {
    z-index: 9998; /* lower than hamburger */
}


/* Hidden sidebar state */
.sidebar.collapsed {
    transform: translateX(-260px);
}

/* MAIN CONTENT shifts left when sidebar collapses */
.main {
    transition: margin-left 0.3s ease;
}

.main.collapsed {
    margin-left: 0;
}

.hamburger {
    display: block !important;
    z-index: 99999 !important;
}

.sidebar {
    z-index: 9998 !important;
}


