/* ================= PROJECT SEARCH PREMIUM CSS ================= */

:root {
    --premium-dark: #111;
    --light-bg: #f8f9fa;
    --overlay-gradient: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    --font-heading: "Nocturnal-Light", "Nocturnal", serif;
    --font-ui: "GeneralSans-Medium", "GeneralSans", sans-serif;
    --clr-white: #ffffff;
}

/* ================= HERO SECTION (Same as Blog) ================= */
.project-search-hero {
    position: relative;
    height: 100vh;
    background: url("/assets/images/frontend/blogs/blog-baneer.png") center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

.hero-heading {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 500;
    letter-spacing: -2px;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.15rem;
    font-family: var(--font-ui);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

/* ================= BREADCRUMB ================= */
.breadcrumb-section {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: var(--font-ui);
}

.breadcrumb-item a {
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-item.active {
    color: #111;
    font-weight: 600;
}

/* ================= FILTER SECTION ================= */
.filter-section {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.category-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: var(--font-ui);
    font-weight: 500;
    border-radius:40px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #111;
    text-decoration: none;
}

.tab-btn:hover {
    border-color: #111;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--premium-dark);
    color: #fff;
    border-color: var(--premium-dark);
}

.location-dropdown .form-select {
    min-width: 220px;
    border-radius: 0px;
    padding: 8px 20px;
    font-family: var(--font-ui);
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.3s;
}

.location-dropdown .form-select:focus {
    box-shadow: none;
    border-color: #111;
}

/* ================= PROJECT GRID (Signature Developments Style) ================= */
.project-listing {
    padding-bottom: 60px;
    background-color: var(--light-bg);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    z-index: 1;
}

.card-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: #fff;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .card-label {
    transform: translateY(0);
}

.proj-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.proj-loc {
    display: block;
    font-family: var(--font-ui);
    font-size: 14px;
    opacity: 0.8;
}

/* ================= PAGINATION (Premium Style) ================= */
.pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-item .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
    font-family: var(--font-ui);
    font-size: 15px;
    padding: 0;
}

.pagination .page-item.active .page-link {
    background: var(--premium-dark);
    color: #fff;
    border-color: var(--premium-dark);
}

.pagination .page-item.disabled .page-link {
    background: transparent;
    border: none;
    color: #888;
}

.pagination .page-item .page-link:hover:not(.disabled) {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ================= NO RESULTS CENTERING ================= */
.no-results-container {
    grid-column: 1 / -1;
    min-height: 300px;
}

/* ================= CTA SECTION ================= */
/* =====================================================
   CTA VISIT SECTION
   ===================================================== */
.cta-visit-section {
	position: relative;
	padding-top:70px;
	padding-bottom: 70px;
	background: url('/assets/images/frontend/homepage/dream-prop-back.png') center/cover no-repeat;
	color: #fff;
	overflow: hidden
}

.cta-visit-overlay { position: absolute; inset: 0 }


.cta-visit-inner {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 60px;
}

.cta-visit-left { max-width: 520px }

/* ── CTA HEADING ── */
.cta-visit-heading {
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 400;
	letter-spacing: var(--ls-heading);
	text-transform: uppercase;
	margin-bottom: 16px;
	line-height: var(--lh-heading);
	color: #111
}

/* ── CTA PARA ── */
.cta-visit-text {
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: var(--lh-body);
	opacity: .95;
	color: #111
}

.cta-visit-right {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-left: auto
}

/* ── CTA BTN ── */
/* ── CTA VISIT BTN ── */
.cta-visit-btn {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: var(--ls-btn);
  padding: 13px 36px;
  text-decoration: none;
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s, color .35s ease;
  z-index: 1;
}

/* Default maroon buttons */
.cta-visit-btn.primary,
.cta-visit-btn.secondary {
  background: #8b4040;
  color: #fff;
}

/* Black fill layer */
.cta-visit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: -1;
}

/* Hover */
.cta-visit-btn.primary:hover,
.cta-visit-btn.secondary:hover {
  transform: translateX(4px);
  color: #fff;
}

.cta-visit-btn.primary:hover::before,
.cta-visit-btn.secondary:hover::before {
  transform: scaleX(1);
}

@media (max-width: 992px) { .cta-visit-heading { font-size: 22px } }

@media (max-width: 768px) {
.cta-visit-section{
   padding-top: 50px;
   padding-bottom:50px;
}
	.cta-visit-inner { flex-direction: column; align-items: flex-start }
	.w-width{
		padding:0px 20px;
	}
	.cta-visit-right{
	margin-left: 0;
	
}
.cta-visit-inner{
gap:30px;
}
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .location-dropdown {
        width: 100%;
    }

    .location-dropdown .form-select {
        width: 100%;
    }

}

@media (max-width: 768px) {
    .project-search-hero {
        height: 60vh;
    }

    .hero-heading {
        font-size: 32px;
    }

    .proj-title {
        font-size: 20px;
    }

}