/* Modern RTL-friendly Project Details styles */
:root{
  --brand:#1f3a73;
  --accent:#7d7b78;
  --muted:#6b7280;
  --card:#ffffff;
}
body{font-family:'Cairo',sans-serif}
.container{max-width:1180px;margin:0 auto;padding:24px}
.project-layout{display:grid;grid-template-columns:1fr 380px;gap:24px;align-items:start}
@media(max-width:1000px){.project-layout{grid-template-columns:1fr;}}
.hero-gallery{border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,0.06);background:#fff}
.hero-main{height:520px;background:#0f172a;display:flex;align-items:center;justify-content:center}
.hero-main img{width:100%;height:100%;object-fit:cover}
.gallery-thumbs{display:flex;gap:10px;padding:12px;overflow-x:auto;background:#f8fafc}
.gallery-thumb{flex:0 0 auto;border-radius:8px;overflow:hidden;border:2px solid transparent}
.gallery-thumb img{width:110px;height:70px;object-fit:cover;display:block}
.gallery-thumb.is-active{border-color:var(--brand);box-shadow:0 6px 18px rgba(31,58,115,0.12)}
.info-card{position:sticky;top:20px;background:var(--card);padding:20px;border-radius:14px;box-shadow:0 10px 30px rgba(15,23,42,0.06)}
.project-title{font-size:22px;font-weight:800;color:var(--brand);margin-bottom:6px}
.project-sub{color:var(--muted);font-weight:600;margin-bottom:12px;display:flex;gap:8px;align-items:center}
.meta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}
.meta-item{background:#fbfdff;padding:10px;border-radius:10px;display:flex;gap:8px;align-items:center;border:1px solid #eef2f8}
.meta-item i{color:var(--brand);font-size:18px}
.cta{display:inline-flex;padding:12px 18px;background:linear-gradient(135deg,var(--accent),#e89c0c);color:#fff;border-radius:10px;font-weight:800;text-decoration:none;margin-top:8px}
.status-pill{display:inline-block;padding:8px 12px;border-radius:999px;background:#fef3d7;color:#9a5b00;font-weight:700;margin-bottom:12px}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:18px}
.feature{background:#fff;padding:12px;border-radius:10px;border:1px solid #eef2f8;display:flex;gap:10px;align-items:center}
.feature i{font-size:20px;color:var(--brand);min-width:36px;text-align:center}
.map-block{margin-top:18px}
.map-container{height:420px;border-radius:12px;overflow:hidden;border:1px solid rgba(15,23,42,0.06)}
.description{background:#fbfdff;padding:18px;border-radius:12px;color:#334155;margin-top:18px;line-height:1.8}
/* small tweaks */
@media(max-width:600px){.hero-main{height:320px}.gallery-thumb img{width:84px;height:56px}}

/* Override global absolute status used on other pages to avoid overlap inside the info card */
.info-card .status-pill {
  position: static !important;
  top: auto !important;
  right: auto !important;
  margin-bottom: 12px;
  display: inline-block;
}
