/* IMPORT FONT */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

/* Define Colors */
:root {
  --background: #0a0a0f;
  --highlight: #1b4f5f;
  --main: #3bd6ff;
  --secondary: #1d3036;
  --tertiary: #cf8fc1;
  --quaternary: #853173;
  --text: #e5e5f0;
  --black: #000;
  --gray: #777777;
  --star: #fff20c;
}

/* Text selection color */
::selection {
  background-color: var(--highlight);
  color: var(--text);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY BASE */
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--main);
    line-height: 1.6;
    padding: 1rem;
    
    background-size: cover; /* for IE9+, Safari 4.1+, Chrome 3.0+, Firefox 3.6+ */
    -webkit-background-size: cover; /* for Safari 3.0 - 4.0 , Chrome 1.0 - 3.0 */
    -moz-background-size: cover; /* optional for Firefox 3.6 */ 
    -o-background-size: cover; /* for Opera 9.5 */
}

/* HEADER STYLES */
header {
    margin-bottom: 2rem;
}

/* LIST STYLES */
.list {
  color: var(--main);
  font-size: 1.1rem;
  display: inline-block;
  align-items: center;
  margin: 0;
  margin-left: 3rem;
  margin-right: 3rem;
}

.list h3 {
  margin-left: 1rem;
}

.list li {
  color: var(--main);
  list-style-position: inside;
}

.list a {
  color: var(--main);
  transition: color 0.3s, text-shadow 0.3s;
}

.list a:hover {
  color: var(--tertiary);
  text-shadow: 0 0 3px var(--quaternary);
}


/* NAV BAR */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem; /* space between THE DOCK and subtitle */
}

.logo-title {
  font-size: 2rem;
  color: var(--main);
  text-shadow: 0 0 5px var(--secondary), 0 0 10px var(--secondary);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-subtitle {
  font-size: 1rem;
  color: var(--main);
  font-weight: normal;
  text-transform: uppercase;
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: var(--main);
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links li a {
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--main);
    color: var(--main);
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.nav-links li a:hover {
    background-color: var(--main);
    color: var(--black);
}

#currentpage a {
    background-color: var(--main);
    color: var(--black);
}

/* SECTION */
section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--tertiary);
  text-shadow: 0 0 4px var(--quaternary), 0 0 10px var(--quaternary);
  margin-bottom: 1rem;
}

section p {
  color: #ccc;
  font-size: 1.1rem;
  padding: 1rem;
}

/* ABOUT SECTION */
.info {
  background-color: var(--background);
}

/* LOGO IMAGE */
#thedock {
  max-width: 150px;
  width: 100%;
  display: block;
  margin: 2rem auto;
  filter: drop-shadow(0 0 6px var(--main));
}

/* GALLERY IMAGES */
.gallery {
  justify-content: center;
  display: flex;
  margin: 3rem;
  height: auto;
}

.galleryphoto {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: .5rem;
  border: 3px solid var(--main);
  border-radius: 12px;
  box-shadow: 0 0 12px var(--main), 0 0 24px var(--secondary);
}

/* GALLERY STYLES */
/* UNIVERSAL GALLERY STYLES */
.gallery-stack {
  display: grid;                                   /* makes it flexible */
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.2rem;                                     /* space between images */
  justify-items: center;                           /* center images in their grid cell */
  margin: 2rem auto;
  max-width: 900px;                                 /* keeps gallery within page width */
  padding: 1rem;
}

/* Image styles */
.gallery-stack img {
  width: 100%;
  height: auto;
  border: 2px solid var(--quaternary);
  border-radius: 12px;
  box-shadow: 0 0 12px var(--quaternary);
  transition: transform 0.3s, box-shadow 0.3s;
}


/* FOOTER */
footer {
  text-align: center;
  margin-top: 3rem;
}

footer p {
  font-size: 0.9rem;
  color: var(--gray);
}

/**************************
*   ANNOUNCEMENT STYLES   *
***************************/
.announcementWrapper {
  display: flex;
  justify-content: center;   /* centers the whole group */
  align-items: center;
  gap: 2rem;                 /* space between logo and box */
  margin: 2rem auto;
  flex-wrap: wrap;           /* makes it mobile friendly */
}

.importantDates {
  margin: 0;
  padding: 1.5rem;
  border: 3px solid var(--tertiary);
  border-radius: 12px;
  background: var(--background);
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 12px var(--tertiary), 0 0 24px var(--quaternary);
}

.importantDates h2 {
  font-size: 1.5rem;
  color: var(--main);
  text-shadow: 0 0 6px var(--main), 0 0 12px var(--secondary);
  letter-spacing: 2px;
  margin-bottom: .5rem;
}

.importantDates a {
  text-decoration: underline;
  text-decoration-color: var(--main);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.datesList p {
  padding: .5rem;
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.datesList span {
  font-weight: bold;
  color: var(--tertiary);
  text-shadow: 0 0 4px var(--quaternary), 0 0 8px var(--quaternary);
}


/*********************
*   CONTACT STYLES   *
**********************/
.contactcontainer {
  display: flex;
  justify-content: center;
}

.contactcontainer a {
  color: inherit;
}

.contactcontainer p {
  text-align: left;
}

.contactsvg {
  fill: var(--main);
  width: 24px;
  height: 24px;
  vertical-align: middle; /* Aligns SVGs with the middle of the text */
  margin-bottom: 5px;     /* Fine-tuning */
}

/******************
*   TEAM STYLES   *
*******************/
.teamcontainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  padding: 2rem;
}

.teamcontainer p {
  text-align: left;
  line-height: 1.5;
  color: var(--text);
}

.team-member {
  border-radius: 16px;
  border: 2px solid var(--main);
  padding: 1.5rem;
  background: radial-gradient(circle at top left, var(--secondary), var(--background));
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4),
              0 0 24px rgba(0, 255, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* Change color, translate, and scale on box hover */
.team-member:hover{
  transform: translateY(-6px) scale(1.02);
  border-color: var(--tertiary);
  box-shadow: 0 0 10px var(--quaternary);
}

.team-member h3 {
  font-size: 1.7em;
  text-align: center;
  color: var(--main);
  text-shadow: 0 0 3px var(--secondary);
  margin: 0;
  margin-bottom: 0.8rem;
  transition: color 0.3s, text-shadow 0.3s;
}

/* Highlight name on box hover */
.team-member:hover h3 {
  color: var(--tertiary);
  text-shadow: 0 0 3px var(--secondary);
}

.teamcontainer a {
  color: var(--main);
  text-decoration: none;  /* Remove underline from link */
  transition: color 0.3s, text-shadow 0.3s;
}

.teamcontainer a:hover {
  color: var(--tertiary);
  text-shadow: 0 0 3px var(--quaternary);
}

/* SVG icons */
.contactsvg {
  width: 20px;
  height: 20px;
  fill: var(--main);
  vertical-align: middle;
  margin-right: 0.3rem;
  transition: fill 0.3s, filter 0.3s;
}

.teamcontainer a:hover + .contactsvg,
.contactsvg:hover {
  fill: var(--tertiary);
  filter: drop-shadow(0 0 6px var(--quaternary));
}


/**********************************
*   SUBPROJECTS / SKILLS STYLES   *
***********************************/
/* ul */
.skillsWrapper {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 0.8rem;
  padding: 0;
  list-style: none;
  padding-left: 11px;
}

/* div */
.skillWrapper {
  border-radius: 1rem;
  border-width: .15rem;
  border-style: solid;
  display: flex;
  padding: 0.2rem 0.8rem;   /* Space inside the card */
  transition: ease 0.3s, color 0.3s, text-shadow 0.3s;
}


/* div hover */
.skillWrapper:hover {
  transform: scale(1.05);   /* Slightly enlarge the card on hover */
  color: var(--tertiary);
  text-shadow: 0 0 3px var(--quaternary);
}

/* li */
.skill {
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

/************
*  SETLIST  *
*************/
.setlistcontainer {
  display: flex;
  justify-content: center;   /* centers the whole group */
  align-items: center;
}

.setlist {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.5rem 1rem;
  text-align: left;
  line-height: 2.2;

  border: 1.5px solid var(--main);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;

  max-width: 700px;

  background: rgba(8, 8, 12, 0.8);
  box-shadow: 0 0 12px var(--main), inset 0 0 15px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  overflow: hidden;
  position: relative;
  font-family: 'Outfit', sans-serif;
  color: var(--tertiary);
  letter-spacing: 0.6px;
}

/* time column */
.setlist-time {
  font-family: 'Share Tech Mono', monospace;
  color: var(--main);
  font-size: 1rem;
  text-shadow: 0 0 6px var(--main);
}

/* act info column */
.setlist-act {
  font-size: 0.95rem;
  color: var(--tertiary);
  text-shadow: 0 0 5px rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.4rem;
}

/* last line no border */
.setlist-act:last-of-type {
  border-bottom: none;
}

/* section header */
.setlist-title {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  color: var(--main);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--main), 0 0 25px var(--main);
  margin-bottom: 0.5rem;
}


/*****************
*  STARFIELD BG  *
******************/
body {
  background: black;
  overflow-x: hidden;
}

.starfield {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(ellipse at bottom, var(--secondary) 0%, var(--background) 100%);
  overflow: hidden;
  z-index: 0; /* background layer */
}

.starfield::before,
.starfield::after {
  content: "";
  position: absolute;
  top: -200%;
  left: -200%;
  width: 400%;
  height: 400%;
  background: transparent url("https://www.transparenttextures.com/patterns/stardust.png") repeat;
  opacity: .6;
  animation: starScroll 100s linear infinite;
  pointer-events: none;  /* <-- THIS lets clicks go through */
  z-index: 0;            /* push them behind */
}

.starfield::after {
  opacity: 0.2;
  animation-duration: 180s;
}

@keyframes starScroll {
  from { transform: translateY(0); }
  to { transform: translateY(1000px); }
}

main, header, footer, .teamcontainer {
  position: relative;
  z-index: 2;  /* content always above starfield */
}


/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--background);
    border-top: 1px solid #3bd6ff44;
    padding: 1rem 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links li a {
    width: 100%;
    display: block;
    font-size: 1rem;
  }

  .logo-title {
    font-size: 1.4rem;
  }
  
  .logo-subtitle {
    font-size: .9rem;
  }

  section h1 {
    font-size: 1.8rem;
  }

  #thedock {
    max-width: 220px;
  }

  /* PRESENTED BY */
  .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem; /* space between THE DOCK and subtitle */
  }

  /* LIST STYLES */
  .list {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  /* ABOUT STYLES */
  .aboutpage .list h3 {
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
  }

  .aboutpage .list a {
    font-size: 1rem;
    display: block;              /* stack them vertically */
    text-align: left;            /* align link text to the left */
    margin: 0.25rem 0;           /* optional space between links */
  }

  .aboutpage .list h1 {
    text-align: center;
  }

  .aboutpage .list a {
    text-align: left;
    margin: 0;
  }

  .aboutpage .list .skillsWrapper {
    justify-content: center;     /* center horizontally */
  }

  /* GALLERY IMAGES */
  .gallery {
    margin: 0;
    flex-wrap: wrap;
  }

  .galleryphoto {
    margin: .5rem;
    max-width: 400px;
  }

  .gallery-stack {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0.5rem;
  }

  /******************
  *   TEAM STYLES   *
  *******************/
  .teamcontainer {
    grid-template-columns: 1fr;
    padding: 0.5rem 0rem;
    gap: 1rem;
  }

  .teamcontainer ul {
    font-size: .9rem;
  }
}
