.elementor-189 .elementor-element.elementor-element-5576a08{--display:flex;}/* Start custom CSS for html, class: .elementor-element-4bee6d4 *//* ===== צבעים ===== */
:root {
  --wine: #8B1A1A;
  --wine-dark: #6B0F0F;
  --bg-light: #F7F4EE;
  --bg-soft: #EDE8DC;
  --border: #ddd3c4;
  --text-dark: #2C2416;
}

/* ===== Hero ===== */
.gallery-hero {
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  padding: 80px 0;
  text-align: center;
  color: white;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  margin-bottom: 12px;
}

.hero-subtitle {
  opacity: 0.9;
}

/* ===== Tabs ===== */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 30px 0 0;
}

.gallery-tab {
  background: transparent;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  color: var(--text-dark);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab .tab-count {
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.gallery-tab.active {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

.gallery-tab.active .tab-count {
  background: var(--wine);
  color: white;
}

/* ===== Filters ===== */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 30px 0;
}

.category-filter-btn {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
}

.category-filter-btn.active {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}

/* ===== Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  transition: transform .3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-item-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
  opacity: 0;
  transition: .3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  text-align: center;
}

.gallery-item-info {
  padding: 16px;
  background: white;
}

.item-category {
  font-size: 12px;
  color: var(--wine);
  font-weight: bold;
}

.item-title {
  margin-top: 6px;
  font-size: 16px;
  color: var(--text-dark);
}

/* ===== Videos ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.video-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  transition: .3s;
}

.video-item:hover {
  transform: translateY(-6px);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 20px;
}

.video-category {
  font-size: 12px;
  color: var(--wine);
  font-weight: bold;
}

.video-title {
  margin: 10px 0;
  font-size: 18px;
  color: var(--text-dark);
}

.video-description {
  color: #555;
  margin-bottom: 10px;
}

.video-duration {
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px;
  z-index: 9999;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

.lightbox img {
  width: 100%;
  border-radius: 12px;
}

.lightbox-info {
  color: white;
  margin-top: 12px;
  text-align: center;
}

.lightbox-category {
  background: var(--wine);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tab {
    padding: 10px 16px;
  }

  .category-filter-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}
.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #F7F4EE; /* צבע טקסט בהיר */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* הצללה לשיפור קריאות */
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
}
.gallery-item-info {
  padding: 20px;
  line-height: 1.7; /* ריווח בין שורות */
}

.item-title {
  margin-top: 10px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.overlay-content h3 {
  margin-bottom: 10px;
  line-height: 1.4;
}

.overlay-content p {
  line-height: 1.6;
}
/* כותרת ראשית – לבן כברירת מחדל */
.hero-title {
  color: #ffffff !important;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

/* אפקט מעבר עכבר – הופך לאדום */
.hero-title:hover {
  color: #8B1A1A !important;
  transform: scale(1.03);
  text-shadow: 0 0 12px rgba(139, 26, 26, 0.6);
}

/* כותרת משנה */
.hero-subtitle {
  color: rgba(255,255,255,0.9) !important;
  line-height: 1.8;
  margin-bottom: 36px;
}
/* ריווח בין המילים בטאבים */
.gallery-tab {
  letter-spacing: 1.2px; /* ריווח בין אותיות */
  word-spacing: 6px;     /* ריווח בין מילים */
}

/* ריווח גם בתוך האייקון + טקסט */
.gallery-tab span {
  margin-left: 4px;
  margin-right: 4px;
}
.hero-badge {
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.6);
}
/* ריווח גדול בין המילים בטאבים */
.gallery-tab {
  letter-spacing: 2px;   /* ריווח בין אותיות */
  word-spacing: 18px;    /* ריווח גדול בין מילים */
}

/* ריווח בין האייקון לטקסט */
.gallery-tab span {
  margin-left: 8px;
  margin-right: 8px;
}
/* שבירת שורה לכותרת במובייל */
@media (max-width: 768px) {
  .hero-title {
    display: block;
    white-space: normal !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
    text-align: center;
  }
}
.video-info {
  padding-top: 12px;
  line-height: 1.6;
}

.video-info h3 {
  margin-bottom: 6px;
}

.video-info p {
  margin-bottom: 8px;
}

.video-duration {
  display: block;
  margin-top: 4px;
}/* End custom CSS */