/* ── ROOT & RESET ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --gold-dark: #9E7A2E;
  --dark: #0D0D0D;
  --dark-2: #141414;
  --dark-3: #1C1C1C;
  --dark-4: #242424;
  --dark-5: #2E2E2E;
  --text: #E8E0D0;
  --text-muted: #9A9080;
  --white: #FFFFFF;
  --green: #25D366;
  --karachi: #C74B2A;
  --radius: 4px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

#navbar.scrolled {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.2);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-ak {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 4px;
  color: var(--white);
}

.logo-tag {
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links li a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, #0D0D0D 0%, #1a1206 40%, #0D0D0D 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%);
}

/* Animated grid lines */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(80px); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  padding: 0 2rem;
  padding-top: 80px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.4rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.line-1 {
  display: block;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--white);
  animation: fadeUp 0.8s 0.1s ease both;
}

.line-2 {
  display: block;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  color: var(--gold);
  animation: fadeUp 0.8s 0.2s ease both;
}

.line-2 em {
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.4s ease both;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  transition: background 0.3s, transform 0.2s;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
}

.hero-cities {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeUp 0.8s 0.5s ease both;
}

.city-pill {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.3rem 1rem;
  background: rgba(255,255,255,0.04);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeIn 1s 1s ease both;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── STATS ── */
.stats-strip {
  background: var(--dark-3);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 3rem;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(201,168,76,0.2);
}

/* ── SECTION COMMON ── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-tag.light { color: var(--gold-light); }

.section-header h2, #about h2, #contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── PROJECTS ── */
#projects {
  padding: 6rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
}

.project-card.featured {
  border-color: rgba(201,168,76,0.2);
}

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--dark-4);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.card-img-placeholder.burj {
  background: linear-gradient(135deg, #1a0a0a, #2d1010);
}

.placeholder-icon { font-size: 3rem; }
.placeholder-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
}
.placeholder-sub { font-size: 0.75rem; color: var(--text-muted); }

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
}

.card-badge.delivered { background: #2ECC71; color: #0a2e1a; }
.card-badge.luxury { background: #9B59B6; color: white; }
.card-badge.flagship { background: var(--karachi); color: white; }

.card-city {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  border: 1px solid rgba(201,168,76,0.3);
}

.card-city.karachi { color: #ff8066; border-color: rgba(199,75,42,0.4); }

.card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.card-loc {
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex: 1;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.card-features li {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.08);
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25D366;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.8rem;
  border-radius: var(--radius);
  transition: all 0.3s;
}

.card-cta:hover {
  background: rgba(37,211,102,0.2);
  border-color: #25D366;
}

/* ── SHARIAH ── */
.shariah-section {
  background: linear-gradient(135deg, #0a0d08 0%, #0d1208 50%, #0a0d08 100%);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 4rem 2rem;
}

.shariah-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.shariah-icon {
  font-size: 4rem;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

.shariah-content {
  flex: 1;
  min-width: 280px;
}

.shariah-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.shariah-content p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ── ABOUT ── */
#about {
  padding: 6rem 2rem;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 5rem;
  align-items: start;
}

.about-text .section-tag { margin-bottom: 0.75rem; }

.about-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-highlights {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(201,168,76,0.05);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

.h-icon { font-size: 1.4rem; flex-shrink: 0; }

.highlight div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.highlight strong {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
}

.highlight span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* About Card */
.about-card {
  position: sticky;
  top: 100px;
}

.about-card-inner {
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.about-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 auto 1.25rem;
}

.about-card-inner h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.about-card-inner > p {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-card-company {
  color: var(--gold) !important;
  font-weight: 600;
  margin-top: 0.2rem;
}

.about-contact-info {
  margin: 1.5rem 0;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.contact-row.whatsapp {
  background: rgba(37,211,102,0.1);
  color: #25D366;
  border: 1px solid rgba(37,211,102,0.3);
}

.contact-row.whatsapp:hover {
  background: rgba(37,211,102,0.2);
}

.about-card-cities {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.about-card-cities span {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
}

/* ── CONTACT ── */
#contact {
  padding: 7rem 2rem;
  background: linear-gradient(135deg, #0D0D0D 0%, #100e08 50%, #0D0D0D 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.contact-inner p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.btn-gold-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border-radius: 6px;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(37,211,102,0.3);
  margin-bottom: 3rem;
}

.btn-gold-lg:hover {
  background: #1eb358;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.4);
}

.contact-cities {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-city {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-city strong {
  font-size: 0.85rem;
  color: var(--gold);
}

.contact-city span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,0.2);
}

/* ── FOOTER ── */
footer {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner { max-width: 800px; margin: 0 auto; }

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 4px;
  margin-bottom: 1rem;
}

.footer-logo .logo-ak { color: var(--gold); }

footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.footer-note {
  font-size: 0.65rem !important;
  opacity: 0.6;
  max-width: 550px;
  margin: 1rem auto !important;
}

.footer-wa a {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waPulse 3s ease infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(37,211,102,0.7);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 35px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-card { position: static; }
  .shariah-inner { flex-direction: column; text-align: center; }
  .shariah-inner .btn-gold { align-self: center; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .stat { padding: 0.5rem 1.5rem; }
  .stat-divider { display: none; }
  .stats-strip { gap: 1rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-cities { flex-direction: column; }
  .contact-divider { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-gold, .btn-outline { width: 100%; justify-content: center; }
}
