/* ------------------------------------------------
  IQ Key Value Platform - Custom Theme Overrides
  Purpose: Give iqkv.dev a distinct technical/platform vibe
------------------------------------------------ */

/* Align form control font with the site's Nunito body font.
   Bootstrap resets font-family on inputs/textareas to its own
   system stack, which causes a visible mismatch on the contact page. */
.form-control,
.form-select,
.form-check-input,
button,
input,
optgroup,
select,
textarea {
  font-family: var(--themeht-typography-body-font-family);
}

:root {
  /* Deep blue-black for dark sections */
  --themeht-bg-dark-color: #0b1929;
  /* Cool blue-gray for light section backgrounds */
  --themeht-bg-light-color: #f0f4f8;

  /* Subtle gradient backgrounds for sections */
  --platform-dark-gradient: linear-gradient(135deg, #0b1929 0%, #0d2640 100%);
  --platform-light-gradient: linear-gradient(135deg, #f0f4f8 0%, #e2eaf4 100%);
}

/* Main body background - cool blue-gray tint */
body {
  background: #f0f4f8 !important;
}

.page-wrapper {
  background: #f0f4f8;
}

.page-content {
  background: #f0f4f8;
}

/* Dark sections with subtle gradient */
.dark-bg {
  background: var(--platform-dark-gradient) !important;
}

/* Light sections remain clean but slightly cooler */
.light-bg {
  background: var(--platform-light-gradient) !important;
}

/* White sections for contrast */
section:not(.dark-bg):not(.light-bg):not(.banner) {
  background: #ffffff;
}

/* Service cards on dark backgrounds - add subtle glow */
.dark-bg .service-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.dark-bg .service-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(63, 94, 251, 0.3);
  transform: translateY(-2px);
}

/* Light background service items */
.light-bg .service-item,
.service-item.style-2,
.service-item.style-3 {
  border-radius: 12px;
}

/* Quality tools section - keep it clean and professional */
.bg-light {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef1f7 100%) !important;
  border: 1px solid #e0e4ed;
}

/* Footer - deeper technical feel */
.footer {
  background: linear-gradient(135deg, #050816 0%, #0a0e27 100%) !important;
}

/* Fix icon visibility on dark backgrounds */
.dark-bg .service-icon i {
  color: var(--themeht-text-color);
}

/* Ensure Docker and other icons are visible */
.service-icon i.bi-docker,
.service-icon i.bi-cloud-upload,
.service-icon i.bi-tag,
.service-icon i.bi-hdd-stack,
.service-icon i.bi-check2-circle,
.service-icon i.bi-box-seam {
  color: var(--themeht-text-color) !important;
}

/* Custom CTA Button - High visibility call-to-action */
.themeht-btn.cta-btn {
  background: linear-gradient(135deg, #f97316 0%, #b91c1c 100%);
  color: #ffffff !important;
  border: none;
  padding: 15px 35px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.themeht-btn.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b91c1c 0%, #f97316 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.themeht-btn.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.6);
}

.themeht-btn.cta-btn:hover::before {
  left: 0;
}

/* Pulse animation for extra attention */
@keyframes pulse-cta {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.7);
  }
}

.themeht-btn.cta-btn {
  animation: pulse-cta 2s ease-in-out infinite;
}

.themeht-btn.cta-btn:hover {
  animation: none;
}
