/*
Theme Name: גיל הטיל
Theme URI: https://gilhatil.com
Description: עיצוב מותאם לגיל הטיל - בידור לילדים
Version: 3.0
Text Domain: gilhatil
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --purple:       #220E5F;
  --purple-mid:   #3A1F8A;
  --purple-light: #5B35C8;
  --orange:       #F96B2F;
  --orange-dark:  #E0551F;
  --yellow:       #FFD700;
  --white:        #FFFFFF;
  --bg:           #FDFBFF;
  --bg-light:     #F4F0FC;
  --text-dark:    #1A0A40;
  --text-mid:     #3A2860;
  --text-light:   #7B6A9A;
  --shadow-sm:    0 2px 12px rgba(34,14,95,0.08);
  --shadow-md:    0 6px 28px rgba(34,14,95,0.14);
  --radius:       16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans Hebrew', 'Inter', sans-serif;
  direction: rtl;
  color: var(--text-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 80px;
  background: white;
  box-shadow: var(--shadow-sm);
  gap: 24px;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(34,14,95,0.14); }

.site-logo a { display: flex; align-items: center; }
.site-logo img { height: 60px; width: auto; }
.logo-text { font-size: 24px; font-weight: 900; color: var(--purple); }

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all .2s;
}
.main-nav a:hover { background: var(--bg-light); color: var(--purple); }

.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--orange);
  color: white;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-order:hover { background: var(--orange-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--purple);
  border-radius: 2px;
}

/* ═══════════ MOBILE NAV ═══════════ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--purple);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: white;
  font-size: 22px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 12px;
  width: 260px;
  text-align: center;
  transition: background .2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,.1); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  left: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

/* ═══════════ HERO ═══════════ */
.hero-section {
  padding-top: 80px;
  min-height: 100vh;
  background: white;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 80% at 12% 50%, rgba(91,53,200,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--purple-light));
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px;
  width: 100%;
}

.hero-text { flex: 1; min-width: 0; }

.hero-slogan-img {
  width: min(460px, 100%);
  height: auto;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--orange);
  color: white;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  transition: all .2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,107,47,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  transition: all .2s;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--purple); color: white; }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 8px;
  border-top: 1px solid rgba(34,14,95,0.08);
}
.hero-stat-num { font-size: 30px; font-weight: 900; color: var(--purple); line-height: 1; }
.hero-stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

.hero-image-wrap {
  flex: 0 0 auto;
  width: min(500px, 46%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-character {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(34,14,95,0.12));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* ═══════════ VALUE BANNER ═══════════ */
.value-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%);
  padding: 64px 48px;
  text-align: center;
  color: white;
}
.value-banner h2 { font-size: clamp(24px, 4vw, 42px); font-weight: 900; margin-bottom: 16px; }
.value-banner p { font-size: 18px; opacity: 0.87; max-width: 620px; margin: 0 auto 36px; line-height: 1.65; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--orange);
  color: white;
  border-radius: 100px;
  font-weight: 700;
  font-size: 17px;
  transition: all .2s;
}
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: 80px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.section-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; color: var(--text-dark); line-height: 1.2; }
.section-title span { color: var(--purple-light); }
.section-title.light { color: white; }
.btn-link { color: var(--purple-light); font-weight: 600; font-size: 15px; transition: color .2s; white-space: nowrap; }
.btn-link:hover { color: var(--orange); }

/* ═══════════ SHOP ═══════════ */
.shop-section { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-img {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img span { font-size: 64px; }
.product-body { padding: 20px; }
.product-name { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.product-price { font-size: 22px; font-weight: 900; color: var(--purple); margin-bottom: 16px; }

/* ═══════════ TICKETS ═══════════ */
.tickets-section { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%); }
.tickets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ticket-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .25s, transform .25s;
}
.ticket-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.ticket-top { display: flex; align-items: flex-start; justify-content: space-between; }
.ticket-date-box {
  background: var(--orange);
  border-radius: 12px;
  padding: 10px 16px;
  text-align: center;
  min-width: 64px;
}
.ticket-day { font-size: 28px; font-weight: 900; color: white; line-height: 1; }
.ticket-month { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); margin-top: 2px; }
.ticket-badge { background: var(--yellow); color: var(--purple); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 100px; }
.ticket-show-name { font-size: 17px; font-weight: 700; color: white; line-height: 1.3; }
.ticket-meta { display: flex; gap: 14px; color: rgba(255,255,255,0.72); font-size: 14px; }
.ticket-card .btn-order { background: var(--orange); width: 100%; justify-content: center; font-size: 15px; padding: 10px; }
.ticket-card .btn-order:hover { background: var(--orange-dark); transform: none; }

/* ═══════════ VIDEO ═══════════ */
.video-section { background: var(--bg-light); text-align: center; }
.video-description { font-size: 17px; color: var(--text-mid); max-width: 620px; margin: 0 auto 40px; line-height: 1.65; }
.video-wrapper { max-width: 820px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/9; }
.video-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials-section { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--orange);
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--yellow); font-size: 20px; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial-text { font-size: 15px; line-height: 1.72; color: var(--text-mid); margin-bottom: 20px; }
.testimonial-author-wrap { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.testimonial-author { font-weight: 700; font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* ═══════════ CONTACT ═══════════ */
.contact-section { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%); }
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-inner .section-title { margin-bottom: 40px; }
.contact-form { background: white; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); text-align: right; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E4DCFA;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  direction: rtl;
  outline: none;
  transition: border-color .2s;
  color: var(--text-dark);
  background: white;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--purple-light); }
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-form .btn-primary { width: 100%; justify-content: center; font-size: 17px; padding: 15px; }

/* ═══════════ FOOTER ═══════════ */
.site-footer { background: var(--text-dark); color: rgba(255,255,255,0.85); padding: 64px 48px 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo-img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-logo-text { font-size: 26px; font-weight: 900; color: white; margin-bottom: 12px; }
.footer-desc { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); display: inline-block; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.45); }
.social-links { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background .2s, transform .2s; }
.social-link:hover { background: var(--orange); transform: translateY(-2px); }

/* ═══════════ FADE IN ═══════════ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .site-header { padding: 0 32px; }
  .hero-inner { padding: 60px 32px; gap: 36px; }
  .section { padding: 64px 32px; }
  .value-banner { padding: 56px 32px; }
  .products-grid, .tickets-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; height: 68px; }
  .main-nav, .header-btn { display: none; }
  .hamburger { display: flex; }

  .hero-section { padding-top: 68px; min-height: auto; }
  .hero-inner { flex-direction: column; text-align: center; padding: 40px 20px 60px; gap: 28px; }
  .hero-text { max-width: 100%; order: 2; }
  .hero-image-wrap { width: 88%; order: 1; }
  .hero-slogan-img { width: 100%; margin: 0 auto 20px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-subtitle { margin: 0 auto 28px; }

  .value-banner { padding: 48px 20px; }
  .section { padding: 56px 20px; }
  .products-grid, .testimonials-grid, .tickets-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .site-footer { padding: 48px 20px 24px; }
}
