/* =========================
       Variables
    ========================= */
    :root {
      --primary-color: #0A4C6A;
      --primary-dark: #073549;
      --secondary-color: #E8A900;
      --bg-light: #f7f9fc;
      --border-color: #e5e7eb;
      --text-color: #111827;
      --text-muted: #6b7280;
      --whatsapp-color: #25D366;
      --white-color: #ffffff;
      --main-font: "Heebo", system-ui, sans-serif;
    }

    /* =========================
       Base
    ========================= */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--main-font);
      background-color: var(--white-color);
      color: var(--text-color);
      line-height: 1.7;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

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

    main {
      padding-bottom: 40px;
    }

    /* =========================
       Header
    ========================= */
    .main-header {
      background-color: var(--white-color);
      border-bottom: 1px solid var(--border-color);
      padding: 12px 0;
    }

    .main-header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .logo-block {
      text-align: right;
    }

    .logo {
      font-size: 1.9rem;
      font-weight: 800;
      letter-spacing: -1px;
      display: inline-block;
    }

    .logo-primary { color: var(--primary-color); }
    .logo-secondary { color: var(--secondary-color); }

    .logo-tagline {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-top: 2px;
    }

.footer-logo {
  display: flex;
  justify-content: center;  /* ממרכז אופקית */
  align-items: center;       /* ממרכז אנכית (אם יש גובה) */
  margin-bottom: 15px;
  width: 100%;
}

.footer-logo img {
  height: 50px;
  max-width: 100%;
  opacity: 0.9;
}

 /* כפתורי ניווט בהדר */
    .header-buttons-group {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .btn-header-nav {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 0.95rem;
      text-decoration: none;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .btn-header-nav:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }

    .btn {
      display: inline-block;
      padding: 10px 22px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease-in-out;
      text-align: center;
      white-space: nowrap;
    }

    .btn-secondary {
      background-color: var(--secondary-color);
      color: var(--primary-dark);
    }

    .btn-secondary:hover {
      opacity: 0.9;
    }

    /* =========================
       Hero
    ========================= */
    .hero {
      padding: 32px 0 22px;
      background: linear-gradient(180deg, #f0f8ff 0%, var(--white-color) 100%);
      text-align: center;
    }

    .hero-eyebrow {
      display: inline-block;
      padding: 5px 14px;
      border-radius: 999px;
      background-color: rgba(10, 76, 106, 0.06);
      color: var(--primary-dark);
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .hero h1 {
      font-size: 2.1rem;
      font-weight: 800;
      color: var(--primary-dark);
      margin-bottom: 8px;
    }

    .hero p {
      max-width: 680px;
      margin: 0 auto;
      font-size: 1rem;
      color: var(--text-muted);
    }

    /* Breadcrumbs */
    .breadcrumbs {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin: 12px 0 0;
    }

    .breadcrumbs a {
      color: var(--primary-color);
    }

    .breadcrumbs span {
      margin: 0 4px;
    }

    /* =========================
       List Header
    ========================= */
    .list-header {
      padding: 18px 0 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .list-header h2 {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--primary-dark);
    }

    .result-count {
      font-size: 0.95rem;
      color: var(--text-muted);
    }

    .filters-bar {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .filter-pill {
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid var(--border-color);
      font-size: 0.85rem;
      color: var(--text-muted);
      background-color: #fdfefe;
    }

    .filter-pill i {
      margin-left: 4px;
      color: var(--primary-color);
    }

    /* =========================
       Grid & Property Cards
    ========================= */
    .properties-section {
      padding-top: 4px;
    }

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

    @media (min-width: 900px) {
      .properties-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .property-card {
      background-color: var(--white-color);
      border-radius: 16px;
      border: 1px solid var(--border-color);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
      transition: box-shadow 0.2s ease-in-out, transform 0.1s ease-in-out;
    }

    .property-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07);
    }

    .property-image-wrapper {
      position: relative;
    }

    .property-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .property-image-placeholder {
      width: 100%;
      height: 220px;
      background: linear-gradient(135deg, var(--primary-color), #4db8ff);
    }

    .property-photo-count {
      position: absolute;
      bottom: 12px;
      right: 12px;
      background-color: rgba(0,0,0,0.6);
      color: var(--white-color);
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 0.85rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      backdrop-filter: blur(4px);
    }

    .property-photo-count i {
      font-size: 0.9rem;
    }

    .property-content {
      padding: 16px 16px 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }

    .property-top-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    .property-title {
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--primary-dark);
    }

    .property-title-link {
      transition: color 0.2s ease-in-out;
    }

    .property-title-link:hover {
      color: var(--secondary-color);
    }

    .rating-box {
      background-color: var(--primary-color);
      color: var(--white-color);
      border-radius: 10px;
      padding: 6px 9px;
      min-width: 58px;
      text-align: center;
      font-size: 0.8rem;
    }

    .rating-score {
      display: block;
      font-weight: 800;
      font-size: 1.1rem;
      line-height: 1.1;
    }

    .rating-text {
      font-size: 0.8rem;
    }

    .property-location {
      font-size: 0.9rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .property-desc {
      font-size: 0.95rem;
    }

    .property-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 4px;
    }

    .property-tag {
      font-size: 0.85rem;
      padding: 5px 12px;
      border-radius: 999px;
      background-color: var(--bg-light);
      border: 1px solid var(--border-color);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .property-tag i {
      color: var(--primary-color);
      font-size: 0.9rem;
    }

    .property-contact-row {
      margin-top: 10px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .btn-contact {
      border-radius: 10px;
      font-size: 0.95rem;
      padding: 9px 10px;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      font-weight: 700;
    }

    .btn-whatsapp {
      background-color: var(--whatsapp-color);
      color: var(--white-color);
    }

    .btn-phone {
      background-color: var(--secondary-color);
      color: var(--primary-dark);
    }

    .btn-contact i {
      font-size: 1.1rem;
    }

    /* =========================
       Footer
    ========================= */
    .main-footer {
      background-color: var(--primary-dark);
      color: #a0cbe0;
      padding: 34px 0;
      text-align: center;
      margin-top: 24px;
    }

    .footer-logo img {
      height: 46px;
      opacity: 0.85;
    }

    .footer-links {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 22px;
      flex-wrap: wrap;
      margin: 14px 0 16px;
      padding: 0;
      font-size: 0.92rem;
    }

    .footer-links a:hover {
      color: var(--white-color);
    }

    .copyright {
      font-size: 0.86rem;
    }

/* בלוק וידאו רספונסיבי ברוחב מלא הקונטיינר */
.video-frame {
  max-width: 1100px;       /* מתאים לרוחב ה-container שלך */
  margin: 20px auto 30px;  /* רווחים מעל/מתחת */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  background: #000;
}

/* טריק יחס 16:9 רספונסיבי */
.video-frame-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.video-frame-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* אפשרי: התאמה קלה למובייל אם תרצה פחות צל / רדיוס */
@media (max-width: 768px) {
  .video-frame {
    margin: 15px auto 25px;
    border-radius: 12px;
  }
}


    /* =========================
       Responsive
    ========================= */
    @media (max-width: 768px) {
      .main-header-inner {
        flex-direction: column-reverse;
        align-items: stretch;
        text-align: center;
      }

      .btn-secondary {
        width: 100%;
      }

      .hero {
        padding-top: 26px;
      }

      .hero h1 {
        font-size: 1.6rem;
      }

      .list-header {
        flex-direction: column;
        align-items: flex-start;
      }

      .filters-bar {
        width: 100%;
        justify-content: flex-start;
      }

      .property-image,
      .property-image-placeholder {
        height: 210px;
      }

      .property-contact-row {
        grid-template-columns: 1fr;
      }
    }