/* ============================================
   TTB – Tick Tick Boom! Israeli Premiere
   Design: Yellow & Black, RTL Hebrew (No Borders)
   ============================================ */

/* === Custom Fonts (Birzia & Camping) === */
@font-face {
  font-family: 'Birzia';
  src: url('fonts/Birzia-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Birzia';
  src: url('fonts/Birzia-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Birzia';
  src: url('fonts/Birzia-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Birzia';
  src: url('fonts/Birzia-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Camping';
  src: url('fonts/CampingBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #E6DF20;
  --bg-secondary: #E6DF20;
  --bg-card: #E6DF20;
  --black: #0a0a0a;
  --white: #ffffff;
  --text-primary: #0a0a0a;
  --text-muted: #2a2a2a;
  --font-ui: 'Heebo', sans-serif;       /* Nav, buttons, forms */
  --font-body: 'Birzia', sans-serif;    /* All body/paragraph text */
  --font-display: 'Camping', sans-serif; /* Hero subtitle + banner only */
  --transition: 0.25s ease;
  --section-gap: 90px;
  --container-width: 960px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* === Navigation (Clean Heebo UI) === */
#site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: var(--bg-primary);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: var(--bg-primary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  left: 16px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  background: var(--bg-primary);
  padding: 12px 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list .nav-link {
  padding: 14px 24px;
  font-size: 1.1rem;
}

.mobile-nav-list .nav-link:hover {
  background: transparent;
}

/* === Hero Section (Smart Branding Combo) === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 48px;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-primary);
}

.hero-logo-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  padding: 16px 24px 8px;
}

.hero-content {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-titles-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3.8vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 12px;
  white-space: nowrap;
  display: block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 22px);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: block;
}

.hero-subtitle .highlight {
  font-weight: 500;
}

/* === Buttons (Clean & Clickable Heebo) === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--bg-primary);
  border: none;
  padding: 14px 32px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.btn-primary:hover {
  background: #1c1c1c;
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-arrow {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(-4px);
}

/* === Announcement Notice === */
.cancellation-section {
  text-align: center;
  padding: 0 24px;
  background: var(--bg-primary);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.cancellation-content {
  padding: 16px 0;
}

.cancellation-title {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.announce-badge {
  background: var(--black);
  color: var(--bg-primary);
  padding: 4px 14px;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  display: inline-block;
}

.announce-date {
  font-weight: 700;
}

.announce-divider {
  color: var(--black);
  font-size: 1.2rem;
}

.announce-charity {
  font-weight: 500;
}

.announce-charity a {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: opacity var(--transition);
}

.announce-charity a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .cancellation-title {
    flex-direction: column;
    gap: 12px;
  }
  .announce-divider {
    display: none;
  }
}

/* === Sections General === */
.section {
  padding: var(--section-gap) 24px 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--black);
  margin: 12px auto 0;
}

/* === About Section === */
.about-section {
  background: var(--bg-secondary);
}

.about-text {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-text strong {
  color: var(--black);
  font-weight: 700;
}

/* === Tickets Section === */
.tickets-section {
  background: var(--bg-primary);
}

.cancellation-box {
  background: var(--black);
  padding: 32px 24px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: var(--bg-primary);
}

.cancellation-box-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--bg-primary);
}

/* === Team Section === */
.team-section {
  background: var(--bg-secondary);
  text-align: center;
}

.team-centered-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.team-group {
  background: transparent;
}

.team-group-title {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
}

.team-item {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.team-role {
  font-weight: 900;
  color: var(--black);
}

.team-divider {
  margin: 0 10px;
  font-weight: 300;
  color: var(--text-primary);
}

.show-duration {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 24px;
}

/* === FAQ Section === */
.faq-section {
  background: var(--bg-primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: transparent;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  list-style: none;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--black);
  flex-shrink: 0;
  margin-right: auto;
  margin-left: 0;
  transition: transform var(--transition);
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-question:hover {
  color: var(--black);
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-primary);
  padding-top: 12px;
}

/* === Contact Section === */
.contact-section {
  background: var(--bg-secondary);
  padding-bottom: var(--section-gap);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 2px;
}

.required {
  color: #ff3b30;
  margin-right: 2px;
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--black);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  padding: 8px 4px 6px;
  direction: rtl;
  text-align: right;
  transition: border-color var(--transition), background-color var(--transition);
  outline: none;
  width: 100%;
  border-radius: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(10, 10, 10, 0.35);
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--black);
  background-color: rgba(0, 0, 0, 0.01);
}

.form-textarea {
  height: 100px;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 16px;
}

#submit-btn {
  width: 100%;
  max-width: 160px;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1.05rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: var(--black);
}

/* === Footer === */
.site-footer {
  background: var(--bg-primary);
  padding: 32px 24px;
  text-align: center;
}

.footer-license {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0;
  line-height: 1.6;
  font-weight: 500;
}

.footer-license strong {
  font-weight: 900;
  color: var(--black);
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.7s ease 0.2s both;
}

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 768px) {
  :root {
    --section-gap: 56px;
  }

  .nav-list {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-logo-img {
    max-height: 50vh;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .team-centered-list {
    gap: 32px;
  }

  .team-item {
    font-size: 1.05rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn-primary {
    font-size: 0.95rem;
    padding: 12px 24px;
  }

  .cancellation-title {
    font-size: 1.2rem;
  }
}

/* === Dialog / Modal (Neo-Brutalist Premium Style) === */
.terms-modal {
  border: 2px solid var(--black);
  background: var(--bg-primary);
  color: var(--black);
  padding: 0;
  max-width: 640px;
  width: 90%;
  margin: auto;
  outline: none;
  box-shadow: 8px 8px 0px 0px var(--black);
  z-index: 2000;
}

.terms-modal::backdrop {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 2px solid var(--black);
}

.modal-title {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  color: var(--black);
  transition: transform var(--transition);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.modal-close-btn:hover {
  transform: scale(1.15);
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  text-align: right;
  direction: rtl;
}

.modal-body h3 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--black);
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul {
  list-style-type: disc;
  padding-right: 20px;
  margin-bottom: 16px;
}

.modal-body li {
  margin-bottom: 12px;
}

.modal-body a {
  text-decoration: underline;
  font-weight: 700;
  color: var(--black);
}

/* Link Button Trigger */
.link-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
  display: inline;
}

.link-btn:hover {
  color: var(--black);
  text-decoration: underline;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--black);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333333;
}
