/*
 * Copyright (c) 2026 Spectral Labs LLC
 * Author: Aaron Tarajos
 * All rights reserved.
 */

/* Reusable Components - Buttons, Labels, Animations */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gray-border);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  border-color: var(--green-accent);
  background: var(--green);
  box-shadow: 0 0 30px var(--green-glow);
}

.btn-primary {
  background: var(--green);
  border-color: var(--green-light);
}

.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-accent);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.3s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Section Labels and Titles */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--green-accent);
}

.section-label.centered {
  justify-content: center;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-up {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.animate-up:nth-child(1) {
  animation-delay: 0.1s;
}

.animate-up:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-up:nth-child(3) {
  animation-delay: 0.3s;
}

.animate-up:nth-child(4) {
  animation-delay: 0.4s;
}

.animate-fade {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}
