/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* מניעת גלילה/זליגה לצדדים (בעיקר במובייל) */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}
@supports not (overflow: clip) {
    html, body { overflow-x: hidden; }
}
/* טופס הפוטר - השוליים השליליים של Elementor בין העמודות חרגו מרוחב המסך */
.elementor-widget-form {
    overflow-x: clip;
}

/* Header */
/* הסתרה בגלילה למטה, הופעה עם רקע לבן ואלמנטים שחורים בגלילה למעלה.
   המחלקות hdr-hide / hdr-light נוספות ע"י הסקריפט בווידג'ט HTML בתבנית ההדר */

[data-elementor-type="header"] .elementor-sticky {
    transition: transform 0.35s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
    will-change: transform;
}

[data-elementor-type="header"] .elementor-sticky.hdr-hide {
    transform: translateY(-100%);
    box-shadow: none !important;
}

[data-elementor-type="header"] .elementor-sticky.hdr-light {
    background-color: #fff !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

/* טקסטים, תפריט וכפתורים בשחור */
.hdr-light .elementor-button,
.hdr-light .elementor-button .elementor-button-text,
.hdr-light .elementor-nav-menu--main .elementor-item,
.hdr-light .elementor-nav-menu--main .elementor-item:hover,
.hdr-light .elementor-nav-menu--main .elementor-item.elementor-item-active,
.hdr-light .elementor-menu-toggle {
    color: #000 !important;
}

.hdr-light .elementor-nav-menu--main .elementor-item:before,
.hdr-light .elementor-nav-menu--main .elementor-item:after {
    background-color: #000 !important;
    border-color: #000 !important;
}

/* אייקונים */
.hdr-light svg path[stroke] {
    stroke: #000 !important;
}

.hdr-light .e-font-icon-svg,
.hdr-light .elementor-menu-toggle svg {
    fill: #000 !important;
}

/* כפתור Let's talk - בהובר (כשהכפתור נצבע בחום) טקסט וחץ לבנים */
.hdr-light .elementor-widget-button:hover .elementor-button,
.hdr-light .elementor-widget-button:hover .elementor-button .elementor-button-text,
.hdr-light .elementor-widget-button .elementor-button:hover,
.hdr-light .elementor-widget-button .elementor-button:hover .elementor-button-text {
    color: #fff !important;
}

.hdr-light .elementor-widget-button:hover svg path[stroke],
.hdr-light .elementor-widget-button .elementor-button:hover svg path[stroke] {
    stroke: #fff !important;
}

.hdr-light .elementor-widget-button:hover .e-font-icon-svg,
.hdr-light .elementor-widget-button .elementor-button:hover .e-font-icon-svg {
    fill: #fff !important;
}

/* לוגו (SVG לבן) - הופך לשחור */
.hdr-light .elementor-widget-image img {
    filter: brightness(0) !important;
}


/* Home */

/* Continuous logo carousel */
.logo-marquee .swiper-wrapper {
    transition-timing-function: linear !important;
}

.fill-button-brown {
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #352B1D;
}

.fill-button-brown::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background: #352B1D;
    transition: width 0.45s ease;
    z-index: -1;
}

.fill-button-brown:hover::before {
    width: 100%;
}

.fill-button-brown:hover {
    color: #fff !important;
}

/* אייקון */
.fill-button-brown svg,
.fill-button-brown svg path {
    stroke: #352B1D !important;
    fill: none !important;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.fill-button-brown:hover svg,
.fill-button-brown:hover svg path {
    stroke: #fff !important;
}

/* אם רוצים גם תזוזה של החץ */
.fill-button-brown:hover svg {
    transform: translateX(4px);
}

/* תחומי התמחות */

.expertise-images {
    position: relative;
    overflow: hidden;
    /* גובה התמונה נמתח לגובה עמודת התוכן - עד הקו התחתון של האקורדיון */
    height: auto !important;
    align-self: stretch !important;
}

.expertise-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
   transition: opacity 0.6s ease,
        visibility 0s linear 0.7s;
}

.expertise-image.is-active {
    opacity: 1;
    visibility: visible;
	    transition:
        opacity 0.6s ease,
        visibility 0s linear 0s;
}

.expertise-image .elementor-widget-container,
.expertise-image img {
    width: 100%;
    height: 100% !important; /* גובר על הגובה הקבוע שמוגדר בווידג'ט התמונה */
}

.expertise-image img {
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media (max-width: 767px) {

	/* Home */
    .expertise-images {
        height: 295px !important;
        min-height: 295px !important;
        max-height: 295px !important;
    }

    .expertise-image,
    .expertise-image.is-active,
    .expertise-image .elementor-widget-container,
    .expertise-image.is-active .elementor-widget-container,
    .expertise-image img,
    .expertise-image.is-active img {
        height: 295px !important;
        min-height: 295px !important;
        max-height: 295px !important;
    }

    .expertise-image img {
        object-fit: cover !important;
        object-position: center center !important;
    }
	
	/* Footer */
	
	.center a.elementor-item {
    	justify-content: center;
	}
}


