/* SolicitorConnect Custom Styling */

/* Brand Colors */
:root {
  --primary-color: #002448; /* Navy Blue */
  --accent-color: #c4a030; /* Gold */
  --secondary-color: #f8f9fa; /* Light Gray */
  --text-dark: #212529;
  --text-light: #ffffff;
  --text-muted: #6c757d;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lora', serif;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

body,
p,
div,
span,
li {
  font-family: var(--font-body);
}

/* Override theme colors */
.bg-primary {
  background-color: #002448 !important;
}

.text-primary {
  color: #002448 !important;
}

.btn-primary {
  background-color: #002448;
  border-color: #002448;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #001a33;
  border-color: #001a33;
}

/* Accent button (for Find a Solicitor CTA) */
.btn-accent {
  background-color: #c4a030;
  border-color: #c4a030;
  color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: #b08d29;
  border-color: #b08d29;
  color: #fff;
}

/* Top navigation bar styling (Lawhive style) */
.navbar-dark.bg-primary {
  background-color: #002448 !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 30px;
  margin-right: 8px;
}

/* Practice area navigation */
.navbar-light.bg-light {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Custom styling for homepage sections */
.hero-section {
  padding: 80px 0;
  background-color: #002448;
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #c4a030;
}

.practice-area-card {
  transition: all 0.3s;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.practice-area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.practice-icon {
  font-size: 2.5rem;
  color: #002448;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #002448;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto;
}

.cta-section {
  background-color: #002448;
}

/* Dashboard styling */
.dashboard-card {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.dashboard-card:hover {
  transform: translateY(-5px);
}

/* Enquiry form styling */
.enquiry-form-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #dee2e6;
  margin: 0 5px;
}

.step-dot.active {
  background-color: #c4a030;
}

/* Additional badge styling for CTA button */
.btn-accent .badge {
  background-color: #fff;
  color: #002448;
  font-weight: 500;
}

.layout-menu {
  background-color: var(--primary-color); /* Navy */
  color: var(--text-light);
}

.layout-menu .menu-link {
  color: var(--text-light);
  font-weight: 500;
}

.layout-menu .menu-item.active > .menu-link {
  background-color: var(--accent-color); /* Gold */
  color: white;
}

.layout-menu .menu-icon {
  color: var(--accent-color);
}

/* Sidebar Background */
.layout-menu {
  background-color: var(--primary-color) !important; /* Navy */
  color: white;
}

/* Sidebar Brand Text */
.layout-menu .app-brand-text {
  color: white !important;
  font-weight: 600;
}

/* Menu Links */
.layout-menu .menu-link {
  color: white !important;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

/* Menu Icons */
.layout-menu .menu-icon {
  color: var(--accent-color) !important; /* Gold */
  font-size: 1.3rem;
  margin-right: 0.75rem;
}

/* Active Item */
.layout-menu .menu-item.active > .menu-link,
.layout-menu .menu-item > .menu-link:hover {
  background-color: var(--accent-color);
  color: white !important;
}

/* Active Icon stays white on highlight */
.layout-menu .menu-item.active .menu-icon,
.layout-menu .menu-item:hover .menu-icon {
  color: white !important;
}
