/* Adetunji Bakare & Co. Real Estate — Front-end Styles */

:root{
	--abcre-navy:#0f2942;
	--abcre-gold:#d4a017;
	--abcre-green:#1e8a4c;
	--abcre-blue:#1a73c1;
	--abcre-purple:#7b3fb8;
	--abcre-orange:#e07b1f;
	--abcre-red:#c0392b;
	--abcre-bg:#f6f8fa;
	--abcre-card:#ffffff;
	--abcre-text:#22303f;
	--abcre-radius:12px;
}

.abcre-wrap{max-width:1200px;margin:0 auto;padding:20px 10px;color:var(--abcre-text);}

/* Filter bar */
.abcre-filter-bar{
	display:flex;flex-wrap:wrap;gap:10px;background:var(--abcre-navy);
	padding:18px;border-radius:var(--abcre-radius);margin-bottom:28px;
	box-shadow:0 4px 14px rgba(0,0,0,.12);
}
.abcre-filter-bar input[type="text"],
.abcre-filter-bar select{
	flex:1;min-width:160px;padding:10px 12px;border-radius:8px;border:none;font-size:14px;
}
.abcre-filter-bar .abcre-btn{flex:0 0 auto;}

/* Grid */
.abcre-grid{
	display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:22px;
}
.abcre-card{
	background:var(--abcre-card);border-radius:var(--abcre-radius);overflow:hidden;
	box-shadow:0 3px 12px rgba(15,41,66,.1);transition:transform .18s ease, box-shadow .18s ease;
	display:flex;flex-direction:column;
}
.abcre-card:hover{transform:translateY(-6px);box-shadow:0 10px 24px rgba(15,41,66,.18);}
.abcre-card-img{position:relative;display:block;height:190px;overflow:hidden;background:#e5e9ed;}
.abcre-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease;}
.abcre-card:hover .abcre-card-img img{transform:scale(1.06);}
.abcre-noimg{display:flex;align-items:center;justify-content:center;height:100%;color:#8a97a3;font-size:14px;}

.abcre-badge{
	position:absolute;top:12px;left:12px;color:#fff;font-weight:700;font-size:11px;
	letter-spacing:.5px;padding:6px 12px;border-radius:30px;box-shadow:0 2px 6px rgba(0,0,0,.25);
}
.abcre-badge-lg{position:static;display:inline-block;font-size:13px;margin-bottom:10px;}
.abcre-badge-sale{background:var(--abcre-green);}
.abcre-badge-rent{background:var(--abcre-blue);}
.abcre-badge-lease{background:var(--abcre-purple);}
.abcre-badge-enquiry{background:var(--abcre-orange);}
.abcre-badge-default{background:#666;}

.abcre-card-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:6px;flex:1;}
.abcre-card-body h3{margin:0;font-size:17px;line-height:1.35;}
.abcre-card-body h3 a{color:var(--abcre-navy);text-decoration:none;}
.abcre-card-body h3 a:hover{color:var(--abcre-gold);}
.abcre-card-location{margin:0;font-size:13px;color:#5f6d7a;}
.abcre-card-price{margin:2px 0 4px;font-size:19px;font-weight:800;color:var(--abcre-green);}
.abcre-card-meta{display:flex;gap:14px;font-size:13px;color:#5f6d7a;margin:0 0 8px;}

.abcre-btn{
	display:inline-block;text-align:center;padding:11px 18px;border-radius:8px;font-weight:700;
	font-size:14px;text-decoration:none;border:none;cursor:pointer;transition:opacity .15s ease;
}
.abcre-btn:hover{opacity:.88;color:#fff;}
.abcre-btn-primary{background:var(--abcre-gold);color:#20242b;}
.abcre-btn-primary:hover{color:#20242b;}
.abcre-btn-whatsapp{background:#25D366;color:#fff;margin-top:auto;}
.abcre-btn-lg{width:100%;padding:15px;font-size:16px;margin:14px 0;}

.abcre-pagination{margin-top:26px;text-align:center;}
.abcre-pagination a,.abcre-pagination span{
	display:inline-block;margin:0 4px;padding:8px 14px;border-radius:6px;background:#eef1f4;color:var(--abcre-navy);text-decoration:none;font-weight:600;
}
.abcre-pagination .current{background:var(--abcre-navy);color:#fff;}

.abcre-section-title{font-size:26px;color:var(--abcre-navy);margin:0 0 20px;padding-bottom:10px;border-bottom:3px solid var(--abcre-gold);display:inline-block;}
.abcre-featured-wrap{margin-bottom:10px;}

/* Single property */
.abcre-single-details{background:var(--abcre-card);border-radius:var(--abcre-radius);padding:24px;margin-top:26px;box-shadow:0 3px 12px rgba(15,41,66,.08);}
.abcre-price-lg{color:var(--abcre-green);font-size:32px;margin:8px 0 18px;}
.abcre-detail-table{width:100%;border-collapse:collapse;margin-bottom:6px;}
.abcre-detail-table th,.abcre-detail-table td{text-align:left;padding:10px 8px;border-bottom:1px solid #eef1f4;}
.abcre-detail-table th{width:160px;color:#5f6d7a;font-weight:600;}

.abcre-gallery{margin-top:24px;}
.abcre-gallery h3{color:var(--abcre-navy);}
.abcre-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;}
.abcre-gallery-grid img{width:100%;height:110px;object-fit:cover;border-radius:8px;}

.abcre-contact-block{margin-top:30px;background:var(--abcre-navy);color:#fff;padding:22px;border-radius:var(--abcre-radius);}
.abcre-contact-block h3{color:var(--abcre-gold);margin-top:0;}
.abcre-contact-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;}
.abcre-contact-list a{color:#fff;text-decoration:none;}
.abcre-contact-list a:hover{color:var(--abcre-gold);}

/* Frontend submission form */
.abcre-form{background:var(--abcre-card);padding:24px;border-radius:var(--abcre-radius);box-shadow:0 3px 12px rgba(15,41,66,.08);max-width:760px;}
.abcre-field{margin-bottom:16px;display:flex;flex-direction:column;gap:6px;}
.abcre-field label{font-weight:700;font-size:13px;color:var(--abcre-navy);}
.abcre-field input,.abcre-field select,.abcre-field textarea{
	padding:11px 12px;border:1px solid #d6dde3;border-radius:8px;font-size:14px;width:100%;box-sizing:border-box;
}
.abcre-field-row{display:flex;gap:16px;flex-wrap:wrap;}
.abcre-field-row .abcre-field{flex:1;min-width:180px;}

.abcre-notice{background:#fff8e6;border-left:4px solid var(--abcre-gold);padding:14px 16px;border-radius:6px;margin-bottom:18px;}
.abcre-success{background:#e9f9ef;border-left-color:var(--abcre-green);}

/* My properties dashboard */
.abcre-my-list{display:flex;flex-direction:column;gap:14px;}
.abcre-my-row{display:flex;gap:14px;align-items:center;background:var(--abcre-card);padding:12px;border-radius:10px;box-shadow:0 2px 8px rgba(15,41,66,.08);}
.abcre-my-thumb img{width:80px;height:80px;object-fit:cover;border-radius:8px;}
.abcre-my-info{display:flex;flex-direction:column;gap:4px;}
.abcre-my-info .abcre-badge{position:static;display:inline-block;width:fit-content;}

@media(max-width:640px){
	.abcre-field-row{flex-direction:column;}
	.abcre-filter-bar{flex-direction:column;}
}
