/* ============================================
   ALD7Tech - Modern Tech-Themed Dividers
   Professional dividers for Software Development, AI, and Computer Vision
   Brand Colors: Orange (#FF7F3F) and Yellow (#FFD700)
   ============================================ */

/* ============================================
   1. CIRCUIT BOARD DIVIDER
   Features: Animated circuit paths with connection nodes
   Height: 50px
   ============================================ */
.divider-circuit {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.divider-circuit svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.divider-circuit .circuit-line {
  stroke: #FF7F3F;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawCircuit 3s ease-in-out forwards;
}

.divider-circuit .circuit-node {
  fill: #FFD700;
  animation: pulse 2s ease-in-out infinite;
}

.divider-circuit .circuit-dot {
  fill: #FF7F3F;
  opacity: 0;
  animation: fadeInDot 1s ease-in-out forwards;
}

@keyframes drawCircuit {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    r: 4;
  }
  50% {
    opacity: 0.6;
    r: 6;
  }
}

@keyframes fadeInDot {
  to {
    opacity: 1;
  }
}

/* ============================================
   2. BINARY CODE DIVIDER
   Features: Scrolling binary numbers with gradient
   Height: 40px
   ============================================ */
.divider-binary {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.divider-binary::before {
  content: '01001001 01000001 01010011 01001000 01000001 01010011 01001000 01000001 01010011 01001000 01000001 01010011 01001000 01000001 01010011 01001000 01000001 01010011 01001000 01000001 01010011 01001000 01000001';
  position: absolute;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FF7F3F;
  opacity: 0.3;
  animation: scrollBinary 15s linear infinite;
}

.divider-binary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

/* ============================================
   3. HEXAGONAL PATTERN DIVIDER
   Features: Geometric hexagons with gradient fill
   Height: 60px
   ============================================ */
.divider-hexagon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.divider-hexagon svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.divider-hexagon .hex-shape {
  fill: none;
  stroke: #FF7F3F;
  stroke-width: 2;
  opacity: 0;
  animation: fadeInHex 1s ease-in-out forwards;
}

.divider-hexagon .hex-shape:nth-child(1) {
  animation-delay: 0s;
}

.divider-hexagon .hex-shape:nth-child(2) {
  animation-delay: 0.1s;
}

.divider-hexagon .hex-shape:nth-child(3) {
  animation-delay: 0.2s;
}

.divider-hexagon .hex-shape:nth-child(4) {
  animation-delay: 0.3s;
}

.divider-hexagon .hex-shape:nth-child(5) {
  animation-delay: 0.4s;
}

.divider-hexagon .hex-center {
  fill: url(#hexGradient);
  opacity: 0.8;
}

@keyframes fadeInHex {
  to {
    opacity: 0.6;
  }
}

/* ============================================
   4. DATA FLOW DIVIDER
   Features: Animated particles flowing through lines
   Height: 50px
   ============================================ */
.divider-dataflow {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.divider-dataflow svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.divider-dataflow .flow-line {
  stroke: #FF7F3F;
  stroke-width: 1.5;
  fill: none;
  opacity: 0.4;
}

.divider-dataflow .flow-particle {
  fill: #FFD700;
  r: 3;
}

.divider-dataflow .flow-particle:nth-child(1) {
  animation: flowMove1 4s ease-in-out infinite;
}

.divider-dataflow .flow-particle:nth-child(2) {
  animation: flowMove2 4s ease-in-out infinite;
  animation-delay: 1s;
}

.divider-dataflow .flow-particle:nth-child(3) {
  animation: flowMove3 4s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes flowMove1 {
  0%, 100% {
    cx: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    cx: 1200;
    opacity: 0;
  }
}

@keyframes flowMove2 {
  0%, 100% {
    cx: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    cx: 1200;
    opacity: 0;
  }
}

@keyframes flowMove3 {
  0%, 100% {
    cx: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    cx: 1200;
    opacity: 0;
  }
}

/* ============================================
   5. TECH ICONS DIVIDER
   Features: AI, Code, and Vision icons with gradient line
   Height: 50px
   ============================================ */
.divider-tech-icons {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  background: transparent;
  gap: 40px;
}

.divider-tech-icons::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FF7F3F 30%, #FFD700 50%, #FF7F3F 70%, transparent 100%);
  z-index: 1;
}

.divider-tech-icons .tech-icon {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 127, 63, 0.3);
  transition: transform 0.3s ease;
}

.divider-tech-icons .tech-icon:hover {
  transform: scale(1.2) rotate(5deg);
}

.divider-tech-icons .tech-icon svg {
  width: 20px;
  height: 20px;
  fill: #FF7F3F;
}

/* Animation for tech icons */
@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.divider-tech-icons .tech-icon:nth-child(1) {
  animation: iconBounce 2s ease-in-out infinite;
}

.divider-tech-icons .tech-icon:nth-child(2) {
  animation: iconBounce 2s ease-in-out infinite;
  animation-delay: 0.3s;
}

.divider-tech-icons .tech-icon:nth-child(3) {
  animation: iconBounce 2s ease-in-out infinite;
  animation-delay: 0.6s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .divider-circuit,
  .divider-hexagon,
  .divider-dataflow {
    height: 40px;
    padding: 15px 0;
  }

  .divider-binary {
    height: 35px;
    padding: 12px 0;
  }

  .divider-binary::before {
    font-size: 0.65rem;
  }

  .divider-tech-icons {
    gap: 25px;
    height: 45px;
  }

  .divider-tech-icons .tech-icon {
    width: 28px;
    height: 28px;
  }

  .divider-tech-icons .tech-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .divider-circuit,
  .divider-hexagon,
  .divider-dataflow {
    height: 35px;
    padding: 10px 0;
  }

  .divider-binary {
    height: 30px;
    padding: 10px 0;
  }

  .divider-binary::before {
    font-size: 0.6rem;
  }

  .divider-tech-icons {
    gap: 20px;
    height: 40px;
  }

  .divider-tech-icons .tech-icon {
    width: 24px;
    height: 24px;
  }

  .divider-tech-icons .tech-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .divider-circuit .circuit-line,
  .divider-circuit .circuit-node,
  .divider-circuit .circuit-dot,
  .divider-binary::before,
  .divider-hexagon .hex-shape,
  .divider-dataflow .flow-particle,
  .divider-tech-icons .tech-icon {
    animation: none;
  }

  .divider-circuit .circuit-line {
    stroke-dashoffset: 0;
  }

  .divider-circuit .circuit-dot {
    opacity: 1;
  }

  .divider-hexagon .hex-shape {
    opacity: 0.6;
  }
}
