/* 
 * Simplified space styling for Earth Explorer webpage
 * This ensures space theme styles work correctly when deployed to nginx
 */

/* Base styles and reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Main space gradient */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #e6f0ff; /* Light blue text for contrast */
  background-color: #080d17; /* Dark space background */
  background-image: linear-gradient(to bottom, #040b1c, #0c1527, #1a203c, #090d18);
  overflow-x: hidden;
  position: relative;
}

/* Stars background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(white, rgba(255,255,255,0) 2px);
  background-position: 0 0, 50px 50px;
  background-size: 250px 250px;
  opacity: 0.15;
  z-index: 0;
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Raleway', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #7b9eff; /* Bright blue for headings */
  text-shadow: 0 0 10px rgba(123, 158, 255, 0.6);
  letter-spacing: 1px;
}

/* Header styles */
header {
  background-color: rgba(10, 15, 30, 0.8); /* Semi-transparent deep blue */
  color: white;
  padding: 12px 0;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 158, 255, 0.2);
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(123, 158, 255, 0.2);
  transition: all 0.3s ease;
}

.logo {
  font-family: 'Orbitron', 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #7b9eff;
  text-shadow: 0 0 10px rgba(123, 158, 255, 0.6);
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #7b9eff;
  box-shadow: 0 0 8px #7b9eff, 0 0 12px #7b9eff;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #7b9eff;
  text-shadow: 0 0 10px rgba(123, 158, 255, 0.8);
}

nav ul li a:hover::after {
  width: 100%;
}

/* AI notice banner */
.ai-notice {
  background-color: rgba(15, 30, 60, 0.8);
  border-top: 1px solid rgba(123, 158, 255, 0.3);
  border-bottom: 1px solid rgba(123, 158, 255, 0.3);
  color: #d9e6ff;
  padding: 3px 0;
  text-align: center;
  border-radius: 0;
  box-shadow: 0 3px 10px rgba(123, 158, 255, 0.2);
}

.ai-notice .phone {
  font-weight: bold;
  color: #7b9eff;
  text-shadow: 0 0 8px rgba(123, 158, 255, 0.8);
  letter-spacing: 0.5px;
}

/* Section styles */
.section {
  padding: 80px 0;
  overflow: hidden;
  background-color: rgba(15, 20, 35, 0.7);
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(123, 158, 255, 0.1);
}

.section:nth-child(odd) {
  background-color: rgba(10, 15, 30, 0.7);
}

/* Text styles */
.text-block p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d9e6ff; /* Light blue text for readability */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Image styles */
.image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(123, 158, 255, 0.3), 0 0 15px rgba(123, 158, 255, 0.2);
  transition: all 0.4s ease;
  filter: brightness(1.05) contrast(1.05);
  border: 1px solid rgba(123, 158, 255, 0.2);
}

.image-block img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(123, 158, 255, 0.6), 0 0 20px rgba(123, 158, 255, 0.4);
  filter: brightness(1.1) contrast(1.1);
  border: 1px solid rgba(123, 158, 255, 0.6);
}

/* Space icon styles */
.space-icon {
  color: #7b9eff;
  margin-right: 10px;
  text-shadow: 0 0 10px rgba(123, 158, 255, 0.8);
  animation: glow 2s infinite ease-in-out;
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(123, 158, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(123, 158, 255, 0.8), 0 0 20px rgba(123, 158, 255, 0.5);
  }
}

/* Highlight box */
.highlight-box {
  background-color: rgba(15, 25, 50, 0.6);
  border-left: 5px solid rgba(123, 158, 255, 0.7);
  padding: 25px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 5px 15px rgba(123, 158, 255, 0.15), inset 0 0 30px rgba(10, 20, 40, 0.5);
  position: relative;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}