/* ===========================
   SRWorkspace Solutions – Design System
   =========================== */

:root {
  /* Brand Colors */
  --primary: #1E3A8A;              /* Deep Blue */
  --primary-dark: #0F2A5F;
  --primary-light: #3B5CBD;

  --accent: #1D9BF0;              /* Modern Tech Blue */
  --accent-light: #CBE8FF;

  --background: #F5F7FA;
  --surface: #FFFFFF;
  --surface-shadow: rgba(0,0,0,0.06);

  --text-main: #1B1C1F;
  --text-secondary: #4A4B4F;
  --text-light: #6D6F76;

  --radius: 14px;
  --transition: .25s ease;

  /* Typography */
  --font-size: 16px;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

/* ===========================
   Global
   =========================== */

* {
  font-family: 'Heebo', 'Inter', sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: var(--font-size);
  background: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3 {
  margin: 0 0 1rem;
  font-weight: var(--fw-bold);
}

h1 {
  font-size: 2.8rem;
  color: var(--primary);
}

h2 {
  font-size: 1.9rem;
  margin-top: 3rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: var(--fw-semibold);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

a:hover {
  color: var(--primary);
}

/* ===========================
   Layout
   =========================== */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem;
}

/* ===========================
   Navigation
   =========================== */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse; /* הכי חשוב */
}

nav a {
  margin-left: 1rem;
  font-weight: var(--fw-medium);
  color: var(--text-main);
  padding: .4rem .6rem;
  border-radius: 6px;
}

nav a:hover {
  background: var(--accent-light);
  color: var(--primary);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 6rem 1rem;
  text-align: center;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.hero .lead {
  color: #E8ECF5 !important;
  opacity: 1 !important;
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 16px rgba(0,0,0,0.12);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-dark);
}

/* ===========================
   Cards
   =========================== */

.cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px var(--surface-shadow);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card p {
  color: var(--text-light);
  flex-grow: 1;
}

/* ===========================
   Bullet List (Benefits)
   =========================== */

ul {
  list-style: none;
  padding: 0;
}

li {
  background: var(--surface);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px var(--surface-shadow);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

li::before {
  content: "✔";
  color: var(--primary);
  font-weight: var(--fw-bold);
}

/* ===========================
   Footer
   =========================== */

footer {
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hero h1 {
  color: #FFFFFF !important;   /* לבן מלא */
  opacity: 1 !important;       /* למנוע דהייה */
}

.menu-right a {
  margin-left: 1.2rem;
  font-weight: 500;
}


.header-align {
  display: flex;
  flex-direction: row;         /* לא הפוך */
  justify-content: space-between;
  align-items: center;
  direction: rtl;              /* מכריח ימין → שמאל */
}

.menu {
  display: flex;
  gap: 2rem;
}

.menu a {
  font-weight: 600;
  color: #222;
}

.brand {
  display: flex;
  align-items: center;
}

/* --------------------------
   Header – mobile responsive
   -------------------------- */
@media (max-width: 700px) {

  .header-align {
    flex-direction: column;      /* מעביר לשתי שורות */
    align-items: center;
    gap: 0.8rem;
    text-align: center;
  }

  .menu {
    flex-direction: column;      /* תפריט אנכי */
    gap: 0.5rem;
  }

  .menu a {
    font-size: 1.1rem;
    padding: .4rem 0;
  }

  .brand img {
    height: 42px;                /* לוגו קטן יותר למובייל */
  }
}

img {
    mix-blend-mode: multiply;
}

/* Project page images */
.project-detail .project-img {
  max-width: 800px;       /* מקסימום רוחב */
  width: 100%;            /* רספונסיבי */
  height: auto;           /* שלא יתעוות */
  border-radius: 16px;    /* עיצוב מקצועי */
  display: block;
  margin: 2rem auto;      /* מרכז תמונה */
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
  .project-detail .project-img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem auto;
  }
}

.usp {
  padding: 2.5rem 1rem 1rem;
  text-align: center;
}

.usp-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1E3A8A; /* כחול SRWorkspace */
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.9;
}
