/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  direction: rtl;
  text-align: right;
  color: #2a2a2a;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== COLORS ===== */
:root {
  --navy: #173557;
  --red: #E30613;
  --gold: #C8A86E;
  --light-bg: #f7f8fa;
  --dark-bg: #0f1c2e;
  --text: #2a2a2a;
  --text-light: #5a6272;
  --white: #ffffff;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 3px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo img {
  height: 55px;
  width: auto;
}
.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.social-icons a {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.social-icons a:hover { opacity: 0.7; }
.social-icons img {
  width: 30px;
  height: 30px;
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  background: transparent;
  border-bottom: 3px solid var(--red);
  margin-bottom: -3px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--dark-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
}
.hero-yt-wrap {
  position: absolute;
  inset: -60px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}
.hero-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
  max-width: 800px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h2 {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--white);
  font-weight: 400;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
  line-height: 1.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,46,0.3) 0%, rgba(15,28,46,0.7) 100%);
  z-index: 1;
}

/* ===== SECTIONS ===== */
.section {
  background-image: url('https://static.sendmsg.co.il/userfiles/site4805/images/1920-10th-st.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 60px 0;
}
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
}
.section > .container {
  position: relative;
  z-index: 1;
}
.section--alt::before {
  background: rgba(247,248,250,0.95);
}
.section--alt {
  background: var(--light-bg);
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 0;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.about-text p { margin-bottom: 18px; }
.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* ===== METHOD ===== */
.method-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text);
}
.method-content p { margin-bottom: 20px; }
.method-content strong { color: var(--navy); }
.method-list {
  margin: 24px 0;
  padding-right: 20px;
}
.method-list li {
  position: relative;
  padding: 6px 20px 6px 0;
  list-style: none;
}
.method-list li::before {
  content: '✦';
  position: absolute;
  right: 0;
  color: var(--red);
  font-size: 0.8em;
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.project-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.project-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card-body {
  padding: 20px;
}
.project-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 2px;
  font-weight: 700;
}
.project-card .location {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.project-card .type {
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.project-card .specs {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 4px;
}
.project-card .home-type {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.project-card .financials {
  border-top: 1px solid #eee;
  padding-top: 12px;
  font-size: 0.92rem;
}
.project-card .price {
  color: var(--text);
  font-weight: 700;
}
.project-card .profit {
  color: #1a8a3f;
  font-weight: 700;
  font-size: 1rem;
}

/* ===== MEDIA / PRESS ===== */
.press-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.press-item {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.press-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.press-logo {
  width: 100px;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.press-logo img {
  max-width: 90px;
  max-height: 60px;
  object-fit: contain;
}
.press-text h3 {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.5;
}
.press-text h3 a {
  color: var(--navy);
  transition: color 0.2s;
}
.press-text h3 a:hover { color: var(--red); }
.press-text .date {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ===== CLIENTS / TESTIMONIALS ===== */
.clients-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ===== CONTACT ===== */
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-info {
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.contact-info a {
  color: var(--navy);
  font-weight: 700;
  transition: color 0.2s;
}
.contact-info a:hover { color: var(--red); }
.contact-form-placeholder {
  background: var(--light-bg);
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 40px;
  color: var(--text-light);
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 30px 24px;
  font-size: 0.9rem;
}
.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--white); }

/* ===== CTA BUTTON ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover {
  background: #c00510;
  transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; order: -1; }
  .header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .social-icons { order: 1; justify-self: start; }
  .logo { order: 2; justify-self: center; }
  .menu-toggle { order: 3; justify-self: end; }
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #eee;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
    margin-bottom: 0;
  }
  .main-nav a:hover,
  .main-nav a.active {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-image { order: -1; }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .press-item {
    flex-direction: column;
    text-align: center;
  }
  .press-logo {
    min-width: auto;
  }
  .hero { min-height: 50vh; }
  .hero-yt-wrap { display: none; }
  .hero h1 { font-size: 1.6rem; }
  .hero h2 { font-size: 1rem; }
  .section { padding: 40px 0; }
}
