/* 
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
*/
.wa__btn_popup {z-index: 9998!important;}

/* Add your custom styles here */
h1, h2, h3, h4, h5, h6 {
    margin-block-start: 0!important;
	margin-block-end: 0!important;}
@media (max-width: 767px) {
.elementor-2 .elementor-element.elementor-element-4446ac5.elementor-widget-n-tabs > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title {
    margin-left: 7px!important;
    margin-right: 7px!important;}
}

.des-btn-left{
	clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);	
	background: linear-gradient(to right, #232323 50%,  #FEBD28 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	color: #fff;
	transition: all 0.4s ease;
}

.des-btn-left:hover {
  background-position: left bottom;
  color: #232323;
}

.des-btn-right{
	clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
	background: linear-gradient(to left, #FEBD28 50%, #232323 50%);
	background-size: 200% 100%;
	background-position: left bottom;
	color: #fff;
	transition: all 0.4s ease;
}

.des-btn-right:hover {
  background-position: right bottom;
  color: #232323;
}

.btn-bg-black {
  background: linear-gradient(to left, #FEBD28 50%, #232323 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  color: #fff;
  transition: all 0.4s ease;
}

.btn-bg-black:hover {
  background-position: right bottom;
  color: #232323;
}

.btn-bg-yellow {
  background: linear-gradient(to left, #232323 50%, #FEBD28 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  color: #232323;
  transition: all 0.4s ease;
	border:0px;
}

.btn-bg-yellow:hover {
  background-position: right bottom;
  color: #fff !important;
}

.car-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
}

.car-gallery .gallery-item {
  position: relative;
  overflow: hidden;
}

.car-gallery .featured {
  grid-column: span 2;
  grid-row: span 2;
}

.car-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.car-gallery .hidden-lightbox {
  display: none;
}

@media (max-width: 600px) {
  .car-gallery {
    grid-template-columns: 1fr;
  }

  .car-gallery .featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .open-gallery-btn {
    grid-column: span 1;
  }
}



body.lg-on .lg-container,
body.lg-on .lg-outer,
body.lg-on .lg-inner {
  height: 100vh !important;
  max-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background-color: #000 !important;
  z-index: 999999 !important;
}


.lg-item.lg-current {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  height: 100% !important;
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.lg-img-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.lg-img-wrap img,
.lg-object {
  max-width: 100% !important;
  max-height: 90vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}


.lg-next,
.lg-prev {
  background-color: #FEBD28 !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 10000 !important;
}

.lg-next::after,
.lg-prev::after {
  color: black !important;
  font-size: 28px !important;
}
.lg-next::before,
.lg-prev::before {
  color: black !important;
  font-size: 28px !important;
}


.lg-counter {
  position: absolute !important;
  top: 20px !important;
  left: 20px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  color: white !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  z-index: 99999 !important;
}


.lg-thumb-outer {
  background-color: rgba(0, 0, 0, 0.85) !important;
  padding: 10px 0 !important;
}

.lg-thumb-item {
  opacity: 0.5 !important;
  transition: 0.3s;
}

.lg-thumb-item.active {
  opacity: 1 !important;
  border: 2px solid #FEBD28 !important;
}


@media (max-width: 600px) {
  .lg-inner {
    height: 100vh !important;
  }

  .lg-thumb-outer {
    height: auto !important;
    max-height: 80px !important;
    overflow-x: auto !important;
  }
}

@media (min-width: 768px) {
    .lg-outer .lg-thumb-item {
        border-radius: 0px !important;
	}
}
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover{
	border-color:#FEBD28 !important;
}

/* הנפשת רקע בעת ריחוף */
.zoomin-bg-container {
  background-size: 100% ;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease;
}

/* הרקע מוגדל בריחוף */
.zoomin-bg-container:hover {
  background-size: 110%;
}

/* הנפשת תוכן פנימי – עולה קצת למעלה */
.zoomin-bg-container > * {
  transition: transform 0.4s ease;
}

/* בעת ריחוף – התוכן עולה */
.zoomin-bg-container:hover > * {
  transform: translateY(-20px);
}

