/* ==========================================================================
   Elevate Electrical Ireland - Custom Theme Styles & Sticky WhatsApp Widget
   ========================================================================== */

:root {
  --elevate-navy: #0f172a;
  --elevate-dark: #070d18;
  --elevate-blue: #0066ff;
  --elevate-blue-hover: #0052cc;
  --elevate-amber: #ff9f1c;
  --elevate-green: #10b981;
  --elevate-text: #334155;
}

/* Sticky WhatsApp Business Button - Bottom Left */
.sticky-whatsapp-left {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.sticky-whatsapp-left:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.sticky-whatsapp-left i.bi-whatsapp {
  font-size: 1.6rem;
  line-height: 1;
}

.sticky-whatsapp-left .wa-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sticky-whatsapp-left .wa-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sticky-whatsapp-left .wa-name {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.sticky-whatsapp-left .pulse-live {
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: wa-pulse 1.8s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 576px) {
  .sticky-whatsapp-left {
    bottom: 16px;
    left: 16px;
    padding: 8px 14px;
    gap: 8px;
  }
  .sticky-whatsapp-left .wa-sub {
    display: none;
  }
  .sticky-whatsapp-left .wa-name {
    font-size: 0.85rem;
  }
}

/* Brand Nav & Topbar Enhancements */
.topbar-elevate {
  background: #0b1322;
  color: #cbd5e1;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-elevate a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-elevate a:hover {
  color: #ff9f1c;
}

.badge-dispatch {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
}

.brand-badge-safe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
}

/* Feature Spec Cards */
.spec-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  transition: all 0.3s ease;
}

.spec-box:hover {
  border-color: #0066ff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 102, 255, 0.08);
}

.spec-box .icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.commercial-highlight-bar {
  background: linear-gradient(135deg, #0b1322, #1e293b);
  color: #ffffff;
  padding: 40px 0;
  border-radius: 16px;
  margin: 30px 0;
}
