/* =========================================================
   WebsiteOnCall — main stylesheet (modern theme)
   ========================================================= */

:root {
  --brand-primary: #6d28d9;
  --brand-primary-dark: #4c1d95;
  --brand-secondary: #2563eb;
  --brand-accent: #f59e0b;
  --brand-success: #16a34a;
  --ink: #1e1b2e;
  --ink-muted: #6b7280;
  --surface: #ffffff;
  --surface-alt: #f7f6fb;
  --border-soft: #eceaf5;
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --shadow-soft: 0 10px 30px -12px rgba(76, 29, 149, 0.18);
  --shadow-card: 0 2px 14px rgba(30, 27, 46, 0.06);
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--surface-alt);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* ---------- Navbar ---------- */
.site-navbar {
  background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-primary));
  backdrop-filter: blur(6px);
}

.site-navbar .navbar-brand {
  letter-spacing: 0.3px;
  font-weight: 700;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

.site-navbar .nav-link {
  font-weight: 500;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}

.site-navbar .nav-link:hover {
  opacity: 1;
}

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-secondary));
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.hero-section h1 {
  letter-spacing: -0.02em;
}

.hero-section .btn-warning {
  box-shadow: 0 10px 25px -8px rgba(245, 158, 11, 0.6);
  border: none;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  padding: 1.75rem 0;
  box-shadow: var(--shadow-card);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--brand-primary);
}

.stat-label {
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Customer dashboard ---------- */
.dashboard-welcome {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-secondary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-soft);
}

.dashboard-business-card .card-header {
  background: #faf9ff;
  border-bottom: 1px solid var(--border-soft);
}

/* ---------- Full Website / Domain project boxes ---------- */
.project-box {
  background: #faf9ff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.progress-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.progress-steps .step {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #eceaf5;
  color: var(--ink-muted);
}

.progress-steps .step.done {
  background: var(--brand-primary);
  color: #fff;
}

/* ---------- Generic cards / sections ---------- */
.card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

section.py-5 h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.rounded-4.border.shadow-sm {
  border: 1px solid var(--border-soft) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rounded-4.border.shadow-sm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

/* ---------- Category cards (homepage) ---------- */
.category-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-card-img {
  width: 100%;
  max-width: 92px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 0.35rem;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ---------- Footer ---------- */
footer {
  background: linear-gradient(90deg, var(--brand-primary-dark), #1e1b2e) !important;
}

footer a {
  color: #fff;
  text-decoration: none;
}

/* ---------- Misc ---------- */
code {
  background: #f1f3f5;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- Mobile responsiveness ---------- */
@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section .lead {
    font-size: 1rem;
  }
  section.py-5 {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
  .category-card-img {
    max-width: 64px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    text-align: center;
  }
  .hero-section h1 {
    font-size: 1.65rem;
  }
  .btn-lg {
    width: 100%;
  }
}
