/* Dezine IDEA — Homepage, Option C (split hero with logo panel)
   Colours, type and spacing match the design canvas. */

:root {
  --orange: #FF8A1F;
  --ink: #111111;
  --ink-2: #141414;
  --ink-3: #1a1a1a;
  --line: #222222;
  --text: #ffffff;
  --text-2: #e6e6e6;
  --muted: #a8a8a8;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ---------- Logo (official artwork: images/logo-white*.png; logo-black.png for light backgrounds) ---------- */
.logo-link { display: flex; align-items: center; }
.logo-img { display: block; width: auto; }
.logo-img--header { height: 56px; }
.logo-img--hero { height: clamp(170px, 21vw, 310px); }

/* ---------- Buttons ---------- */
.btn {
  height: 56px; padding: 0 30px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 17px; white-space: nowrap; transition: background .2s, color .2s;
}
.btn--sm { height: 48px; padding: 0 26px; font-size: 15px; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #ff9d45; color: var(--ink); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.45); background: rgba(17,17,17,.35); color: #fff; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-lang {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #555;
  background: transparent; color: #fff; font: 600 15px var(--font); cursor: pointer;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line); }
.header-bar { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.main-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a.is-active { border-bottom-color: var(--orange); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.burger {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid #333;
  background: var(--ink-3); color: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu {
  background: #161616; border-top: 1px solid var(--line); padding: 12px 20px 24px;
  display: flex; flex-direction: column; font-size: 18px; font-weight: 500;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu > a.is-active { color: var(--orange); }
.mobile-menu-actions { display: flex; gap: 12px; margin-top: 20px; }
.mobile-menu-actions .btn { flex: 1; height: 48px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 720px; padding: 96px 0; display: flex; align-items: center; overflow: hidden;
  background: var(--ink-3) url('../images/hero.jpg') center right / cover no-repeat;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,.92) 0%, rgba(17,17,17,.6) 55%, rgba(17,17,17,.45) 100%);
}
.hero-split {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px; align-items: stretch;
}
.hero-text { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { margin: 0; font-size: clamp(44px, 6.4vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.hero h1 .dot { color: var(--orange); }
.hero p { margin: 28px 0 0; max-width: 540px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2); }
.hero-btns { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.logo-card {
  display: flex; align-items: center; justify-content: center; padding: 56px 40px; border-radius: 28px;
  background: rgba(17,17,17,.6); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ---------- Events ticker ---------- */
.events { display: flex; align-items: stretch; overflow: hidden; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.events-label {
  flex: none; padding: 0 32px 0 40px; background: var(--orange); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 2px; position: relative; z-index: 1;
}
.events-kicker { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.events-title { font-size: 17px; font-weight: 700; white-space: nowrap; }
.events-track { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; height: 96px; }
.marquee { display: flex; width: max-content; animation: dz-marquee 70s linear infinite; }
.events-track:hover .marquee { animation-play-state: paused; }
@keyframes dz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.event { display: flex; align-items: center; gap: 14px; padding: 0 36px; border-right: 1px solid #2a2a2a; white-space: nowrap; }
.event-date { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--orange); color: var(--orange); font-size: 13px; font-weight: 600; }
.event-info { display: flex; flex-direction: column; line-height: 1.3; }
.event-name { font-size: 16px; font-weight: 600; color: #fff; }
.event-place { font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } .events-track { overflow-x: auto; } }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 20px 40px; display: flex; justify-content: center; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.soc {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #3a3a3a; color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s;
}
.soc:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 24px; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .main-nav, .header-actions { display: none; }
  .burger { display: flex; }
  .hero { min-height: 0; padding: 48px 0 64px; }
  .hero-shade { background: linear-gradient(180deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,.88) 100%); }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .logo-card { order: -1; padding: 36px 24px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .events { flex-direction: column; }
  .events-label { padding: 14px 20px; flex-direction: row; align-items: baseline; gap: 10px; }
  .events-track { height: 84px; }
}

/* =====================================================================
   Inner pages — About, Services, Work, Clients, Contact
   ===================================================================== */
.page-sec { padding: 88px 0 112px; }
.page-sec--alt { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: 96px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--orange); }
.eyebrow-line { width: 32px; height: 3px; border-radius: 2px; background: var(--orange); }
.page-title { margin: 20px 0 0; font-size: clamp(40px, 5vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.page-title--sm { font-size: clamp(40px, 4.6vw, 66px); }
.section-title { margin: 14px 0 0; font-size: clamp(34px, 4vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.dot { color: var(--orange); }
.lead { margin: 28px 0 0; max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #fff; }
.lead--muted { color: #c8c8c8; font-size: clamp(16px, 1.4vw, 19px); margin-top: 20px; max-width: 760px; }
.body-text { margin: 20px 0 0; max-width: 640px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.75; color: #b4b4b4; }
.mt-20 { margin-top: 20px; } .mt-28 { margin-top: 28px; } .mt-44 { margin-top: 44px; } .mt-48 { margin-top: 48px; }

.split-7-5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: stretch; }
.split-5-6 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Cards */
.card { padding: 32px 28px 28px; border-radius: 22px; background: #181818; border: 1px solid #262626; display: flex; flex-direction: column; }
.card--accent { border-top: 4px solid var(--orange); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { margin: 0; font-size: 24px; font-weight: 700; }
.card p { margin: 16px 0 0; font-size: 15px; line-height: 1.7; color: #c4c4c4; flex: 1; }
.card-tag { margin-top: 24px; padding-top: 16px; border-top: 1px solid #2a2a2a; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--orange); }
.icon-circle, .icon-square { flex: none; display: flex; align-items: center; justify-content: center; background: rgba(255,138,31,.12); color: var(--orange); }
.icon-circle { width: 44px; height: 44px; border-radius: 50%; }
.icon-square { width: 56px; height: 56px; border-radius: 16px; }
.text-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--orange); }
.text-link:hover { color: #ffb066; }

/* About */
.about-photo { position: relative; min-height: 560px; }
.about-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 28px; }
.addr-card { position: absolute; left: -48px; bottom: 40px; width: 78%; max-width: 400px; padding: 28px 30px; border-radius: 22px; background: #181818; border: 1px solid #2c2c2c; box-shadow: 0 24px 48px rgba(0,0,0,.45); }
.addr-label { display: flex; align-items: center; gap: 10px; color: var(--orange); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.addr-text { margin-top: 12px; font-size: 22px; font-weight: 600; line-height: 1.3; }
.addr-card .text-link { margin-top: 16px; }

/* Services */
.svc-card { padding: 36px 32px 32px; border-radius: 24px; }
.svc-card h2 { margin: 28px 0 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.svc-card p { font-size: 16px; color: #bdbdbd; margin-top: 14px; }
.svc-num { font-size: 15px; font-weight: 600; color: #6a6a6a; letter-spacing: .08em; }
.eyebrow--plain { gap: 0; }
.ws-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: stretch; }
.ws-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ws-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.cap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #262626; display: flex; flex-direction: column; justify-content: space-between; }
.cap { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid #262626; }
.cap-num { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--orange); color: var(--orange); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.cap h3 { margin: 0; font-size: 21px; font-weight: 700; }
.cap p { margin: 8px 0 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Work */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.page-head-text { max-width: 720px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid #3a3a3a; color: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; transition: border-color .2s; }
.pill:hover { border-color: var(--orange); color: #fff; }
.pill.is-active { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.count { margin-top: 20px; font-size: 14px; color: #8f8f8f; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #8f8f8f; }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; color: #c8c8c8; }
.crumb-current { color: var(--orange); }
.projects { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project { display: block; color: #fff; }
.project:hover { color: #fff; }
.project--featured { grid-column: 1 / -1; }
.project-img { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--ink-3); }
.project--featured .project-img { aspect-ratio: 21 / 9; }
.project-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project-img img { transform: scale(1.04); }
.project-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0) 45%, rgba(17,17,17,.88) 100%); }
.project-tag { position: absolute; z-index: 1; top: 20px; left: 20px; padding: 7px 14px; border-radius: 999px; background: rgba(17,17,17,.7); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 600; color: var(--orange); }
.project-foot { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.project-foot h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.project--featured .project-foot h2 { font-size: 32px; }
.project-arrow { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cta-panel { margin-top: 56px; padding: 32px 36px; border-radius: 24px; background: #181818; border: 1px solid #262626; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-panel-text { font-size: 20px; font-weight: 600; }

/* Clients */
.client-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.client-tile { height: 120px; padding: 0 16px; border-radius: 20px; background: #181818; border: 1px solid #262626; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 17px; font-weight: 600; line-height: 1.25; color: #e8e8e8; transition: border-color .2s, color .2s, background .2s; }
.client-tile:hover { border-color: var(--orange); color: var(--orange); background: #1c1c1c; }
.client-tile img { max-width: 80%; max-height: 56px; }

/* Contact */
.contact-list { margin-top: 36px; border-top: 1px solid #262626; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; border-bottom: 1px solid #262626; color: #fff; }
.contact-row:hover { color: #fff; } .contact-row:hover .contact-value { color: var(--orange); }
.contact-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: #8f8f8f; }
.contact-value { font-size: 18px; font-weight: 600; text-align: right; line-height: 1.35; transition: color .2s; }
.btn-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.quote-form { padding: 40px; border-radius: 28px; background: #181818; border: 1px solid #262626; }
.form-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-head h2 { margin: 0; font-size: 30px; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,138,31,.12); color: var(--orange); font-size: 14px; font-weight: 600; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.form-sub { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.form-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lbl { display: block; margin-bottom: 8px; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.fld { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid #2c2c2c; background: var(--ink); color: #fff; font: 400 15px var(--font); outline: none; }
.fld::placeholder { color: #7a7a7a; }
.fld:focus { border-color: var(--orange); }
.fld--area { height: 140px; padding: 14px 16px; resize: vertical; }
.needs { margin: 28px 0 0; padding: 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #3a3a3a; color: #e0e0e0; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; transition: all .2s; }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #8f8f8f; }
.quote-form button.btn { border: 0; cursor: pointer; font-family: var(--font); }

/* Inner pages — tablet & mobile */
@media (max-width: 1100px) {
  .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-sec, .page-sec--alt { padding: 56px 0 72px; }
  .split-7-5, .split-5-6, .grid-2, .grid-3, .ws-grid, .projects, .form-grid { grid-template-columns: 1fr; }
  .split-7-5, .split-5-6 { gap: 48px; }
  .about-photo { min-height: 0; }
  .about-photo > img { position: static; aspect-ratio: 1 / 1; height: auto; }
  .addr-card { position: relative; left: auto; bottom: auto; width: auto; max-width: none; margin: -130px 16px 0; }
  .ws-photos { grid-template-rows: none; }
  .ws-photos img { height: auto; aspect-ratio: 4 / 3; }
  .project--featured { grid-column: auto; }
  .project-img, .project--featured .project-img { aspect-ratio: 4 / 3; }
  .project-foot h2, .project--featured .project-foot h2 { font-size: 20px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .client-tile { height: 96px; font-size: 15px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-value { text-align: left; }
  .quote-form { padding: 28px 20px; }
}

/* Admin-managed content additions */
.project-desc { margin: 14px 4px 0; font-size: 15px; line-height: 1.6; color: #b4b4b4; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Project photo galleries */
.project--open .project-img { cursor: zoom-in; }
.project-count { position: absolute; z-index: 1; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(17,17,17,.75); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 600; color: #fff; }
button.project-arrow { border: 0; cursor: pointer; padding: 0; }
button.project-arrow:hover { background: #ffb066; }
.viewer { position: fixed; inset: 0; z-index: 200; background: rgba(8,8,8,.96); display: flex; align-items: center; justify-content: center; padding: 72px 72px 32px; }
.viewer[hidden] { display: none; }
.viewer-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.viewer-top { position: absolute; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 20px 0 28px; color: #fff; }
.viewer-title { font-weight: 600; font-size: 17px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-num { color: #FF8A1F; font-weight: 600; font-size: 14px; }
.viewer-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #3a3a3a; background: rgba(17,17,17,.7); color: #fff; font: 600 26px/1 var(--font); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.viewer-btn:hover { border-color: var(--orange); color: var(--orange); }
.viewer-close { font-size: 18px; }
.viewer-prev, .viewer-next { position: absolute; top: 50%; transform: translateY(-50%); }
.viewer-prev { left: 14px; } .viewer-next { right: 14px; }
.viewer-prev[hidden], .viewer-next[hidden] { display: none; }
@media (max-width: 900px) { .viewer { padding: 64px 8px 24px; } .viewer-prev, .viewer-next { top: auto; bottom: 18px; transform: none; } .viewer-prev { left: calc(50% - 60px); } .viewer-next { right: calc(50% - 60px); } .viewer { padding-bottom: 84px; } }

/* Services workshop: landscape photos stacked in one column (left), capabilities right */
.ws-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.ws-photos { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; }
.ws-photos img { height: auto; aspect-ratio: 3 / 2; }
.cap-list { position: sticky; top: 110px; }
@media (max-width: 900px) { .ws-grid { grid-template-columns: 1fr; gap: 40px; } .ws-photos { gap: 12px; } .cap-list { position: static; } }

/* Language switch link (EN ⇄ العربية) */
.btn-lang { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-lang:hover { border-color: var(--orange); color: var(--orange); }
