/* Detroit City FC Application Styles */
/* Import design system */
/* CSS Variables for Design System */
:root {
  /* Typography - Using real Mandatory and Vitesse fonts */
  --font-family-primary: 'Mandatory', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-secondary: 'Vitesse', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mandatory: 'Mandatory', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-vitesse: 'Vitesse', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Import custom fonts */
@font-face {
  font-family: 'Mandatory';
  src: url("/assets/Mandatory-399d4af7.otf") format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vitesse';
  src: url("/assets/Vitesse-Bold-27b68584.otf") format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Bootstrap CSS is loaded separately in the layout */

/* Global font family assignments */
body {
  font-family: var(--font-family-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-primary);
}

.lead, p, .card-text {
  font-family: var(--font-family-secondary);
  font-weight: 700; /* Vitesse Bold */
}

/* Admin view styling for better contrast */
.admin-view h1 {
  color: #c79b2d !important; /* Gold color for better contrast against red background */
}

/* Navbar specific styling */
.navbar {
  background-color: #490000 !important;
  font-family: var(--font-family-primary);
}

.navbar-brand {
  font-family: var(--font-family-primary);
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-brand:hover {
  color: #FFFFFF !important;
}

.navbar-nav .nav-link {
  font-family: var(--font-family-secondary);
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link:hover {
  color: #FFFFFF !important;
}

/* Mobile navbar toggler styling */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 0.25rem 0.5rem !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile navbar collapse styling */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #490000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 0.5rem !important;
    padding-top: 0.5rem !important;
  }
  
  .navbar-nav {
    padding-left: 1rem !important;
  }
  
  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .navbar-nav .nav-item:last-child {
    border-bottom: none !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }
  
  .navbar-nav .nav-link:hover {
    color: #FFFFFF !important;
  }
}

/* Global fixes for white stripe */
html, body {
  background-color: #490000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

main {
  background-color: #490000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Custom styles for the home page */
.home-page {
  background-color: #490000 !important;
  min-height: 100vh;
  color: #c79b2d;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure the background extends to the very top */
.home-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #490000;
  z-index: -1;
}

.home-page .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.home-page h1, .home-page h2, .home-page h3, .home-page h4, .home-page h5, .home-page h6 {
  font-family: var(--font-family-primary);
  color: #c79b2d;
}

.home-page .lead, .home-page p {
  font-family: var(--font-family-secondary);
  font-weight: 700;
  color: #c79b2d;
}

.home-page .card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.home-page .card .card-title {
  font-family: var(--font-family-primary);
  color: #c79b2d;
}

.home-page .card .card-text {
  font-family: var(--font-family-secondary);
  color: #c79b2d;
}

/* Form styling for home-page context */
.home-page .form-label {
  color: #c79b2d !important;
  font-family: var(--font-family-secondary);
  font-weight: 700;
}

.home-page .form-check-label {
  color: #c79b2d !important;
  font-family: var(--font-family-secondary);
  font-weight: 700;
}

.home-page .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.home-page .text-success {
  color: #28A745 !important;
}

/* Override navbar for home page to match Rouge background */
.navbar {
  background-color: #490000 !important;
}

/* Bootstrap overrides for Rouge theme */
.btn-primary {
  background-color: #1A1A1A !important;
  border-color: #1A1A1A !important;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #000000 !important;
  border-color: #000000 !important;
}

.btn-secondary {
  background-color: #FF6B35 !important;
  border-color: #FF6B35 !important;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #E55A2B !important;
  border-color: #E55A2B !important;
}

.form-control:focus {
  border-color: #FF6B35 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25) !important;
}

.card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Removed conflicting navbar-brand color override */

/* Typography utilities */
.text-primary { color: #1A1A1A !important; }
.text-secondary { color: #FF6B35 !important; }
.bg-primary { background-color: #1A1A1A !important; }
.bg-secondary { background-color: #FF6B35 !important; }

