/* ---------------------- Landing section ---------------------- */
#landing {
  background: var(--primary-bg);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  overflow: hidden;
}

.landing-content h1 {
  margin-bottom: 10px;
}

.landing-content h2 {
  margin-bottom: 20px;
}

.landing-content p {
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.4s forwards;
  animation-delay: 0.8s;
}

.social-links i {
  font-size: 54px;
  color: var(--primary-text-color);
}

.social-links a:hover {
  transform: scale(1.2);
}

/* ---------------------- Scroll indicator ---------------------- */
.arrow-scroll {
  position: absolute;
  bottom: 5vh; /* distance from bottom */
  left: 50%;    /* horizontal center */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  cursor: pointer;
}

.arrow {
  width: 15px;
  height: 15px;
  border-bottom: 2px solid #1a1a1a;
  border-right: 2px solid #1a1a1a;
  transform: rotate(45deg);
  animation: scroll-bounce 1.5s infinite;
}

.arrow:nth-child(2) { animation-delay: 0.2s; }
.arrow:nth-child(3) { animation-delay: 0.4s; }

/* ---------------------- Animations ---------------------- */
.landing-content h1,
.landing-content h2,
.landing-content p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.4s forwards;
}

.landing-content h1 { animation-delay: 0.2s; }
.landing-content h2 { animation-delay: 0.4s; }
.landing-content p  { animation-delay: 0.6s; }

/* ---------------------- Keyframes ---------------------- */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bounce animation */
@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(8px); }
  60% { transform: rotate(45deg) translateY(4px); }
}

/* Optional hover effect to indicate clickability */
.arrow-scroll:hover .arrow {
  border-color: var(--accent-color); /* accent color */
}