/* ============================================
   Yishay IT — Shared Design System
   חמה, אישית, עקבית בכל הדפים
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700;800&display=swap');

/* ── טוקנים גלובליים ── */
:root {
  --bg:        #0d1117;
  --surface:   #161b27;
  --card:      #1e2535;
  --border:    rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);

  --accent:    #f59e0b;   /* כתום-ענבר חמה */
  --accent-dim:#7c4f0a;
  --blue:      #60a5fa;
  --blue-dark: #1d4ed8;
  --green:     #25D366;   /* וואטסאפ */

  --white:     #f1f5f9;
  --grey:      #8b95a8;
  --muted:     #4b5563;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.55);

  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

/* ── ריסט בסיסי ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Assistant', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.75;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── טיפוגרפיה ── */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { color: var(--grey); font-size: 1.05rem; }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* ── תווית קטנה מעל כותרות ── */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── ניווט ── */
.nav {
  padding: 14px 5%;
  background: rgba(13,17,23,0.92);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-brand {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--grey);
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }

.nav-links a.nav-cta {
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-links a.nav-cta:hover {
  background: var(--accent);
  color: #000;
}

/* המבורגר מובייל */
.menu-toggle { display: none; }
.menu-icon {
  display: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
}

/* ── כפתורים ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
}

.btn:hover { transform: translateY(-3px); }

.btn-wa {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.btn-wa:hover {
  background: #20ba5a;
  box-shadow: 0 8px 30px rgba(37,211,102,0.35);
  color: #fff;
}

.btn-primary {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 4px 20px rgba(96,165,250,0.2);
}
.btn-primary:hover {
  background: #2563eb;
  box-shadow: 0 8px 30px rgba(96,165,250,0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #000;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── כרטיסים ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.card h3 {
  color: var(--blue);
  margin-bottom: 12px;
}

/* ── גריד שירותים ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* ── רשימת תכונות ── */
.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--grey);
  font-size: 1rem;
}
.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── תגיות SEO ── */
.tag {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ── כותרת סקציה ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
}
.section-divider {
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 18px;
}

/* ── פסי הפרדה בין סקציות ── */
section {
  padding: 88px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
section.full-width {
  max-width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
section.full-width > .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 5%;
}

/* ── טופס יצירת קשר ── */
.contact-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
}
.contact-box h2 {
  text-align: center;
  margin-bottom: 8px;
}
.contact-box .lead {
  text-align: center;
  color: var(--grey);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

input, textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-align: right;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.12);
}

.submit-btn {
  width: 100%;
  padding: 17px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.submit-btn:hover {
  background: #f59e0b;
  transform: scale(1.02);
}

/* ── פוטר ── */
footer {
  background: #070b12;
  border-top: 1px solid var(--border);
  padding: 56px 5%;
  text-align: center;
  color: var(--muted);
}
.footer-brand {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand span { color: var(--accent); }
footer p { font-size: 0.95rem; margin-bottom: 6px; }
.footer-links {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.footer-links a { color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ── כרטיס CTA ── */
.cta-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #162032 100%);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { margin-bottom: 28px; font-size: 1.1rem; }

/* ── אנימציות כניסה עדינות ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }

/* ── רספונסיב מובייל ── */
@media (max-width: 768px) {
  .menu-icon { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13,17,23,0.98);
    flex-direction: column;
    padding: 28px 5%;
    gap: 20px;
    border-bottom: 2px solid var(--accent);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
  }
  .menu-toggle:checked ~ .nav-links { display: flex; }
  .menu-toggle:checked ~ .menu-icon i::before { content: "\f00d"; }
  .nav-links a { width: 100%; text-align: center; font-size: 1.15rem; }

  section { padding: 60px 5%; }
  section.full-width > .inner { padding: 60px 5%; }

  .contact-box { padding: 36px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .btn { width: 100%; justify-content: center; }
  .btn-group { flex-direction: column; }

  .cta-banner { padding: 44px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
