/**
 * JcDesigner - Galactic Electric Theme Stylesheet
 * ================================================
 * Deep Blues | Neon Accents | Electric Energy | Futuristic
 * Primary: #050814 (Deep Space)
 * Accent: #00D4FF (Neon Blue)
 * Secondary: #00F5FF (Electric Cyan)
 */

/* ============================================
   1. CSS CUSTOM PROPERTIES (GALACTIC THEME)
   ============================================ */

:root {
  /* Galactic Background Colors */
  --color-bg-primary: #050814;
  --color-bg-secondary: #0A0F1E;
  --color-bg-tertiary: #0F1629;
  --color-bg-elevated: #1A1A2E;
  --color-bg-card: rgba(10, 15, 30, 0.8);
  
  /* Electric Neon Accents */
  --color-accent-primary: #00D4FF;
  --color-accent-secondary: #00F5FF;
  --color-accent-tertiary: #00B8D4;
  --color-accent-glow: rgba(0, 212, 255, 0.5);
  
  /* Alert/Action Colors */
  --color-pulse: #FF006E;
  --color-success: #39FF14;
  --color-warning: #FFB800;
  
  /* Text Colors */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B8C5D6;
  --color-text-tertiary: #8A9AAF;
  --color-text-muted: #5A6A7F;
  
  /* Electric Gradients */
  --gradient-electric: linear-gradient(135deg, #00D4FF 0%, #00F5FF 50%, #00B8D4 100%);
  --gradient-electric-horizontal: linear-gradient(90deg, #00D4FF 0%, #00F5FF 50%, #00B8D4 100%);
  --gradient-cosmic: linear-gradient(180deg, #050814 0%, #0A0F1E 50%, #0F1629 100%);
  --gradient-neon-glow: linear-gradient(135deg, rgba(0,212,255,0.3) 0%, rgba(0,245,255,0.1) 100%);
  --gradient-energy-line: linear-gradient(90deg, transparent 0%, #00D4FF 50%, transparent 100%);
  
  /* Typography */
  --font-heading: 'Orbitron', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Rajdhani', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Electric Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.8);
  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.4);
  --shadow-neon-lg: 0 0 40px rgba(0, 212, 255, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.6);
  
  /* Animation */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-electric: 800ms;
}

/* ============================================
   2. BASE STYLES & RESET
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Selection */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: var(--color-text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-secondary);
}

/* ============================================
   3. ELECTRIC ANIMATIONS
   ============================================ */

@keyframes electricPulse {
  0%, 100% { 
    box-shadow: 0 0 5px var(--color-accent-primary), 
                0 0 10px var(--color-accent-primary), 
                0 0 20px var(--color-accent-primary); 
  }
  50% { 
    box-shadow: 0 0 10px var(--color-accent-primary), 
                0 0 20px var(--color-accent-primary), 
                0 0 40px var(--color-accent-primary); 
  }
}

@keyframes energyLine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes glowOrb {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.5; }
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes dataStream {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
  52% { opacity: 0.3; }
  54% { opacity: 1; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================
   4. UTILITY CLASSES
   ============================================ */

.text-gradient {
  background: var(--gradient-electric);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-neon {
  color: var(--color-accent-primary);
}

.glow-neon {
  text-shadow: 0 0 10px var(--color-accent-glow);
}

.border-neon {
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.bg-cosmic {
  background: var(--color-bg-tertiary);
}

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

.animate-pulse-neon {
  animation: electricPulse 2s ease-in-out infinite;
}

/* ============================================
   5. ELECTRIC BUTTONS
   ============================================ */

.btn-electric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gradient-electric);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-bg-primary);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-expo-out);
  position: relative;
  overflow: hidden;
}

.btn-electric::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform var(--duration-slow);
}

.btn-electric:hover::before {
  transform: translateX(100%);
}

.btn-electric:hover {
  box-shadow: var(--shadow-neon-lg);
  transform: translateY(-2px);
}

.btn-electric-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid var(--color-accent-primary);
  border-radius: var(--radius-md);
  color: var(--color-accent-primary);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal);
}

.btn-electric-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--color-accent-secondary);
  color: var(--color-accent-secondary);
  box-shadow: var(--shadow-neon);
}

/* ============================================
   6. FORM STYLES
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--duration-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   7. CARD STYLES
   ============================================ */

.card-electric {
  background: var(--color-bg-card);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all var(--duration-normal) var(--ease-expo-out);
  position: relative;
  overflow: hidden;
}

.card-electric::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--color-accent-primary) 60deg,
    var(--color-accent-secondary) 120deg,
    var(--color-accent-primary) 180deg,
    transparent 240deg,
    transparent 360deg
  );
  border-radius: calc(var(--radius-lg) + 2px);
  opacity: 0;
  transition: opacity var(--duration-normal);
  z-index: -1;
  animation: borderRotate 4s linear infinite;
}

.card-electric:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: var(--shadow-neon);
}

.card-electric:hover::before {
  opacity: 0.5;
}

/* ============================================
   8. SECTION LABELS & HEADERS
   ============================================ */

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  position: relative;
}

.section-label::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-electric);
  opacity: 0.1;
  border-radius: var(--radius-full);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gradient-electric-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-subheading {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
}

/* ============================================
   9. ENERGY LINE EFFECTS
   ============================================ */

.energy-line {
  position: absolute;
  height: 1px;
  width: 100%;
  background: var(--gradient-energy-line);
  background-size: 200% 100%;
  animation: energyLine 3s linear infinite;
  opacity: 0.5;
}

/* ============================================
   10. GLOW ORBS
   ============================================ */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: glowOrb 4s ease-in-out infinite;
}

.glow-orb-primary {
  background: rgba(0, 212, 255, 0.15);
}

.glow-orb-secondary {
  background: rgba(0, 184, 212, 0.1);
}

/* ============================================
   11. RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
    --text-7xl: 3.5rem;
  }
  
  .section-heading {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
}



/* === Batch 1: Service Type Cards with Background Images (Pylon Signs) === */
.type-card.type-card-bg{
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
.type-card.type-card-bg .type-bg-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(7,10,18,0.75), rgba(7,10,18,0.35));
  opacity: 1;
  z-index:0;
}
.type-card.type-card-bg::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(circle at 30% 20%, rgba(0,200,255,0.25), transparent 55%),
              radial-gradient(circle at 70% 80%, rgba(255,120,0,0.18), transparent 60%);
  pointer-events:none;
  z-index:0;
}
.type-card.type-card-bg .type-number,
.type-card.type-card-bg .type-content{
  position: relative;
  z-index:1;
}
.type-card.type-card-bg:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}
