/* ═══════════════════════════════════════════════════════════════
   RESET & VARIABLES
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'Heebo', sans-serif;
  overflow-x: hidden;
  background: #f5f7ff;
  color: #1a1a2e;
  opacity: 0;
  transition: opacity 0.15s;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:root {
  --navy: #1a237e;
  --indigo: #3f51b5;
  --light-indigo: #7986cb;
  --sky: #e8eaf6;
  --bg: #f5f7ff;
  --text: #1a1a2e;
  --text-light: #6a6a8a;
  --accent: #ff6f00;
  --accent-hover: #ff8f00;
}

/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */
.nav {
  background: var(--navy);
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Karantina', system-ui;
  font-size: 28px;
  color: white;
  letter-spacing: 2px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: white; }
.nav-links a:hover::after { width: 100%; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  transition: all 0.3s;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open { visibility: visible; pointer-events: auto; }
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu.open .mobile-menu-overlay { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  background: var(--navy);
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 18px; left: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-close:hover { color: white; }
.mobile-menu-panel a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu-panel a:hover { color: white; }
.mobile-menu-panel .mm-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background: #25D366;
  color: white !important;
  padding: 14px 20px;
  border-bottom: none;
  font-weight: 600;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.wa-btn {
  display: flex !important;
  align-items: center;
  gap: 6px;
  background: #25D366 !important;
  color: white !important;
  padding: 7px 18px !important;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0;
  transition: all 0.3s;
}
.wa-btn::after { display: none !important; }
.wa-btn:hover { background: #1da851 !important; }
.wa-btn svg { flex-shrink: 0; }
.wa-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.wa-modal-overlay.show { opacity: 1; visibility: visible; }
.wa-modal {
  background: white; padding: 48px 40px; max-width: 420px; width: 90%;
  margin: 0 auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  text-align: center; position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-modal-overlay.show .wa-modal {
  transform: scale(1) translateY(0);
}
.wa-modal h3 {
  font-family: 'Karantina', system-ui; font-size: 36px; color: var(--navy);
  margin-bottom: 12px; letter-spacing: 2px;
}
.wa-modal p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 28px; }
.wa-modal .wa-join {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white; padding: 14px 36px;
  font-size: 16px; font-weight: 700; border: none; cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  text-decoration: none; transition: all 0.3s;
}
.wa-modal .wa-join:hover { background: #1da851; }
.wa-modal .wa-close {
  position: absolute; top: 16px; left: 16px; background: none; border: none;
  font-size: 22px; color: var(--text-light); cursor: pointer; padding: 4px;
}
.wa-modal .wa-close:hover { color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════
   HERO — מקורי Cinema Panels
   ═══════════════════════════════════════════════════════════════ */
.hero {
  height: 640px;
  background: #0d1452;
  position: relative;
  overflow: hidden;
}
.cinema-panels {
  display: flex;
  height: 100%;
}
.panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(255,255,255,0.06);
}
.panel:first-child { border-left: none; }
.cinema-panels:hover .panel { flex: 0.5; }
.cinema-panels .panel:hover { flex: 4; }
.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s;
  filter: brightness(0.35) saturate(0.6);
}
.panel:hover .panel-bg {
  transform: scale(1.1);
  filter: brightness(0.85) saturate(1.1);
}
.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,20,82,0.85) 0%, rgba(13,20,82,0.15) 50%, rgba(13,20,82,0.25) 100%);
  z-index: 2;
  transition: background 0.7s;
}
.panel:hover .panel-overlay {
  background: linear-gradient(to top, rgba(13,20,82,0.7) 0%, rgba(13,20,82,0.02) 50%);
}
.panel-num {
  font-family: 'Karantina', system-ui;
  font-size: 72px;
  color: rgba(255,111,0,0.15);
  line-height: 1;
  position: absolute;
  top: 24px; right: 24px;
  z-index: 3;
  transition: color 0.5s, font-size 0.5s;
}
.panel:hover .panel-num { color: rgba(255,111,0,0.4); font-size: 90px; }
.panel-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 28px;
  z-index: 3;
  transform: translateY(40px);
  opacity: 0.6;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.panel:hover .panel-content { transform: translateY(0); opacity: 1; padding: 48px 36px; }
.panel .cp-cat {
  font-size: 10px; font-weight: 600; color: var(--accent);
  letter-spacing: 2px; margin-bottom: 8px;
  opacity: 0; transform: translateY(10px); transition: all 0.5s 0.1s;
}
.panel:hover .cp-cat { opacity: 1; transform: translateY(0); }
.panel .cp-title {
  font-family: 'Karantina', system-ui;
  font-size: 20px; color: white; line-height: 1.2; letter-spacing: 1px;
  margin-bottom: 4px; transition: font-size 0.5s;
}
.panel:hover .cp-title { font-size: 40px; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.panel .cp-date { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 16px; transition: color 0.5s; }
.panel:hover .cp-date { color: rgba(255,255,255,0.8); }
.panel .cp-price {
  font-family: 'Karantina', system-ui; font-size: 32px; color: var(--accent);
  opacity: 0; transform: translateY(16px); transition: all 0.5s 0.15s;
}
.panel:hover .cp-price { opacity: 1; transform: translateY(0); }
.panel .cp-btn {
  margin-top: 16px; padding: 12px 32px;
  background: var(--accent); color: white; font-size: 14px; font-weight: 600;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-family: 'Heebo', sans-serif;
  opacity: 0; transform: translateY(16px); transition: all 0.4s 0.2s, background 0.3s;
  display: inline-block;
}
.panel:hover .cp-btn { opacity: 1; transform: translateY(0); }
.panel .cp-btn:hover { background: var(--accent-hover); }
.panel::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); z-index: 5;
  transform: scaleX(0); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.panel:hover::after { transform: scaleX(1); }
.title-overlay {
  position: absolute; top: 24px; right: 48px; z-index: 10; pointer-events: none;
}
.title-overlay h1 {
  font-family: 'Karantina', system-ui; font-size: 44px; color: white;
  letter-spacing: 3px; text-shadow: 0 2px 30px rgba(13,20,82,0.8);
}
.title-overlay h1 span { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   EVENTS SECTION — Square Grid (like mosaic row-3)
   ═══════════════════════════════════════════════════════════════ */
.events-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 60px 80px;
}
.section-title {
  font-family: 'Karantina', system-ui;
  font-size: 52px;
  color: var(--navy);
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-align: center;
}
.section-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 32px;
  clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}
.filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  background: white;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: all 0.3s;
}
.filter-btn:hover { color: var(--navy); }
.filter-btn.active { background: var(--accent); color: white; font-weight: 700; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.event-card {
  background: white;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cardIn 0.5s both;
  display: flex;
  flex-direction: column;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(26,35,126,0.15);
}
.event-card-img {
  position: relative;
  overflow: hidden;
}
.event-card-img img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.event-card:hover .event-card-img img {
  transform: scale(1.06);
}
.event-card-img .card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  padding: 5px 16px;
  font-size: 10px;
  font-weight: 700;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  z-index: 2;
  letter-spacing: 1px;
}
.event-card-img .card-multi {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
  letter-spacing: 0.5px;
}
.event-card.is-hot .card-hot {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #c62828;
  color: white;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.event-card.is-hot .card-hot svg {
  flex-shrink: 0;
}
.event-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.event-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card-body .card-meta {
  font-size: 16px;
  line-height: 1.35;
  color: var(--text-light);
  margin-bottom: 14px;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.event-card-footer .card-price {
  font-family: 'Karantina', system-ui;
  font-size: 26px;
  color: var(--navy);
}
.event-card-footer .card-buy {
  padding: 8px 22px;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 600;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  transition: all 0.3s;
  display: inline-block;
}
.event-card-footer .card-buy:hover { background: var(--accent); }
.events-empty,
.hero-empty {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  text-align: center;
}
.events-empty {
  min-height: auto;
  color: var(--text-light);
  margin-top: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT / VENUE
   ═══════════════════════════════════════════════════════════════ */
.about-section {
  padding: 80px 60px;
  background: var(--sky);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(26,35,126,0.03) 49%, rgba(26,35,126,0.03) 51%, transparent 52%);
  background-size: 40px 40px;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-text {}
.about-text .about-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.about-text h2 {
  font-family: 'Karantina', system-ui;
  font-size: 52px;
  color: var(--navy);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 24px;
}
.about-text h2 span { color: var(--accent); }
.about-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}
.about-stat {}
.about-stat .stat-num {
  font-family: 'Karantina', system-ui;
  font-size: 52px;
  color: var(--accent);
  line-height: 1;
}
.about-stat .stat-label {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 1px;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-img {
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.about-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9);
  transition: all 0.6s;
}
.about-img:hover img { filter: brightness(1) saturate(1); transform: scale(1.04); }
.about-img:nth-child(2) { margin-top: 40px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER — navy blue
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 60px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h3 {
  font-family: 'Karantina', system-ui;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer p, .footer li { font-size: 14px; line-height: 2.2; color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer li:hover { color: rgba(255,255,255,0.9); }
.footer-logo {
  font-family: 'Karantina', system-ui;
  font-size: 26px;
  color: white;
  margin-bottom: 10px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   HERO MOBILE — full-width auto slider
   ═══════════════════════════════════════════════════════════════ */
.hero-mobile { display: none; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-images { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 0 20px; height: 56px; }
  .nav-logo { font-size: 22px; letter-spacing: 2px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  /* Hide desktop hero, show mobile slider */
  .hero { display: none; }
  .hero-mobile {
    display: block;
    position: relative;
    height: 480px;
    background: #060a24;
    overflow: hidden;
  }
  .hm-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .hm-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: white;
  }
  .hm-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 5s linear;
  }
  .hm-slide.active .hm-slide-bg {
    transform: scale(1.08);
  }
  .hm-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,10,36,0.85) 0%, rgba(6,10,36,0.15) 40%, transparent 100%);
    z-index: 2;
    transition: opacity 0.5s;
  }
  .hm-slide.active .hm-slide-overlay {
    opacity: 0.6;
  }
  .hm-slide-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 28px 52px;
    z-index: 3;
  }
  .hm-slide-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 10px;
  }
  .hm-slide-title {
    font-family: 'Karantina', system-ui;
    font-size: 42px;
    color: white;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  }
  .hm-slide-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
  }
  .hm-slide-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .hm-slide-price {
    font-family: 'Karantina', system-ui;
    font-size: 36px;
    color: var(--accent);
  }
  .hm-slide-btn {
    background: var(--accent);
    color: white;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Heebo', sans-serif;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  }
  .hm-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }
  .hm-dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
  }
  .hm-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
  }
  .hm-progress-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(255,255,255,0.08);
    z-index: 10;
  }
  .hm-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
  }
  .events-section { padding: 48px 24px 64px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { padding: 56px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-images { display: none; }
  .about-text h2 { font-size: 40px; }
  .about-stats { gap: 24px; }
  .about-stat .stat-num { font-size: 40px; }
  .footer { padding: 48px 24px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .events-grid { grid-template-columns: 1fr; }
  .hero-mobile { height: 440px; }
  .hm-slide-title { font-size: 36px; }
  .about-stats { flex-direction: column; gap: 16px; }
}
