/*
Theme Name: EcomDrive BD
Theme URI: https://ecomdrive.local
Author: EcomDrive Team
Description: Bangla-first e-commerce marketing + dashboard theme for EcomDrive Bangladesh. Clean, modern layout inspired by the provided references.
Version: 0.1.0
Text Domain: ecomdrive-bd
*/

/* Base + variables */
:root {
  --font-sans: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bg: #fafafa;
  --fg: #0a0a0a;
  --muted: #5f6368;
  --surface: #ffffff;
  --border: #e5e7eb;
  --radius: 16px;
  --accent: #f97316; /* can be overridden from Customizer */
  --accent-dark: #ea580c;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout helpers */
.container { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.section { padding: 64px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.nav { display: flex; gap: 14px; }
.nav a { color: var(--fg); text-decoration: none; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: #f4f4f5; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); }
.button.ghost { border: 1px solid var(--border); color: var(--fg); background: #fff; }

/* Hero */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #f4f4f5; border-radius: 999px; color: var(--muted); font-size: 14px; }
.hero-title { margin-top: 16px; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.hero-desc { margin-top: 12px; font-size: 18px; color: var(--muted); }
.hero-actions { margin-top: 24px; display: flex; gap: 12px; }

/* Cards grid */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: 1fr; } }
.card .kpi { margin-top: 8px; font-size: 24px; font-weight: 700; }
.card .spark { margin-top: 16px; height: 70px; border-radius: 10px; background: linear-gradient(135deg, rgba(249,115,22,.18), rgba(249,115,22,.06)); }

/* Footer */
.site-footer { margin-top: 64px; padding: 32px 0; color: var(--muted); border-top: 1px solid var(--border); }

/* Utility */
.m-0 { margin: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.round { border-radius: var(--radius); }
.border { border: 1px solid var(--border); }
.bg-white { background: #fff; }