/* ==========================================================================
   BRVISION — Brand Overrides for Mantratec Design System
   ========================================================================== */

:root {
  /* ---- BRVISION Brand Colors ---- */
  --br-primary:       #003366;   /* Deep navy */
  --br-primary-light: #004C99;
  --br-primary-dark:  #002244;
  --br-accent:        #CC0000;   /* Red accent */
  --br-accent-gold:   #D4A017;   /* Gold accent */
  --br-bg-dark:       #001527;   /* Dark gradient start */
  --br-bg-gradient: linear-gradient(135deg, #001527 0%, #003366 50%, #004C99 100%);

  /* Override mantratec primary variables */
  --ma-type-primary: var(--br-primary);
  --ma-type-primaryhoverdark: var(--br-primary-dark);
  --ma-type-primaryhoverlight: var(--br-primary-light);
  --ma-type-secondary: var(--br-accent);
  --ma-type-secondaryhoverdark: #990000;
  --ma-type-secondaryhoverlight: #FF3333;
  --ma-dark-gradient: linear-gradient(135deg, #001527 0%, #003366 50%, #004C99 100%);
  --ma-bg-section-dark: #001527;
}

/* ---- BRVISION Header/Nav ---- */
.br-logo {
  height: 48px;
  width: auto;
}

.br-navbar .mm-brand img {
  height: 48px;
  filter: none;
}

/* ---- BRVISION Hero ---- */
.br-hero {
  position: relative;
  background: var(--br-bg-gradient);
  padding: 140px 0 80px;
  overflow: hidden;
}

.br-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/Assets/Images/bg3.webp') center/cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.br-hero > .container { position: relative; z-index: 1; }

.br-hero h1 {
  color: #fff;
  font-size: var(--ma-hero-title);
  font-weight: 600;
  margin-bottom: 20px;
}
.br-hero p {
  color: rgba(255,255,255,.85);
  font-size: 18px;
  max-width: 640px;
  line-height: 1.6;
}

/* ---- BRVISION Product Cards ---- */
.br-products-section {
  padding: 80px 0;
  background: var(--ma-bg-light);
}

.br-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.br-section-title h2 {
  color: var(--br-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.br-section-title p {
  color: var(--ma-grey130);
  max-width: 600px;
  margin: 0 auto;
}

.br-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.br-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.br-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,51,102,.15);
}

.br-card-img {
  height: 200px;
  background: var(--br-bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
}

.br-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.br-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--br-primary);
  margin-bottom: 10px;
}

.br-card-body p {
  font-size: 14px;
  color: var(--ma-grey130);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.br-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--br-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.br-card-link:hover {
  color: var(--br-accent);
}

.br-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s;
}

.br-card-link:hover svg {
  transform: translateX(3px);
}

/* ---- Category Badge ---- */
.br-cat-badge {
  display: inline-block;
  background: rgba(0,51,102,.08);
  color: var(--br-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* ---- BRVISION Product Detail ---- */
.br-detail-header {
  background: var(--br-bg-gradient);
  padding: 140px 0 60px;
  color: #fff;
}

.br-detail-header h1 {
  color: #fff;
  font-weight: 600;
}

.br-detail-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
}

.br-detail-header .breadcrumb-item,
.br-detail-header .breadcrumb-item a {
  color: rgba(255,255,255,.7);
  font-size: 14px;
}

.br-detail-header .breadcrumb-item.active {
  color: #fff;
}

.br-detail-content {
  padding: 60px 0;
}

.br-detail-content h2 {
  color: var(--br-primary);
  font-weight: 600;
  font-size: 22px;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--br-primary);
}

.br-detail-content h3 {
  color: var(--br-primary);
  font-weight: 600;
  font-size: 18px;
  margin: 24px 0 12px;
}

.br-detail-content p,
.br-detail-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ma-grey130);
}

.br-detail-content ul,
.br-detail-content ol {
  padding-left: 20px;
}

.br-detail-content ul li {
  margin-bottom: 8px;
}

.br-highlight-box {
  background: #f0f5fa;
  border-left: 4px solid var(--br-primary);
  padding: 20px 24px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.br-highlight-box .br-label {
  color: var(--br-primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.br-highlight-box p {
  margin: 0;
}

/* ---- Feature Grid ---- */
.br-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.br-feature-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.br-feature-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--br-primary);
  margin-bottom: 8px;
}

.br-feature-item p {
  font-size: 14px;
  margin: 0;
}

/* ---- Process Flow ---- */
.br-process {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 24px 0;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.br-process-step {
  flex: 1;
  min-width: 160px;
  padding: 20px;
  text-align: center;
  background: #fff;
  border-right: 1px solid #dee2e6;
  position: relative;
}

.br-process-step:last-child {
  border-right: none;
}

.br-process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--br-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.br-process-step p {
  font-size: 13px;
  font-weight: 600;
  color: var(--br-primary);
  margin: 0;
}

/* ---- Footer ---- */
.br-footer {
  background: var(--br-bg-dark);
  color: rgba(255,255,255,.8);
  padding: 60px 0 30px;
}

.br-footer h5 {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}

.br-footer a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}

.br-footer a:hover {
  color: #fff;
}

.br-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .br-hero { padding: 120px 0 50px; }
  .br-hero h1 { font-size: 28px; }
  .br-card-grid { grid-template-columns: 1fr; }
  .br-process { flex-direction: column; }
  .br-process-step { border-right: none; border-bottom: 1px solid #dee2e6; }
  .br-process-step:last-child { border-bottom: none; }
}
