/* NCIC Capital Fund - Custom Styles */
/* Using Materialize CSS with custom brand colors */

:root {
  --primary-red: #8B0000; /* Dark Red - original brand color */
  --accent-lime: #80FF00; /* Lime Green - original accent */
  --dark-text: #333333;
  --light-bg: #f5f5f5;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-text);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.85) 0%, rgba(139, 0, 0, 0.60) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .flow-text {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Card Enhancements */
.card {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title i.material-icons {
  vertical-align: middle;
  margin-right: 8px;
}

/* Table Styling */
table.striped tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

table th {
  background-color: #8B0000;
  color: white;
}

/* Button Enhancements */
.btn, .btn-large {
  border-radius: 4px;
  text-transform: none;
  font-weight: 500;
}

.btn-large {
  padding: 0 32px;
  height: 56px;
  line-height: 56px;
}

/* Navigation */
nav {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.brand-logo {
  font-weight: 700;
  font-size: 1.5rem !important;
}

/* Section Spacing */
.section {
  padding: 60px 0;
}

.section h2 {
  margin-bottom: 30px;
  font-weight: 500;
}

/* Card Panel */
.card-panel h3 {
  margin: 10px 0;
  font-weight: 700;
}

/* Images */
.responsive-img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
.page-footer {
  padding-top: 20px;
}

.page-footer h5 {
  font-weight: 500;
}

/* Content Pages */
.content-page {
  padding: 40px 0;
}

.content-page h1 {
  color: #8B0000;
  margin-bottom: 30px;
  font-weight: 500;
}

.content-page h2 {
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 500;
}

.content-page h3 {
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.content-page p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-page ul {
  margin: 20px 0 20px 40px;
}

.content-page ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.content-page a {
  color: #8B0000;
  font-weight: 500;
}

.content-page a:hover {
  color: #600000;
  text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: #f5f5f5;
  padding: 15px 0;
  margin-bottom: 30px;
}

.breadcrumbs a {
  color: #8B0000;
  margin-right: 8px;
}

/* Responsive */
@media only screen and (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content .flow-text {
    font-size: 1.1rem;
  }

  .hero-section {
    height: 500px;
  }
}

@media only screen and (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .flow-text {
    font-size: 1rem;
  }

  .hero-section {
    height: 400px;
  }

  .section {
    padding: 40px 0;
  }
}
