/* BYU Transportation Lab - Custom Styles */

/* BYU Brand Colors */
:root {
  --byu-navy: #002E5D;
  --byu-royal: #0062B8;
  --byu-light: #E6EEF7;
  --byu-white: #FFFFFF;
}

/* Navbar */
.navbar {
  background-color: var(--byu-navy) !important;
}

.navbar-brand, .nav-link {
  color: var(--byu-white) !important;
}

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

/* Hero banner on home page */
.hero-banner {
  background:
    linear-gradient(135deg, rgba(0, 46, 93, 0.50) 0%, rgba(0, 98, 184, 0.42) 100%),
    url('images/high_emitter_2.jpg') center center / cover no-repeat;
  color: white;
  padding: 5rem 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hero-banner h1 {
  color: white;
  border: none;
  font-size: 3.5rem;
  font-weight: 700;
}

/* Rounded profile images */
.rounded-circle {
  border-radius: 50%;
  border: 3px solid var(--byu-royal);
  object-fit: cover;
}

/* Team member columns - add spacing */
.columns {
  margin-bottom: 2rem;
  align-items: center;
}

/* Section headings */
h2 {
  color: var(--byu-navy);
  border-bottom: 2px solid var(--byu-royal);
  padding-bottom: 0.3rem;
  margin-top: 2rem;
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background-color: var(--byu-navy);
  color: white;
  padding: 0.5rem 1rem;
}

td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
  background-color: var(--byu-light);
}

/* Footer */
.nav-footer {
  background-color: var(--byu-navy);
  color: var(--byu-white);
}

/* Placeholder image fallback */
img[src="images/pi_photo.jpg"],
img[src*="grad"],
img[src*="ugrad"] {
  background-color: var(--byu-light);
}
