
/* ==========================================================================
   2026 SITECRAFT.IE ADVANCED MOBILE SLIDING DRAWER & UNIFIED NAVBAR
   Glassmorphism Cards, Cyber Glows, and Pinned 3-Button Dock (Ace-Style)
   ========================================================================== */

/* Toggle Button */
.navbar-toggler-custom {
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  background: rgba(15, 23, 42, 0.7) !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  color: #38bdf8 !important;
  transition: all 0.2s ease !important;
}
.navbar-toggler-custom:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38bdf8 !important;
}

/* Drawer Backdrop */
.sc-drawer-wrap {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.sc-drawer-wrap.sc-drawer-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.sc-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Sliding Drawer Container */
.sc-drawer-container {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #070d1a;
  border-left: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: -12px 0 45px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 10;
  font-family: 'Inter', -apple-system, sans-serif;
}
.sc-drawer-wrap.sc-drawer-active .sc-drawer-container {
  transform: translateX(0);
}

/* Drawer Top Header */
.sc-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #040812;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  flex: 0 0 auto;
}
.sc-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}
.sc-brand-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
  display: block;
  line-height: 1.2;
}
.sc-brand-sub {
  color: #38bdf8;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.8px;
  display: block;
}
.sc-drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sc-drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ef4444;
}

/* Drawer Scrollable Body */
.sc-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 18px;
  -webkit-overflow-scrolling: touch;
}
.sc-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-nav-link {
  color: #e2e8f0 !important;
  padding: 11px 16px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.2s ease !important;
}
.sc-nav-link:hover {
  color: #ffffff !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  transform: translateX(4px);
}
.sc-nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(2, 132, 199, 0.4)) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}
.sc-nav-icon {
  width: 22px;
  text-align: center;
  margin-right: 8px;
  font-size: 15px;
}
.sc-live-badge {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 2px 7px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* Accordion Sub-Lists */
.sc-sub-list {
  list-style: none;
  padding: 6px 0 6px 16px;
  margin: 6px 0 0 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid rgba(56, 189, 248, 0.3);
}
.sc-nav-dropdown.is-open .sc-sub-list {
  display: flex;
}
.sc-chevron {
  transition: transform 0.2s ease;
  font-size: 12px;
  color: #94a3b8;
}
.sc-nav-dropdown.is-open .sc-chevron {
  transform: rotate(180deg);
  color: #38bdf8;
}
.sc-sub-link {
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}
.sc-sub-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  padding-left: 16px !important;
}

/* Telemetry Card */
.sc-drawer-telemetry {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 10px;
}
.sc-telemetry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: sc-pulse 1.2s infinite alternate;
}
@keyframes sc-pulse { from { opacity: 0.5; } to { opacity: 1; } }

/* Pinned Bottom CTA Dock */
.sc-drawer-dock {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.2fr;
  gap: 8px;
  padding: 12px 16px;
  background: #040812;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  flex: 0 0 auto;
}
.sc-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: transform 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.sc-dock-btn:active {
  transform: scale(0.96);
}
.sc-dock-call {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.sc-dock-call:hover {
  background: #334155;
  color: #38bdf8 !important;
}
.sc-dock-wa {
  background: #16a34a;
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.35);
}
.sc-dock-wa:hover {
  background: #22c55e;
}
.sc-dock-pay {
  background: #0284c7;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.35);
}
.sc-dock-pay:hover {
  background: #0ea5e9;
}
