/**
 * Unified SVG Sprite Sheet Styling Utilities
 *
 * @package mi-theme
 * @version 1.0.0
 */

/* ─── Base Icon Properties ────────────────── */
.icon, svg.lucide {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    vertical-align: middle;
    flex-shrink: 0;
    transition: transform var(--duration-base) var(--ease-out), 
                stroke var(--duration-fast) var(--ease-out), 
                fill var(--duration-fast) var(--ease-out);
}

svg.lucide {
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ─── Dimension Modifiers ──────────────────── */
.icon-xs {
    width: 14px;
    height: 14px;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

/* ─── Stroke-only Icon Adjustments ─────────── */
.icon-stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ─── Interactive Micro-animations ─────────── */

/* Rotates icon slightly on parent hover */
.social-icon-btn:hover .icon {
    transform: scale(1.1);
}

/* Shifts arrow right on hover (e.g. read more buttons) */
.btn-primary:hover .icon-arrow-right,
.btn-secondary:hover .icon-arrow-right,
a:hover .icon-arrow-right {
    transform: translateX(4px);
}

/* Rotates globe or gears slowly */
.translate-trigger-btn:hover .icon {
    transform: rotate(30deg);
}


