/* Reset and base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

html, body {
  height: 100%;
  color: #f4f4f4;
  /* Remove background-color from body to allow ::before image to show through */
  background: none;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

/* Background (stable method) */
body::before {
  content: "";
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/background.png")
    no-repeat center center / cover;
  opacity: 100;
  z-index: -1;
  pointer-events: none;
  background-attachment: fixed;
}

/* Header */
header {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header .content h1 {
  font-size: 4rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #00ffe7, #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float 6s ease-in-out infinite;
}

.subtitle {
  font-size: 1.2rem;
  color: #cfd6e0;
  margin-top: 1rem;
}

/* Paragraph sections */
section.para {
  max-width: 800px;
  margin: 5rem auto;
  padding: 0 2rem;
  line-height: 1.7;
  font-size: 1.1rem;
  color: #dce1ea;
  text-align: center;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 3rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .links {
  margin-bottom: 1rem;
}

.site-footer a {
  color: #a8b3c7;
  text-decoration: none;
  margin: 0 0.8rem;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #00ffe7;
}

.copyright {
  font-size: 0.9rem;
  color: #7a8597;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header .content h1 {
    font-size: 2.8rem;
  }
  section.para {
    margin: 3rem 1rem;
  }
}