/* ============================================
   ADDITIONAL STYLES FOR STATIC SITE
   AOS overrides, page wrapper, utilities
   ============================================ */

/* Page wrapper for contact page */
.kava-page {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Logo visible on non-homepage */
.logo-img--visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* AOS custom overrides for smoother animations */
[data-aos] {
  transition-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1) !important;
}

/* Floating animations */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-y-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes float-rotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes gentle-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes gentle-zoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes hero-bg-zoom {
  0% { transform: scale(1.05); }
  50% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

@keyframes icon-wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

@keyframes shine-sweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes shape-float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes shape-float-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-3deg); }
}

@keyframes leaf-sway-1 {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-5px); }
}

@keyframes leaf-sway-2 {
  0%, 100% { transform: rotate(-15deg) translateX(-60px) translateY(80px); }
  50% { transform: rotate(-12deg) translateX(-55px) translateY(80px); }
}

@keyframes particle-float {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-30px); opacity: 0.7; }
}

/* Scroll progress bar for static site */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

/* Static hero bg animation */
.hero-bg-cinematic {
  animation: hero-bg-zoom 20s ease-in-out infinite;
}

/* Static scroll line animation */
.scroll-line-premium {
  animation: scroll-line 2s ease-in-out infinite;
}

/* Static hero logo glow */
.hero-logo-glow {
  animation: gentle-pulse 4s ease-in-out infinite;
}

/* Static hero logo float */
.hero-logo-premium {
  animation: float-y 6s ease-in-out infinite;
}

/* Tilt card styles */
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.3s ease;
}

.tilt-card:hover {
  transform: scale(1.02);
}

.tilt-card-content {
  transform: translateZ(20px);
}

.tilt-card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tilt-card:hover .tilt-card-shine {
  opacity: 0.15;
}

/* Mission card icon animations */
.mission-card-icon {
  animation: icon-wobble 4s ease-in-out infinite;
}

.mission-card--accent .mission-card-icon {
  animation: icon-pulse 3s ease-in-out infinite;
}

/* Service visual floating animations */
.main-leaf-image {
  animation: float-y 6s ease-in-out infinite;
}

.secondary-leaf-image {
  animation: float-rotate 7s ease-in-out infinite;
}

.visual-circle--1 {
  animation: spin-slow 30s linear infinite;
}

.visual-circle--2 {
  animation: spin-reverse 40s linear infinite;
}

.floating-particle {
  animation: particle-float 4s ease-in-out infinite;
}

.particle-2 { animation-duration: 5s; animation-delay: 0.5s; }
.particle-3 { animation-duration: 6s; animation-delay: 1s; }
.particle-4 { animation-duration: 7s; animation-delay: 1.5s; }
.particle-5 { animation-duration: 8s; animation-delay: 2s; }

/* Partners highlight icon pulse */
.highlight-icon-premium svg {
  animation: icon-pulse 2s ease-in-out infinite;
}

.highlight-item-premium:nth-child(2) .highlight-icon-premium svg { animation-delay: 0.3s; }
.highlight-item-premium:nth-child(3) .highlight-icon-premium svg { animation-delay: 0.6s; }
.highlight-item-premium:nth-child(4) .highlight-icon-premium svg { animation-delay: 0.9s; }

/* Contact CTA floating shapes */
.contact-shape--1 {
  animation: shape-float-1 8s ease-in-out infinite;
}

.contact-shape--2 {
  animation: shape-float-2 10s ease-in-out infinite;
}

/* Contact visual floating */
.contact-leaf-main {
  animation: float-rotate 8s ease-in-out infinite;
}

.contact-leaf-secondary {
  animation: float-y 6s ease-in-out infinite;
}

.contact-warm-glow {
  animation: gentle-pulse 5s ease-in-out infinite;
}

.contact-float-circle--1 {
  animation: float-y-slow 5s ease-in-out infinite;
}

.contact-float-circle--2 {
  animation: float-y 6s ease-in-out infinite;
}

/* CTA button shine */
.btn-shine {
  animation: shine-sweep 2s ease-in-out infinite;
  animation-delay: 3s;
}

/* Service map active state pulsing */
.map-state--active {
  animation: gentle-pulse 3s ease-in-out infinite;
}

.map-dot-pulse {
  animation: pulse-dot 2s ease-in-out infinite;
}

.map-ring-pulse {
  animation: pulse-ring 2s ease-in-out infinite;
}

/* Region card active dot */
.coverage-region-card--active .region-dot {
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Premium leaves */
.premium-leaves svg g.premium-leaf-1 {
  animation: leaf-sway-1 8s ease-in-out infinite;
}

.premium-leaves svg g.premium-leaf-2 {
  animation: leaf-sway-2 10s ease-in-out infinite;
}

/* FAQ chevron rotation */
.cp-faq-item--open .cp-faq-trigger svg {
  transform: rotate(180deg);
}

.cp-faq-trigger svg {
  transition: transform 0.3s ease;
}

/* FAQ answer transition */
.cp-faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cp-faq-item--open .cp-faq-answer {
  max-height: 300px;
  opacity: 1;
}

/* Hover effects for service cards */
.service-highlight-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(74, 55, 40, 0.12);
}

/* Hover effects for partner highlights */
.highlight-item-premium {
  transition: transform 0.3s ease;
}

.highlight-item-premium:hover {
  transform: scale(1.05) translateY(-5px);
}

/* Hover effects for contact info cards */
.contact-info-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px) scale(1.02);
}

/* Coverage region card hover */
.coverage-region-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coverage-region-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(74, 55, 40, 0.1);
}

/* Mission card hover */
.mission-card {
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
}

/* Why card hover */
.why-card .why-number {
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.why-card:hover .why-number {
  opacity: 1;
  color: #C68E17;
  transform: scale(1.1);
}

/* Contact page button hover */
.cp-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.cp-btn:hover {
  transform: scale(1.05) translateY(-3px);
}

/* Detail card hover */
.cp-detail-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cp-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(74, 55, 40, 0.1);
}

/* Partner button hover */
.partner-btn-premium {
  transition: transform 0.3s ease;
}

.partner-btn-premium:hover {
  transform: scale(1.05) translateY(-2px);
}

/* Form submit button */
.cp-btn--full:hover {
  transform: scale(1.03) translateY(-2px);
}

/* Mobile menu transitions */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  max-height: 500px;
  opacity: 1;
}
