/* ================================
   GLOBAL STYLES
================================ */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #f8fafc;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

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

/* ================================
   NAVBAR
================================ */

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.navbar .text-secondary:hover {
  color: #007bff !important;
}

/* ================================
   CATEGORY BUTTONS
================================ */
.category-bar {
  margin-top: 1rem;
}

.category-btn {
  border: 1px solid #d8dee4;
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  box-shadow: 0 3px 6px rgba(0, 123, 255, 0.2);
}

/* ================================
   FEATURED SECTION
================================ */
.featured-section {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.featured-section h3 {
  font-weight: 700;
  color: #333;
}

.featured-section p {
  color: #777;
  font-size: 0.95rem;
}

/* ================================
   PROPERTY CARDS
================================ */
.property-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.property-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.property-info {
  padding: 1rem;
  flex-grow: 1;
}

.property-info h5 {
  color: #000;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.property-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* ================================
   PROPERTY DETAILS PAGE
================================ */
.property-title {
  background: #fff;
  padding: 1rem;
  font-weight: 600;
  color: #007bff;
  border-radius: 6px;
  margin-top: 1rem;
}

.section-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.section-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;
}

.locked {
  color: #d9534f;
  font-weight: 500;
}

/* ================================
   LOGIN PROMPT BOX
================================ */
.login-box {
  background: #fff7f7;
  border: 1px solid #f5c2c2;
  border-radius: 10px;
  padding: 1rem;
}

.login-box .btn {
  margin-right: 0.5rem;
}

.login-box p {
  margin-bottom: 0.4rem;
}

/* ================================
   FOOTER
================================ */
.footer {
  background: #0d1b2a;
  color: #d9e2ec;
  padding: 2rem 0 1rem;
  margin-top: 3rem;
}

.footer a {
  color: #d9e2ec;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer a:hover {
  color: #00b4d8;
}

.footer-logo {
  font-weight: 700;
  color: #fff;
  font-size: 1.3rem;
}

.footer-links h6 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 1rem;
  padding-top: 0.8rem;
  font-size: 0.85rem;
  color: #a7b8c7;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .property-img {
    height: 180px;
}
}

@media (max-width: 768px) {
  .property-card {
    margin-bottom: 1rem;
}

.category-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

.footer-links h6 {
    font-size: 0.95rem;
}

.footer a {
    font-size: 0.85rem;
}
}

@media (max-width: 576px) {
  .navbar-brand img {
    width: 22px;
}

.property-title {
    font-size: 0.9rem;
}

.section-card {
    padding: 1rem;
}
}



/* ===== Custom Multi-Image Slider ===== */
.pz-gallery {
    position: relative;
    width: 100%;
}

.pz-viewport {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.pz-track {
    display: flex;
    gap: 12px;
    /* space between cards */
    padding: 8px;
    scroll-behavior: smooth;
    /* smooth when using scrollLeft */
    user-select: none;
    -webkit-user-drag: none;
}

/* one "card" */
.pz-slide {
    flex: 0 0 calc(33.333% - 8px);
    /* 3 per view on desktop */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    background: #f5f7fb;
    height: 240px;
    /* <<< SAME HEIGHT */
}

.pz-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crop nicely to same height */
    display: block;
    transition: transform .25s ease;
}

.pz-slide:hover img {
    transform: scale(1.02);
}

/* arrows */
.pz-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
}

.pz-prev {
    left: 8px;
}

.pz-next {
    right: 8px;
}

.pz-nav i {
    font-size: 1.2rem;
}

/* tablet: 2 per view */
@media (max-width: 991.98px) {
    .pz-slide {
        flex-basis: calc(50% - 6px);
        height: 220px;
    }
}

/* mobile: 1 per view */
@media (max-width: 575.98px) {
    .pz-slide {
        flex-basis: 100%;
        height: 210px;
    }

    .pz-nav {
        width: 36px;
        height: 36px;
    }
}



/* ---- Navbar Styling ---- */
.navbar {
    background: #ffffff;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e6e9ef;
}

.navbar-brand span {
    letter-spacing: 0.5px;
}

.nav-link {
    font-size: 0.97rem;
    color: #444 !important;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: #007bff !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #007bff !important;
   /* border-bottom: 0.6px solid #007bff;*/
}

/* Download Button */
.navbar .btn-primary {
    background: linear-gradient(90deg, #007bff, #0056d2);
    border: none;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

/* Sticky shrink effect */
.navbar.scrolled {
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* --- Mobile App Banner --- */
.mobile-app-banner {
    background: linear-gradient(90deg, #007bff, #0056d2);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1045;
    /* slightly above navbar */
    display: flex;
    /* hidden by default */
}

/* Optional button styling */
.mobile-app-banner .btn-light {
    color: #0056d2;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    padding: 4px 10px;
    transition: background 0.3s ease;
}

.mobile-app-banner .btn-light:hover {
    background: #e9ecef;
}
