/* Icon Styles for Bitrix24 Expert Template - Match React */

/* Service Icons */
.service-icon img {
  filter: brightness(0) saturate(100%) invert(53%) sepia(98%) saturate(1969%)
    hue-rotate(180deg) brightness(96%) contrast(91%);
}

/* Portfolio placeholders - match React card styling */
.portfolio-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.1) 0%,
    hsl(var(--tech) / 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  font-size: 3rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
}

/* Portfolio Cards - match React styling */
.portfolio-card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.portfolio-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.1) 0%,
    hsl(var(--tech) / 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  font-size: 3rem;
  font-weight: 700;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.portfolio-description {
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tag {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Contact Form - match React styling */
.contact-form {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-info {
  background: hsl(var(--secondary));
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.contact-details h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}

.contact-details p {
  color: hsl(var(--foreground) / 0.8);
  margin: 0;
}

/* Image loading states */
.image-loading {
  background: linear-gradient(
    90deg,
    hsl(var(--muted)) 25%,
    hsl(var(--muted) / 0.5) 50%,
    hsl(var(--muted)) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

/* Responsive icon sizes */
@media (max-width: 768px) {
  .service-icon img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .service-icon img {
    width: 18px;
    height: 18px;
  }
}
