* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  }

body, html {
height: 100%;
overflow-x: hidden;
}

/* Background */
.hero {
position: relative;
min-height: 100vh;
min-height: 100svh;
background: url('images/background.png') no-repeat;
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: flex-start;
padding-top: 35vh; /* 40% from top */
}

/* Black transparent overlay */
.hero::before {
    pointer-events: none;
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* adjust opacity here */
}

/* Center text */
.hero h1 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, serif;
  font-size: clamp(36px, 8vh, 96px);
  letter-spacing: 6px;
  line-height: 1.1;
  text-align: left;
  position: relative;
  z-index: 1;
  background: linear-gradient(270deg, red, orange, yellow, rgb(0, 255, 0), cyan, rgb(255, 0, 255));
  filter: drop-shadow(0 0 4px black);
  background-size: 600% 600%;
  animation: gradientMove 6s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-30%);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero h1:hover{
  background: linear-gradient(270deg, red, orange, yellow, rgb(0, 255, 0), cyan, rgb(255, 0, 255));
  filter: drop-shadow(2px 2px 9px orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-30%);
}

/* Footer */
footer {
position: fixed;
bottom: 25px;
width: 100%;
text-align: center;
}

.socials a {
display: inline-block;
color: white;
margin: 0 20px;
font-size: 30px;
text-decoration: none;
transition: 0.3s;
z-index: 1;
}

.socials a:hover {
color: orange;
transform: translateY(-3px);
}

.icon-img {
width: 32px;
height: 32px;
object-fit: contain;
transition: transform 0.3s ease;
}

.socials a:hover .icon-img {
transform: scale(1.2) translateY(-3px);
filter: drop-shadow(0 0 6px orange);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 20;
}

/* 3-line icon */
.menu-icon {
  width: 30px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background: white;
  transition: 0.3s;
}

/* Hidden menu */
.menu-links {
  position: absolute;
  top: 40px;
  right: 0;

  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);

  padding: 15px 20px;
  border-radius: 5px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: 0.3s ease;
}

.menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 10px;
}

/* Show on hover */
.menu:hover .menu-links {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Links */
.menu-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  transition: 0.3s;
}

.menu-links a:hover {
  color: orange;
}

.menu:hover .menu-icon span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu:hover .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu:hover .menu-icon span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 600px) {
  .menu-links {
    gap: 12px;
    right: 15px;
    top: 15px;
  }

  .menu-links a {
    font-size: 12px;
  }
}