 
      /* ===== NAV / CONTACT BUTTON ===== */
      .contact-btn {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        font-size: 16px;
        color: black;
        border: 1px solid #ccc;
        margin-bottom: 10px;
        border-radius: 10px;
        background: transparent;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.2s ease;
      }

      .contact-btn:hover {
        background: rgba(0, 0, 0, 0.1);
        transform: scale(1.05);
      }

      .contact-btn i {
        font-size: 18px;
      }

      /* ===== IMAGE GRID (DESKTOP) ===== */
      .right-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 5px;
        overflow: hidden;
      }

      .right-images img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        border-radius: 6px;
        transition: transform 0.3s ease;
      }

      .right-images img:hover {
        transform: scale(1.02);
      }

      /* +N overlay on last image */
      .more-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        font-weight: bold;
        font-size: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: background 0.2s ease;
        border-radius: inherit;
      }

      .more-overlay:hover {
        background: rgba(0, 0, 0, 0.84);
      }



.view-more-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: white;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}


      /* ===== IMAGE VIEWER ===== */
      .image-viewer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0.9);
        z-index: 9999;
        flex-direction: column;
      }

      .viewer-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
      }

      .viewer-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
        opacity: 0;
        transition: opacity 0.3s ease;
        object-fit: contain;
      }

      .viewer-image.loaded {
        opacity: 1;
      }

      /* VIEWER BUTTONS */
      .close-btn,
      .prev-btn,
      .next-btn {
        position: absolute;
        border: none;
        cursor: pointer;
        font-size: 36px;
        color: white;
        background: none;
        transition: color 0.3s ease, transform 0.2s ease;
      }

      .close-btn {
        top: 1px;
        right: 15px;
        color: black;
        border-radius: 50%;
        padding: 8px 12px;
      }

      .prev-btn {
        top: 50%;
        left: -60px;
        transform: translateY(-50%);
      }

      .next-btn {
        top: 50%;
        right: -60px;
        transform: translateY(-50%);
      }

      .image-counter {
        color: white;
        margin-top: 15px;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
      }

      /* Image Viewer Navigation Buttons */
.image-viewer .prev-btn,
.image-viewer .next-btn {
  position: absolute;
  top: 50%; /* vertically center */
  transform: translateY(-50%);
  font-size: 32px;
  color: white;
  border: none;
  background: rgba(0,0,0,0.3); /* subtle overlay inside image */
  cursor: pointer;
  z-index: 10;
  width: 40px;  /* adjust button width */
  height: 40px; /* adjust button height */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.image-viewer .prev-btn {
  left: 15px; /* inside the left of image */
}

.image-viewer .next-btn {
  right: 15px; /* inside the right of image */
}

/* Optional hover effect */
.image-viewer .prev-btn:hover,
.image-viewer .next-btn:hover {
  background: rgba(0,0,0,0.5);
  transform: translateY(-50%) scale(1.1);
}


      /* ===== BUTTON WRAPPER BELOW IMAGES ===== */
      /* ===== IMAGE ACTION BUTTONS OVERLAY ===== */
      .image-actions {
        position: absolute;
        /* overlay on top of image */
        bottom: 15px;
        /* distance from bottom of image */
        left: 30px;
        /* distance from left of image */
        display: flex;
        gap: 10px;
        z-index: 5;
        /* above images */
      }

      .view-all-btn,
      .play-video-btn {
        background: rgba(0, 0, 0, 0.6);
        /* slightly transparent overlay style */
        color: white;
        padding: 10px 15px;
        border-radius: 30px;
        font-size: 14px;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 7px;
        transition: background 0.3s ease, transform 0.2s ease;
      }

      .view-all-btn:hover,
      .play-video-btn:hover {
        background: rgba(0, 0, 0, 1);
        transform: scale(1.05);
      }

      .play-video-btn i {
        font-size: 18px;
      }

      /* ===== DESCRIPTION TEXT EXPAND/COLLAPSE ===== */
      .description-text {
        position: relative;
        max-height: calc(1.5em * 6);
        /* 6 lines */
        overflow: hidden;
        transition: max-height 0.5s ease;
      }

      .description-text.expanded {
        max-height: 1000px;
        /* large enough to show all text */
      }

      .fade-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3em;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 90%);
        pointer-events: none;
        transition: opacity 0.3s ease;
      }

      .description-text.expanded .fade-overlay {
        opacity: 0;
      }

      .expand-btn {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 16px;
        margin-top: 5px;
        color: #333;
        display: flex;
        align-items: center;
        gap: 5px;
      }

      .expand-btn i {
        transition: transform 0.3s ease;
      }

      .expand-btn i.rotated {
        transform: rotate(180deg);
      }

      .description-text.expanded+.expand-btn i {
        transform: rotate(180deg);
      }

      /* ===== VIDEO CONTAINER ===== */
      .video-container {
        width: 100%;
        max-width: 800px;
        margin-top: 20px;
      }

      .video-container video {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        object-fit: cover;
      }

      /* ===== MOBILE VIEW ===== */
      @media (max-width: 768px) {
        .right-images {
          display: none;
        }

        .image-grid {
          position: relative;
        }

        .left-image {
          width: 100%;
          height: 400px;
          object-fit: cover;
          border-radius: 6px;
        }

        .mobile-prev,
        .mobile-next {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          font-size: 32px;
          color: white;
          border: none;
          background: rgba(0, 0, 0, 0.3);
          border-radius: 50%;
          cursor: pointer;
          z-index: 2;
          padding: 10px;
          transition: transform 0.2s ease;
        }

        .mobile-prev:hover,
        .mobile-next:hover {
          transform: scale(1.1);
        }

        .mobile-prev {
          left: 10px;
        }

        .mobile-next {
          right: 10px;
        }

        .image-actions {
          gap: 15px;
        }

        .view-all-btn,
        .play-video-btn {
          padding: 10px 20px;
          font-size: 16px;
        }
      }

      @media (max-width: 768px) {

  /* Remove padding/margin that limits width */
  .content-container,
  .image-grid-wrapper,
  .image-grid {
    padding: 0;
    margin: 0;
    width: 100vw;        /* full viewport width */
    max-width: 100vw;    /* prevent overflow clipping */
  }

  /* Ensure image truly spans edge to edge */
  .left-image {
    width: 100vw;        /* full width */
    height: 340px;        /* keep aspect ratio */
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;    /* optional: remove rounding for full bleed */
  }

  /* Optional: make sure the page doesn’t scroll sideways */
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  .image-actions {
    left: 10px;         /* move closer to screen edge */
    bottom: 10px;       /* slightly higher if needed */
    gap: 8px;           /* smaller spacing between buttons */
  }

  .view-all-btn,
  .play-video-btn {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 25px;
  }
}

 
 /* ===== FULL-WIDTH IMAGE GRID (DESKTOP) ===== */
.image-grid-wrapper,
.image-grid {
  width: 100vw;        /* make the grid fill the entire viewport width */
  max-width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
}

.image-grid-wrapper {
  left: 50%;
  right: 50%;
  margin-left: -50vw;  /* center the full-width grid */
  margin-right: -50vw; /* ensures it stretches past page padding */
}

/* Optional: make the left and right images align seamlessly */
.left-image,
.right-images img {
  border-radius: 0;    /* removes rounded corners */
}


/*mobile nav under images*/

/* ===== DESKTOP ONLY ===== */
.desktop-nav {
  display: flex;
}

.mobile-nav-content {
  display: none;
}

/* ===== MOBILE ONLY ===== */

/* ===== MOBILE ONLY ===== */
@media (max-width: 768px) {
  .mobile-nav-content {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff; /* or rgba(255,255,255,0.95) for transparency */
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important; /* hide the fixed nav */
  }

  .mobile-nav-content {
    display: flex;
    flex-direction: column;
    padding: 15px 15px;
    background: #fff;
    line-height: 1.4;
  }

  /* Status badge or title */
  #nav-status {
    font-weight: 600;
    font-size: 20px; /* slightly smaller than 23px for better visual balance */
    color: #222;
    margin-bottom: 8px;
  }

  /* Price + size row */
  .mobile-nav-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 16px;
    color: #000;
    margin-bottom: 3px;
  }

  .mobile-nav-row b#nav-price {
    font-size: 26px;       /* increase price prominence */
    font-weight: 700;
    color: #000;
  }

  .mobile-nav-row #nav-size {
    font-size: 26px;
    font-weight: 700;
    color: #000;
  }

  /* Bedroom and bathroom row */
  #nav-bedroom,
  #nav-bathroom {
    font-size: 19px;
    color: #111;
  }

  /* Address line */
  .mobile-nav-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #555;
    margin-top: 2px;
  }

  .mobile-nav-address i {
    color: #777;
    font-size: 16px;
  }
}

/* buttons */

/* ===== MOBILE IMAGE ARROWS ===== */
/* Hide by default on all screens */
.mobile-prev,
.mobile-next {
  display: none;
}

/* ===== MOBILE IMAGE ARROWS ===== */
@media (max-width: 768px) {
  .mobile-prev,
  .mobile-next {
    display: block; /* show only on mobile */
    position: absolute;
    top: 54%;
    transform: translateY(-50%);
    font-size: 32px;
    color: white;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 5;
    padding: 0;
  }

  .mobile-prev:hover,
  .mobile-next:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
  }

  .mobile-prev {
    left: 15px;
  }

  .mobile-next {
    right: 15px;
  }

  /* Hide right image grid to show only single main image */
  .right-images {
    display: none;
  }
}
