/* ============================================
   TRADEVISION - PROFESSIONAL SVG ICONS
   Scalable Vector Graphics - No Text Icons
   ============================================ */

/* ============================================
   1. BASE ICON STYLES
   ============================================ */

.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: currentColor;
    transition: all var(--transition-fast);
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

.icon-2xl {
    width: 64px;
    height: 64px;
}

/* ============================================
   2. ICON COLORS
   ============================================ */

.icon-primary {
    color: var(--color-primary);
}

.icon-secondary {
    color: var(--color-secondary);
}

.icon-success {
    color: var(--color-success);
}

.icon-warning {
    color: var(--color-warning);
}

.icon-error {
    color: var(--color-error);
}

.icon-info {
    color: var(--color-info);
}

/* ============================================
   3. ICON CONTAINER STYLES
   ============================================ */

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border-default);
    transition: all var(--transition-base);
}

.icon-wrapper:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.icon-wrapper-primary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
}

.icon-wrapper-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--color-success);
}

/* ============================================
   4. SOCIAL MEDIA ICONS (COLORFUL)
   ============================================ */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* LinkedIn - Official Brand Color */
.social-icon-linkedin {
    background: #0A66C2;
}

.social-icon-linkedin:hover {
    background: #004182;
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.4);
}

/* GitHub - Adaptive (White in Dark, Black in Light) */
.social-icon-github {
    background: #181717;
}

:root[data-theme="light"] .social-icon-github {
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

.social-icon-github:hover {
    background: #000000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Instagram - Brand Gradient */
.social-icon-instagram {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 25%, #833AB4 50%, #5851DB 75%, #405DE6 100%);
}

.social-icon-instagram:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.5);
}

/* Twitter / X - Brand Color */
.social-icon-twitter {
    background: #1DA1F2;
}

.social-icon-twitter:hover {
    background: #1a8cd8;
    box-shadow: 0 8px 24px rgba(29, 161, 242, 0.4);
}

/* ============================================
   5. SVG ICON DEFINITIONS (Inline)
   ============================================ */

/* Checkmark Icon */
.icon-check {
    stroke: var(--color-success);
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Email Icon */
.icon-email {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Phone Icon */
.icon-phone {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Location Pin Icon */
.icon-location {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Briefcase Icon */
.icon-briefcase {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Zap/Lightning Icon */
.icon-zap {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Target Icon */
.icon-target {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Shield Icon */
.icon-shield {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Code Icon */
.icon-code {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Users Icon */
.icon-users {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================
   6. ICON ANIMATIONS
   ============================================ */

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes icon-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes icon-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.icon-animated-bounce {
    animation: icon-bounce 1s ease-in-out infinite;
}

.icon-animated-spin {
    animation: icon-spin 2s linear infinite;
}

.icon-animated-pulse {
    animation: icon-pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ============================================
   7. ICON HOVER EFFECTS
   ============================================ */

.icon-hover-rotate {
    transition: transform var(--transition-base);
}

.icon-hover-rotate:hover {
    transform: rotate(15deg);
}

.icon-hover-scale {
    transition: transform var(--transition-base);
}

.icon-hover-scale:hover {
    transform: scale(1.2);
}

.icon-hover-color {
    transition: color var(--transition-base);
}

.icon-hover-color:hover {
    color: var(--color-primary);
}

/* ============================================
   8. RESPONSIVE ICON SIZING
   ============================================ */

@media (max-width: 768px) {
    .icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }
}
