/* Kavira International — custom styles (supplements Tailwind CDN) */

:root {
  --forest: #1F5E3B;
  --brand: #2E7D32;
  --gold: #D4AF37;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Header states */
#site-header {
  background-color: transparent;
}
#site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 6px 30px -14px rgba(31, 41, 55, 0.25);
}
#site-header.scrolled .font-serif,
#site-header.scrolled .nav-link {
  color: #1F2937;
}
#site-header.scrolled .nav-link:hover {
  color: var(--forest);
}
/* Before scroll: header sits over the dark hero — lighten the links */
#site-header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}
#site-header:not(.scrolled) .nav-link:hover {
  color: #ffffff;
}
#site-header:not(.scrolled) .font-serif.text-forest {
  color: #ffffff;
}
#site-header:not(.scrolled) .text-muted {
  color: rgba(255, 255, 255, 0.7);
}
#site-header:not(.scrolled) #menu-toggle svg {
  color: #ffffff;
}

/* Reveal on scroll — only hidden when JS is active (progressive enhancement).
   Without the .js class, content is always visible so no-JS and full-page
   captures never show blank sections. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Product spec lists */
.spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.spec-value {
  margin-top: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1F2937;
}

/* Export process steps */
.process-step {
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background-color: rgba(255, 255, 255, 0.06);
}
.process-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}
.process-title {
  margin-top: 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}
.process-text {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

/* Global presence pins */
.pin {
  display: inline-block;
  height: 0.55rem;
  width: 0.55rem;
  border-radius: 9999px;
  background-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* Forms */
.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1F2937;
}
.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #E5E7EB;
  background-color: #F8FAF8;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: #1F2937;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder {
  color: #9CA3AF;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
  background-color: #ffffff;
}
