/* Font Awesome Icons - Core styles */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Custom Icon Styles for Luxa Theme */
.icon {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.icon-sm {
  font-size: 0.875rem;
}

.icon-lg {
  font-size: 1.25rem;
}

.icon-xl {
  font-size: 1.5rem;
}

.icon-2x {
  font-size: 2rem;
}

.icon-3x {
  font-size: 3rem;
}

/* Base Icons - Custom icon font classes */
.base-icon-magnifying-glass::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.base-icon-phone-call::before {
  content: "\f095";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.base-icon-envelope::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.base-icon-placeholder::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Social Media Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.linkedin {
  background: #0077b5;
}

.social-icon.twitter {
  background: #1da1f2;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Icon Boxes */
.icon-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.icon-box-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #007bff;
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
}

.icon-box-content h4 {
  margin-bottom: 0.5rem;
  color: #333;
}

.icon-box-content p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* Service Icons */
.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.service-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

/* Navigation Icons */
.nav-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Contact Icons */
.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #007bff;
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Feature Icons */
.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  border-radius: 15px;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Status Icons */
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
}

.status-icon.success {
  background: #28a745;
  color: white;
}

.status-icon.warning {
  background: #ffc107;
  color: #212529;
}

.status-icon.danger {
  background: #dc3545;
  color: white;
}

.status-icon.info {
  background: #17a2b8;
  color: white;
}

/* Loading Icons */
.loading-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
}

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

/* Hover Effects */
.icon-hover {
  transition: all 0.3s ease;
}

.icon-hover:hover {
  color: #007bff;
  transform: scale(1.1);
}

/* Icon Lists */
.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}

.icon-list li:last-child {
  border-bottom: none;
}

.icon-list li i {
  margin-right: 1rem;
  color: #007bff;
  width: 20px;
  text-align: center;
}

/* Responsive Icon Adjustments */
@media (max-width: 768px) {
  .icon-box {
    flex-direction: column;
    text-align: center;
  }
  
  .icon-box-icon {
    margin: 0 auto 1rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Icon Animation Classes */
.icon-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

.icon-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.icon-shake {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}