@charset "utf-8";
/* CSS Document */

/* Hero Section */
#hero {
  position: relative;
  height: 87vh;
  background: url('../images/stars-moon.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Overlay to help text pop */
.hero-overlay {
  background: rgba(0, 0, 0, 0.05);
  padding: 2rem 3rem;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInBg 2s ease-in forwards;
}

/* Titles & text with fade-in stagger */
.title,
.subtitle,
.teaser {
  opacity: 0;
  margin: 0.5rem 0;
}

.title {
  font-size: 5rem;   /* was 3rem */
  font-weight: bold;
  animation: fadeIn 2s ease-in forwards;
  animation-delay: 1s;
}

.subtitle {
  font-size: 2rem;   /* was 1.5rem */
  font-weight: 300;
  animation: fadeIn 2s ease-in forwards;
  animation-delay: 2s;
}

.teaser {
  font-size: 1.4rem; /* was 1.2rem */
  animation: fadeIn 2s ease-in forwards;
  animation-delay: 3s;
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* Scroll Down Pointer */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.5s infinite;
}

.scroll-down a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

.scroll-down svg {
  stroke: #fff;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.scroll-down svg:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}

/* Bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}
