/* style.css */
/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent-color: #225FBA;
}

/* Force full‐height & smooth scrolling on mobile */
html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #f8f6f0;
  background: transparent; /* let the <img> and <canvas> show */
}

/* Background image behind the animated field */
#bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;             /* bottom layer */
  pointer-events: none;
  display: block;
}

/* Animated field canvas */
#field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;             /* above image */
  pointer-events: none;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;             /* above canvas */
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(2, 10, 25, 0.01);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 1.5rem;
}

.tagline {
  font: normal normal 40px "Montserrat", Arial, sans-serif;
  color: var(--accent-color);
  line-height: 40px;
  margin-bottom: 1.5rem;
}

.tagline .small-part {
  font-size: 36px;
}

.tagline .large-part {
  font-size: 72px;
}

.intro-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #e0eaff;
}

/* About Section */
.about {
  position: relative;
  z-index: 2;
  padding: 4rem 1rem;
  background: rgba(10,10,10,0.85);
  color: #e0eaff;
  text-align: center;
  border-top: 1px solid var(--accent-color);
}

.about .container {
  max-width: 800px;
  margin: 0 auto;
}

.about h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.about p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  position: relative;
  z-index: 2;
  padding: 1rem;
  text-align: center;
  background: rgba(10,10,10,0.85);
  color: var(--accent-color);
  font-size: 0.875rem;
  border-top: 1px solid var(--accent-color);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .tagline {
    font-size: 3.5rem;
  }
  .intro-text {
    font-size: 1rem;
  }
  .about h3 {
    font-size: 2rem;
  }
  .about p {
    font-size: 1rem;
  }
}
