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

:root {
    /* Slightly darker, more technical backgrounds */
    --themeht-bg-dark-color: #0a0e27;        /* Deeper navy for dark sections */
    --themeht-bg-light-color: #f5f7fa;       /* Cooler light gray for contrast */
    
    /* Subtle gradient backgrounds for sections */
    --platform-dark-gradient: linear-gradient(135deg, #0a0e27 0%, #151b3d 100%);
    --platform-light-gradient: linear-gradient(135deg, #f5f7fa 0%, #e8ecf4 100%);
}

/* Main body background - light gray */
body {
    background: #f0f2f5 !important;
}

.page-wrapper {
    background: #f0f2f5;
}

.page-content {
    background: #f0f2f5;
}

/* 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, #3f5efb 0%, #fc466b 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(63, 94, 251, 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, #fc466b 0%, #3f5efb 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.themeht-btn.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(63, 94, 251, 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(63, 94, 251, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(63, 94, 251, 0.7);
    }
}

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

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