/* =========================================================
   ARZ CONSTRUCTION LTD. – Professional one-page website
   - Responsive
   - White page background
   - Two theme schemes (Purple + Grey default)
   - Image customizer (logo/hero) + theme toggle
   ========================================================= */
.formMsg.ok { color: #166534; font-weight: 800; }
.formMsg.err { color: #991b1b; font-weight: 800; }

:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --text:#0b1220;
  --muted:#556070;
  --line:#e6e8ee;

  /* Theme A (default): Grey + Purple */
  --primary:#6d28d9;
  --primary2:#8b5cf6;
  --primarySoft: rgba(109,40,217,.12);

  --shadow: 0 16px 40px rgba(11,18,32,.08);
  --shadow2: 0 10px 24px rgba(11,18,32,.08);
  --radius: 18px;

  --max: 1200px;
  --pad: 18px;
}

[data-theme="b"]{
  /* Theme B: Grey + Blue */
  --primary:#2563eb;
  --primary2:#60a5fa;
  --primarySoft: rgba(37,99,235,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg); /* must be pure white */
  color: var(--text);
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button,input,textarea{font:inherit}
::selection{background: var(--primarySoft)}

.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad)}
.section{padding: 86px 0}
.section.sm{padding: 64px 0}
.kicker{
  color: var(--primary);
  font-weight: 800;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.h2{
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  margin: 12px 0 14px;
  letter-spacing: -.02em;
}
.p{color: var(--muted); line-height: 1.85; margin: 0}

.grid{display:grid; gap: 18px}
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding: 22px}
.soft{
  border: 1px solid rgba(11,18,32,.06);
  box-shadow: none;
  background: #fff;
}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:#fff;
  color: var(--muted);
  font-weight: 700;
}
.pill svg{width: 18px; height: 18px; color: var(--primary)}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor:pointer;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  user-select:none;
}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  color:#fff;
  box-shadow: 0 16px 34px rgba(109,40,217,.18);
}
[data-theme="b"] .btn.primary{box-shadow: 0 16px 34px rgba(37,99,235,.18)}
.btn.ghost{
  background:#fff;
  border-color: var(--line);
  color: var(--text);
}
.btn.small{padding: 10px 12px; border-radius: 12px; font-size: 14px}
.btn.link{padding:0; border:none; background:transparent; color: var(--primary); font-weight: 800}

/* Topbar */
.topbar{
  border-bottom: 1px solid var(--line);
  background:#fff;
}
.topbar .inner{
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.topbar a{color: var(--muted); font-weight: 700}
.topbar a:hover{color: var(--text)}
.topbar .left, .topbar .right{display:flex; gap: 14px; align-items:center; flex-wrap:wrap}
.sep{opacity:.4}

/* Header */
.header{
  position: sticky; top: 0;
  z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .inner{
  height: 76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.brand{display:flex; align-items:center; gap: 12px; min-width: 230px}
.brand img{height: 72px; width:auto}
.nav{display:flex; align-items:center; gap: 6px}
.nav a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
}
.nav a:hover{background: rgba(11,18,32,.04); color: var(--text)}
.nav a.active{background: var(--primarySoft); color: var(--text); border: 1px solid rgba(11,18,32,.06)}
.actions{display:flex; align-items:center; gap: 10px}

/* Mobile menu */
.burger{
  display:none;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 3px solid var(--line);
  background:#fff;
}
.burger span{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  margin: 4px auto;
}

.sheet{
  position: fixed; inset: 0;
  background: rgba(11,18,32,.46);
  display:none;
  z-index: 80;
}
.sheet .panel{
  position:absolute; top:0; right:0;
  width: min(92vw, 400px);
  height:100%;
  background:#fff;
  border-left: 1px solid var(--line);
  padding: 18px;
  display:flex; flex-direction:column; gap: 10px;
}
.sheet .panel a{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 900;
}
.sheet .panel a:hover{background: rgba(11,18,32,.03)}
.sheet .top{display:flex; justify-content:space-between; align-items:center}

/* Hero */
.hero{
  padding: 52px 0 78px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset: -2px;
  background: radial-gradient(800px 300px at 20% 10%, var(--primarySoft), transparent 60%),
              radial-gradient(700px 260px at 80% 20%, rgba(11,18,32,.06), transparent 60%);
  pointer-events:none;
}
.hero .wrap{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items:center;
}
.hero h1{
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(38px, 4.9vw, 60px);
  line-height: 1.02;
  margin: 14px 0 14px;
  letter-spacing: -.03em;
}
.hero .lead{
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 18px;
  max-width: 66ch;
}
.hero .ctas{display:flex; gap: 10px; flex-wrap:wrap; align-items:center}
.hero .meta{
  display:flex; gap: 10px; flex-wrap:wrap; margin-top: 18px;
}
.stat{
  flex: 0 0 auto;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
  min-width: 160px;
}
.stat b{display:block; font-size: 18px}
.stat span{color: var(--muted); font-weight: 700; font-size: 13px}

/* Prevent any horizontal gaps/scroll */
html, body { overflow-x: hidden; }

/* Full-width hero image (full-bleed) */
@media (min-width: 981px){
  .heroMedia.fullWidth .badge{
    left: 50%;
    transform: translateX(-50%);
  }
}


.heroMedia.fullWidth img{
  width: 100%;
  height: 70%;
  object-fit: cover;
}


.heroMedia .overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,18,32,.18), rgba(11,18,32,.45));
}
.heroMedia .badge{
  position:absolute;
  left: 14px; bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,18,32,.10);
  backdrop-filter: blur(6px);
  max-width: 86%;
}
.heroMedia .badge b{display:block}
.heroMedia .badge span{color: var(--muted); font-weight: 700; font-size: 13px}

/* Feature row */
.features{grid-template-columns: repeat(4, 1fr); margin-top: 18px}
.feature{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
  display:flex; gap: 12px; align-items:flex-start;
}
.ico{
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--primarySoft);
  border: 1px solid rgba(11,18,32,.06);
  display:grid; place-items:center;
  flex: 0 0 auto;
}
.ico svg{width: 20px; height: 20px; color: var(--primary)}
.feature b{display:block}
.feature .p{margin-top: 6px; font-size: 14px}

/* Split */
.split{grid-template-columns: 1.1fr .9fr; align-items:stretch}
.split .img{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: var(--shadow);
}
.split .img img{width:100%; height:100%; object-fit: cover; min-height: 360px}
.list{margin: 12px 0 0; padding-left: 18px; color: var(--muted); line-height:1.9}

/* Services */
.services{grid-template-columns: repeat(3, 1fr); margin-top: 18px}
.service{
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .2s ease;
}
.service:hover{transform: translateY(-2px); box-shadow: var(--shadow)}
.service h3{
  margin: 12px 0 8px;
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -.02em;
}
.service p{margin:0; color: var(--muted); line-height:1.8}

/* Process */
.process{grid-template-columns: repeat(4, 1fr); margin-top: 18px}
.step{
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
}
.step .n{
  width: 34px; height: 34px; border-radius: 12px;
  display:grid; place-items:center;
  background: var(--primarySoft);
  border: 1px solid rgba(11,18,32,.06);
  font-weight: 900;
}
.step b{display:block; margin-top: 12px}
.step .p{margin-top: 8px; font-size: 14px}

/* Gallery */
.filters{display:flex; gap: 10px; flex-wrap:wrap; margin-top: 18px}
.filter{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight: 900;
  color: var(--muted);
}
.filter.active{background: var(--primarySoft); color: var(--text)}
.gallery{grid-template-columns: repeat(3, 1fr); margin-top: 14px}
.work{
  overflow:hidden;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: var(--shadow2);
  background:#fff;
  cursor: pointer;
}
.work img{width:100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease}
.work:hover img{transform: scale(1.04)}
.work .cap{padding: 14px}
.work .cap b{display:block}
.work .cap span{color: var(--muted); font-weight: 700; font-size: 13px}

/* CTA stripe */
.cta{
  border-radius: 22px;
  border: 1px solid rgba(11,18,32,.08);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(90deg, var(--primarySoft), rgba(11,18,32,.02));
}
.cta .inner{
  padding: 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.cta b{font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; font-size: 20px}

/* Testimonials */
.testimonials{grid-template-columns: repeat(3, 1fr); margin-top: 18px}
.quote{
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  background:#fff;
}
.quote p{margin:0; line-height:1.9}
.quote .who{margin-top: 12px; color: var(--muted); font-weight: 800}

/* Jobs */
.jobs{grid-template-columns: 1.25fr .75fr; margin-top: 18px}
.job ul{margin: 12px 0 0; padding-left: 18px; color: var(--muted); line-height:1.9}
.hint{color: var(--muted); font-size: 14px; line-height: 1.7}

/* Contact */
.contact{grid-template-columns: .9fr 1.1fr; margin-top: 18px}
.field{display:flex; flex-direction:column; gap: 8px; margin-bottom: 12px}
.label{font-weight: 900; font-size: 14px}
.input, .textarea{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
  outline:none;
  background:#fff;
}
.textarea{min-height: 140px; resize: vertical}
.input:focus, .textarea:focus{border-color: rgba(109,40,217,.55); box-shadow: 0 0 0 4px var(--primarySoft)}
.formMsg{margin-top: 10px; color: var(--muted); font-weight: 700}
.map{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: var(--shadow2);
  height: 260px;
}
.map iframe{width:100%; height:100%; border:0}

/* Footer */
/* Light purple footer */
.footer{
  background: #b4a7d6;                    /*  purple */
  border-top: 1px solid rgba(109,40,217,.18);
  padding: 28px 0;
  color: var(--text);
}

.footer .p,
.footer small{
  color: rgba(15,23,42,.70);
}

/* Footer pills */
.footer .linkPill{
  background: rgba(109,40,217,.08);
  border-color: rgba(109,40,217,.18);
  color: rgba(15,23,42,.92);
}

.footer .linkPill:hover{
  background: rgba(109,40,217,.12);
  

}


/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(11,18,32,.76);
  display:none;
  z-index: 120;
  padding: 18px;
  place-items:center;
}
.lightbox .frame{
  width: min(1040px, 96vw);
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.16);
  background:#000;
}
.lightbox img{width:100%; height:auto; display:block}

/* Customizer modal */
.modal{
  position: fixed; inset:0;
  background: rgba(11,18,32,.60);
  display:none;
  z-index: 130;
  padding: 18px;
  place-items:center;
}
.modal .panel{
  width: min(980px, 96vw);
  border-radius: 22px;
  background:#fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal header, .modal footer{
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap: 10px;
}
.modal footer{border-bottom: none; border-top: 1px solid var(--line); justify-content:flex-end}
.modal header b{
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -.02em;
}
.modal .content{
  padding: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.drop{
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 14px;
  background:#fff;
}
.preview{
  margin-top: 10px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(11,18,32,.08);
  height: 150px;
}
.preview img{width:100%; height:100%; object-fit: cover}

/* Reveal on scroll */
.reveal{opacity:0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease}
.reveal.show{opacity:1; transform: translateY(0)}

/* Back to top */
.toTop{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.12);
  background:#fff;
  box-shadow: var(--shadow2);
  display:none;
  z-index: 100;
}

/* Responsive */
@media (max-width: 1020px){
  .hero .wrap{grid-template-columns: 1fr}
  .heroMedia img{height: 350px}
  .features{grid-template-columns: repeat(2, 1fr)}
  .split{grid-template-columns: 1fr}
  .services{grid-template-columns: repeat(2, 1fr)}
  .process{grid-template-columns: repeat(2, 1fr)}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  .testimonials{grid-template-columns: 1fr}
  .jobs{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .footer .grid2{grid-template-columns: 1fr}
  .links{justify-content:flex-start}
}
@media (max-width: 820px){
  .topbar .inner{height:auto; padding: 10px 0}
  .nav{display:none}
  .burger{display:inline-block}
  .actions .btn.primary{display:none}
}
@media (max-width: 520px){
  .heroMedia img{height: 300px}
  .features{grid-template-columns: 1fr}
  .services{grid-template-columns: 1fr}
  .process{grid-template-columns: 1fr}
  .gallery{grid-template-columns: 1fr}
}

@media (max-width: 980px){
  /* keep badge fully inside hero image on mobile */
  .heroMedia.fullWidth .badge{
    left: 14px;
    right: 14px;          /* makes it fit inside */
    bottom: 14px;
    transform: none;      /* removes desktop centering transform */
    max-width: none;      /* allow full width within left/right */
  }

  /* optional: make hero a bit taller so badge never feels cramped */
  .heroMedia.fullWidth{
    min-height: 300px;
  }
  
}

  /* Contact cards custom background */
.contactCard{
  background: #d9d2e9;                 /* change this color */
  border: 1px solid rgba(109,40,217,.18);
}


