/*
Theme Name: LDA City Exchange
Theme URI: https://example.com/lda-city-exchange-theme
Author: LDA City Exchange
Author URI: https://example.com
Description: A professional, fully self-contained real-estate theme for LDA City Lahore property listings — with a built-in live bidding & negotiation system (Seller Demand, Buyer Offer, Counter Offers, Deal Locking, Admin Finalization, Commission & Privacy Protection). No separate plugin required.
Version: 1.2.0
Requires at least: 5.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lda-city-theme
*/

/* =========================================================
   0. Reset & base
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: #1f2937;
	background: #f6f7f9;
	line-height: 1.6;
}
h1, h2, h3, h4, h5 { font-family: 'Poppins', 'Inter', sans-serif; margin: 0 0 12px; color: #0b3558; font-weight: 700; }
a { color: #0b3558; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 18px; }
.lda-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.lda-section { padding: 64px 0; }
.lda-section-alt { background: #ffffff; }
.lda-section-title { text-align: center; margin-bottom: 8px; font-size: 30px; }
.lda-section-sub { text-align: center; color: #6b7280; max-width: 640px; margin: 0 auto 40px; }

/* =========================================================
   1. Top bar + Header
   ========================================================= */
.lda-topbar { background: #0b3558; color: #cfe0f0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.lda-topbar-inner { display: flex; align-items: center; gap: 18px; padding: 9px 20px; }
.lda-topbar a { color: #cfe0f0; text-decoration: none; }

/* Left: clickable Google Maps address */
.lda-topbar-address { display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); transition: background .15s ease; }
.lda-topbar-address:hover { background: rgba(255,255,255,0.14); color: #ffd98a; }
.lda-topbar-address .lda-pin { font-size: 14px; }

/* Center: animated right-to-left contact ticker */
.lda-ticker { flex: 1 1 auto; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.lda-ticker-track { display: inline-flex; white-space: nowrap; animation: lda-marquee 22s linear infinite; }
.lda-ticker-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 46px; font-weight: 500; }
.lda-ticker-item a { color: #ffd98a; font-weight: 600; }
.lda-ticker:hover .lda-ticker-track { animation-play-state: paused; }
@keyframes lda-marquee {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Right: YouTube badge */
.lda-topbar-youtube { display: flex; align-items: center; gap: 7px; flex-shrink: 0; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(255,0,0,0.12); border: 1px solid rgba(255,0,0,0.35); }
.lda-topbar-youtube:hover { background: rgba(255,0,0,0.22); color: #fff; }
.lda-yt-icon svg { display: block; }

.lda-header { background: #ffffff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 999; }
.lda-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.lda-logo { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px; color: #0b3558; }
.lda-logo img { max-height: 48px; width: auto; }
.lda-logo .lda-logo-accent { color: #c9972c; }

.lda-nav { display: flex; align-items: center; gap: 28px; }
.lda-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.lda-nav ul li a { font-weight: 600; color: #233; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.lda-nav ul li a:hover, .lda-nav ul li.current-menu-item a { color: #c9972c; border-color: #c9972c; }
.lda-header-cta { display: flex; gap: 10px; align-items: center; }
.lda-menu-toggle { display: none; background: none; border: none; font-size: 26px; color: #0b3558; cursor: pointer; }

/* =========================================================
   2. Buttons
   ========================================================= */
.lda-btn-primary, .lda-btn-gold, a.lda-btn-gold { display: inline-block; background: #c9972c; color: #fff !important; border: none; padding: 12px 24px; border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.lda-btn-primary:hover, .lda-btn-gold:hover { background: #b1821e; transform: translateY(-1px); }
.lda-btn-navy, a.lda-btn-navy { display: inline-block; background: #0b3558; color: #fff !important; border: none; padding: 12px 24px; border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
.lda-btn-navy:hover { background: #082842; }
.lda-btn-outline-light, a.lda-btn-outline-light { display: inline-block; background: transparent; color: #fff !important; border: 2px solid #fff; padding: 10px 22px; border-radius: 6px; font-weight: 700; font-size: 14px; text-decoration: none; }
.lda-btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* =========================================================
   3. Hero
   ========================================================= */
.lda-hero { position: relative; background: linear-gradient(135deg, #0b3558 0%, #124a79 60%, #0b3558 100%); color: #fff; padding: 90px 0 110px; overflow: hidden; }
.lda-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(201,151,44,0.18); }
.lda-hero-inner { position: relative; z-index: 2; max-width: 720px; }
.lda-hero-eyebrow { display: inline-block; background: rgba(255,255,255,0.12); color: #ffd98a; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px; letter-spacing: .03em; }
.lda-hero h1 { color: #fff; font-size: 44px; line-height: 1.15; margin-bottom: 18px; }
.lda-hero h1 span { color: #ffd98a; }
.lda-hero p { font-size: 17px; color: #d9e6f2; margin-bottom: 30px; max-width: 600px; }
.lda-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.lda-hero-stats { position: relative; z-index: 2; display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.lda-hero-stat strong { display: block; font-size: 30px; font-family: 'Poppins', sans-serif; color: #ffd98a; }
.lda-hero-stat span { font-size: 13px; color: #cfe0f0; }

/* =========================================================
   4. Sector cards (Phase 1 Jinnah / Phase 2 Iqbal)
   ========================================================= */
.lda-sectors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lda-sector-card { background: #fff; border-radius: 12px; border: 1px solid #e8ebef; padding: 28px; box-shadow: 0 4px 16px rgba(11,53,88,0.05); }
.lda-sector-card h3 { font-size: 20px; margin-bottom: 6px; }
.lda-sector-card .lda-sector-tagline { color: #c9972c; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.lda-block-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.lda-block-pill { background: #f0f4f8; color: #0b3558; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 6px; border: 1px solid #e1e8ef; }

/* =========================================================
   5. Feature / why-choose-us cards
   ========================================================= */
.lda-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lda-feature-card { background: #fff; border-radius: 12px; padding: 26px 22px; text-align: center; border: 1px solid #edf0f3; box-shadow: 0 2px 10px rgba(11,53,88,0.04); }
.lda-feature-icon { width: 54px; height: 54px; border-radius: 50%; background: #fdf3e2; color: #c9972c; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; font-weight: 800; }
.lda-feature-card h4 { font-size: 16px; margin-bottom: 8px; }
.lda-feature-card p { color: #6b7280; font-size: 14px; margin: 0; }

/* =========================================================
   6. Workflow / how-it-works
   ========================================================= */
.lda-workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: lda-step; }
.lda-workflow-step { background: #fff; border: 1px solid #edf0f3; border-radius: 10px; padding: 20px 16px; text-align: center; position: relative; }
.lda-workflow-step::before { counter-increment: lda-step; content: counter(lda-step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #0b3558; color: #ffd98a; font-weight: 800; margin-bottom: 10px; }
.lda-workflow-step h5 { margin: 0 0 6px; font-size: 14px; color: #0b3558; }
.lda-workflow-step p { font-size: 12.5px; color: #6b7280; margin: 0; }

/* =========================================================
   7. CTA band
   ========================================================= */
.lda-cta-band { background: #0b3558; color: #fff; padding: 56px 0; text-align: center; }
.lda-cta-band h2 { color: #fff; margin-bottom: 10px; }
.lda-cta-band p { color: #cfe0f0; margin-bottom: 26px; }
.lda-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   8. Footer
   ========================================================= */
.lda-footer { background: #081f33; color: #b9cbdc; padding: 56px 0 0; font-size: 14px; }
.lda-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.lda-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.lda-footer a { color: #b9cbdc; }
.lda-footer a:hover { color: #ffd98a; }
.lda-footer-about p { color: #9fb4c7; font-size: 13.5px; }
.lda-footer-widget ul { list-style: none; padding: 0; margin: 0; }
.lda-footer-widget ul li { margin-bottom: 8px; }
.lda-footer-bottom { text-align: center; padding: 18px 0; font-size: 13px; color: #87a0b6; }

/* =========================================================
   9. Generic page content
   ========================================================= */
.lda-page-header { background: linear-gradient(135deg, #0b3558, #124a79); color: #fff; padding: 46px 0; text-align: center; }
.lda-page-header h1 { color: #fff; margin: 0; }
.lda-content-wrap { padding: 50px 0; }
.lda-content-wrap .lda-container article { background: #fff; border-radius: 10px; padding: 28px; border: 1px solid #edf0f3; }

/* =========================================================
   10. Responsive
   ========================================================= */
@media (max-width: 960px) {
	.lda-sectors-grid { grid-template-columns: 1fr; }
	.lda-features-grid { grid-template-columns: repeat(2, 1fr); }
	.lda-workflow { grid-template-columns: repeat(2, 1fr); }
	.lda-footer-grid { grid-template-columns: 1fr 1fr; }
	.lda-hero h1 { font-size: 34px; }
}
@media (max-width: 680px) {
	.lda-topbar-inner { padding: 8px 14px; gap: 10px; }
	.lda-topbar-address .lda-address-text { display: none; }
	.lda-topbar-youtube .lda-yt-label { display: none; }
	.lda-topbar-youtube { padding: 6px 9px; }
	.lda-nav { position: fixed; top: 0; right: -280px; width: 260px; height: 100vh; background: #fff; flex-direction: column; align-items: flex-start; padding: 70px 24px; box-shadow: -6px 0 18px rgba(0,0,0,0.12); transition: right .25s ease; }
	.lda-nav.lda-nav-open { right: 0; }
	.lda-nav ul { flex-direction: column; gap: 16px; }
	.lda-menu-toggle { display: block; }
	.lda-header-cta .lda-btn-gold { padding: 9px 14px; font-size: 13px; }
	.lda-features-grid, .lda-workflow, .lda-footer-grid { grid-template-columns: 1fr; }
	.lda-hero { padding: 60px 0 70px; }
	.lda-hero h1 { font-size: 28px; }
	.lda-hero-stats { gap: 24px; }
}

/* Editable page content (block editor content shown above the live feature) */
.lda-page-editable { margin-bottom: 28px; }
.lda-page-editable > *:first-child { margin-top: 0; }
