body {
  margin: 0;
  background: black;
  color: gold;
  
  font-family: 'Orbitron', sans-serif;
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 4px silver) drop-shadow(0 0 6px silver);
  }
  50% {
    filter: drop-shadow(0 0 8px silver) drop-shadow(0 0 12px silver);
  }
}



header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;

  background: url("images/header-bg.jpg") center top / cover no-repeat;
  background-attachment: fixed;
  animation: bgScroll 20s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
}

/* Optional: make sure text stays legible */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

header > * {
  z-index: 6;
}
@keyframes bgScroll {
  0% {
    background-position: center top;
  }
  100% {
    background-position: center bottom;
  }
}


header h1 {
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.2;
}

header nav {
  display: flex;
  gap: 20px;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.ticker {
  background: #c00;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.welcome {
  font-size: 2rem;
  padding: 20px;
}

.main-content {
  display: flex;
  padding: 20px;
}

.spotlight {
  border: 2px solid red;
  padding: 20px;
  flex: 1;
  margin-right: 20px;
  color: white;
}

.spotlight h3 {
  color: gold;
  font-size: 1.5rem;
}

.buttons {
  display: inline-flex;
  flex-direction: column;
  gap: 20px;
}

.btn {
  padding: 20px;
  text-align: center;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  color: black;
}

.btn.yellow {
  background: gold;
}

.btn.red {
  background: #c00;
  color: white;
}

.btn.blue {
  background: #005eff;
  color: white;
}

/* MOBILE STYLE */
.mobile-communicator {
  display: none;
}

@media (max-width: 600px) {
  .desktop-layout {
    display: none;
  }

  .mobile-communicator {
    display: block;
    padding: 20px;
    font-family: 'Orbitron', sans-serif;
    color: #0ff;
    background: black;
  }

  .mobile-logo {
    width: 80px;
    display: block;
    margin: 0 auto 20px;
  }

  .signal-bars {
    height: 6px;
    background: linear-gradient(to right, #0ff, transparent);
    margin-bottom: 20px;
  }

  .m-btn {
    background: #111;
    border: 2px solid #0ff;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 0 10px #0ff88f88;
    font-size: 1.2rem;
  }
}
.panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}


nav a {
  cursor: pointer;
}
#about h2 {
  color: gold;
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 20px;
}

#about p {
  color: white;
  font-size: 18px;
  line-height: 1.5;
  max-width: 800px;
}

.about-sub h3 {
  color: #ffcc00;
  margin-top: 30px;
}

.about-sub ul {
  list-style: none;
  padding-left: 0;
  color: #ccc;
  font-size: 16px;
}

.about-sub ul li {
  margin-bottom: 10px;
}

.fleet-emblem {
  margin-top: 30px;
}

.fleet-emblem img {
  max-width: 150px;
  filter: drop-shadow(0 0 4px gold);
}
#enlist h2 {
  color: gold;
  font-size: 32px;
  margin-bottom: 20px;
}

#enlist p {
  color: white;
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 20px;
}

.enlist-benefits h3 {
  color: #ffcc00;
  font-size: 22px;
  margin-top: 30px;
}

.enlist-benefits ul {
  list-style: none;
  padding-left: 0;
  color: #ccc;
  font-size: 16px;
}

.enlist-benefits li {
  margin-bottom: 10px;
}

.enlist-cta {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}
.lcars-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 100vh;
  background-color: black; /* so it blends */
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 15px;
    z-index: 5;
}
.logo {
    width: 125px;
    float: inherit;
    margin: 0px;
    padding-left: 20px;
	z-index: 10;
    animation: glowPulse 2.5s ease-in-out infinite;
}
/* Main LCARS bar */
.lcars-block {
  width: 200px;
  height: 40px;
  background-color: #cc0000; /* LCARS red */
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  z-index: 1000;
}
section {
  padding: 20px;
}
.spotlight-slideshow {
  background-color: #111;
  padding: 20px;
  border: 2px solid red;
  color: white;
  position: relative;
}

.spotlight-slideshow .slide {
  display: none;
  text-align: center;
}

.spotlight-slideshow .slide.active {
  display: block;
}

.spotlight-slideshow img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 6px #ff0000);
}

.spotlight-slideshow h3 {
  font-size: 24px;
  color: gold;
  margin-bottom: 10px;
}

.spotlight-slideshow p {
  font-size: 16px;
  color: #ccc;
}

.slideshow-controls {
  margin-top: 20px;
  text-align: center;
}

.slideshow-controls button {
  background: #222;
  color: gold;
  border: 2px solid gold;
  padding: 8px 12px;
  margin: 0 5px;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
}

.ship-spotlight {
  position: relative;
  height: 400px;
  border: 2px solid red;
  overflow: hidden;
  margin-bottom: 40px;
}

/* Background slideshow images */
.slideshow-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide-bg.active {
  opacity: 1;
}

/* Foreground content over wallpaper */
.spotlight-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  height: 100%;
  align-items: center;
  padding: 20px;
}

/* Text block */
.spotlight-text {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px;
  max-width: 60%;
  color: white;
  border-radius: 8px;
}

.spotlight-text h3 {
  font-size: 28px;
  color: gold;
  margin-bottom: 10px;
}

.spotlight-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #ccc;
}

/* Buttons on right */
.spotlight-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.spotlight-buttons {
  animation: lcarsSlideIn 1s ease-in-out forwards;
  opacity: 0;
}

@keyframes lcarsSlideIn {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
#about::before,
#enlist::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: url("images/logo.png") no-repeat center;
  background-size: contain;
  opacity: 0.03;
  transform: translateX(-50%);
  z-index: 0;
}
.stardate-display {
  position: absolute;
  top: 10px;
  right: 100px;
  font-size: 14px;
  color: #ccc;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
}
