/*
 * properties.css
 * Author: Farhan Javed
 */

/* -----------------------------------------
   CSS VARIABLES
----------------------------------------- */
:root {
  --dark:      #0f1923;
  --dark-2:    #1a2e3f;
  --gold:      #e8a045;
  --gold-lt:   #fff3dc;
  --white:     #ffffff;
  --bg:        #f5f4f0;
  --border:    #ece9e3;
  --txt-main:  #1c1c1c;
  --txt-muted: #888888;
  --txt-sm:    #aaaaaa;
  --green:     #22c55e;
  --blue:      #3b82f6;
  --red:       #ef4444;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 2px 14px rgba(0,0,0,.07);
  --shadow-hv: 0 12px 32px rgba(0,0,0,.13);
}

/* container */
.cont-sec {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* typography */
.para    { 
	font-size: 15px;
	line-height: 1.65;
	color: var(--txt-muted); 
}
.sm-para { 
	font-size: 13px;
}
.txt     { 
	font-size: 14px;
	color: var(--txt-main);
}
.sm-txt  { 
	font-size: 11px;
	color: var(--txt-sm);
	text-transform: uppercase;
	letter-spacing: .5px;
}


.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background .2s, color .2s, 
	border-color .2s;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: var(--radius-sm);
}
.btn-dark {
	background: var(--dark);
	color: var(--white); 
}
.btn-dark:hover { 
	background: var(--gold);
	color: var(--dark); 
}

.btn-outline {
  background: transparent;
  color: var(--txt-muted);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { 
	border-color: var(--gold);
	color: var(--gold); 
}

.btn-filter {
  background: transparent;
  color: #ccc;
  border: 1.5px solid rgba(255,255,255,.2);
  padding: 6px 20px 8px 20px !important;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-filter:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 700;
}
.btn-filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 700;
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-sale { 
	background: var(--green);
	color: var(--white); 
}
.badge-rent { 
	background: var(--blue);
	color: var(--white); 
}
.badge-sold {
	background: var(--red);
	color: var(--white); 
}
.badge-type { 
	background: rgba(15,25,35,.82);
	color: var(--gold); 
}
.status-lbl  {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700; 
}
.slabel-sale { 
	background: #dcfce7;
	color: #16a34a; 
}
.slabel-rent {
	background: #dbeafe;
	color: #1d4ed8; 
}
.slabel-sold { 
	background: #fee2e2;
	color: #dc2626; 
}

.prop-hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 55%, #0d3348 100%);
  padding: 70px 24px 56px;
  text-align: center;
}

.eyebrow-txt {
  display: inline-block;
  background: rgba(232,160,69,.15);
  color: var(--gold);
  border: 1px solid rgba(232,160,69,.3);
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-hdng {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.sub-para { 
	color: #8fa3b3; 
	margin-bottom: 32px; 
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.archive-body {
  padding: 44px 0 60px;
  background: var(--bg);
}

.arch-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.arch-meta-row strong { 
	color: var(--txt-main);
}

.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 44px;
}
.prop-card {
  flex: 1 1 calc(33.33% - 26px);
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hv);
}

.card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.card-img .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2e4a, #0d3a5c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-price {
  font-size: 21px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}
.card-ttl {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt-main);
  margin-bottom: 8px;
  line-height: 1.45;
}
.card-ttl a { 
	color: inherit;
	text-decoration: none;
}
.card-ttl a:hover { 
	color: var(--gold); 
}

.card-loc {
	margin-bottom: 14px;
}
.stats-strip {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.stat-item {
  font-size: 12px;
  color: var(--txt-muted);
  font-weight: 500;
}
.card-ftr { 
	margin-top: auto; 
}
/* .pg-wrap {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pg-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--txt-main);
  transition: all .2s;
}
.pg-wrap .page-numbers:hover,
.pg-wrap .page-numbers.current {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.no-results-txt { 
	text-align: center;
	padding: 40px 0; 
} */


/* Single Page CSS starts here */
.sngl-hero {
  position: relative;
  height: 460px;
  overflow: hidden;
}
.sngl-hero .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.hero-ovly {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(10,18,26,.78) 100%);
}
.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.hero-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.hero-ttl {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.hero-right { 
	text-align: right;
	flex-shrink: 0; 
}
.hero-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}
.hero-right .sm-txt {
  display: block;
  color: #ccc;
  margin-top: 3px;
}
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.bc-inner {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.bc-link { 
	font-size: 13px;
	color: var(--gold);
	text-decoration: none; 
}
.bc-link:hover {
	text-decoration: underline; 
}
.bc-sep  { color: #ccc;
	font-size: 12px; 
}
.bc-cur  { 
	font-size: 13px;
	color: var(--txt-muted); 
}

.sngl-body {
	background: var(--bg);
	padding: 40px 0 64px; 
}

.sngl-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.sngl-main {
	flex: 1 1 0;
	min-width: 0; 
}

.qs-bar {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.qs-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.qs-item:last-child { 
	border-right: none; 
}
.qs-icon { 
	font-size: 22px;
	margin-bottom: 5px; 
}
.qs-val  { 
	font-size: 17px;
	font-weight: 800;
	color: var(--txt-main);
	margin-bottom: 3px; 
}
.loc-val { 
	font-size: 14px; 
}
.det-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.card-hdng {
  font-size: 18px;
  font-weight: 700;
  color: var(--txt-main);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.fields-list { 
	display: flex; 
	flex-direction: column; 
}
.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #f5f3f0;
}
.field-row:last-child { 
	border-bottom: none; 
}
.field-lbl { 
	font-size: 13px;
	color: var(--txt-muted);
	font-weight: 500; 
	display: flex;
    gap: 8px;
    align-items: center;
}
.field-val {
	font-size: 14px;
	font-weight: 600;
	color: var(--txt-main);
}
.highlight-val{
	font-size: 17px; 
	color: var(--gold); 
	font-weight: 800; 
}

.sm-fields .field-row {
	padding: 9px 0px; 
}
.sm-fields .field-val { 
	font-size: 13px; 
}

.agent-note {
  background: #fffbf3;
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--txt-muted);
  line-height: 1.65;
  font-style: italic;
}
.post-content { 
	color: var(--txt-muted); 
	line-height: 1.7;
}
.sngl-sidebar{ 
	flex: 0 0 310px; 
}
.side-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.price-box {
  text-align: center;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.big-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.back-lnk {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  transition: color .2s;
}
.back-lnk:hover { 
	color: var(--gold);
}
.side-hdng {
    font-size: 14px;
    font-weight: 700;
    color: var(--txt-main);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 960px) {
  .prop-card {
    flex: 1 1 calc(50% - 26px);
  }
  .sngl-inner {
    flex-direction: column;
  }
  .sngl-sidebar {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .prop-card {
    flex: 1 1 100%;
  }
  .hero-hdng {
    font-size: 28px;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-ttl {
    font-size: 22px;
  }
  .hero-right {
    text-align: left;
  }
  .sngl-hero {
    height: 340px;
  }
  .qs-bar {
    flex-wrap: wrap;
  }
  .qs-item {
    flex: 1 1 calc(50% - 1px);
  }
}