/*
Theme Name: Berlin Service UltraSEO (Light)
Theme URI: https://berlin-service.com.kw/
Author: Abu Jassim
Description: قالب ووردبريس خفيف وسريع وجميل (RTL) مهيأ للسيو مع أزرار اتصال وواتساب وخدمات إضافية.
Version: 4.0
License: GNU General Public License v2 or later
Text Domain: berlin-ultraseo
*/

/* ====== Design Tokens ====== */
:root{
  --maxw: 1120px;
  --pad: 16px;

  --bg: #ffffff;
  --text: #121826;
  --muted: #5b6475;

  --brand: #0ea5e9;        /* primary */
  --brand2:#22c55e;        /* whatsapp accent */
  --card: #ffffff;
  --border:#e6e8ee;

  --soft: #f6f8fb;
  --shadow: 0 10px 28px rgba(18, 24, 38, .08);
  --radius: 18px;
}

/* ====== Base ====== */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.85;
  direction: rtl;
  text-align: right;
}
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  max-width:var(--maxw);
  margin:auto;
  padding:var(--pad);
}

/* ====== Header ====== */
header{
  position: sticky;
  top:0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.brand{
  display:flex;
  flex-direction:column;
  gap: 2px;
}
.brand a{
  font-weight:800;
  letter-spacing:.2px;
  font-size: 18px;
}
.tagline{ color: var(--muted); font-size: 13px; }

.nav-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* ====== Buttons ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight:700;
  font-size: 14px;
  white-space: nowrap;
}
.btn-primary{ background: var(--brand); color:#fff; box-shadow: var(--shadow); }
.btn-outline{ background:#fff; border-color: var(--border); }
.btn-whatsapp{ background: var(--brand2); color:#fff; box-shadow: var(--shadow); }
.btn:hover{ text-decoration:none; filter: brightness(.98); }

/* ====== Hero ====== */
.hero{
  margin: 18px 0 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(34,197,94,.10));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-inner{
  padding: 20px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .hero-inner{ grid-template-columns: 1.3fr .7fr; align-items:center; }
}
.hero h2{
  margin:0 0 6px;
  font-size: 24px;
}
.hero p{ margin:0; color: var(--muted); }
.hero-badges{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:12px;
}
.badge{
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(230,232,238,.9);
}

/* ====== Layout ====== */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px){
  .grid{ grid-template-columns: 2fr 1fr; }
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(18, 24, 38, .06);
}
.card h3{
  margin:0 0 10px;
  font-size: 18px;
}
.card ul{
  margin: 8px 0 0;
  padding: 0 18px 0 0;
}
.card li{ margin: 6px 0; color: var(--muted); }

/* ====== Posts ====== */
article{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 14px 0;
  background:#fff;
}
article h2{ margin:0 0 6px; font-size: 20px; }
.meta{ color: var(--muted); font-size: 13px; margin-bottom: 8px; }

/* ====== Footer ====== */
footer{
  margin-top: 24px;
  border-top: 1px solid var(--border);
  background: var(--soft);
  color: var(--muted);
  text-align:center;
  font-size: 14px;
}
footer .container{ padding: 18px var(--pad); }

/* ====== Floating quick actions (mobile friendly) ====== */
.fab-wrap{
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 50;
  display:flex;
  gap:10px;
}
.fab{
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.fab-call{ background: var(--brand); color:#fff; }
.fab-wa{ background: var(--brand2); color:#fff; }
@media (min-width: 900px){
  .fab-wrap{ display:none; }
}
