:root {
  --gold: #C9A84C;
  --indigo: #1B2A4A;
  --sand: #D4B996;
  --ink: #0e1626;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }
body { background: var(--ink); color: #eee; overflow-x: hidden; }

#hero-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; opacity: 0.5; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; background: rgba(27,42,74,0.82); backdrop-filter: blur(12px);
}
.logo { height: 28px; }
.nav nav a { color: #fff; text-decoration: none; margin-left: 22px; font-weight: 500; font-size: 0.95rem; }
.nav .cta-nav { background: var(--gold); color: var(--indigo); padding: 8px 18px; border-radius: 6px; font-weight: 600; }

.hero-text { position: relative; z-index: 5; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.display { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 800; color: #fff; line-height: 1.05; }
.lede { margin: 20px 0 30px; font-size: clamp(1rem, 2vw, 1.3rem); color: var(--sand); max-width: 640px; }
.cta { background: var(--gold); color: var(--indigo); padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1.05rem; }

section { position: relative; z-index: 5; padding: 90px 28px; max-width: 1100px; margin: 0 auto; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin-bottom: 40px; font-weight: 800; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: rgba(212,185,150,0.06); border: 1px solid rgba(201,168,76,0.25); border-radius: 14px; overflow: hidden; }
.proj-img { height: 180px; background-size: cover; background-position: center; }
.proj-img.grand { background: linear-gradient(135deg, var(--indigo), var(--gold)); }
.proj-img.albarakah { background: linear-gradient(135deg, #2c2c2c, var(--sand)); }
.proj-img.commercial { background: linear-gradient(135deg, var(--indigo), #444); }
.card figcaption { padding: 14px 16px; color: #ddd; font-size: 0.9rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.svc { background: rgba(27,42,74,0.5); border-left: 3px solid var(--gold); padding: 22px; border-radius: 0 10px 10px 0; }
.svc h3 { color: var(--gold); margin-bottom: 8px; }
.svc p { color: #ccc; font-size: 0.92rem; }

.about-text { max-width: 720px; color: #ccc; line-height: 1.7; }

.contact-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.contact-form input, .contact-form textarea { padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: #fff; font-size: 0.95rem; }
.contact-form .cta { align-self: flex-start; border: none; cursor: pointer; }

.site-footer { position: relative; z-index: 5; padding: 24px; text-align: center; background: var(--indigo); color: #aaa; font-size: 0.85rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .nav nav a { margin-left: 12px; font-size: 0.85rem; }
  .display { font-size: 2.4rem; }
  section { padding: 60px 18px; }
}
