/* ========================================================
   עיצוב ייעודי לעמוד הבית בלבד (Home Page)
   ======================================================== */

/* --- מעבר צבע חלק מלבן לסגול בסרגל העליון --- */
.header-nav-transition {
    height: 35px; 
    width: 100%;
    background-image: linear-gradient(to bottom, var(--white) 0%, var(--primary) 100%);
}

/* --- Hero Static Image Background --- */
.hero-static-bg { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 10; }
.hero-static-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }

.hero-slider-section {
    position: relative; width: 100%; 
    height: 750px !important; 
    overflow: hidden !important;
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding-bottom: 0 !important;
}

.hero-overlay-content {
    position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%);
    display: flex; justify-content: space-between; align-items: center; 
    z-index: 60 !important; 
    padding: 0 8%;
}
.hero-text-side { flex: 1; text-align: right; }
.hero-btn-side { flex-shrink: 0; text-align: left; }
.slide-title {
    color: var(--white); font-size: 4rem; font-weight: 800; margin-bottom: 0; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.3); line-height: 1.15;
    font-family: 'Fredoka', 'Varela Round', sans-serif;
}

.cta-btn {
    padding: 20px 45px; border-radius: var(--radius-btn); font-weight: 700; 
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    transition: 0.3s; text-align: center; border: none; line-height: 1.1;
    text-decoration: none; cursor: pointer;
}
.primary-cta { background: var(--accent); color: var(--white); box-shadow: 0 5px 15px rgba(242, 166, 90, 0.4); }
.primary-cta:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(242, 166, 90, 0.5); }
.btn-top-text { font-size: 1.3rem; margin-bottom: 5px; opacity: 0.95; display: block; }
.btn-huge-text { 
    font-size: 3.2rem; font-weight: 900; display: block; text-shadow: 0 2px 4px rgba(0,0,0,0.15); 
    font-family: 'Fredoka', 'Varela Round', sans-serif;
}

.pulse-btn { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(242, 166, 90, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(242, 166, 90, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(242, 166, 90, 0); }
}

/* --- סקשנים של עמוד הבית --- */
.section-padding { padding: 5rem 10%; }
.section-bg { background-color: var(--bg-light); border-radius: 50px; margin: 20px 0; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 2rem; color: var(--primary); font-weight: 800; position: relative; z-index: 20; }
.section-title::after { content: ''; display: block; width: 80px; height: 6px; background: var(--secondary); margin: 10px auto 0; border-radius: 2px; }

/* הוספה: יישור ימינה לכותרות בעת הצורך */
.title-right { text-align: right; }
.title-right::after { margin: 10px 0 0 0; }

/* --- ברוכים הבאים --- (רקע שמנת) */
.welcome-section { background-color: #FCF9F5; padding-top: 60px; overflow: hidden; }
.welcome-logo { height: 220px; width: auto; object-fit: contain; margin-right: 15px; }

/* הפסקה הראשית - גודל ביניים מעודן */
.welcome-intro-text, #dyn-welcome-text { 
    font-family: 'Fredoka', sans-serif !important; 
    font-size: 2rem !important; /* קצת יותר קטן */
    font-weight: 500; 
    color: var(--primary); 
    line-height: 1.6; 
    margin-bottom: 50px; 
    position: relative; 
    z-index: 2; 
}

/* דורס את הגדרות העורך כדי שהטקסט בתוך ה-span יגדל גם הוא */
#dyn-welcome-text span {
    font-size: inherit !important;
}

/* שאר הפסקאות הדינמיות (מי אני, הגישה שלי וכו') נשארו בגודל רגיל */
#dyn-about-me, #dyn-why-me, #dyn-approach-text {
    font-size: 1.35rem; 
}

/* מכריח בולד אמיתי ופונט עבה */
#dyn-welcome-text b, #dyn-welcome-text strong,
#dyn-about-me b, #dyn-about-me strong,
#dyn-why-me b, #dyn-why-me strong,
#dyn-approach-text b, #dyn-approach-text strong {
    font-family: 'Fredoka', 'Varela Round', sans-serif !important;
    font-weight: 700 !important;
}

/* ריבועים קופצים */
.welcome-features-list.staggered-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; padding-bottom: 60px; }
.stagger-item {
    background: #F4EBFF; padding: 25px; border-radius: var(--radius-card); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); font-weight: 700; color: var(--primary);
    display: flex; align-items: center; gap: 15px; font-size: 1.15rem; border: 2px solid transparent;
    opacity: 0; transform: translateY(80px) scale(0.85); position: relative; z-index: 25;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.welcome-features-list.staggered-list li:nth-child(1) { margin-top: -30px; margin-bottom: 30px; }
.welcome-features-list.staggered-list li:nth-child(2) { margin-top: 30px; margin-bottom: -30px; }
.welcome-features-list.staggered-list li:nth-child(3) { margin-top: 0px; margin-bottom: 0px; }
.welcome-features-list.staggered-list li:nth-child(4) { margin-top: 40px; margin-bottom: -40px; }

.stagger-item.visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.5s ease var(--delay, 0s), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay, 0s); }
.stagger-item.visible:hover { transform: scale(1.05) translateY(-10px) !important; box-shadow: 0 15px 30px rgba(110, 211, 207, 0.3); border-color: var(--secondary); transition: all 0.3s ease 0s !important; }
.stagger-item i { color: var(--secondary); font-size: 1.8rem; background: var(--white); padding: 15px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* עיטורים צפים */
.welcome-decor { position: absolute; z-index: 1; opacity: 0.5; pointer-events: none; }
.welcome-decor i { font-size: 2.5rem; }
.welcome-decor.note-1 { top: 15%; left: 8%; color: var(--primary); animation: float-decor 6s ease-in-out infinite; }
.welcome-decor.note-2 { top: 60%; left: 12%; color: var(--secondary); font-size: 1.8rem; animation: float-decor 8s ease-in-out infinite reverse; transform: rotate(-15deg); }
.welcome-decor.note-3 { top: 75%; left: 5%; color: var(--accent); font-size: 2rem; animation: float-decor 7s ease-in-out infinite; }
.welcome-decor.note-4 { top: 35%; left: 15%; color: var(--primary-hover); font-size: 1.5rem; animation: float-decor 5s ease-in-out infinite reverse; transform: rotate(15deg); }
.welcome-decor.sparkle-1 { top: 25%; right: 8%; color: var(--accent); animation: twinkle-decor 3s ease-in-out infinite; }
.welcome-decor.sparkle-2 { top: 70%; right: 12%; color: #f1c40f; font-size: 1.5rem; animation: twinkle-decor 4s ease-in-out infinite alternate; }
.welcome-decor.sparkle-3 { top: 15%; right: 15%; color: var(--secondary); font-size: 2rem; animation: twinkle-decor 5s ease-in-out infinite alternate; }
.welcome-decor.sparkle-4 { top: 50%; right: 5%; color: var(--primary); font-size: 1.8rem; animation: twinkle-decor 3.5s ease-in-out infinite; }

@keyframes float-decor { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(10deg); } 100% { transform: translateY(0) rotate(0deg); } }
@keyframes twinkle-decor { 0%, 100% { opacity: 0.2; transform: scale(0.8) rotate(0deg); } 50% { opacity: 0.8; transform: scale(1.3) rotate(20deg); } }

/* --- תמונות רנדומליות צפות --- */
.random-scatter-section { position: relative; padding: 80px 0; overflow: hidden; background: transparent !important; min-height: 450px; display: flex; justify-content: center; align-items: center; }
.scatter-grid { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; z-index: 20; position: relative; }
.scatter-img { width: 280px; height: 200px; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); transition: transform 0.5s; border: 5px solid var(--primary); }
.scatter-img.img-1 { transform: rotate(-4deg) translateY(15px); border-color: var(--secondary); }
.scatter-img.img-2 { transform: rotate(3deg) scale(1.1); z-index: 3; border-color: var(--accent); }
.scatter-img.img-3 { transform: rotate(-2deg) translateY(-15px); border-color: var(--primary); }
.scatter-img:hover { transform: scale(1.05) rotate(0); z-index: 30; border-color: var(--primary-hover); }
.scatter-icon { position: absolute; font-size: 4rem; color: rgba(110, 211, 207, 0.2); animation: float 6s ease-in-out infinite; z-index: 1;}
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

.fancy-separator { height: 2px; background: linear-gradient(90deg, transparent, var(--primary-hover), transparent); margin: 50px auto; width: 70%; position: relative; text-align: center; z-index: 20;}
.fancy-separator i { background: var(--bg-body); color: var(--accent); padding: 0 20px; position: relative; top: -12px; font-size: 1.5rem; }


/* --- מי אני --- */
.about-layout { display: flex; align-items: center; gap: 50px; max-width: 1150px; margin: 0 auto; z-index: 20; position: relative; }
.about-image-side { flex: 0.9; text-align: center; }
.about-text-side { 
    flex: 1.3; 
    text-align: right; 
    position: relative;
    background: linear-gradient(145deg, #fff5eb 0%, #fcefe1 100%);
    border-radius: 35px;
    padding: 45px;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.12);
    border: 3px solid rgba(148, 62, 49, 0.15);
}

/* התמונה של "מי אני" - מסגרת זהה לתיבת הטקסט */
.about-profile-img { 
    width: 100%; max-width: 450px; 
    border-radius: 35px; 
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.12); 
    border: 3px solid rgba(148, 62, 49, 0.15); 
    padding: 15px; 
    background: linear-gradient(145deg, #fff5eb 0%, #fcefe1 100%); 
    object-fit: cover; 
    transform: rotate(-2deg); 
    transition: transform 0.3s ease;
}
.about-profile-img:hover { transform: rotate(0) scale(1.02); }

.about-content-box { z-index: 20; position: relative; }
.about-text-side .section-title { color: #5e2b25; text-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 30px; }
.about-text-side .section-title::after { background: #943E31; opacity: 0.7;}
.about-content-box p { margin-bottom: 22px; font-size: 1.35rem; font-weight: 700; color: #3d322f; line-height: 1.75; }
.about-content-box strong { font-weight: 900; color: #943E31; font-size: 1.45rem; letter-spacing: -0.5px; }
.about-highlight { color: #943E31 !important; font-weight: 900 !important; margin-top: 30px !important; font-size: 1.45rem !important; background: rgba(148, 62, 49, 0.08); padding: 15px 25px; border-radius: 15px; display: inline-block; box-shadow: 0 4px 15px rgba(148, 62, 49, 0.1); }


/* --- שירותים / מסלולים --- */
.tracks-container { max-width: 900px; margin: 0 auto; z-index: 20; position: relative; }
.track-item { margin-bottom: 20px; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--white); border: 1px solid rgba(0,0,0,0.02); }
.track-btn { background-color: var(--white); color: var(--primary); cursor: pointer; padding: 25px 30px; width: 100%; text-align: right; border: none; outline: none; transition: 0.3s; font-size: 1.3rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.track-btn i:first-child { color: var(--secondary); margin-left: 15px; font-size: 1.5rem; }
.track-btn:hover { background-color: var(--bg-light); color: var(--primary-hover); }
.track-btn.active { background-color: var(--primary); color: var(--white); }
.track-btn.active i:first-child { color: var(--secondary); background: var(--white); padding: 5px; border-radius: 50%; } 
.track-content { padding: 0 30px; background-color: var(--white); max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.track-content p { padding: 25px 0; color: var(--text-light); font-size: 1.1rem; }

/* --- הגישה שלי (העיצוב המיוחד עם התווים המרחפים) --- */
.approach-layout { display: flex; align-items: center; gap: 70px; max-width: 1150px; margin: 0 auto; z-index: 20; position: relative; }
.approach-image-container { flex: 1.2; }

/* התמונה הגדולה בגישה שלי עם מסגרת עבה בסגנון הציטוט */
.approach-main-img { 
    width: 100%; 
    border-radius: 25px; 
    box-shadow: 0 15px 35px rgba(90,45,130,0.1); 
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.85);
    border-right: 8px solid var(--accent);
}

.approach-text-container { 
    flex: 1; 
    position: relative; 
    padding: 60px 30px; 
}

.approach-content-wrapper {
    position: relative;
    z-index: 10;
}

.approach-heading { font-size: 3.2rem; color: var(--primary); margin-bottom: 25px; font-weight: 800; }
.approach-quote { 
    font-size: 1.5rem; 
    font-style: italic; 
    color: var(--text-dark); 
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(8px);
    padding: 35px; 
    border-radius: var(--radius-card); 
    border-right: 6px solid var(--accent); 
    margin: 0 0 25px 0; 
    box-shadow: 0 15px 35px rgba(90,45,130,0.06);
    line-height: 1.6;
}
.approach-desc { font-size: 1.35rem; font-weight: 600; color: #444; line-height: 1.7; padding-right: 15px; }

/* הקישוטים המרחפים מסביב (תווים ותמונות קטנות) */
.approach-decor { position: absolute; z-index: 1; pointer-events: none; }
.approach-decor i { font-size: 4rem; animation: float 6s ease-in-out infinite; }

/* מסגרות דקות ועדינות בטורקיז לתמונות הצפות בגישה שלי */
.approach-decor img { 
    width: 120px; height: 120px; object-fit: cover; 
    border-radius: 50%; 
    border: 3px solid var(--secondary); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.12); 
    animation: float-alt 8s ease-in-out infinite; 
}

.app-dec-img-1 { top: -20px; right: -40px; animation-delay: 0s; } 
.app-dec-img-2 { bottom: -30px; left: -20px; animation-delay: 2s; width: 90px !important; height: 90px !important; } 
.app-dec-icon-1 { top: 30%; left: -60px; animation-delay: 1s; color: rgba(90, 45, 130, 0.35); } 
.app-dec-icon-2 { bottom: 50px; right: -30px; animation-delay: 0.5s; font-size: 3rem !important; color: rgba(242, 166, 90, 0.45) !important; transform: rotate(-15deg); } 
.app-dec-icon-3 { top: -30px; left: 30%; animation-delay: 1.5s; font-size: 2.5rem !important; color: rgba(110, 211, 207, 0.5) !important; } 

@keyframes float-alt { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(8deg); } 100% { transform: translateY(0px) rotate(0deg); } }

/* --- המלצות --- */
.testimonial-slider-container { 
    max-width: 900px; 
    margin: 0 auto; 
    position: relative; 
    background: var(--white); 
    padding: 30px; 
    border-radius: var(--radius-card); 
    box-shadow: var(--shadow-hover); 
    min-height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 20; 
    border: 8px solid var(--primary); /* מסגרת עבה למעטפת ההמלצות בצבע סגול */
}
.testimonial-slide { display: none; width: 100%; height: 100%; text-align: center; }
.testimonial-slide.active { display: block; animation: fadeIn 0.8s; }
.testimonial-img-only { 
    max-width: 100%; 
    max-height: 500px; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    border-radius: var(--radius-small); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    margin: 0 auto; 
    border: 6px solid var(--secondary); /* מסגרת לתמונה עצמה בצבע תכלת */
}
.ts-nav { position: absolute; top: 50%; transform: translateY(-50%); background: var(--bg-light); color: var(--primary); border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 25; }
.ts-nav:hover { background: var(--primary); color: var(--white); }
.ts-nav.prev { right: -25px; } .ts-nav.next { left: -25px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* --- גלריה (הגדרת רשת 5x4) --- */
.random-gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px; 
    margin-bottom: 30px; 
    z-index: 20; 
    position: relative; 
}
.random-gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-small); transition: 0.3s; cursor: pointer; }
.random-gallery-grid img:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); z-index: 30; position: relative; }

/* --- חלון גלריה מודל --- */
.gallery-modal-content {
    width: 90%;
    max-width: 1200px;
    padding: 40px;
    max-height: 85vh; 
    overflow-y: auto;
}

.gallery-modal-content::-webkit-scrollbar { width: 12px; }
.gallery-modal-content::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 10px; }
.gallery-modal-content::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.gallery-modal-content::-webkit-scrollbar-thumb:hover { background: var(--primary-hover); }

.gallery-modal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; margin-top: 20px; }
.gallery-modal-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-small); box-shadow: var(--shadow-soft); transition: transform 0.3s; cursor: pointer; }
.gallery-modal-grid img:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); z-index: 10; position: relative; }

/* --- מודל תמונה בודדת --- */
.single-img-content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important;
    max-width: 95vw !important;
}

.single-img-view {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
    object-fit: contain;
}

.single-img-close {
    position: fixed !important;
    top: 25px !important;
    right: 40px !important;
    color: white !important;
    font-size: 4rem !important;
    z-index: 9999 !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    opacity: 0.8;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transition: 0.3s;
    line-height: 1;
    padding: 0 !important; 
}
.single-img-close:hover { 
    opacity: 1; 
    color: var(--accent) !important; 
    transform: scale(1.1);
}

.nav-img {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2.5rem; 
    width: 65px; 
    height: 65px; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important; 
    cursor: pointer;
    z-index: 9999;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
    backdrop-filter: blur(5px);
}
.nav-img:hover { 
    background: var(--primary); 
    transform: translateY(-50%) scale(1.1);
}
.right-nav-btn { right: 30px; } 
.left-nav-btn { left: 30px; } 


/* --- שאלות נפוצות חלוקה --- */
.faq-layout { display: flex; align-items: flex-start; gap: 50px; max-width: 1150px; margin: 0 auto; z-index: 20; position: relative; }
.faq-right-side { flex: 1; width: 100%; }
.faq-left-side { flex: 1; width: 100%; }

.faq-container { width: 100%; z-index: 20; position: relative; }
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: var(--radius-small); box-shadow: 0 2px 8px rgba(0,0,0,0.03); overflow: hidden; }
.faq-question { padding: 20px 25px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--primary); font-size: 1.1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.4s ease; padding: 0 25px; color: var(--text-light); }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-item.active { background: var(--bg-light); }
.faq-item.active i { transform: rotate(45deg); color: var(--accent); }


/* ========================================================
   עיצוב הגלים המיוחדים - התיקונים המבוקשים (צפוף ומדויק)
   ======================================================== */

.section-relative { 
    position: relative !important; 
    margin-bottom: 0 !important; 
    border-radius: 0 !important; 
    box-shadow: none !important; 
    padding-bottom: 110px !important; 
}

.hero-slider-section.section-relative {
    padding-bottom: 0 !important;
}

body footer, body #footer-contact, html body footer { 
    margin-top: 0 !important; 
    border-top-left-radius: 0 !important; 
    border-top-right-radius: 0 !important; 
    padding-top: 60px !important;
    position: relative !important; 
    z-index: 20 !important;
}

.flowing-bg-white { background-color: #ffffff !important; }
.flowing-bg-body { background-color: #F8F6FB !important; }
.flowing-bg-light { background-color: #EFE9F7 !important; }
/* רקע שמנת חלקה */
.flowing-bg-cream { background-color: #FCF9F5 !important; }
/* רקע טורקיז עדין ל-FAQ */
.flowing-bg-faq { background-color: #E8F6F6 !important; }

.wave-divider { 
    position: absolute !important; 
    bottom: -2px !important; 
    left: 0 !important; 
    width: 100% !important; 
    overflow: hidden !important; 
    line-height: 0 !important; 
    z-index: 10 !important; 
    pointer-events: none !important; 
}

.hero-slider-section .wave-divider {
    z-index: 50 !important; 
}

.hero-slider-section .wave-divider svg {
    height: 120px !important; 
}

.wave-divider svg { 
    position: relative !important; 
    display: block !important; 
    width: 100% !important; 
    height: 85px !important; 
    transform: none !important; 
}

/* הגדרות צבע מפורשות לגלים */
.wave-to-white svg path { fill: #ffffff !important; }
.wave-to-body svg path { fill: #F8F6FB !important; }
.wave-to-light svg path { fill: #EFE9F7 !important; }
.wave-to-primary svg path { fill: #5A2D82 !important; }
.wave-to-cream svg path { fill: #FCF9F5 !important; }
.wave-to-faq svg path { fill: #E8F6F6 !important; }


/* --- עיצוב הגלריה החדש תומך הוידאו --- */
.gallery-wrapper {
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    border-radius: var(--radius-small);
    height: 200px;
    overflow: hidden;
}
.gallery-wrapper:hover {
    transform: scale(1.05); box-shadow: var(--shadow-hover); z-index: 30;
}
.gallery-wrapper img {
    width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-small);
}
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    pointer-events: none;
    transition: 0.3s;
}
.gallery-wrapper:hover .video-play-icon {
    color: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- נגן וידאו למסך ההמלצות --- */
.testimonial-video {
    width: 100%;
    height: 450px;
    max-width: 800px;
    border-radius: var(--radius-small);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
    background: black;
    border: 6px solid var(--secondary); /* מסגרת לוידאו בצבע תכלת */
}

/* --- מודל שירותים (מתחילים לנגן) --- */
.service-modal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.service-right-col h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-right-col p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 25px;
    white-space: pre-wrap; 
}

.srv-media-box {
    width: 100%;
    border-radius: var(--radius-small);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    background: #000;
}

.srv-media-box iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

.srv-media-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* --- רספונסיביות ספציפית לעמוד הבית הכללית --- */
@media (max-width: 768px) {
    /* חלוקת מרווחים הגיונית למסך קטן */
    .section-padding { padding: 3rem 5% !important; }
    .section-title { font-size: 2.2rem !important; margin-bottom: 1.5rem !important; }

    /* Hero */
    .hero-slider-section { height: 500px !important; border-radius: 0 !important; }
    .hero-slider-section .wave-divider svg { height: 45px !important; } 
    .hero-overlay-content { flex-direction: column; text-align: center; justify-content: center; padding: 0 5%; gap: 20px; }
    .hero-text-side { margin-bottom: 0; text-align: center; }
    .hero-btn-side { text-align: center; }
    .slide-title { text-align: center; font-size: 2.2rem; line-height: 1.2; margin-bottom: 15px; }
    .btn-top-text { font-size: 1rem; }
    .btn-huge-text { font-size: 1.8rem; }
    .cta-btn { padding: 12px 25px; }
    .prev-slide, .next-slide { padding: 10px; width: 40px; height: 40px; font-size: 18px; }

    /* Welcome */
    .welcome-logo { height: 80px; margin: 0 auto 10px auto; display: block; }
    .welcome-section h2 { flex-direction: column; font-size: 1.8rem; text-align: center; }
    
    /* מותאם למובייל - גודל ביניים */
    .welcome-intro-text, #dyn-welcome-text { font-size: 1.5rem !important; margin-bottom: 25px; line-height: 1.4; }
    
    /* דורס את ה-span במובייל */
    #dyn-welcome-text span { font-size: inherit !important; }
    
    .welcome-features-list.staggered-list { grid-template-columns: 1fr; margin-top: 20px; gap: 15px; padding-bottom: 20px; }
    .welcome-features-list.staggered-list li { margin: 0 !important; transform: translateY(20px) scale(0.95); font-size: 1.05rem; padding: 15px; }
    .welcome-decor { display: none; }
    
    /* Random images scatter */
    .random-scatter-section { min-height: auto; padding: 40px 0; }
    .scatter-grid { gap: 15px; }
    .scatter-img { width: 140px; height: 120px; border-width: 3px; }
    .scatter-icon { display: none; }

    /* About */
    .about-layout { flex-direction: column; text-align: center; gap: 25px; }
    .about-text-side { text-align: center; padding: 25px 15px; border-radius: 20px; } 
    .title-right { text-align: center; }
    .title-right::after { margin: 10px auto 0; }
    .about-content-box p { font-size: 1.05rem; margin-bottom: 15px; }
    .about-content-box strong { font-size: 1.15rem; }
    .about-highlight { font-size: 1.1rem !important; padding: 10px 15px; margin-top: 15px !important; }
    .about-profile-img { transform: rotate(0); max-width: 250px; border-width: 3px; padding: 10px; } 

    /* Tracks */
    .track-btn { font-size: 1.1rem; padding: 15px 20px; }
    .track-btn i:first-child { font-size: 1.2rem; }
    .track-content p { font-size: 1rem; padding: 15px 0; }

    /* Approach */
    .approach-layout { flex-direction: column-reverse; text-align: center; gap: 30px; }
    .approach-image-container .approach-main-img { width: 100%; max-width: 320px; border-radius: 20px; margin: 0 auto; display: block; }
    .approach-text-container { padding: 10px 0; text-align: center; }
    .approach-decor { display: none; } 
    .approach-heading { font-size: 2.2rem; margin-bottom: 15px; }
    .approach-quote { font-size: 1.2rem; padding: 20px; border-right-width: 4px; margin-bottom: 15px; }
    .approach-desc { font-size: 1.05rem; padding-right: 0; }

    /* Testimonials */
    .ts-nav { width: 40px; height: 40px; font-size: 1.2rem; }
    .ts-nav.prev { right: -10px; } 
    .ts-nav.next { left: -10px; }
    .testimonial-slider-container { padding: 20px; min-height: 250px; border-width: 5px; }
    .testimonial-img-only { max-height: 300px; border-width: 4px; }

    /* FAQ */
    .faq-layout { flex-direction: column; }
    .faq-left-side { display: none; } 
    .faq-question { font-size: 1rem; padding: 15px; }
    .faq-answer { font-size: 0.95rem; padding: 0 15px; }
    
    /* Dividers */
    .wave-divider svg { height: 30px !important; }
    .section-relative { padding-bottom: 40px !important; }

    /* Gallery Grid in Home */
    .random-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .random-gallery-grid img { height: 120px; }

    /* Modal Gallery */
    .gallery-modal-content { padding: 20px 15px; width: 95%; max-height: 80vh; }
    .gallery-modal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 15px; }
    .gallery-modal-grid img { height: 100px; }
    
    /* Lightbox single image (החצים במובייל) */
    .nav-img { font-size: 1.5rem; width: 45px; height: 45px; padding: 0 !important; }
    .right-nav-btn { right: 5px; }
    .left-nav-btn { left: 5px; }
    .single-img-close { right: 10px !important; top: 10px !important; font-size: 3rem !important; width: 45px; height: 45px; }
    .single-img-content { max-width: 100vw !important; padding: 0 !important; }
    .single-img-view { max-height: 75vh; border-radius: 10px; }

    /* התאמות לוידאו/תמונות מובייל */
    .gallery-wrapper { height: 120px; }
    .video-play-icon { font-size: 2.5rem; }
    .testimonial-video { height: 250px; border-width: 4px; }
    #single-video-view { width: 95vw !important; height: 35vh !important; }

    /* חלונית שירותים במובייל */
    .service-modal-layout {
        grid-template-columns: 1fr;
    }
    .service-right-col h2 { font-size: 1.8rem; }
}