/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    
    /* שינוי: ביטול הריפוד העליון כי ההדר החדש הוא חלק מהזרימה הרגילה של הדף */
    padding-top: 0; 
}

/* גם את זה אפשר למחוק או לאפס */
@media (min-width: 901px) {
    body {
        padding-top: 0;
    }
}

/* --- לוגו צף (בפינה השמאלית, כמו התוגל) --- */

/* 1. ביטול ה-Header הישן כדי שלא יתפוס מקום בדף */
/* --- עיצוב Header עליון (פס שחור קבוע) --- */
#top-branding {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* גובה הפס השחור */
    
    background-color: rgba(51, 51, 51, 0.7); /* הרקע השחור המקורי */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    
    /* אנימציית היעלמות */
    transition: top 0.3s ease-in-out;
}




/* --- עיצוב הלוגו (מלבני, בפינה השמאלית) --- */
/* --- עיצוב הלוגו (מלבני, בפינת המסך) --- */

.logo-wrapper {
    position: absolute;
    top: 0;
    left: 0; /* הצמדה לפינה הימנית (סטנדרט בעברית). אם תרצה בצד שמאל, שנה ל- left: 0 */
    
    height: 100%; /* גובה מלא של הפס השחור (80px) */
    width: auto;  /* הרוחב ייקבע לפי התמונה המקורית */
    
    /* ביטול עיצובים קודמים */
    transform: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
    
    /* וידוא שהתמונה מוצמדת לקצה */
    display: flex;
    align-items: center;
    padding: 0; 
}

.header-logo {
    height: 100%;        /* נמתח לכל גובה הפס */
    width: auto;         /* שומר על הפרופורציות המקוריות */
    object-fit: contain; /* מציג את כל התמונה המלבנית בלי לחתוך ובלי למעוך */
    border-radius: 0;    /* ביטול פינות עגולות */
    display: block;
}

@media only screen and (max-width: 768px) {
    .header-logo {
        /* 1. הפתרון שהצעת: הגבלת רוחב התמונה עצמה */
        /* נשתמש ב-vw כדי שזה יהיה יחסי לרוחב המסך ולא יעלה על התפריט */
        max-width: 60vw; 
        
        /* 2. השינוי הקריטי: שחרור הגובה הקבוע */
        /* במקום height: 100% (מהקוד המקורי), אנו נותנים לו להקטין את עצמו */
        height: auto; 
        
        /* 3. מגבלה עליונה לגובה */
        /* מוודא שהתמונה לא תהיה גבוהה יותר מהפס השחור אם המסך רחב מאוד */
        max-height: 80px; 
        
        /* תיקון ליישור באייפון */
        display: block;
    }

    /* וידוא שהעטיפה לא "ננעלת" על רוחב לא נכון */
    .logo-wrapper {
        width: auto;
        max-width: 100%;
        display: flex;
        align-items: center; /* מוודא שהלוגו נשאר באמצע הגובה של הפס השחור */
    }
}

/* --- כפתור התפריט (ממוקם בתוך הפס השחור) --- */
#menu-toggle {
    position: fixed;
    top: 10px; /* ממורכז בתוך ה-80px של ההדר */
    left: 20px; /* הכי משמאל */
    right: auto; /* ביטול הצמדה לימין */
    
    background-color: transparent; /* שקוף כדי להשתלב ברקע השחור */
    box-shadow: none; /* ביטול צללית */
    border: 1px solid rgba(255,255,255,0.2); /* מסגרת עדינה (אופציונלי) */
    
    /* אנימציית היעלמות יחד עם ההדר */
    transition: top 0.3s ease-in-out, background-color 0.3s;
    z-index: 2001;
}

#menu-toggle:hover {
    background-color: rgba(255,255,255,0.1);
}

/* --- מחלקה להסתרת התפריט בגלילה --- */
/* כשמוסיפים את המחלקה הזו ל-BODY, הכל עולה למעלה ונעלם */
body.nav-up #top-branding {
    top: -80px; /* מעלים את הפס השחור */
}

body.nav-up #menu-toggle {
  /*  top: -80px; /* מעלים גם את הכפתור */

    /* אפקט לחיצה */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.1); /* הגדלה קטנה במעבר עכבר */
}

/* 3. עיצוב התמונה עצמה */
.header-logo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* או contain תלוי בצורת הלוגו */
    /*border-radius: 50%;*/
}
/* --- Hero Opener Section --- */
#hero-opener {
    /* גובה מינימלי כדי לתפוס את המסך */
    min-height: 80vh; 
    width: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    
    position: relative;
    padding-top: 20px; 
    overflow: visible; /* חשוב כדי לאפשר חפיפות */
}

.hero-main-img {
    width: 100%;       
    height: auto;
    display: block;
    
    /* === התיקון הגדול === */
    /* ערך שלילי זה "מקצר" את התמונה מלמטה ומושך את הגיף והחץ למעלה */
    /* ככל שהמספר יהיה שלילי יותר (למשל -25vw), הגיף יעלה גבוה יותר */
    margin-bottom: -15vw; 
    
    position: relative;
    z-index: 5; /* שכבה נמוכה */
    animation: fadeIn 1.5s ease-out;
}

/* --- עיצוב הגיף --- */
.hero-flag-img {
    /* גודל קטן וקבוע (בערך 80-100 פיקסלים) */
    width: 150px; 
    height: auto;
    opacity: 0.8;
    
    /* מיקום */
    display: block;
    /* מרכוז ורווח קטן מהחץ שמתחתיו */
    margin: 0 auto 10px auto; 
    
    position: relative;
    z-index: 10; /* מעל התמונה הראשית */
}

/* --- עיצוב החץ --- */
.scroll-down-arrow {
    position: relative;
    margin-top: 0; /* אין צורך במשיכה נוספת, המרגין של התמונה סידר את זה */
    
    cursor: pointer;
    z-index: 20; /* מעל הכל */
    padding-top: 10px;
}

/* שאר עיצוב החץ והאנימציות */
.scroll-down-arrow span {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 4px solid #fff;
    border-right: 4px solid #fff;
    transform: rotate(45deg);
    margin: -15px;
    animation: scrollAnimate 2s infinite;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollAnimate {
    0% { opacity: 0; transform: rotate(45deg) translate(-20px, -20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(20px, 20px); }
}
/* --- עיצוב החץ הצף --- */
.scroll-down-arrow {
    position: relative;
    
    /* משיכה למעלה (הותאם מעט כדי לא לעלות על הגיף) */
    margin-top: 2vw; 
    
    cursor: pointer;
    z-index: 20; /* חשוב! שיהיה מעל הכל */
    
    /* צמצום רווחים */
    padding-top: 0;
}

/* שאר עיצוב החץ נשאר זהה */
.scroll-down-arrow span {
    display: block;
    width: 30px; 
    height: 30px;
    border-bottom: 4px solid #fff;
    border-right: 4px solid #fff;
    transform: rotate(45deg);
    margin: -15px;
    animation: scrollAnimate 2s infinite;
    opacity: 0;
}

/* ... Keyframes נשארים אותו דבר ... */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollAnimate {
    0% { opacity: 0; transform: rotate(45deg) translate(-20px, -20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(20px, 20px); }
}
/* --- שינוי גופן לכותרות (כתב יד) --- */
h1, h2, h3 {
    margin-bottom: 0.7em;
    /* הגדרת גופן Guttman Yad עם חלופות */
    font-family: 'Guttman Yad', 'Guttman Yad-Brush', 'Dana', 'Varela Round', cursive, sans-serif;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    color: #0056b3;
}

img.band-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}



/* --- Floating Menu Button --- */
#menu-toggle {
    position: fixed;
    /* מיקום אנכי - מתחת ללוגו */
    top: 10px; 
    right: 20px;
    
    width: 60px;
    height: 60px;
    background-color: rgba(51, 51, 51, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease;
}

#menu-toggle:hover {
    background-color: #000;
}

/* עיצוב שלושת הקווים */
.bar {
    display: block; /* חשוב כדי שיראו אותם */
    width: 30px;
    height: 3px;
    background-color: #fff !important; /* צבע לבן בוהק */
    border-radius: 2px;
    transition: all 0.5s ease;
    pointer-events: none;
}

/* אנימציית המבורגר -> X */
#menu-toggle.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
#menu-toggle.open .bar:nth-child(2) { opacity: 0; transform: translateX(-20px); }
#menu-toggle.open .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* --- Side Menu Container --- */
/* --- Side Menu Container --- */
#side-menu {
    position: fixed;
    top: 0;
    width: 300px;
    right: -320px; /* מוסתר */
    height: 95vh;
    
    /* --- הגדרת הרקע המדורג והתמונה --- */
    background-image: 
        /* שכבה עליונה: גרדיאנט לבן */
        linear-gradient(to left, 
            rgba(255, 255, 255, 0.9) 30%, 
            rgba(255, 255, 255, 0.4) 100%
        ),
        /* שכבה תחתונה: התמונה */
        url('images/flyer.png');
        
    /* === השינוי כאן === */
    /* מותח את התמונה בדיוק לרוחב (100%) ולגובה (100%) של התפריט */
    background-size: 100% 100%;
    
    background-position: center;
    background-repeat: no-repeat;
    
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1500;
    
    padding: 140px 30px 120px 30px; 
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#side-menu.menu-active {
    right: 0;
}
/* --- Menu Content Styling --- */

/* חלק עליון: שפות */
.menu-top {
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    padding-right: 30px;
}

.language-switcher-vertical button {
    background: none;
    border: 1px solid #333;
    color: #333;
    padding: 15px 15px; /* כפתורים קצת יותר רחבים */
    margin: 10 5px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
}

.language-switcher-vertical button.active,
.language-switcher-vertical button:hover {
    background-color: #333;
    color: #fff;
}

/* חלק מרכזי: ניווט */
.menu-nav ul {
    list-style: none;
    text-align: right;
    padding: 0;
    margin: 0;
}

.menu-nav ul li {
    /* שמירה על ריווח ברור בין הפריטים */
    margin-bottom: 25px; 
}

.menu-nav ul li a {
    font-size: 1.5rem;
    color: #333; /* שחור כהה לקריאות מקסימלית */
    font-family: 'Guttman Yad', sans-serif;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: block;
}

.menu-nav ul li a:hover {
    color: #007bff;
    transform: translateX(-5px);
}

/* חלק תחתון: סושיאל */
.menu-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    /* החלק הזה מוודא שהאזור לא נדבק לתחתית המסך */
    margin-bottom: 0; 
}

.social-links-vertical {
    display: flex;
    gap: 25px;
}

.social-links-vertical img {
    width: 36px; /* אייקונים קצת יותר גדולים */
    height: 36px;
    transition: transform 0.3s;
}

.social-links-vertical a:hover img {
    transform: scale(1.1);
}

/* --- Overlay (רקע כהה בלחיצה) --- */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

#menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* עדכון ה-Padding של ה-Body כיוון שאין יותר באנר עליון קבוע */
body {
    padding-top: 0 !important; 
}

#main-content {
    padding: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.content-section {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    text-align: justify;
}
.content-section:last-child {
    border-bottom: none;
}

.placeholder-section {
    min-height: auto;
    
    /* שינוי: צבע בהיר (#f9f9f9) עם שקיפות 0.8 */
    
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- שינויים עבור שילוב תמונה בטקסט (Wrapping) --- */

.flex-container {
    display: block; 
}

.text-part {
    /* עיצוב תיבת הטקסט - זה המקור לשקיפות 0.8 */
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: block;
    overflow: hidden; 
}

.image-part {
    float: left; 
    width: 50%;
    margin-right: 25px;
    margin-bottom: 15px;
}

.image-part img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block; 
}

.image-part-2 {
    float: left; 
    width: 45%; /* שונה מ-50% ל-40% כדי להקטין את התמונה */
    margin-right: 25px;
    margin-bottom: 15px;
}

.image-part-2 img {
    width: 100%; /* התמונה תופסת את כל רוחב התיבה החדשה (שהיא כעת קטנה יותר) */
    height: auto;
    border-radius: 8px; 
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block; 
}

@media (max-width: 768px) {
    .flex-container {
        display: block;
    }
    .text-part {
        width: auto;
    }
    .image-part {
        width: 50%; 
        float: left;
        margin-right: 15px;
    }
}

/* --- פרויקטים --- */

/* עיצוב רקע לכותרת הפרויקטים שתהיה דומה לשאר התיבות */
#projects-box h2 {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px 30px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.projects-grid {
    /* שינוי מ-Flex ל-Grid לשליטה מלאה בעמודות */
    display: grid;
    /* ברירת מחדל (דסקטופ): 3 עמודות שוות */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.project-box {
    /* אין צורך ב-flex: 1 כאן יותר */
    
    background: rgba(255, 255, 255, 0.8);
    
    padding: 20px; /* הגדלתי מעט את הריווח הפנימי למראה טוב יותר */
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    cursor: pointer;
    position: relative;
    
    /* מוודא שהתיבה נמתחת לגובה המלא של השורה ב-Grid */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.project-box h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.4em;
}

.project-box p {
    color: #666;
    margin-bottom: 15px;
}

.project-box a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

/* --- עיצוב תמונות פרויקטים (עיגול) --- */

.project-img {
    width: 140px;        /* גודל העיגול */
    height: 140px;
    object-fit: cover;   /* חיתוך התמונה שתמלא את העיגול בלי עיוות */
    border-radius: 50%;  /* הופך את התמונה לעיגול מושלם */
    margin-bottom: 15px; /* רווח בין התמונה לכותרת */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* צללית קטנה לתמונה */
    border: 3px solid #fff; /* מסגרת לבנה סביב העיגול */
    transition: transform 0.3s ease;
}

/* אפקט גדילה קטן כשעוברים עם העכבר על הקופסה */
.project-box:hover .project-img {
    transform: scale(1.05);
}

/* וידוא שהתוכן בתוך התיבה ממורכז */
.project-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- התאמה למסכים משתנים --- */

/* מצב ביניים (טאבלטים / מסכים קטנים) - ירידה ל-2 בשורה */
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* מצב מובייל - ירידה ל-1 בשורה */
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr; /* עמודה אחת שתופסת את כל הרוחב */
    }
}

.video-library-container {
    width: 100%;
    overflow-x: auto; /* גלילה אופקית */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    
    /* --- עיצוב התיבה (זהה לשאר האתר) --- */
    background-color: rgba(255, 255, 255, 0.8); /* רקע לבן עם שקיפות */
    border-radius: 12px; /* פינות עגולות */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* צללית עדינה */
    
    /* ריווח פנימי כדי שהסרטונים לא יידבקו למסגרת */
    padding: 25px; 
    
    /* מרווח חיצוני קטן מלמעלה כדי להפריד מהכותרת */
    margin-top: 15px;
}

/* עיצוב פס הגלילה בתוך התיבה */
.video-library-container::-webkit-scrollbar {
    height: 8px; /* גובה פס הגלילה */
}
.video-library-container::-webkit-scrollbar-track {
    background: transparent; /* מסילה שקופה כדי להשתלב ברקע התיבה */
    border-radius: 4px;
    margin: 0 10px; /* מרווח קטן מהקצוות */
}
.video-library-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.video-library-container::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.video-wrapper {
    display: inline-flex;
    gap: 20px;
    /* אין צורך בשינויים נוספים כאן */
}

.video-item {
    width: 320px;
    height: 180px;
    background: #000;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    text-align: center;
    padding: 20px;
    
    /* שינוי: צבע כהה (#333) עם שקיפות 0.8 */
    background-color: rgba(51, 51, 51, 0.8);
    
    color: #fff;
    margin-top: 30px;
}

@media (min-width: 901px) {
    [dir="rtl"] .social-links a { margin-left: 15px; }
    [dir="rtl"] .language-switcher button { margin-left: 5px; }
    [dir="rtl"] .language-switcher { margin-left: 20px; }

    [dir="ltr"] .social-links a { margin-right: 15px; }
    [dir="ltr"] .language-switcher button { margin-right: 5px; }
    [dir="ltr"] .language-switcher { margin-right: 20px; }
}

[dir="ltr"] body { text-align: left; }
[dir="rtl"] body { text-align: right; }

.read-more-style {
    background: none;
    cursor: pointer;
}

body::before {
    content: "";
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/sky.jpg');
    background-size: cover; 
    
    background-position: center bottom;
    
    background-repeat: no-repeat;
    opacity: 0.7; 
    z-index: -1; 
    pointer-events: none; 
}

body {
    background-color: #f9f9f9; 
}

/* --- עיצוב טופס הזמנת הופעה (מותאם ל-HTML החדש) --- */

/* 1. הגדרות כלליות לאזור הטופס */
#booking .text-part {
    overflow: hidden; /* מונע גלישה בגלל התמונה הצפה */
}

#booking form {
    margin-top: 20px;
    text-align: right;
    clear: none; /* מבטיח שהטופס יתייחס נכון לאלמנטים צפים */
}

/* 2. עיצוב התמונה (ללא שינוי, כפי שביקשת) */
.image-part-2 {
    float: left;           /* מצמיד לשמאל תמיד */
    width: 40%;            /* רוחב התמונה */
    margin-right: 25px;    /* רווח בין התמונה לטקסט (שנמצא מימינה) */
    margin-bottom: 15px;   /* רווח תחתון */
}

.image-part-2 img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block; 
}

/* 3. קבוצות שדות ותוויות */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
}

/* 4. עיצוב שדות הקלט - גדולים ומעוגלים */
/* שיניתי את הסלקטורים כדי שיעבדו גם בלי class="contact-form" */
#booking input[type="text"],
#booking input[type="email"],
#booking input[type="tel"],
#booking select,
#booking textarea {
    width: 100%;
    padding: 15px;       /* תאים גדולים ונוחים */
    
    border: 1px solid #ccc;
    border-radius: 12px; /* פינות עגולות */
    
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; /* קריטי כדי שלא יחרגו מהרוחב */
    
    /* ביטול עיצוב ברירת מחדל של דפדפנים (חשוב לאייפון) */
    -webkit-appearance: none;
    appearance: none;
}

/* אפקט פוקוס */
#booking input:focus,
#booking select:focus,
#booking textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* 5. החזרת החץ לתיבת הבחירה (כי appearance:none העלים אותו) */
#booking select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: left 15px top 50%; /* החץ משמאל */
    background-size: 12px auto;
    padding-left: 30px; /* מרווח כדי שהטקסט לא יעלה על החץ */
}

/* 6. עיצוב שורת הטלפון */
.phone-wrapper {
    display: flex;
    gap: 10px;
}

/* --- תיקון לתיבת הקידומות (מניעת דריסה) --- */
.prefix-select {
    width: 105px !important;      /* הרחבתי מ-110 ל-145 פיקסלים */
    flex-shrink: 0;
    direction: ltr;               /* כיוון טקסט משמאל לימין (אנגלית/מספרים) */
    text-align: left;
    
    /* === תיקון מיקום החץ והטקסט === */
    /* מעביר את החץ לצד ימין (במקום שמאל) */
    background-position: right 10px center !important; 
    
    /* מסדר את הריפוד הפנימי בהתאם */
    padding-left: 10px !important;  /* רווח קטן משמאל לטקסט */
    padding-right: 30px !important; /* רווח גדול מימין כדי לא לעלות על החץ */
}

.phone-input {
    flex-grow: 1;
}

/* 7. כפתור שליחה */
.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 50px;
    border: none;
    border-radius: 50px; /* כפתור עגול (גלולה) */
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    
    /* מרכוז */
    width: auto;
    display: table;
    margin: 25px auto 0;
    
    transition: background-color 0.3s, transform 0.2s;
    font-family: 'Guttman Yad', sans-serif;
    clear: both; /* יורד מתחת לאלמנטים צפים */
}

.submit-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* 8. התאמות רספונסיביות */

/* דסקטופ: שורה אחת לשם ומייל */
@media (min-width: 600px) {
    .form-row {
        display: flex;
        gap: 15px;
    }
    .form-row .form-group {
        flex: 1;
    }
}

/* מובייל: טיפול בתמונה ורוחב */
@media (max-width: 768px) {
    /* במקום לבטל את ה-float, אנחנו שומרים עליו ורק מתאימים רווחים */
    .image-part-2 {
        float: left;       /* נשאר צמוד לשמאל */
        width: 35%;        /* מקטינים מעט כדי להשאיר מקום לטקסט */
        margin-right: 15px; /* מקטינים את הרווח מהטקסט */
        margin-bottom: 5px;
        margin-left: 0;
    }
    
    /* הקטנת הריפוד בתאים למסכים צרים */
    #booking input, 
    #booking select, 
    #booking textarea {
        padding: 12px;
    }
}

/* --- עיצוב אזור הנגנים (גלילה אופקית) --- */
.musicians-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5px; /* קצת מרווח לצלליות */
    scroll-behavior: smooth;
    
    /* עיצוב פס גלילה */
    scrollbar-width: thin;
    scrollbar-color: #007bff #f0f0f0;
}

/* --- עיצוב פס גלילה בולט ועבה --- */

.musicians-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5px;
    
    /* חשוב: מוודא שהגלילה תעבוד חלק במובייל */
    -webkit-overflow-scrolling: touch; 
    
    /* ריווח תחתון כדי שהפס לא יידבק לטקסט */
    padding-bottom: 20px;

    /* --- הגדרות לפיירפוקס --- */
    scrollbar-width: auto; /* עובי רגיל (לא דק) */
    scrollbar-color: #007bff #e6e6e6; /* צבע הידית וצבע הרקע */
}

/* --- הגדרות לכרום, ספארי, אדג' ואנדרואיד --- */

/* 1. הגדרת העובי */
.musicians-scroll-container::-webkit-scrollbar {
    height: 16px; /* גובה משמעותי שקל לראות ולגרור */
}

/* 2. הגדרת המסילה (הרקע של הפס) */
.musicians-scroll-container::-webkit-scrollbar-track {
    background: #e6e6e6; /* אפור בהיר */
    border-radius: 8px;
    margin: 0 10px; /* רווח קטן מהקצוות */
}

/* 3. הגדרת הידית (החלק שזז) */
.musicians-scroll-container::-webkit-scrollbar-thumb {
    background-color: #007bff; /* כחול בולט (צבע המותג) */
    border-radius: 8px; /* פינות עגולות */
    border: 3px solid #e6e6e6; /* מסגרת שיוצרת "אוויר" בין הידית למסילה */
}

/* אפקט בעת לחיצה על הפס */
.musicians-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #0056b3; /* כחול כהה יותר */
}


.musician-card {
    flex: 0 0 250px; /* רוחב קבוע לכל כרטיס */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.musician-card:hover {
    transform: translateY(-5px);
}

.musician-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    height: 50px; /* גובה קבוע לשם כדי ליישר תמונות */
    display: flex;
    align-items: center;
    justify-content: center;
}

.musician-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* תמונה עגולה */
    margin-bottom: 15px;
    border: 3px solid #f0f0f0;
}

.card-summary p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #555;
}

.read-more-trigger {
    background: none;
    border: none;
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 5px;
}

.read-more-trigger:hover {
    color: #0056b3;
}

/* --- הסתרת הביוגרפיה המלאה בכרטיסייה --- */
/* זהו התיקון: אנחנו מסתירים את הטקסט, וה-JS שולף אותו משם למודל */
.musician-card .full-bio {
    display: none;
}
/* --- עיצוב המודל (חלון קופץ) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* רקע כהה שקוף */
    z-index: 9999;
    display: none; /* מוסתר כברירת מחדל */
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh; /* לא יעבור את גובה המסך */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    overflow-y: auto; /* גלילה פנימית אם התוכן ארוך */
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 20px; /* כפתור סגירה בצד שמאל כי האתר RTL */
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.close-modal:hover {
    color: red;
}

.modal-body {
    padding: 40px;
    display: flex;
    gap: 30px;
    text-align: right;
}

.modal-image-container img {
    width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modal-text-container {
    flex: 1;
}

.modal-text-container h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.modal-text-container p {
    margin-bottom: 10px;
    line-height: 1.6;
}


/* התאמה למובייל (המודל הופך לטור אחד) */
@media (max-width: 700px) {
    .modal-body {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
    }

    .modal-image-container img {
        width: 100%;
        max-width: 300px;
    }
    
    .modal-text-container {
        text-align: center;
    }
}

/* --- עיצוב כותרת עם רקע (כמו בפרויקטים) --- */
.styled-header {
    background-color: rgba(255, 255, 255, 0.85); /* רקע לבן עם שקיפות */
    padding: 15px 30px;      /* מרווח פנימי סביב הטקסט */
    border-radius: 12px;     /* פינות עגולות */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* צללית עדינה לקריאות */
    
    /* הגדרות למרכוז התיבה */
    width: fit-content;      /* רוחב התיבה לפי רוחב הטקסט */
    margin: 0 auto 20px auto; /* מרכוז התיבה באמצע + מרווח תחתון */
    text-align: center;
}

/* --- עיצוב מקטע יצירת קשר תחתון (רקע אחיד) --- */
.contact-wrapper {
    /* רקע לבן עם שקיפות (תואם לשאר האתר) */
    background-color: rgba(255, 255, 255, 0.8);
    
    /* עיצוב המסגרת והריווח */
    border-radius: 12px;
    padding: 40px 20px; /* ריווח פנימי נדיב */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    
    /* מרכוז התיבה באמצע המסך */
    max-width: 800px; /* רוחב מקסימלי כדי שלא יימרח מדי */
    margin: 0 auto;   /* ממרכז את התיבה אופקית */
    text-align: center;
}

/* --- כפתורי יצירת קשר תחתונים --- */

.contact-buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* יירד שורה במסכים צרים */
    }

.contact-btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    padding: 12px 30px;
    border-radius: 50px; /* צורת גלולה */
    
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    
    min-width: 160px; /* רוחב מינימלי אחיד */
}

.contact-btn-social:hover {
    transform: translateY(-3px); /* אפקט ריחוף */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    color: white; /* שמירה על טקסט לבן */
}

/* צבעים ייעודיים לכל כפתור */
.whatsapp {
    background-color: #25D366;
}

.messenger {
    background-color: #0084FF;
}

.email-btn {
    background-color: #333;
}

/* התאמה למובייל - כפתורים אחד מתחת לשני אם אין מקום */
@media (max-width: 600px) {
    .contact-buttons-row {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn-social {
        width: 80%; /* כפתור רחב במובייל */
    }
}

/* --- תמונה תחתונה (מחייכים) --- */
.contact-smile-img {
    width: 100%;             /* מתיחה לכל רוחב התיבה */
    max-width: 100%;         /* מניעת חריגה */
    height: auto;            /* שמירה על פרופורציות (לא למעוך) */
    
    margin-top: 30px;        /* רווח מכובד מהכפתורים שמעל */
    border-radius: 12px;     /* פינות עגולות תואמות לעיצוב */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* צללית עדינה */
    
    display: block;          /* מבטיח שהתמונה תהיה בלוק נפרד */
}

/* --- כפתור ווטסאפ צף --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px; /* כדי להזיז לצד שמאל שנה ל: left: 25px */
    background-color: #25d366; /* הצבע הירוק הרשמי של ווטסאפ */
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 3000; /* חייב להיות גבוה יותר מההדר שלך (שהוא 2000) */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; /* אנימציה בעת מעבר עכבר */
    
    /* אנימציית דופק קבועה */
    animation: pulse-green 2s infinite;
}

/* אפקט כשעומדים עם העכבר */
.whatsapp-float:hover {
    background-color: #20b858; /* ירוק מעט כהה יותר */
    transform: scale(1.1); /* הגדלה קטנה */
}

/* הגדרות האייקון הפנימי */
.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: #ffffff; /* צבע האייקון */
}


/* התאמה למובייל - שלא יסתיר יותר מדי */
@media only screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}
