/* =====================================================================
   HOME PAGE STYLESHEET - ייחודי לדף הבית (index.html) בלבד.
   נטען בנוסף ל-assets/base.css. כולל: הירו/סליידר, trust-bar, services,
   why-us, testimonials, cta-section (גרסת דף הבית), areas, contact/form.
   ===================================================================== */

/* ===== HERO SLIDER ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

/* Slider background */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out, transform 1.4s ease-out;
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoomIn 5s ease-out forwards;
}
@keyframes heroZoomIn {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 35, 60, 0.78) 0%,
    rgba(15, 35, 60, 0.55) 55%,
    rgba(15, 35, 60, 0.35) 100%
  );
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.slider-dot.active {
  background: #ffffff;
  transform: scale(1.3);
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,0.28); }
.slider-arrow.prev { right: 1.2rem; }
.slider-arrow.next { left: 1.2rem; }

/* Override text colours for dark background */
.hero .hero-badge {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}
.hero .hero-badge::before { color: #ffffff; }
.hero h1 { color: #ffffff; }
.hero h1 span { color: #7ec8f0; }
.hero p { color: #ffffff; }
.hero .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
}
.hero .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #ffffff; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-text {
  opacity: 0;
  transform: translateY(30px);
}
.hero-text.hero-text-in {
  animation: heroTextIn 0.9s ease-out forwards;
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,127,193,0.1);
  border: 1px solid rgba(26,127,193,0.3);
  color: var(--blue);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '✓'; font-weight: 700; }
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1rem;
}
.hero h1 span { color: #7ec8f0; }
.hero p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--blue);
  color: #ffffff;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid rgba(26,127,193,0.5);
  color: var(--blue);
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--blue); background: rgba(26,127,193,0.06); }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
}
.hero-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-box {
  flex: 1;
  background: var(--sky);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.3rem;
}
.quick-contact {
  background: var(--sky);
  border-radius: 12px;
  padding: 1.2rem;
}
.quick-contact label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.4rem;
}
.quick-contact input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: #1a2d3e;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  direction: rtl;
  outline: none;
  transition: border-color 0.2s;
}
.quick-contact input:focus { border-color: var(--blue); }
.quick-contact button {
  width: 100%;
  background: var(--blue);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.quick-contact button:hover { background: var(--blue2); }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--blue);
  border-top: none;
  border-bottom: none;
  padding: 1.2rem 2rem;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.trust-item span:first-child {
  font-size: 1.3rem;
}
.trust-item strong { color: #ffffff; }

/* ===== SECTION BASE (extra) ===== */
.section-header { margin-bottom: 3rem; }

/* ===== SERVICES ===== */
.services { background: #ffffff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #f4f8fb;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,127,193,0.12);
}
.service-icon {
  width: 56px; height: 56px;
  background: rgba(26,127,193,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2d3e;
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.7rem; }

/* ===== WHY US ===== */
.why-us { background: var(--sky); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-items { display: flex; flex-direction: column; gap: 1.5rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-item-icon {
  width: 48px; height: 48px;
  background: rgba(26,127,193,0.1);
  border: 1px solid rgba(26,127,193,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2d3e;
  margin-bottom: 0.3rem;
}
.why-item p { font-size: 0.88rem; color: var(--gray); }

.stats-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  box-shadow: 0 8px 32px rgba(26,127,193,0.08);
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.stat-item .unit { font-size: 1.2rem; }
.stat-item .desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.4rem;
}

/* ===== TESTIMONIAL ===== */
.testimonials { background: #ffffff; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: #f4f8fb;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.stars { color: #f5a623; font-size: 1rem; margin-bottom: 1rem; }
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: #1a2d3e;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.reviewer-avatar {
  width: 44px; height: 44px;
  background: rgba(26,127,193,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--blue);
  font-size: 1rem;
}
.reviewer-name { font-weight: 700; color: #1a2d3e; font-size: 0.9rem; }
.reviewer-type { font-size: 0.8rem; color: var(--gray); }

/* ===== CTA (גרסת דף הבית) ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  border-top: none;
  border-bottom: none;
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #ffffff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-section .btn-primary {
  background: #ffffff;
  color: var(--blue);
}
.cta-section .btn-primary:hover { background: #e8f2fb; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: #ffffff;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.cta-phone:hover { background: rgba(255,255,255,0.12); }

/* ===== SERVICE AREAS ===== */
.areas { background: var(--sky); }
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.area-chip {
  background: #ffffff;
  border: 1px solid var(--border);
  color: #1a2d3e;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.area-chip:hover { border-color: var(--blue); color: var(--blue); }

/* ===== CONTACT ===== */
.contact { background: #ffffff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(26,127,193,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-text { font-size: 0.95rem; color: var(--gray); }
.contact-detail-text strong { color: #1a2d3e; display: block; margin-bottom: 0.1rem; }
.contact-form {
  background: #f4f8fb;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; color: var(--gray); margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: #1a2d3e;
  font-size: 0.9rem;
  direction: rtl;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  background: var(--blue);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.9rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.form-submit:hover { background: var(--blue2); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-status { margin-top: 0.9rem; font-size: 0.88rem; text-align: center; display: none; }
.form-status.success { display: block; color: #1a8a4a; }
.form-status.error { display: block; color: #c0392b; }
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

/* ===== MOBILE (ייחודי לדף הבית) ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 2rem;
  }
  .hero-visual { order: -1; }
  .hero-card { max-width: 100%; }
  .hero h1 { font-size: 1.9rem; }

  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-panel { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .stat-row { flex-direction: column; }
  .stats-panel { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
}
