/* ============================================================= */
/* assets/style.css – final polished look for mad.org.uk         */
/* ============================================================= */
/* Load Inter as the main font */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  line-height: 1.6;
  font-weight: 450;
}

/* Slightly bolder headings */
h1, h2, h3, h4, h5, .display-4, .display-5 {
  font-weight: 700 !important;
}

/* 1. Calm, professional primary colour (replaces bright blue) */
:root {
  --mad-primary: #375a7f;
  --mad-primary-rgb: 55, 90, 127;
}

/* Force everything that uses "primary" to use our calm blue */
.bg-primary,
.navbar,
.btn-primary,
.card-footer {
  background-color: var(--mad-primary) !important;
  background: linear-gradient(135deg, #375a7f, #2c5282) !important;
}
.text-primary { color: var(--mad-primary) !important; }
.btn-primary { --bs-btn-bg: var(--mad-primary); --bs-btn-border-color: var(--mad-primary); }

/* 2. Card footer text & buttons – always readable white/green */
.card-footer {
  color: white !important;
  border-top: 0 !important;
}
.card-footer a,
.card-footer .btn {
  color: white !important;
  text-decoration: none !important;
}
.card-footer .btn-outline-success {
  color: #48bb78 !important;
  border-color: #48bb78 !important;
}
.card-footer .btn-outline-success:hover {
  background-color: #48bb78 !important;
  color: white !important;
}
.card-footer .btn-outline-primary {
  border-color: rgba(255,255,255,0.5) !important;
}
.card-footer .btn-outline-primary:hover {
  background: rgba(255,255,255,0.2) !important;
}

/* 3. Hover effects – subtle lift + stronger shadow */
.hover-shadow {
  transition: all 0.3s ease;
}
.hover-shadow:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.15) !important;
}

/* 4. Softer corners & spacing */
.card {
  border-radius: 12px !important;
  overflow: hidden;
}
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.5rem !important; }

/* 5. Navbar – calm blue + white text */
.navbar {
  background-color: var(--mad-primary) !important;
  background: linear-gradient(135deg, #375a7f, #2c5282) !important;
}
.navbar .navbar-brand,
.navbar .nav-link {
  color: white !important;
  font-weight: 500;
}
.navbar .nav-link:hover {
  color: #a0d8ff !important;
}

/* 6. Badge next to logo */
.navbar-brand .badge {
  font-size: 0.65rem;
  padding: 0.35em 0.65em;
}

/* 7. Breadcrumb styling */
.breadcrumb {
  background-color: #f8f9fa !important;
}

/* 8. Mobile improvements */
@media (max-width: 576px) {
  .display-5 { font-size: 2.2rem; }
  .display-4 { font-size: 2.5rem; }
}