/**
 * Imam Ali Visual Enhancer Styles
 */

/* Background Spread */
body {
    background-image: var(--ia-ve-page-bg) !important;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--ia-ve-body-font-color);
}

/* Header Decoration */
.header, .res-header, .header *, .res-header * {
    position: relative;
    background-image: var(--ia-ve-header-bg) !important;
    background-repeat: repeat-x;
    background-position: center top;
    background-size: contain;
}

.header, .res-header, .header a, .res-header a, .header li, .res-header li {
    color: var(--ia-ve-header-font-color) !important;
}

/* Footer Decoration */
.footer-above, .footer, .footer-above *, .footer * {
    position: relative;
    background-image: var(--ia-ve-footer-bg) !important;
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: contain;
}

.footer-above, .footer, .footer-above a, .footer a, .footer-above li, .footer li, .footer-above p, .footer p {
    color: var(--ia-ve-footer-font-color) !important;
}

/* Sidebar Decoration */
.five.columns, .five.columns * {
    background-image: var(--ia-ve-sidebar-bg) !important;
    background-repeat: repeat-y;
    background-position: right top;
    background-size: contain;
}

.five.columns, .five.columns a, .five.columns li, .five.columns h5 {
    color: var(--ia-ve-sidebar-font-color) !important;
}

/* Decorative Overlays */
.ia-ve-decoration-lantern-left,
.ia-ve-decoration-lantern-right {
    position: fixed;
    top: 0;
    width: 100px;
    height: 200px;
    z-index: 1000;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    background-image: var(--ia-ve-header-bg); /* Reuse header image as decoration if nothing else */
}

.ia-ve-decoration-lantern-left { left: 20px; }
.ia-ve-decoration-lantern-right { right: 20px; }

.ia-ve-decoration-sabzeh {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    background-size: contain;
    background-repeat: repeat-x;
    background-position: bottom;
    pointer-events: none;
    background-image: var(--ia-ve-footer-bg);
}

/* Particle Canvas Wrapper */
#ia-ve-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Additional specific theme alignment */
.header:after, .footer:after {
    content: "";
    display: table;
    clear: both;
}
