/* ===== SHARED NAVIGATION AND FOOTER COMPONENTS ===== */

/* Breadcrumb Navigation Styling */
.breadcrumb-nav {
  padding: var(--spacing-sm, 0.5rem) var(--spacing-lg, 1.5rem);
  background: var(--bg-secondary, #f8f9fa);
  border-bottom: 1px solid var(--border-color, #dee2e6);
  font-size: 0.875rem;
  color: var(--text-secondary, #6c757d);
  margin: 0;
  font-weight: 500;
}

.breadcrumb-nav a {
  color: var(--accent, #660000);
  text-decoration: none;
  transition: var(--transition-fast, all 0.15s ease);
  font-weight: 500;
}

.breadcrumb-nav a:hover {
  color: var(--primary, #880000);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-muted, #95a5a6);
  font-weight: normal;
  margin: 0 8px;
}

/* Enhanced Footer Styling */
.footer {
  margin-top: 40px;
  padding: 28px 20px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.1);
  color: #666;
  font-size: 0.9em;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-center .footer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-text-centered {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 4px;
}

.footer-crest {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-text p {
  margin: 0;
  line-height: 1.4;
}

.footer-credits {
  font-size: 0.85em;
  color: #888;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--accent, #660000);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition, all 0.3s ease);
}

.footer-links a:hover {
  color: var(--primary, #880000);
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.footer-links .version {
  color: #999;
  font-size: 0.85em;
}

/* Dark mode footer styling */
.dark-mode .footer {
  background: rgba(45,45,45,0.8);
  border-top-color: rgba(255,255,255,0.1);
  color: #ccc;
}

.dark-mode .footer-links a {
  color: #ff6b6b;
}

.dark-mode .footer-links a:hover {
  color: #fff;
}

.dark-mode .footer-credits {
  color: #888;
}

.dark-mode .footer-links .version {
  color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: var(--spacing-xs, 0.25rem) var(--spacing-md, 1rem);
    font-size: 0.8rem;
  }
  
  .footer {
    padding: 20px 12px;
    font-size: 0.8em;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-left,
  .footer-center {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-links {
    justify-content: center;
    gap: 15px;
  }
  
  .footer-crest {
    height: 32px;
  }
}
