.elementor-23 .elementor-element.elementor-element-cfce88b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:-39px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-0d94800{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-23 .elementor-element.elementor-element-57ca813{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-60fde6f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-dc26347{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-23 .elementor-element.elementor-element-d7d4613{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;}.elementor-23 .elementor-element.elementor-element-e026e35{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-c786c52{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;}@media(min-width:768px){.elementor-23 .elementor-element.elementor-element-d7d4613{--width:100%;}.elementor-23 .elementor-element.elementor-element-c786c52{--width:100%;}}@media(max-width:767px){.elementor-23 .elementor-element.elementor-element-cfce88b{--margin-top:-42px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-0d94800{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-60fde6f{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-d7d4613{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-e026e35{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-c786c52{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-23 .elementor-element.elementor-element-406d27c{width:100%;max-width:100%;}}/* Start custom CSS for html, class: .elementor-element-ad2b50e *//* =========================================
   5. Hero Section - Final Responsive Fix
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    /* שימוש ב-dvh (Dynamic Viewport Height) 
       זה הפתרון הכי מודרני למובייל - הוא מתחשב בסרגל הכתובות שקופץ.
    */
    height: 100vh; /* Fallback לדפדפנים ישנים */
    height: 100dvh; 
    
    overflow: hidden;
    
    /* שימוש ב-Flexbox למרכוז מושלם של התוכן */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- וידאו ורקע (כיסוי מלא) --- */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* מתחת לתוכן */
}

.video-container video {
    width: 100%;
    height: 100%;
    /* מבטיח שהוידאו לא יתעוות ויכסה את כל המסך */
    object-fit: cover; 
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1; /* מעל הוידאו, מתחת ללוגו */
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.6) 100%
    );
}

/* --- לוגו ומרכוז --- */
.hero-content {
    position: relative; /* שינוי ל-relative בגלל שההורה הוא flex */
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.hero-logo-center {
    display: block;
    /* גודל רספונסיבי חכם: מינימום 200, מקסימום 450 */
    width: clamp(200px, 50vw, 450px);
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* --- אינדיקטור גלילה (Scroll Down) --- */
.scroll-indicator {
    position: absolute;
    /* מיקום בדסקטופ: צמוד למטה */
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    
    color: var(--color-cream); /* או #fff */
    opacity: 0.8;
    cursor: pointer;
    animation: scrollBounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* אנימציית קפיצה */
@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* =========================================
   MEDIA QUERIES (מובייל וטאבלט)
   ========================================= */
@media (max-width: 768px) {
    .hero-section {
        /* מבטיח שהוידאו לא "יברח" כשהסרגל למעלה נעלם/מופיע */
        height: 100dvh; 
        min-height: 550px;
    }

    .hero-logo-center {
        /* התאמה למסכים צרים */
        width: clamp(180px, 70vw, 300px);
    }

    /* --- התאמה לאינדיקטור במובייל (בגלל כפתור ההזמנה) --- */
    .scroll-indicator {
        /* מרים את החץ למעלה משמעותית כדי לא להתנגש בכפתור הצף 
           (מניח שכפתור ההזמנה הוא בגובה 60-80px + מרווח)
        */
        bottom: 110px; 
    }
    
    .scroll-text {
        font-size: 0.8rem; /* טקסט קטן יותר */
    }
}

/* למסכים ממש נמוכים (כמו אייפון לרוחב) */
@media (max-height: 500px) and (orientation: landscape) {
    .scroll-indicator {
        display: none; /* מסתיר את החץ כשהמסך נמוך מדי */
    }
    .hero-logo-center {
        width: 150px; /* מקטין את הלוגו כדי שיראו משהו */
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7899ff8 *//* =========================================
   6. BRANCHES SECTION - FINAL CODE
   ========================================= */

.branches-section {
    /* פאדינג בסיסי למסכים גדולים */
    padding: clamp(60px, 10vh, 120px) var(--container-padding);
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
    min-height: 80vh; 
}

/* --- רקע (Watermark) --- */
.bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(10rem, 18vw, 25rem);
    font-weight: 900;
    color: rgba(0,0,0,0.04); 
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    font-family: sans-serif;
    line-height: 1;
}

/* --- כותרות --- */
.section-header {
    margin-bottom: 6vh;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2; 
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 10px;
    color:var(--color-green);
    line-height: 1.1;
}

.subtitle {
    color: #555;
    opacity: 0.8;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* --- קונטיינר הכרטיסים --- */
.branches-container {
    display: flex;
    justify-content: center;
    gap: 5vw;
    align-items: flex-start; /* מאפשר את הדירוג */
    flex-wrap: wrap;
    position: relative;
    z-index: 2; 
}

.branch-card {
    width: 45%;
    max-width: 500px;
    min-width: 300px;
    position: relative;
    transition: transform 0.5s ease;
}



/* --- התמונה --- */
.branch-img-wrapper {
    width: 100%;
    /* יחס ברירת מחדל למסכים גדולים - תמונה עומדת */
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    /* עדכון פינות ל-12px כפי שביקשת */
    border-radius: 12px; 
    position: relative;
    background-color: rgba(0,0,0,0.05); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.branch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.branch-content {
    position: relative;
    padding: 25px 10px 0 0;
    text-align: right;
}

.branch-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--color-green);
}

.details {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.link-minimal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-minimal svg { transition: transform 0.3s ease; }

.branch-card:hover .branch-img-wrapper img { transform: scale(1.05); }
.branch-card:hover .link-minimal { color: var(--color-red); }
.branch-card:hover .link-minimal svg { transform: translateX(-5px); }


/* =========================================
   MEDIA QUERY FOR LAPTOPS (THE FIX)
   מתקן את התצוגה למחשבים ניידים ומסכים נמוכים
   ========================================= */
@media (max-width: 1440px), (max-height: 850px) {
    
    .branches-section {
        height: 100vh;
        min-height: 600px;
        padding: 0 var(--container-padding);
        
        /* מרכוז */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .section-header {
        margin-bottom: 3vh;
        margin-top: 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }

    .branches-container {
        /* הקטנת הרווח כדי לתת מקום לתמונות לגדול */
        gap: 20px; 
        width: 100%;
        /* יישור למרכז כדי שהפריסה תהיה מאוזנת */
        justify-content: space-between; 
    }

    .branch-card {
        /* הגדלת הרוחב משמעותית - כמעט חצי מסך לכל אחד */
        width: 48%; 
        max-width: 600px; /* הגדלת הגבול כדי לא לחסום מסכים רחבים */
    }

    /* הפיכת התמונה ל"רחבה" (Landscape) במקום ריבועית/עומדת */
    /* יחס 3/2 נותן הרבה יותר "במה" לתמונה לרוחב */
    .branch-img-wrapper {
        aspect-ratio: 3 / 2; 
    }
    
    
    .branch-content h3 { 
        font-size: 1.5rem; 
        margin-bottom: 0;
    }
    
    .details {
        margin-top: 8px;
        padding-top: 8px;
    }
}

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 768px) {
    .branches-section { 
        height: auto; /* ביטול גובה קבוע במובייל */
        padding: 60px 20px; 
    }
    
    .branches-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .branch-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* ביטול ה"נפילה" במובייל לגמרי */
    .offset-card {
        margin-top: 0;
    }
    
    .branch-img-wrapper {
        aspect-ratio: 3/2; /* תמונה שוכבת */
    }
    
    .bg-watermark {
        font-size: 25vw; 
        opacity: 0.03;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-36aea6f *//* מחיקת ה-CSS האדום והחזרת העיצוב הנקי */

.marquee-section.luxury-mode {
    background: var(--color-cream); /* או שחור */
    /* גובה קבוע עוזר לטקסט לשבת באמצע */
    height: 18vh; 
    min-height: 120px;
    direction: ltr;
    display: flex;
    align-items: center; /* ממרכז את הטקסט אנכית */
    
    overflow: hidden;
    position: relative;
    z-index: 10;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    user-select: none;
}

.marquee-track {
    display: flex;
    align-items: center; /* גם כאן */
    width: max-content;
    white-space: nowrap;
    will-change: transform;
    height: 100%; /* תופס את כל הגובה */
}

.marquee-content {
    display: flex;
    align-items: center;
    padding-right: 0;
    flex-shrink: 0;
    height: 100%;
}

.marquee-content .text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 7rem);
    /* line-height קצת יותר גדול מ-1 מונע חיתוך של האותיות */
    line-height: 1.2; 
    
    /* העיצוב שלך */
    color: transparent;
    -webkit-text-stroke: 1px var(--color-red);
    
    margin-right: 4vw;
    transition: all 0.4s ease;
    
    /* תיקון למיקום האותיות שנחתכות לפעמים */
    padding-top: 10px; 
    display: block;
}

/* שאר העיצוב כרגיל... */
.marquee-content:hover .text {
    color: var(--color-red);
    -webkit-text-stroke: 0;
    opacity: 1;
}

.marquee-content .divider {
    color: var(--color-red);
    font-size: 2rem;
    margin-right: 4vw;
    font-weight: 300;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-406d27c *//* =========================================
   11. Gallery Section - Text Above Images
   ========================================= */

.gallery-section {
    position: relative;
    overflow: hidden; /* שלא יחרוג לצדדים */
    
    /* --- השינוי הקריטי --- */
    /* נותנים המון רווח מלמעלה כדי לפנות מקום לטקסט הענק */
    padding-top: 160px; 
    padding-bottom: 10vh;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
}

.gallery-grid {
    position: relative;
    z-index: 2; /* התמונות מעל */
    
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

/* --- הטקסט הענק --- */
.gallery-bg-text {
    position: absolute;
    
    /* נצמד לקצה העליון של הסקשן */
    top: 20px; 
    left: 50%;
    transform: translateX(-50%); /* מירכוז אופקי */
    
    z-index: 1; /* שכבת רקע */
    
    /* עיצוב */
    color: #2A9D8F; /* ירוק מותג */
    font-family: 'Assistant', sans-serif;
    font-weight: 900;
    
    /* גודל */
    font-size: 13vw; 
    
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0.15; /* שקיפות */
    pointer-events: none;
    width: 100%;
    text-align: center;
    line-height: 1;
}

/* --- עיצוב התמונות (ללא שינוי) --- */
.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* סידור הגריד */
.item-1 { grid-column: 1 / 3; }
.item-2 { grid-column: 3 / 4; }
.item-3 { grid-column: 4 / 5; grid-row: 1 / 3; }
.item-4 { grid-column: 1 / 2; }
.item-5 { grid-column: 2 / 4; }

/* --- התאמה למובייל --- */
@media (max-width: 768px) {
    .gallery-section {
        /* פחות רווח מלמעלה במובייל כי הטקסט קטן יותר */
        padding-top: 80px; 
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item { height: 250px; }
    
    .item-1, .item-2, .item-3, .item-4, .item-5 {
        grid-column: auto; grid-row: auto;
    }
    
    .gallery-bg-text {
        font-size: 15vw; 
        top: 10px;
    }
}/* End custom CSS */