/*
  Peace Okakpu — Landing Page Styles
  - Tailwind via CDN handles most styling
  - This file adds brand-consistent tokens, reusable component classes, and scroll reveal effects
*/

:root {
  --green-900: #1b5e4b;
  --gold-500: #e8a020;
  --cream-50: #f5f0e8;
  --navy-900: #1a1a2e;
  --mint-200: #d6eae4;
  --white: #ffffff;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Reusable typography */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(27, 94, 75, 0.92);
  text-transform: uppercase;
  font-size: 0.75rem;
}

.label::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-500);
}

.label-invert {
  color: rgba(245, 240, 232, 0.92);
}

.label-invert::before {
  background: rgba(232, 160, 32, 0.95);
}

.section-heading {
  margin-top: 0.75rem;
  font-family: var(--heading-font, "Cormorant Garamond", serif);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  color: var(--navy-900);
}

/* Buttons (keep brand-consistent) */
.cta-primary {
  background: var(--gold-500);
  color: var(--green-900);
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.cta-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 30px rgba(27, 94, 75, 0.15);
}

.cta-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.5);
}

.cta-primary-hover {
  background: var(--gold-500);
}

.cta-outline {
  transition: transform 150ms ease, background-color 150ms ease;
}

.cta-outline:hover {
  transform: translateY(-1px) scale(1.02);
}

.cta-outline-invert {
  transition: transform 150ms ease, background-color 150ms ease;
}

.cta-outline-invert:hover {
  transform: translateY(-1px) scale(1.02);
}

/* Services */
.service-card {
  transform: translateY(0);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(26, 26, 46, 0.08);
}

.service-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.45);
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  background: rgba(214, 234, 228, 0.85);
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(27, 94, 75, 0.12);
  transition: transform 150ms ease;
}

.pill:hover {
  transform: translateY(-1px);
}

/* Contact rows */
.contact-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-label {
  font-weight: 700;
  color: rgba(245, 240, 232, 0.86);
  font-size: 0.875rem;
}

.contact-link {
  color: var(--cream-50);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-link:hover {
  color: var(--gold-500);
}

/* Reveal animations (disabled by default to avoid hiding content) */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Smooth scrolling enhancement */
html {
  scroll-behavior: smooth;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transition: none;
  }
}

