/* Professional SVG Icons for El Kraft Elektro */

/* Service Icons */
.service-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover .service-icon::before {
  transform: translateX(100%);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
  z-index: 1;
  position: relative;
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

/* Contact Icons */
.contact-icon {
  width: 24px;
  height: 24px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.2);
  background: var(--primary-color);
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Pulse animation for emergency contact */
.emergency-contact .contact-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

/* Value Icons */
.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.value-icon:hover::after {
  width: 100%;
  height: 100%;
}

.value-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.value-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
  z-index: 1;
  position: relative;
}

/* Feature Icons */
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--light-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Mobile responsiveness for icons */
@media (max-width: 768px) {
  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon svg {
    width: 35px;
    height: 35px;
  }

  .value-icon {
    width: 70px;
    height: 70px;
  }

  .value-icon svg {
    width: 35px;
    height: 35px;
  }

  .service-card:hover .service-icon {
    transform: scale(1.05) rotate(2deg);
  }
}

@media (max-width: 480px) {
  .service-icon,
  .value-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon svg,
  .value-icon svg {
    width: 30px;
    height: 30px;
  }
}
