/* ============================================================
   HAKI TECH CONSULTING — HERO
   ============================================================ */

/* --- Home Hero -------------------------------------------- */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-black) 60%, var(--color-near-black) 100%);
  padding-top: var(--nav-height);
}

/* Animated circuit-node SVG pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-width='0.5'%3E%3Ccircle cx='40' cy='40' r='2' fill='%23C9A84C'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23C9A84C'/%3E%3Ccircle cx='80' cy='0' r='2' fill='%23C9A84C'/%3E%3Ccircle cx='0' cy='80' r='2' fill='%23C9A84C'/%3E%3Ccircle cx='80' cy='80' r='2' fill='%23C9A84C'/%3E%3Cline x1='40' y1='40' x2='80' y2='40'/%3E%3Cline x1='40' y1='40' x2='40' y2='80'/%3E%3Cline x1='0' y1='0' x2='40' y2='40'/%3E%3C/g%3E%3C/svg%3E");
  animation: patternDrift 40s linear infinite;
}

@keyframes patternDrift {
  from { background-position: 0 0; }
  to   { background-position: 80px 80px; }
}

/* Accent line */
.hero-accent-line {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 32px;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}

.home-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.home-hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  max-width: 14ch;
}
.home-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--color-accent) 20%, #f0d080 40%, var(--color-accent) 60%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-accent); /* fallback for non-supporting browsers */
  animation: goldShimmer 5s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0 0; }
}

/* Laser sweep beams — thin gold lines that travel across the hero */
.hero-laser {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-laser::before,
.hero-laser::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.7) 50%, transparent);
  box-shadow: 0 0 14px rgba(201,168,76,0.45);
}
.hero-laser::before {
  top: 22%;
  animation: laserSweep 9s ease-in-out infinite;
}
.hero-laser::after {
  top: 74%;
  width: 30%;
  animation: laserSweep 13s ease-in-out infinite reverse;
  animation-delay: -4s;
  opacity: 0.6;
}
@keyframes laserSweep {
  0%   { left: -50%; }
  50%  { left: 105%; }
  100% { left: -50%; }
}

.home-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-grey-mid);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: 40px;
}

.home-hero .btn-group { margin-bottom: 56px; }

/* Tech badge row */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 24px;
  border-top: var(--border-dark);
}
.hero-badges .tech-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  padding-inline: 16px;
  position: relative;
}
.hero-badges .tech-badge + .tech-badge::before {
  content: '·';
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.2);
}
.hero-badges .tech-badge:first-child { padding-left: 0; }

/* --- Scroll indicator ------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator svg { width: 20px; height: 20px; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* --- Home section: services overview ---------------------- */
.services-overview-section {
  background: var(--color-near-black);
}

/* --- Why Haki Tech ---------------------------------------- */
.why-section {
  background: var(--color-off-white);
}
.why-section h2 { color: var(--color-black); }
.why-brand-para {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #444;
  max-width: 60ch;
  margin-top: 40px;
}

/* --- Process section -------------------------------------- */
.process-section {
  background: var(--color-black);
}
.process-section .process-steps {
  border: var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* --- Gallery teaser --------------------------------------- */
.gallery-teaser {
  background: var(--color-near-black);
}
.gallery-teaser__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 40px;
  transition: gap var(--transition-base);
}
.gallery-teaser__link:hover { gap: 14px; }
.gallery-teaser__link svg { width: 16px; height: 16px; }

.gallery-teaser__grid {
  columns: 2;
  column-gap: 12px;
}
@media (min-width: 768px) { .gallery-teaser__grid { columns: 3; } }

.gallery-teaser__item {
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-dark);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.gallery-teaser__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-teaser__item:hover img { transform: scale(1.06); }

/* --- Testimonials ------------------------------------------ */
.testimonials-section {
  background: var(--color-black);
}
.testimonial-card {
  background: var(--color-near-black);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.25);
}
.testimonial-card__quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 0.5;
  color: rgba(201,168,76,0.35);
  margin-top: 12px;
}
.testimonial-card__text {
  font-size: 0.9875rem;
  line-height: 1.75;
  color: var(--color-grey-light);
  max-width: none;
  flex: 1;
}
.testimonial-card__client {
  border-top: var(--border-dark);
  padding-top: 16px;
}
.testimonial-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-white);
}
.testimonial-card__role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
  margin-top: 4px;
}
