/* --- SPLASH PAGE --- */
.splash-page {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  /*change if background image is needed*/
 /* background-image: url('SF_CIty_Night.png'); */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1000;
  /* opacity: 0;
  pointer-events: none; */
}

.splash-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(45deg, rgba(0,246,255,0.2), rgba(255,0,255,0.2), rgba(255,255,0,0.2));
  background-size: 600% 600%;
  animation: gradientShift 15s ease infinite;
  z-index: 1;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #00f6ff;
  animation: glowText 2s ease-in-out infinite alternate;
}

@keyframes glowText {
  0% { text-shadow: 0 0 10px #00f6ff, 0 0 20px #00f6ff; }
  50% { text-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff; }
  100% { text-shadow: 0 0 15px #00f6ff, 0 0 30px #00f6ff; }
}

.splash-content h1 { font-size: 4rem; margin-bottom: 20px; }
.splash-content p { font-size: 1.5rem; margin-bottom: 40px; }

#enterBtn {
  background-color: rgba(30,30,47,0.8);
  border: 2px solid #00f6ff;
  color: #00f6ff;
  padding: 10px 30px;
  font-size: 1.2rem;
  transition: 0.3s ease, transform 0.3s, box-shadow 0.3s;
}

#enterBtn:hover {
  background-color: #00f6ff;
  color: #1e1e2f;
  border-color: #00f6ff;
  box-shadow: 0 0 25px #00f6ff, 0 0 50px #ff00ff, 0 0 75px #ffff00;
  transform: scale(1.05);
}

/* --- DIRECTORY PAGE --- */
body {
  background-color: #121224;
  color: #e0e0e0;
  font-family: 'Segoe UI', sans-serif;
  transition: 0.3s;
}

body.light-mode { background-color: #f8f9fa; color: #1e1e2f; }

/* NAVBAR */
.navbar { transition: 0.3s; }
body.light-mode .navbar { background-color: #ffffff !important; }
body.light-mode .navbar .navbar-brand,
body.light-mode .navbar .nav-link { color: #1e1e2f !important; }
body.light-mode .navbar .btn-outline-light { color: #0a66c2 !important; border-color: #0a66c2 !important; }

/* DIRECTORY HEADER */
.directory-header { text-align: center; margin-top: 80px; margin-bottom: 50px; color: #ffffff; }
body.light-mode .directory-header { color: #1e1e2f; }

/* Cards */
.card { background-color: #1e1e2f; border: none; border-radius: 15px; color: #ffffff; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; height: 100%; }
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(255,255,255,0.2); }
.card-img-wrapper { width: 100%; height: 250px; overflow: hidden; border-top-left-radius: 15px; border-top-right-radius: 15px; display: flex; justify-content: center; align-items: center; background-color: #1e1e2f; }
.card-img-top { max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.card-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-title a { color: #0a66c2; }
.card-text { font-size: 0.9rem; }
.btn-primary { background-color: #0a66c2; border: none; transition: 0.3s; }
.btn-primary:hover { background-color: #084a8f; }
.row-cols-md-3 > .col { display: flex; flex-direction: column; }

/* Backgrounds for light mode */
body.light-mode .studentPageBG { background-image: url('student_page_BG.png'); background-size: contain; background-repeat: no-repeat; background-position: center bottom; min-height: 600px; width: 100%; display: block; }
body.light-mode .homePageBG { background-image: url('matt.jpg'); background-size: cover; background-repeat: no-repeat; background-position: center; min-height: 100vh; width: 100vw; display: flex; flex-direction: column; }

/*Background for dark mode*/
body.dark-mode .homePageBG {
  background-image: url('SF_CIty_Night.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;        /* match light-mode’s full-viewport height */
  width: 100%;
}

/* 
for figureing out if the image is shown
.homePageBG {
  border: 5px solid red;
}
 */