/* home.css – styles specific to the home page */

.hero {
  /* Padding handled in layout.css */
  background-color: var(--color-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero.section--surface {
  background-color: var(--color-surface-tint);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    text-align: center;
  }
}

.angled-band {
  background: var(--grad-primary);
  color: var(--color-light);
  padding: var(--space-huge) 0;
  position: relative;
  z-index: 10;
  margin-bottom: var(--space-xxl);
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -4vw;
}

@media (max-width: 768px) {
  .angled-band {
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    margin-top: -20px;
  }
}

/* Animations from index.html inline */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }

  100% {
    transform: translateX(100%) translateY(100%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Helper classes for animations utilized in HTML */
.anim-shimmer {
  animation: shimmer 3s infinite;
}

.anim-float {
  animation: float 6s ease-in-out infinite;
}
