/* Custom styles and micro-animations for Laje & Lux (Pure CSS, Zero Node) */

:root {
  --brand-navy: #043249;
  --brand-darkblue: #05334a;
  --brand-blue: #076a94;
  --brand-lightblue: #087eaf;
  --brand-accent: #ff9c00;
  --brand-accent-hover: #e68d00;
  --brand-solar: #ffa300;
  --brand-bg: #f8fafc;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  letter-spacing: -0.02em;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #076a94;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff9c00;
}

/* Floating animation */
@keyframes softFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: softFloat 4s ease-in-out infinite;
}

/* Pulse animation for WhatsApp & Badges */
@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

.pulse-whatsapp {
  animation: subtlePulse 2.5s infinite;
}

/* Amber pulse for solar badges */
@keyframes amberPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 156, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 156, 0, 0);
  }
}

.pulse-amber {
  animation: amberPulse 3s infinite;
}

/* Glassmorphism helpers */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(4, 50, 73, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Smooth reveal transitions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Solar beam background gradient */
.solar-radial-glow {
  background: radial-gradient(circle at 85% 15%, rgba(255, 163, 0, 0.15) 0%, rgba(7, 106, 148, 0.05) 45%, transparent 70%);
}

/* Card hover transitions */
.card-hover-effect {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -10px rgba(4, 50, 73, 0.12);
}

/* Interactive slider track styling */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff9c00;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #e68d00;
}
