/* ============== RESET בסיסי ============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ============== BODY כללי + רקע עם הבניין ============== */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  direction: rtl;
  color: #e5e7eb;
  line-height: 1.7;

  h1,
  h2,
  h3,
  nav a,
  .cta-btn {
    font-family: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  }

  /* רקע כהה מימין + תמונת בניין בהדרגתיות משמאל */
  background: linear-gradient(
      to left,
      rgba(15, 23, 42, 0.98) 25%,
      rgba(15, 23, 42, 0.9) 45%,
      rgba(15, 23, 42, 0.6) 65%,
      rgba(15, 23, 42, 0.25) 80%,
      transparent 100%
    ),
    url("bg-building.jpg");

  background-size: cover;
  background-position: left center;
  background-attachment: fixed;
}

/* סקשנים כלליים */
section,
footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 50px 20px;
}

/* ============== HEADER – לוגו + כותרות + NAV ============== */
.logo {
  width: 160px; /* גודל מתאים לדסקטופ */
  height: 160px;
  border-radius: 50%; /* הופך את המסגרת לעיגול מושלם */
  padding: 20px; /* ריווח פנימי מהמסגרת */
  background: rgba(255, 255, 255, 0.08); /* עיגול שקוף עדין */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35); /* צל יוקרתי */
  backdrop-filter: blur(6px); /* אפקט זכוכית מט */
  object-fit: contain; /* שהלוגו יישאר פרופורציונלי */
  display: block;
  margin: 0 auto 20px auto; /* למרכז את הלוגו */
  transition: 0.3s ease;
}

/* אפקט הובר קטן ואלגנטי */
.logo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* ===== HEADER – לוגו + כותרת + ניווט ===== */

header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 20px 18px;
  text-align: center;
}

header .logo {
  display: block;
  margin: 0 auto 18px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(
    circle at 30% 20%,
    #ffffff 0%,
    #e5e7eb 35%,
    #111827 100%
  );
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

/* כותרת ראשית – מודגשת אבל לא צווחת */
header h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f9fafb;
}

/* כותרת משנית – טיפה יותר עדינה */
header h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #e5e7eb;
  margin-bottom: 22px;
}

/* ===== ניווט – קפסולת זכוכית מתחת לכותרת ===== */

header nav {
  margin-top: 4px;
}

header nav ul {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  padding: 10px 26px;
  gap: 20px;

  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px); /* אפקט “זכוכית” */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

header nav li {
  position: relative;
}

/* קישורי ניווט */
header nav a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 2px;
  transition: color 0.2s ease, transform 0.15s ease;
}

/* קו תחתון עדין בהובר */
header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #facc15;
  transition: width 0.2s ease;
}

header nav a:hover {
  color: #facc15;
  transform: translateY(-1px);
}

header nav a:hover::after {
  width: 100%;
}

/* ===== רספונסיביות לניווט וכותרת במובייל ===== */

@media (max-width: 768px) {
  header {
    padding: 22px 12px 10px;
  }

  header .logo {
    width: 120px;
    height: 120px;
    margin-bottom: 14px;
  }

  header h1 {
    font-size: 2rem;
  }

  header h2 {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  header nav ul {
    padding: 8px 16px;
    gap: 12px;
    border-radius: 14px; /* פחות “קפסולה” כי יש שבירת שורות */
  }

  header nav a {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.7rem;
  }

  header h2 {
    font-size: 0.95rem;
  }

  header nav ul {
    padding: 8px 10px;
    gap: 10px;
  }
}

/* ============== HERO ============== */
#hero {
  text-align: center;
  color: #f9fafb;
  padding: 40px 20px 60px;
}

#hero h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

#hero p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: #dbe0e8;
}

/* כפתור */
.cta-btn {
  background: #f7b500;
  color: #0f172a;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transition: 0.2s ease;
}

.cta-btn:hover {
  background: #ffca3a;
  transform: translateY(-2px);
}

/* ============== כותרות סקשנים ============== */
section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f9fafb;
}

section p {
  max-width: 760px;
  margin: 0 auto 14px;
}

/* ============== מי אנחנו ============== */
#about {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  padding: 40px 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.bullet-list {
  max-width: 760px;
  margin: 14px auto;
  list-style: disc;
  padding-right: 22px;
}

.bullet-list li {
  margin-bottom: 6px;
  color: #e5e7eb;
}

/* ============== מה אנחנו עושים – כרטיסים ============== */
#services {
  margin-top: 40px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
}

.service-box {
  flex: 1 1 280px;
  max-width: 340px;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  padding: 24px 22px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  text-align: right;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  transition: 0.25s ease;
}

.service-box:hover {
  transform: translateY(-6px);
  border-color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.service-box h3 {
  margin-bottom: 10px;
  color: #f9fafb;
}

.service-box ul {
  list-style: disc;
  padding-right: 18px;
}

.service-box li {
  margin-bottom: 6px;
}

/* ============== מנכ״ל ============== */
#ceo {
  margin-top: 40px;
}

.ceo-card {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.ceo-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid #f7b500;
}

/* ============== FOOTER ============== */
footer {
  text-align: center;
  padding-bottom: 40px;
}

footer li {
  list-style: none;
  margin-bottom: 6px;
}

footer a {
  color: #f7b500;
  text-decoration: none;
}

/* ============== אנימציות ============== */
section,
footer {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============== רספונסיביות ============== */
@media (max-width: 768px) {
  header .logo {
    max-width: 120px;
  }
  header h1 {
    font-size: 2.2rem;
  }
  header h2 {
    font-size: 1.3rem;
  }

  .services {
    gap: 22px;
  }

  .service-box {
    max-width: 100%;
    flex: 1 1 100%;
  }

  body {
    background-position: center;
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.8rem;
  }
  header h2 {
    font-size: 1.15rem;
  }
  header nav a {
    font-size: 0.95rem;
  }

  .cta-btn {
    width: 100%;
    max-width: 260px;
  }
}

/* ============== סקשנים טקסטואליים ארוכים – כרטיס ממורכז ============== */

.info-section {
  padding-top: 40px;
}

/* הכותרת נשארת ממורכזת כמו שאר הסקשנים */
.info-section h2 {
  margin-bottom: 18px;
}

/* כרטיס רחב ומסודר לתוכן */
.info-card {
  max-width: 880px;
  margin: 0 auto; /* מרכז את הכרטיס */
  background: rgba(15, 23, 42, 0.96);
  border-radius: 20px;
  padding: 26px 28px 30px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.7);
  text-align: right;
}

/* כותרת משנה בתוך הכרטיס */
.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #f9fafb;
}

/* פסקאות בתוך הכרטיס – בלי ה-centering הגלובלי */
.info-card p {
  max-width: none;
  margin: 0 0 10px 0;
  color: #e5e7eb;
}

/* רשימות בתוך הכרטיס */
.info-card .bullet-list {
  max-width: none;
  margin: 0 0 10px 0;
  padding-right: 20px;
  list-style: disc;
}

.info-card .bullet-list li {
  margin-bottom: 4px;
}

/* רספונסיביות לכרטיסים האלה */
@media (max-width: 768px) {
  .info-card {
    max-width: 100%;
    padding: 20px 18px 24px;
  }
}

@media (max-width: 480px) {
  .info-card h3 {
    font-size: 1.15rem;
  }
}

/* ============== רספונסיביות ללוגו ============== */
@media (max-width: 600px) {
  .logo {
    width: 120px;
    height: 120px;
    padding: 15px;
  }
}
