/* =========================
   Dar Al Nakheel Laundry
   Full style.css (replace existing)
   ========================= */

/* ---------- Base Variables ---------- */
:root{
  --bg:#0b132b;            /* page background */
  --ink:#0b132b;           /* headings on light cards */
  --ink-2:#1e293b;         /* body text on light cards */
  --muted:#64748b;         /* muted text on light cards */

  --card:#ffffff;          /* card background */
  --ring:#e5e7eb;          /* card border */

  --brand:#0ea5e9;         /* primary (blue) */
  --brand2:#48cae4;        /* secondary (blue light) */
  --accent:#22c55e;        /* green accent */
  --danger:#ef4444;

  --nav-bg: rgba(11,19,43,.85);
  --shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* ---------- Reset ---------- */
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:var(--bg);
  color:#fff;
}

a{color:var(--brand);text-decoration:none}
a:hover{opacity:.9}
img{max-width:100%;height:auto;display:block}

.container{max-width:1180px;margin:0 auto;padding:0 20px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:14px;
  background:var(--brand);
  color:#001219;
  font-weight:800;
  border:0;
  cursor:pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.btn:hover{filter:brightness(1.06); transform: translateY(-1px); box-shadow: var(--shadow);}

.btn-outline{
  background:transparent;
  border:2px solid var(--brand2);
  color:#fff;
  box-shadow:none;
}

.btn-outline:hover{
  background: rgba(72,202,228,.10);
  filter:none;
}

/* ---------- Header / Nav ---------- */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
}

.logo{height:44px;width:auto}

.tagline{
  font-weight:700;
  color:#bfe9ff;
  font-size:13px;
  opacity:.95;
}

.links{
  display:flex;
  gap:20px;
  align-items:center;
}

.links a{
  color:#e6edf5;
  font-weight:650;
  font-size:14px;
  opacity:.95;
}

.links a:hover{opacity:1}
.lang{opacity:.9}
.lang a{color:#cbd5e1}

/* ---------- HERO (fixed + images) ---------- */
/* NOTE: This expects your HTML to include:
   <div class="hero-bg" aria-hidden="true"><img id="heroImg" src="assets/bg.webp" alt=""></div>
*/
.hero.wave{
  position: relative;
  color:#fff;
  background:#0b132b;      /* fallback */
  padding: 92px 0 56px;
  min-height: 540px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}

.hero-bg img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center 18%;   /* adjust if you want top more visible */
  opacity: 1;
  transition: opacity 700ms ease;
}

.hero.wave::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(11, 18, 32, 0.82) 0%,
    rgba(11, 18, 32, 0.62) 45%,
    rgba(11, 18, 32, 0.32) 100%
  );
  z-index:1;
}

.hero.wave::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 140px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='220' viewBox='0 0 1600 220'%3E%3Crect width='1600' height='220' fill='%230b132b'/%3E%3Cpath d='M0,160 C300,100 500,240 800,160 C1100,80 1300,220 1600,140 L1600,220 L0,220 Z' fill='%230ea5e9' opacity='.22'/%3E%3Cpath d='M0,190 C280,150 520,210 800,170 C1080,130 1320,190 1600,150 L1600,220 L0,220 Z' fill='%2322c55e' opacity='.14'/%3E%3C/svg%3E") no-repeat center bottom/cover;
  z-index:1;
  pointer-events:none;
}

.hero .container{ position: relative; z-index: 2; }

.badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background: rgba(14,165,233,.95);
  color:#fff;
  font-weight:800;
  font-size:12px;
  letter-spacing:.2px;
}

.hero h1{
  font-size: 46px;
  line-height: 1.12;
  margin: 14px 0 12px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.hero p{
  margin: 8px 0 24px;
  color:#dbeafe;
  max-width:720px;
  line-height:1.6;
  font-size: 16px;
}

/* ---------- Sections / Cards ---------- */
.section{
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.section h2{
  color:#fff;
  font-size: 30px;
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -.01em;
}

/* Generic grid */
.grid{display:grid;gap:20px}

/* White cards (professional) */
.card{
  background: var(--card);
  border:1px solid var(--ring);
  border-radius: 20px;
  padding: 20px;
  color: var(--ink-2);
}

.card h3{
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.01em;
}

/* Lists */
.list{margin:0;padding-left:18px;color: var(--muted)}
.list li{margin:8px 0}

/* ---------- KPI Cards ---------- */
.kpis{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.kpi{
  background: #ffffff;
  border:1px solid var(--ring);
  border-radius: 16px;
  padding: 16px;
  text-align:center;
  color: var(--ink-2);
}

.kpi .n{
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.02em;
}

.kpi div:last-child{color: var(--ink-2)}

/* ---------- How it works ---------- */
.how{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.how .step{
  background:#fff;
  border:1px solid var(--ring);
  border-radius: 16px;
  padding: 18px;
  color: var(--ink-2);
  transition: transform .18s ease, box-shadow .18s ease;
}

.how .step:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.how .step h3{
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 900;
}

/* ---------- Promo Strip ---------- */
.strip{
  background: var(--brand);
  color:#fff;
  text-align:center;
  padding: 14px 16px;
  border-radius: 12px;
}

.strip .btn{ background:#0b132b; color:#fff; }

/* ---------- Testimonials ---------- */
.testimonials{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.testimonials .t{
  background:#fff;
  border:1px solid var(--ring);
  border-radius: 16px;
  padding: 16px;
  color: var(--ink-2);
}

.t .stars{margin: 8px 0}
.t .name{color: var(--ink); font-weight: 800}

/* ---------- FAQ ---------- */
.faq{display:grid;grid-template-columns:1fr;gap:10px}
.faq details{
  background:#fff;
  border:1px solid var(--ring);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--ink-2);
}
.faq summary{cursor:pointer;font-weight:800;color:var(--ink)}
.faq details p{color: var(--ink-2)}

/* ---------- Forms ---------- */
input,select,textarea{
  width:100%;
  padding: 12px;
  border-radius: 12px;
  border:1px solid var(--ring);
  background:#ffffff;
  color: var(--ink-2);
}

form .row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
form .row + .row{margin-top: 12px}
form button{margin-top:12px}

/* ---------- Tables ---------- */
.table{width:100%;border-collapse:collapse}
.table th,.table td{border:1px solid var(--ring);padding:10px;text-align:left}
.table th{background:#f8fafc;color:#0b132b}

/* ---------- Footer ---------- */
.footer{
  padding: 30px 0;
  background: #0a0f1f;
  color: #cbd5e1;
}

.footer a{color:#bfe9ff}
.footer a:hover{opacity:1}

/* ---------- Floating WhatsApp ---------- */
.fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:#25D366;
  color:#001219;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  z-index: 60;
}

/* ---------- RTL ---------- */
[dir="rtl"] .nav{flex-direction:row-reverse}
[dir="rtl"] .links{flex-direction:row-reverse}
[dir="rtl"] .list{padding-left:0;padding-right:18px}

/* ---------- Responsive ---------- */
@media(max-width: 980px){
  .hero h1{font-size: 36px}
  .hero.wave{padding: 78px 0 52px; min-height: 520px}
  .kpis{grid-template-columns: 1fr 1fr}
  .how{grid-template-columns: 1fr}
  .testimonials{grid-template-columns: 1fr}
  form .row{grid-template-columns: 1fr}
  .links{gap:14px}
}

@media(max-width: 680px){
  .nav{flex-direction:column;align-items:flex-start;gap:10px}
  .links{flex-wrap:wrap}
  .hero h1{font-size: 30px}
  .hero p{font-size: 14px}
  /* ===== REMOVE HERO WAVE COMPLETELY ===== */
.hero.wave::after{
  display:none !important;
}

/* Reduce extra bottom space created by wave */
.hero.wave{
  padding-bottom:80px !important;
}
}