/* ============ Overlay (בקרוב) ============ */
#whiteOverlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(600px 280px at 100% 0%, #ffeaf3 0);
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 9999999999;
    cursor: default;
    pointer-events: all;
}

#whiteOverlay h4 {
    margin: 0;
    font-size: 40px;
}

#whiteOverlay p {
    margin: 10px 0;
}

/* ============ טבעת צבעונית מסתובבת סביב התמונה ============ */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.colorCircle {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from var(--angle),
            red,
            orange,
            yellow,
            green,
            blue,
            indigo,
            violet,
            red);
    animation: spin 3s linear infinite;
    overflow: hidden;
}

.colorCircle img {
    display: block;
    border-radius: 50%;
    width: 130px;
    height: 130px;
    border: 3px solid #000;
    background: #000;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.colorCircle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from var(--angle),
            red,
            orange,
            yellow,
            green,
            blue,
            indigo,
            violet,
            red);
    animation: spin 3s linear infinite;
    z-index: 1;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

/* ============ 🛠️ טקסט משתנה עם אימוג'י ============ */
.changing-text::after {
    content: "האתר בשיפוצים כעת 🛠️";
    animation: changeText 9s linear infinite, fadeText 9s ease-in-out infinite;
    display: inline-block;
}

@keyframes changeText {
    0% {
        content: "האתר בשיפוצים כעת 🛠️";
    }

    33% {
        content: "חוזרים בקרוב עם עיצוב חדש ✨";
    }

    66% {
        content: "תודה על הסבלנות 💗";
    }

    100% {
        content: "האתר בשיפוצים כעת 🛠️";
    }
}

@keyframes fadeText {

    /* מופיע בעוצמה גבוהה יותר (קצת זוהר) */
    0%,
    33%,
    66%,
    100% {
        opacity: 1;
        filter: brightness(1.25);
        /* מוסיף מעט אור לטקסט */
    }

    /* בזמן המעבר הוא לא נעלם לגמרי אלא נשאר חצי-שקוף */
    16%,
    50%,
    83% {
        opacity: 1;
        filter: brightness(1);
        /* חוזר לעוצמה רגילה */
    }
}