/* Hero Section Styles (hero.css) */

#hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  background-color: #0D1B2A;
  background-image: linear-gradient(135deg, rgba(13,27,42,1) 0%, rgba(27,38,59,1) 100%);
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(transparent 1px, rgba(255,255,255,0.05) 1px);
  background-size: 100px 100px;
  opacity: 0.3;
  animation: moveGrid 20s linear infinite;
  z-index: 1;
}

#hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 25px auto;
  border: 5px solid hsla(0, 0%, 100%, 0.8);
  box-shadow: 0 5px 20px hsla(215, 30%, 0%, 0.3);
}

#hero h1 {
  color: var(--color-white);
  margin-bottom: 10px;
  font-size: 3.2rem;
  font-weight: 700;
}

#hero h1 .en-name {
  font-size: 0.6em;
  font-weight: 400;
  display: block;
  opacity: 0.8;
}

#hero .tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent1);
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

#hero .subtitle {
  font-size: 1.1rem;
  color: hsla(0, 0%, 100%, 0.85);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary {
  background-color: var(--color-accent1);
  border-color: var(--color-accent1);
  color: var(--color-primary-dark);
}

.hero-buttons .btn-primary:hover {
  background-color: var(--color-accent1-dark);
  border-color: var(--color-accent1-dark);
}

.hero-buttons .btn-secondary {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero-buttons .btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

@keyframes moveGrid {
  from {
    transform: translate(0,0) rotate(0deg);
  }
  to {
    transform: translate(100px,100px) rotate(360deg);
  }
}
