/* =================================== */
/* סגנונות בסיס (כולל Glass)         */
/* =================================== */
:root { --accent: #7c3aed; }
.neon-gradient { background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 50%, #22c55e 100%); }
.glass { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)); backdrop-filter: blur(10px); }
.glow { box-shadow: 0 0 40px rgba(124,58,237,.35); }
.orb { position: absolute; filter: blur(80px); opacity: .35; mix-blend: screen; }
.kr-hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, #ffffff55, transparent); }
.kr-hr--dashed { border-top: 2px dashed #ffffff55; background: transparent; }

/* =================================== */
/* סגנונות תבניות רקע גלובליות (Themes) */
/* =================================== */
body { transition: background 0.4s ease, color 0.4s ease; }

.theme-dark { --bg: #020617; --ink: #f8fafc; background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%); background-attachment: fixed; color: #f8fafc; }
.theme-slate-dark { --bg: #020617; --ink: #f8fafc; background-color: var(--bg); color: var(--ink); }
.theme-light { --bg: #ffffff; --ink: #111827; background-color: var(--bg); color: var(--ink); }
.theme-midnight { --bg: #020617; --ink: #f8fafc; background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%) !important; background-attachment: fixed !important; color: #f8fafc; }
.theme-slate { background-color: #1f2937; color: #e5e7eb; }
.theme-paper { background-image: url('https://www.transparenttextures.com/patterns/recycled-paper.png'); background-color: #f1f1f1; color: #2c2c2c; }
.theme-concrete { background-image: url('https://www.transparenttextures.com/patterns/concrete-wall.png'); background-color: #e2e2e2; color: #222222; }
.theme-gradient { background: linear-gradient(135deg, #1e3a8a, #4c1d95, #042f2e); color: #ffffff; }
.theme-ocean { background: linear-gradient(to top, #00c6ff, #0072ff); color: #ffffff; }
.theme-sunrise { background: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%); color: #333333; }
.theme-sunset { background: linear-gradient(to right, #ff7e5f, #feb47b); color: #ffffff; }
.theme-synthwave { background: linear-gradient(45deg, #f02fc2 0%, #6094ea 100%); color: #ffffff; }
.theme-gold { background: linear-gradient(135deg, #aA8542 0%, #e8d282 50%, #a2793d 100%); color: #211c09; }
.theme-galaxy { background-image: url('https://images.unsplash.com/photo-1464802686167-b939a6910659?q=80&w=2050&auto=format&fit=crop'); background-size: cover; background-position: center; background-attachment: fixed; color: #ffffff; }
.theme-forest { background-image: url('https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=2070&auto=format&fit=crop'); background-size: cover; background-position: center; background-attachment: fixed; color: #ffffff; }
.theme-dune { background-image: url('https://images.unsplash.com/photo-1473580044384-7ba9967e16a0?q=80&w=2070&auto=format&fit=crop'); background-size: cover; background-position: center; background-attachment: fixed; color: #ffffff; }

/* תיקוני נראות עבור תבנית בהירה */
.theme-light .text-white { color: #111827 !important; }
/* הגנה על טקסט ואייקונים בתוך כפתורים ובר דביק - שיישארו תמיד לבנים */
.theme-light #k-sticky-bar,
.theme-light #k-sticky-bar a,
.theme-light #k-sticky-bar i,
.theme-light #k-sticky-bar .text-white,
.theme-light #floating-call-btn,
.theme-light #floating-call-btn i,
.theme-light .btn-primary,
.theme-light .btn-primary i {
    color: #ffffff !important;
}
.theme-light .text-slate-300, .theme-light .text-gray-400, .theme-light .text-gray-300 { color: #4b5563 !important; }
.theme-light i.fa, .theme-light i.fas, .theme-light i.far, .theme-light i.fab, .theme-light i.fa-solid { color: #374151; }
.theme-light .text-yellow-400 { color: #f59e0b; }
.theme-light .bg-white\/5, .theme-light .bg-gray-800\/50, .theme-light .bg-slate-950\/90 { background-color: #f3f4f6 !important; border-color: #d1d5db !important; }
.theme-light .border-white\/10 { border-color: #e5e7eb !important; }
.theme-light [type='radio']:checked + div > svg { stroke: #111827; }

/* הזזת כפתור הנגישות מעל סרגל הפעולות במובייל */
@media (max-width: 767px) { .pos-bl, .pos-br { bottom: 60px !important; } }

/* =================================== */
/* סגנונות תבניות המיועדים לבלוקים     */
/* =================================== */
.block-theme-dark { background-color: #020617; color: #f8fafc; }
.block-theme-light { background-color: #ffffff; color: #111827; }
.block-theme-slate { background-color: #1f2937; color: #e5e7eb; }
.block-theme-paper { background-image: url('https://www.transparenttextures.com/patterns/recycled-paper.png'); background-color: #f1f1f1; color: #2c2c2c; }
.block-theme-concrete { background-image: url('https://www.transparenttextures.com/patterns/concrete-wall.png'); background-color: #e2e2e2; color: #222222; }
.block-theme-gradient { background: linear-gradient(135deg, #1e3a8a, #4c1d95, #042f2e); color: #ffffff; }
.block-theme-ocean { background: linear-gradient(to top, #00c6ff, #0072ff); color: #ffffff; }
.block-theme-sunrise { background: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%); color: #333333; }
.block-theme-sunset { background: linear-gradient(to right, #ff7e5f, #feb47b); color: #ffffff; }
.block-theme-synthwave { background: linear-gradient(45deg, #f02fc2 0%, #6094ea 100%); color: #ffffff; }
.block-theme-gold { background: linear-gradient(135deg, #aA8542 0%, #e8d282 50%, #a2793d 100%); color: #211c09; }
.block-theme-galaxy { background-image: url('https://images.unsplash.com/photo-1464802686167-b939a6910659?q=80&w=2050&auto=format&fit=crop'); background-size: cover; background-position: center; color: #ffffff; }
.block-theme-forest { background-image: url('https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=2070&auto=format&fit=crop'); background-size: cover; background-position: center; color: #ffffff; }
.block-theme-dune { background-image: url('https://images.unsplash.com/photo-1473580044384-7ba9967e16a0?q=80&w=2070&auto=format&fit=crop'); background-size: cover; background-position: center; color: #ffffff; }
[class*="block-theme-"] { padding: 2rem; border-radius: 12px; }

/* =================================== */
/* חוקי הסתרה - מובייל ודסקטופ         */
/* =================================== */
@media (max-width: 768px) { .hidden-mobile { display: none !important; } }
@media (min-width: 769px) { .hidden-desktop { display: none !important; } }

/* =================================== */
/* סגנונות גלריה מתקדמת                */
/* =================================== */
.advanced-gallery { padding: 16px; border: 2px dashed rgba(124,58,237,.4); border-radius: 12px; box-sizing: border-box; transition: .2s; }
.advanced-gallery.gjs-selected { border-color: rgba(124,58,237,1); border-style: solid; box-shadow: 0 0 10px rgba(124,58,237,.5); }
.advanced-gallery > .swiper { width: calc(100% - 32px); margin: 0 auto; }
.advanced-gallery .swiper { min-height: 320px; }
.advanced-gallery .swiper-slide { display: flex; align-items: center; justify-content: center; }
.advanced-gallery .swiper img { display: block; max-width: 100%; height: auto; }
.advanced-gallery .swiper-button-next, .advanced-gallery .swiper-button-prev { color: var(--nav-color, var(--accent, #7c3aed)) !important; }
.advanced-gallery .swiper-pagination-bullet-active { background: var(--accent, #7c3aed); }