/* FIN510 Custom Styles */

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  text-align: center;
}

/* Course Modules */
.course-module {
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 5px;
}

.course-module h4 {
  color: #007bff;
  margin-top: 0;
}

/* Textbook Grid */
.textbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.textbook-card {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

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

.textbook-card img {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

/* Learning Outcomes */
.learning-outcomes {
  background: #e7f3ff;
  border: 1px solid #b3d9ff;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.learning-outcomes ol {
  margin: 0;
  padding-left: 1.5rem;
}

.learning-outcomes li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* Statistics Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.stat-card p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.testimonials blockquote {
  border-left: 4px solid #28a745;
  padding-left: 1rem;
  font-style: italic;
  margin: 1rem 0;
  background: white;
  padding: 1rem;
  border-radius: 5px;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 10px;
  margin: 3rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Important Dates */
.important-dates {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.important-dates ul {
  margin: 0;
  padding-left: 1.5rem;
}

.important-dates li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Sample Questions */
.sample-question {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.sample-question h4 {
  color: #495057;
  margin-top: 0;
}

/* Case Study */
.case-study {
  background: #e8f4fd;
  border: 1px solid #bee5eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.case-study h4 {
  color: #0c5460;
  margin-top: 0;
}

/* Code Blocks */
pre {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  padding: 1rem;
  overflow-x: auto;
}

code {
  background: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

/* Navigation Enhancements */
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .textbook-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Print Styles */
@media print {
  .hero-banner,
  .cta-section {
    background: white !important;
    color: black !important;
  }
  
  .navbar,
  .sidebar {
    display: none;
  }
}

/* Accessibility */
.btn:focus,
.nav-link:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .course-module {
    background: #2d3748;
    border-left-color: #4299e1;
  }
  
  .textbook-card {
    background: #2d3748;
    border-color: #4a5568;
  }
  
  .sample-question,
  .case-study {
    background: #2d3748;
    border-color: #4a5568;
  }
}
