/* ============================================
   Professional Styling for Demenageurs-Aix.fr
   ============================================ */

:root {
  --primary-color: #0066cc;
  --secondary-color: #003d99;
  --accent-color: #ff6b35;
  --light-bg: #f8f9fa;
  --dark-text: #1a1a1a;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Global Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--dark-text);
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.025rem;
  line-height: 1.7;
  color: #444;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Header Styling */
.bg-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

header {
  box-shadow: var(--shadow-sm);
}

header h1 {
  font-size: 1.75rem;
  color: white;
  font-weight: 700;
}

header p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin: 0;
}

/* Navigation */
.navbar {
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand img {
  transition: transform 0.3s ease;
  max-width: 200px;
  height: auto;
}

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

.nav-link {
  font-weight: 500;
  color: var(--dark-text) !important;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Main Content */
main {
  min-height: 60vh;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
}

/* Cards and Sections */
section {
  padding: 2rem 0;
}

.card {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Features/Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  font-size: 1.1rem;
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  color: #333;
  font-weight: 500;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.5rem;
}

/* Steps/Process List */
.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.steps-list li {
  counter-increment: step-counter;
  font-size: 1.05rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--light-bg);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.steps-list li::before {
  content: counter(step-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 1rem;
}

/* List Groups */
.list-group {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.list-group-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.list-group-item:last-child {
  margin-bottom: 0;
}

.list-group-item:hover {
  background-color: var(--light-bg);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.list-group-item a {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 600;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: var(--dark-text);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control,
.form-select {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #999;
  font-size: 0.95rem;
}

.form-text {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.35rem;
}

form {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* Buttons */
.btn {
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Alerts */
.alert {
  border: none;
  border-radius: 8px;
  border-left: 4px solid;
}

.alert-success {
  background-color: #d4edda;
  border-left-color: #28a745;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-left-color: #dc3545;
  color: #721c24;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  color: #666;
}

.breadcrumb-item.active {
  color: var(--dark-text);
  font-weight: 600;
}

.breadcrumb-item a {
  color: var(--primary-color);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  margin-top: 4rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

footer a:hover {
  color: white;
  border-bottom-color: white;
}

footer h5 {
  color: white;
}

footer .separator {
  margin: 0 0.75rem;
  opacity: 0.7;
}

/* Trust Section */
.trust-section {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
}

.trust-item {
  text-align: center;
  padding: 1rem;
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.trust-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

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

/* Video Container */
.ratio video {
  border-radius: 12px;
  object-fit: cover;
}

/* Text Utilities */
.text-primary {
  color: var(--primary-color) !important;
}

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

.fw-bold {
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  header p {
    font-size: 0.95rem;
  }

  form {
    padding: 1.5rem;
  }

  .benefits-list li,
  .steps-list li {
    font-size: 1rem;
  }

  main {
    padding: 1rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease-out;
}

/* Pagination Styles */
.pagination {
  margin: 3rem 0 2rem 0;
  gap: 0.5rem;
}

.page-link {
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.page-link:hover {
  background-color: var(--light-bg);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-sm);
}

.page-item.disabled .page-link {
  color: #ccc;
  border-color: var(--border-color);
  cursor: not-allowed;
}

/* Print Styles */
@media print {
  .navbar,
  footer,
  .btn {
    display: none;
  }

  body {
    background: white;
  }
}
