/* 
  Project: Erasmus Course Matching Decision Support System
  Description: Custom styling with Bootstrap overrides
*/

:root {
  /* ITU Identity & Erasmus Themes */
  --primary: #1a3a5c;        /* Deep Navy */
  --primary-light: #2d5f8a;  /* Lighter navy */
  --accent: #e8a838;         /* Warm Gold */
  --accent-light: #f5d590;   /* Light Gold */
  
  /* Status Colors */
  --success: #2ecc71;        /* Approved / Match */
  --warning: #f39c12;        /* Pending / Review */
  --danger: #e74c3c;         /* Rejected / Error */
  
  /* Layout Colors */
  --bg-primary: #f8f9fc;     /* Page background */
  --bg-card: #ffffff;        /* Card background */
  --bg-subtle: #eef1f6;      /* Subtle section background */
  
  /* Typography Colors */
  --text-primary: #1a1a2e;   /* Headings */
  --text-secondary: #5a6178; /* Body text */
  --text-muted: #9ca3b4;     /* Muted text */
  --border: #e2e6ef;         /* Borders */
  
  /* Shadows & Geometry */
  --shadow-sm: 0 2px 8px rgba(26, 58, 92, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 58, 92, 0.1);
  --shadow-lg: 0 8px 40px rgba(26, 58, 92, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
}

.mono-text {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphic Navbar */
.navbar-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 230, 239, 0.6);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--primary) !important;
  font-size: 1.25rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary) !important;
  transition: color 0.3s ease;
}

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

/* Custom Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-accent-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: none;
  color: var(--primary);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all 0.3s ease;
}

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

.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
}

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

/* Cards & Containers */
.card-custom {
  background-color: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

/* Animations */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fillProgress {
  from { width: 0%; }
  to { width: var(--target-width); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Badges */
.badge-success { background-color: var(--success); color: white; }
.badge-warning { background-color: var(--warning); color: white; }
.badge-danger { background-color: var(--danger); color: white; }

/* Section Utilities */
.section-padding {
  padding: 5rem 0;
}

.bg-subtle-section {
  background-color: var(--bg-subtle);
}

/* Status dots */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.status-dot.approved { background-color: var(--success); }
.status-dot.pending { background-color: var(--warning); }
.status-dot.rejected { background-color: var(--danger); }
