.elementor-1711 .elementor-element.elementor-element-03d66ac{--display:flex;--align-items:stretch;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--margin-top:0vw;--margin-bottom:0vw;--margin-left:0vw;--margin-right:0vw;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1711 .elementor-element.elementor-element-21a7e6f.elementor-element{--align-self:stretch;}@media(max-width:767px){.elementor-1711 .elementor-element.elementor-element-21a7e6f > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}@media(min-width:768px){.elementor-1711 .elementor-element.elementor-element-03d66ac{--width:100%;}}/* Start custom CSS *//* תיקון חזק יותר לסקרול כפול - אבל זהיר */

/* הסרת כל הרווחים מאלמנטור */
.elementor-widget-html {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

.elementor-section > .elementor-container {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.elementor-section {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-wrap {
  padding: 0 !important;
  margin: 0 !important;
}

.elementor-column {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-row {
  margin: 0 !important;
  padding: 0 !important;
}

/* כיוון LTR */
body {
  direction: ltr !important;
}

/* תיקון חזק יותר לסקרול - רק בדסקטופ */
@media (min-width: 901px) {
  /* ביטול גלילה רק על האלמנטים הרלוונטיים */
  .elementor-section-wrap {
    overflow: hidden !important;
    height: 100vh !important;
  }

  .elementor-widget-container:has(.offjourney-container) {
    height: 100vh !important;
    overflow: hidden !important;
  }

  .offjourney-container {
    position: relative !important;
    width: 100% !important;
    height: 91vh !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .offjourney-wrapper {
    overflow: hidden !important;
    height: 100% !important;
  }

  .offjourney-sidebar {
    overflow: hidden !important;
  }

  .offjourney-main-content {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 100% !important;
  }
}

/* במובייל - הכל רגיל */
@media (max-width: 900px) {
  .elementor-section-wrap {
    overflow: visible !important;
    height: auto !important;
  }

  .elementor-widget-container {
    height: auto !important;
    overflow: visible !important;
  }

  .offjourney-container {
    height: auto !important;
    overflow: visible !important;
  }

  .offjourney-wrapper {
    overflow: visible !important;
    height: auto !important;
  }

  .offjourney-sidebar {
    overflow: visible !important;
    height: auto !important;
  }

  .offjourney-main-content {
    overflow: visible !important;
    height: auto !important;
  }
}




/* =================================================================== */
/* ===== START: תיקוני CSS סופיים לפופ-אפ (מודל) ===== */
/* =================================================================== */

/* --- 1. עיצוב ומידות כלליות לפופ-אפ (דסקטופ) --- */
.portfolio-modal .modal-content {
    /* דרישה: פחות רוחב, יותר גובה */
    max-width: 85vw !important; 
    width: 1000px !important;     
    max-height: 80vh !important; 
    align-items: center !important; /* מרכוז אנכי כללי */
}

/* --- 2. הקטנת התמונה ויישור לשמאל (דסקטופ) --- */
.portfolio-modal .modal-image {
    /* דרישה: הקטנת התמונה */
    max-height: 50vh !important;
    width: auto !important;
    object-fit: contain !important;
}

/* דרישה: יישור הטקסט והכפתור לשמאל */
.portfolio-modal .modal-text-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* <<< התיקון: יישור לשמאל */
    justify-content: center !important;
    text-align: left !important; /* <<< התיקון: יישור טקסט לשמאל */
}

/* --- 3. עיצוב כפתורים (דסקטופ) --- */
/* דרישה: עיצוב כפתור לינק לאתר */
.portfolio-modal .modal-button {
    background: transparent !important;
    color: #15d1d2 !important; /* פונט בכחול שלנו */
    border: 2px solid #15d1d2 !important;
    border-radius: 30px !important; /* מסגרת מעוגלת */
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    margin-top: 20px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* דרישה: האבר בולט */
.portfolio-modal .modal-button:hover {
    background: #15d1d2 !important;
    color: #0c0c0c !important; 
    transform: scale(1.05);
}

/* דרישה: עיצוב חדש לכפתור הסגירה */
.portfolio-modal .close-modal {
    width: 44px !important;
    height: 44px !important;
    font-size: 0 !important;
    color: transparent !important;
    background: #15d1d2 !important; /* רקע כחול */
    border-radius: 50% !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 20px !important;
    right: 20px !important;
    transition: transform 0.3s ease !important;
}
/* יצירת ה-X השחור החדש */
.portfolio-modal .close-modal::before,
.portfolio-modal .close-modal::after {
    content: '' !important;
    position: absolute !important;
    width: 20px !important;
    height: 2px !important;
    background-color: #0c0c0c !important; /* X שחור */
}
.portfolio-modal .close-modal::before { transform: rotate(45deg) !important; }
.portfolio-modal .close-modal::after { transform: rotate(-45deg) !important; }

/* אפקט הובר על כפתור הסגירה */
.portfolio-modal .close-modal:hover {
    background: #15d1d2 !important; /* הרקע נשאר כחול */
    transform: scale(1.1) rotate(90deg) !important;
}


/* --- 4. התאמות למובייל --- */
@media (max-width: 768px) {
    /* דרישה: הסרת מרווח עליון לא רצוי */
    .portfolio-modal {
        align-items: center !important;
    }
    .portfolio-modal .modal-content {
        margin-top: 0 !important; 
        max-height: 90vh !important;
        flex-direction: column !important; /* הוספה לווידוא שהמבנה נשאר נכון */
    }
    
    /* מרכוז מחדש במובייל, כי שינינו את היישור בדסקטופ */
    .portfolio-modal .modal-text-section {
        align-items: center !important;
        text-align: center !important;
    }
}

/* תיקון בכוח לרווח העליון במובייל */
@media (max-width: 900px) {
  .offjourney-container {
    margin-top: -60px !important;
  }
}
/* =================================================================== */
/* ===== END: תיקוני CSS סופיים לפופ-אפ (מודל) ===== */
/* =================================================================== */



/* =================================================================== */
/* ===== Portfolio Item Hover Effect ===== */
/* =================================================================== */

.portfolio-item {
    cursor: pointer !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 12px !important; /* <<< פינות מעוגלות */
    overflow: hidden !important; /* <<< שהתמונה לא תצא מהפינות */
}

.portfolio-item:hover {
    transform: scale(1.05) !important;
    box-shadow: 
        0 0 0 2px rgba(21, 209, 210, 0.6) !important,
        0 0 20px rgba(21, 209, 210, 0.4) !important,
        0 0 40px rgba(21, 209, 210, 0.2) !important;
}

.portfolio-item a {
    pointer-events: none !important;
}/* End custom CSS */