
/* Hero (full-screen image) */
.hero {
  position: relative;
  background: url("../img/GalaxySky.jpg") center/cover no-repeat; /* Luca Baggio - Unplash */ 
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 5px 8px rgba(0,0,0,0.3); 
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); 
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0; /* hidden by default */
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;  
}

.hero-text h1 {
  font-family: 'Playfair Display', sans-serif;  /*'Montserrat', serif; */
}

.hero-text p {
  font-family: 'Raleway', sans-serif;; /* 'Segoe UI', sans-serif; */
}

.hero-text h1,
.hero-text p {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2),
               0 3px 12px rgba(0, 0, 0, 0.8);
}


.hero h1 {
  font-size: 3.5rem;
}
.hero p {
  font-size: 1.3rem;
} 

.hero a {
  text-decoration: none;  /* remove underline */
  color: white;         /* default text color */
}

/* Also make sure visited and active links stay white and no underline */
.hero a:visited,
.hero a:active,
.hero a:hover {
  text-decoration: none;
  color: white;
  cursor: pointer; /* optional, shows pointer on hover */
}

.hero a:hover {
  color: #ddd; /* lighter white/gray on hover */
  text-decoration: none;
}


/* Scoll down styles */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
  animation: fadeIn 2s ease-in-out forwards;
  opacity: 0;
  z-index: 3;
}

.scroll-down span {
  display: block;
  margin-bottom: 5px;
  letter-spacing: 1px;
  font-weight: 300;
}

.scroll-down .arrow {
  width: 12px;
  height: 12px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
  margin: 0 auto;
}

/* Fade in on load */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Bouncing arrow animation */
/* @keyframes bounce {
  0%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(8px) rotate(-45deg);
  }
}
*/ 

/* Hero Animation Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive hero text */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* Define a banner for sub-pages */ 
.banner {
  position: static;
  background: url("../img/GalaxySky.jpg") center/cover no-repeat;
  height: 200px;                /* smaller fixed height for a banner */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  overflow: visible;
} 


.page-title {
  font-family: 'Playfair Display', sans-serif;  
  text-decoration: none;
  color: white; 
}

.page-title a {
  text-decoration: none;  /* remove underline */
  color: white;         /* default text color */
}

/* Also make sure visited and active links stay white and no underline */
.page-title a:visited,
.page-title a:active,
.page-title a:hover {
  text-decoration: none;
  color: white;
  cursor: pointer; /* optional, shows pointer on hover */
}

.page-title a:hover {
  color: #ddd; /* lighter white/gray on hover */
  text-decoration: none;
}


/* Stack hero text and profile pic vertically */
.hero-content {
  position: relative;
  z-index: 2; /* ensure above overlay */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0; /* match your hero-text animation */
}

.hero-text {
  margin-bottom: 1rem; /* space between text and image */
}

/* Slightly smaller oval image */
.profile-pic {
  width: 160px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 1rem auto 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
