/* Info page specific styles */

/* Ensure proper footer positioning */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.page {
  flex: 1;
}

/* Add some extra padding to prevent footer cutoff */
.site-footer {
  margin-top: auto;
  padding-bottom: 40px;
}

/* Enhanced info page styles */
.info-hero {
  animation: heroFadeIn 0.8s ease-out;
}

.feature-grid {
  display: grid;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  font-size: 2rem;
  min-width: 60px;
  text-align: center;
  animation: iconBounce 0.6s ease-out;
}

.feature-item strong {
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tech-stack {
  display: grid;
  gap: 18px;
}

.tech-item {
  padding: 14px 0;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  animation: techSlideIn 0.5s ease-out;
}

.tech-item strong {
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.tech-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconBounce {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes techSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Staggered animations */
.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }

/* Responsive design */
@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .feature-icon {
    align-self: center;
  }
  
  .tech-item {
    border-left: none;
    border-top: 3px solid var(--accent);
    padding-left: 0;
    padding-top: 16px;
    text-align: center;
  }
}
