/* 
 * Custom CSS for Concordia Parish Clerk of Court Website
 * Built with Bootstrap 5
 */

/* Root Variables */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --info-color: #0dcaf0;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Navigation Bar */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.2rem;
}

.nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
}

/* Header Section */
header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

header h1 {
  color: var(--primary-color);
  font-weight: 700;
}

header .lead {
  font-size: 1.1rem;
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.card-header {
  border-radius: 10px 10px 0 0 !important;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

/* Buttons */
.btn {
  border-radius: 5px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Links */
a {
  transition: color 0.3s ease;
}

/* Icons */
.fas,
.far {
  vertical-align: middle;
}

/* Image Styling */
.img-fluid {
  transition: transform 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  header .lead {
    font-size: 1rem;
  }

  .card-body {
    padding: 1rem;
  }
}

/* Animation for page load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Address Styling */
address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: 1.8;
}

/* List Styling */
ul.list-unstyled li {
  margin-bottom: 0.5rem;
}

/* Border Colors for Cards */
.border-warning {
  border-left: 4px solid var(--warning-color) !important;
}

.border-danger {
  border-left: 4px solid var(--danger-color) !important;
}

/* Dropdown Menu */
.dropdown-menu {
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--primary-color);
  color: white;
}