@import "tailwindcss";

/* -------------------------------------------------------------
   WHITE GLOVEX - GLOBAL COMMON STYLES (public/css/style.css)
   Shared across all pages of the website
   ------------------------------------------------------------- */

:root {
  color-scheme: dark;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.011em;
}

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

/* Custom scrollbar for modern dark feel */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #09090b;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(24, 24, 27, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(63, 63, 70, 0.4);
}

/* Global Modal animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up {
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =============================================================
   BUTTON GRADIENT PALETTES & INTERACTIVE STATES
   ============================================================= */

/* 1. Amber to Green (Primary Brand Gradient - Solar & Sustainability) */
.btn-grad-amber-green {
  background: linear-gradient(135deg, #f59e0b 0%, #10b981 100%);
  color: #0a0a0a !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-grad-amber-green:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #34d399 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4), 0 0 12px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px) scale(1.02);
}
.btn-grad-amber-green:active {
  transform: translateY(0) scale(0.98);
}

/* 2. Amber to Gold (Solar Energy Focus) */
.btn-grad-amber-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0a0a0a !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-grad-amber-gold:hover {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px) scale(1.02);
}
.btn-grad-amber-gold:active {
  transform: translateY(0) scale(0.98);
}

/* 3. Cyan to Blue (EV Chargers / High Tech Clean Power) */
.btn-grad-cyan-blue {
  background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
  color: #ffffff !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-grad-cyan-blue:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px) scale(1.02);
}
.btn-grad-cyan-blue:active {
  transform: translateY(0) scale(0.98);
}

/* 4. Green to Emerald (Tree Removal & Eco Grounds) */
.btn-grad-green-emerald {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-grad-green-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px) scale(1.02);
}
.btn-grad-green-emerald:active {
  transform: translateY(0) scale(0.98);
}

/* 5. Amber to Blue (Regional News & Articles) */
.btn-grad-amber-blue {
  background: linear-gradient(135deg, #f59e0b 0%, #2563eb 100%);
  color: #ffffff !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-grad-amber-blue:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #3b82f6 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px) scale(1.02);
}
.btn-grad-amber-blue:active {
  transform: translateY(0) scale(0.98);
}

/* 6. Blue to Green (Service Area Dispatch) */
.btn-grad-blue-green {
  background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
  color: #ffffff !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-grad-blue-green:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #34d399 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  transform: translateY(-1px) scale(1.02);
}
.btn-grad-blue-green:active {
  transform: translateY(0) scale(0.98);
}

/* -------------------------------------------------------------
   7. SERVICE POINTING & HIGHLIGHT ANIMATION
   ------------------------------------------------------------- */
@keyframes serviceBeaconGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.95), 0 0 25px rgba(251, 191, 36, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.8), 0 0 65px rgba(251, 191, 36, 0.95);
    transform: scale(1.028);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0), 0 0 25px rgba(251, 191, 36, 0.5);
    transform: scale(1);
  }
}

.service-pointed-highlight {
  animation: serviceBeaconGlow 1.25s ease-in-out infinite !important;
  border-color: #fbbf24 !important;
  background-color: rgba(251, 191, 36, 0.12) !important;
  outline: 3px solid #fbbf24 !important;
  outline-offset: 4px !important;
  z-index: 35 !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

.service-pointed-highlight.highlight-fadeout {
  animation: none !important;
  transition: all 0.8s ease !important;
  outline-color: transparent !important;
  border-color: inherit !important;
  background-color: inherit !important;
  box-shadow: none !important;
  transform: scale(1) !important;
}

/* -------------------------------------------------------------
   8. BRAND LOGO COLOR EFFECT ON HOVER (Refined & Professional)
   Subtle solar-gold and clean-emerald ambient aura
   ------------------------------------------------------------- */
.logo-color-hover {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-color-hover .logo-glow-backdrop {
  position: absolute;
  inset: -4px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.22) 0%, rgba(16, 185, 129, 0.18) 50%, transparent 72%);
  filter: blur(14px);
  border-radius: 9999px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.logo-color-hover:hover .logo-glow-backdrop {
  opacity: 1;
  transform: scale(1.04);
}

.logo-color-hover img,
.logo-img-effect {
  position: relative;
  z-index: 1;
  transition: filter 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-color-hover:hover img,
.logo-color-hover:hover .logo-img-effect {
  transform: scale(1.02);
  filter: drop-shadow(0 3px 10px rgba(245, 158, 11, 0.32)) 
          drop-shadow(0 5px 16px rgba(16, 185, 129, 0.22)) 
          brightness(1.06) 
          saturate(1.12);
}

/* -------------------------------------------------------------
   9. FOOTER HEADLINE PILL INDICATORS (Sleek, Creative & Professional)
   Refined luxury glow with subtle ambient illumination
   ------------------------------------------------------------- */
.headline-pill-amber,
.headline-pill-emerald,
.headline-pill-gradient {
  display: inline-block;
  width: 5px;
  height: 16px;
  border-radius: 9999px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* White GloveX: Warm Solar Gold */
.headline-pill-amber {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.38), 0 0 16px rgba(245, 158, 11, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Plans & Services: Clean Energy Emerald */
.headline-pill-emerald {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.38), 0 0 16px rgba(16, 185, 129, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Know More: Solar to Emerald Gradient */
.headline-pill-gradient {
  background: linear-gradient(180deg, #fbbf24 0%, #10b981 100%);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.35), 0 0 16px rgba(16, 185, 129, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Creative Micro-interaction on Header Hover */
.footer-headline-group:hover .headline-pill-amber {
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.55), 0 0 20px rgba(245, 158, 11, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transform: scaleY(1.08);
}

.footer-headline-group:hover .headline-pill-emerald {
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.55), 0 0 20px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transform: scaleY(1.08);
}

.footer-headline-group:hover .headline-pill-gradient {
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5), 0 0 20px rgba(16, 185, 129, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transform: scaleY(1.08);
}



