/*
Theme Name: DRSM Metronic
Theme URI: https://staging.drsm.co.za/
Author: Jarvis
Description: A focused WordPress staging theme for DRSM using local Metronic assets, editable WordPress pages, menus, and Customizer colours.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: drsm-metronic
*/

:root {
  --drsm-primary: #0f766e;
  --drsm-secondary: #155e75;
  --drsm-accent: #f59e0b;
  --drsm-ink: #122023;
  --drsm-muted: #64748b;
  --drsm-surface: #ffffff;
  --drsm-soft: #f5f8fa;
}

body {
  background: var(--drsm-soft);
  color: var(--drsm-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.drsm-shell {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .92), rgba(21, 94, 117, .88)),
    url("assets/media/patterns/pattern-1.jpg") center / cover no-repeat;
}

.drsm-nav {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.drsm-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--drsm-primary), var(--drsm-secondary));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.drsm-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.drsm-menu a {
  border-radius: 8px;
  color: #334155;
  display: inline-flex;
  font-size: .95rem;
  font-weight: 600;
  padding: .7rem .9rem;
  text-decoration: none;
}

.drsm-menu a:hover,
.drsm-menu .current-menu-item > a {
  background: rgba(15, 118, 110, .1);
  color: var(--drsm-primary);
}

.drsm-hero {
  padding: clamp(3rem, 8vw, 7rem) 0 4rem;
}

.drsm-hero-panel {
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
  overflow: hidden;
}

.drsm-status {
  background: rgba(245, 158, 11, .13);
  border: 1px solid rgba(245, 158, 11, .35);
  border-radius: 999px;
  color: #92400e;
  display: inline-flex;
  font-weight: 700;
  gap: .5rem;
  padding: .5rem .85rem;
}

.drsm-title {
  color: #0f172a;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 1.5rem 0 1rem;
}

.drsm-lede {
  color: var(--drsm-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  max-width: 64ch;
}

.drsm-action {
  background: var(--drsm-primary);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  padding: .95rem 1.15rem;
  text-decoration: none;
}

.drsm-action:hover {
  background: var(--drsm-secondary);
  color: #fff;
}

.drsm-metric {
  border-left: 3px solid var(--drsm-primary);
  padding-left: 1rem;
}

.drsm-metric strong {
  color: #0f172a;
  display: block;
  font-size: 1.45rem;
}

.drsm-metric span {
  color: var(--drsm-muted);
  font-size: .9rem;
  font-weight: 600;
}

.drsm-content {
  background: var(--drsm-surface);
  padding: 4rem 0;
}

.drsm-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  height: 100%;
  padding: 1.4rem;
}

.drsm-card h2,
.drsm-card h3 {
  color: #0f172a;
  font-size: 1.15rem;
  margin-bottom: .65rem;
}

.drsm-card p,
.drsm-page-content {
  color: #475569;
  line-height: 1.7;
}

.drsm-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2rem 0;
}

.drsm-footer a {
  color: #fff;
}

@media (max-width: 767px) {
  .drsm-menu {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .drsm-menu a {
    padding: .55rem .7rem;
  }
}
