/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #00ff41;
  --secondary-green: #008f11;
  --amber: #ffb000;
  --red-alert: #ff0000;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --terminal-bg: #001100;
  --border-color: #333;
  --text-primary: #00ff41;
  --text-secondary: #cccccc;
  --text-dim: #666666;
}

body {
  font-family: "Share Tech Mono", monospace;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CRT Effects */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at center,
      transparent 0%,
      rgba(0, 255, 65, 0.02) 100%
    ),
    linear-gradient(90deg, transparent 50%, rgba(0, 255, 65, 0.03) 50%);
  background-size: 100% 100%, 4px 4px;
  pointer-events: none;
  z-index: 1000;
  animation: flicker 0.15s infinite linear alternate;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgba(0, 255, 65, 0.03) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 999;
  animation: scanline 0.1s linear infinite;
}

@keyframes flicker {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.98;
  }
}

@keyframes scanline {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(4px);
  }
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Logo */
.hero-logo {
  margin-bottom: 30px;
  text-align: center;
  min-width: 4vw;
}

.hero-logo-img {
  height: 271px;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.95;
  transition: all 0.3s ease;
}

.hero-logo-img img {
  height: 100%;
}

.hero-logo-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.nav-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-logo-img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-logo-img {
    height: 200px;
  }
}

/* Navigation */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-green);
  z-index: 100;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container .logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--primary-green));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}

.nav-menu.active {
  display: flex;
  position: absolute;
  top: 100%;
  flex-direction: column;
  background-color: black;
  width: 100vw;
  right: 0;
  height: fit-content;
  padding: 1rem 2rem;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid var(--primary-green);
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--amber);
  text-shadow: 0 0 10px var(--amber);
}

.nav-link.facebook-link {
  color: var(--red-alert);
}

.nav-link.facebook-link:hover {
  text-shadow: 0 0 10px var(--red-alert);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-green);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(20%) hue-rotate(90deg) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 17, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.terminal-window {
  background: rgba(0, 17, 0, 0.95);
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3),
    inset 0 0 20px rgba(0, 255, 65, 0.1);
  overflow: hidden;
}

.terminal-header {
  background: var(--primary-green);
  color: var(--dark-bg);
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 0.8rem;
}

.terminal-controls {
  display: flex;
  gap: 5px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dark-bg);
}

.terminal-body {
  padding: 20px;
}

.terminal-prompt {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.prompt-symbol {
  color: var(--amber);
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  padding: 0 0.5em;
}

.hero-title .line1,
.hero-title .line2 {
  display: block;
  opacity: 0;
}

.hero-title .line1 {
  animation: typewriter 2s steps(40) 1s forwards;
}

.hero-title .line2 {
  animation: typewriter 2s steps(50) 3.5s forwards;
}

@keyframes typewriter {
  to {
    opacity: 1;
  }
}

.hero-cta {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Buttons */
.cta-button {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  text-decoration: none;
  font-family: "Orbitron", monospace;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.cta-button.primary {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.cta-button.secondary {
  border-color: var(--amber);
  color: var(--amber);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 65, 0.4);
}

.cta-button.secondary:hover {
  box-shadow: 0 5px 15px rgba(255, 176, 0, 0.4);
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover .button-glow {
  left: 100%;
}

.button-text {
  position: relative;
  z-index: 2;
}

/* Radar Effect */
.radar-sweep {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--primary-green);
  border-radius: 50%;
  opacity: 0.3;
}

.radar-sweep::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 40px;
  background: var(--primary-green);
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(0deg);
  animation: radar-sweep 3s linear infinite;
}

@keyframes radar-sweep {
  0% {
    transform: translate(-50%, -100%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -100%) rotate(360deg);
  }
}

/* About Section */
.about {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
}

.glitch {
  position: relative;
  animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  animation: glitch-1 0.5s infinite;
  color: var(--red-alert);
  z-index: -1;
}

.glitch::after {
  animation: glitch-2 0.5s infinite;
  color: var(--amber);
  z-index: -2;
}

@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

@keyframes glitch-1 {
  0%,
  100% {
    transform: translate(0);
  }
  10% {
    transform: translate(-2px, -2px);
  }
  20% {
    transform: translate(2px, 2px);
  }
}

@keyframes glitch-2 {
  0%,
  100% {
    transform: translate(0);
  }
  30% {
    transform: translate(2px, -2px);
  }
  40% {
    transform: translate(-2px, 2px);
  }
}

.section-line {
  width: 100px;
  height: 2px;
  background: var(--primary-green);
  margin: 0 auto;
  box-shadow: 0 0 10px var(--primary-green);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  background: rgba(0, 17, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: translateY(-5px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
  font-family: "Orbitron", monospace;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--amber);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red-alert);
  animation: pulse 2s infinite;
}

.status-indicator.active {
  background: var(--primary-green);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.card-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.8;
}

.cta-section {
  text-align: center;
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.cta-title {
  font-family: "Orbitron", monospace;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--amber);
}

.cta-subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--dark-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.info-card {
  background: rgba(0, 17, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
}

.info-card h3 {
  font-family: "Orbitron", monospace;
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--amber);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
}

.method-label {
  font-weight: bold;
  color: var(--primary-green);
  min-width: 80px;
}

.method-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.method-link:hover {
  color: var(--primary-green);
  text-shadow: 0 0 5px var(--primary-green);
}

.contact-form-container {
  background: rgba(0, 17, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: bold;
  color: var(--primary-green);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px;
  color: var(--text-secondary);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--darker-bg);
  border-top: 2px solid var(--primary-green);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo .logo {
  height: 200px;
  width: auto;
  opacity: 0.8;
}

.footer-text p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;

    .nav-link {
      font-size: 1.5rem;
    }
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-card {
    min-width: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-content {
    padding: 1rem;
  }

  .terminal-body {
    padding: 15px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-card,
  .info-card,
  .contact-form-container {
    padding: 20px;
  }

  .container {
    padding: 0 15px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #00ff00;
    --text-secondary: #ffffff;
    --border-color: #ffffff;
  }
}

.terminal {
  background: var(--terminal-bg);
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
  position: relative; /* for the overlay */
}

#terminal {
  padding: 20px;
  white-space: pre-wrap;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: "Share Tech Mono", monospace;
  font-size: 1rem;
  line-height: 1.5;
  overflow-y: auto; /* allow vertical scrolling */
  height: 500px;
  white-space: pre-wrap;
  user-select: none;
}

/* Hide scrollbars (Firefox) */
#terminal {
  scrollbar-width: none; /* For Firefox */
}

.terminal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto; /* now captures pointer events to block manual scrolling */
  z-index: 2;
}

/* Hide scrollbars (Webkit browsers) */
#terminal::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

.caret::after {
  content: "█";
  animation: blink 1s steps(1) infinite;
  color: #33ff33;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.h {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

/* About the cold war */

.cold-war {
  .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.cold-war-card {
  background: rgba(0, 17, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
}



.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
  font-family: "Orbitron", monospace;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--amber);
}

.cold-war-text {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.8;
}

}