@charset "UTF-8";
/* CSS Document */

body {
  background-color: #000; /* 'black' */
  color: white; /* optional: makes text readable */
}

:target {
  scroll-margin-top: 100px; /* Adjusted for jump to so it doesnt go under the nav bar */
}

.nav-link {
  position: relative;
  color: #000; /* fallback if not overwritten by Bootstrap */
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #ad0001; /* Deep red on hover */
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ad0001;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.nav-link:active {
  color: #fff;
  background-color: #AD0001;
  border-radius: 4px;
  padding: 2px 6px;
}

.synopisisMargin1{
	margin-top: 200px;
	margin-bottom: 30px;
}

.synopsisMargin2{
	margin-top: 10px;
	margin-bottom: 80px;
}



.crew-img {
      width: 100%;
      height: auto;
      border-radius: 8px;
}

.crew-card {
      text-align: center;
      margin-bottom: 30px;
	  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crew-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


.crew-name {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  margin-top: 10px;
  color:#AD0001;
  font-size: 0.95rem; /* Or try 0.9rem or less */
  white-space: nowrap; /* Prevent line breaks */
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-role {
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: lightgrey;
}

 
 .crewheadline {
  font-family: 'Special Elite', serif;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
	
.not-pictured-heading {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 2rem;
  color:#AD0001; 
}

ul li {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  font-size: 1rem;
}

/* Form Section Styling */
#crew-form-section {
  background-color: #ad0001; /* Forest Green */
  font-family: 'Roboto Slab', serif;
  color: white;
  padding: 4rem 0;
}

#crew-form-section h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

#crew-form {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  color: #000;
  font-family: 'Roboto Slab', serif;
}

#crew-form .form-label {
  font-weight: 500;
}

#crew-form .form-control,
#crew-form .form-select {
  font-family: 'Roboto Slab', serif;
  border-radius: 6px;
}

#crew-form .btn {
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.75rem 2rem;
  font-family: 'Roboto Slab', serif;
}

.roboto-slab {
  font-family: 'Roboto Slab', serif;
}

.roboto-slab h2,
.roboto-slab a.btn {
  font-family: 'Roboto Slab', serif;
 
}

.rounded-icon {
  border-radius: 1rem;
}

/* Roboto Slab for headings */
.character-heading {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
}

/* Forest green for character names */
.character-name {
  color: white;
  font-weight: 200;
}

.character-role {
  color: white;
  text-underline-offset: 5px; /* increase from 3px to 5px */
}

/* Optional: Custom carousel image styling */
.custom-carousel img {
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Image styling for extras */
.rounded {
  border-radius: 0.75rem !important;
}

.forestgreen {
 color: ad0001;
}

@media (min-width: 992px) {
  .col-lg-1-7 {
    flex: 0 0 14.2857%;
    max-width: 14.2857%;
  }
}

/* Create a reusable class */
.img-hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

body {
  padding-bottom: 150px; /* matches footer height + extra space */
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* pushes footer down */
}

footer {
  margin-top: auto;
}



