/* Navbar */
nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #000;
}
nav a {
    color: #fff;
    margin-right: 20px;
    text-decoration: none;
} 
nav a:hover {
    color: #f0141e;
} 


/* Fullscreen Hero */
#hero {
    height: 100vh;
    background: url('images/heroMain.JPG') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
#hero h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 4px #000;
}

/* Blurb Section */
#blurb {
    padding: 60px 20px;
    text-align: center;
    background-color: #111;
    color: #fff;
}

/* Image gallery */
#image1 img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Marvel Cards Section */
#characters {
    padding: 60px 20px;
    background-color: #f5f5f5;
}

/* Card Buttons */
.card .btn {
    background-color: #f0141e;
    border: none;
}
.card .btn:hover {
    background-color: #c00b15;
}

/* Contact Section */
#contact {
    padding: 60px 20px;
    text-align: center;
    background-color: #683aa4;
    color: white;
}

/* Footer styling */
/* Compact Footer Styling */
/* Compact Shaded Footer Styling */
footer {
    padding: 15px 10px;
    text-align: center;
    background-color: rgba(0, 0, 0); /* black with 70% opacity */
    color: white;
    font-size: 0.9rem;
    font-family: 'Arial', sans-serif;
    position: relative; /* stays at bottom naturally */
}

footer a {
    color: #ffd700; /* subtle golden link */
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

#hero {
    position: relative;
    height: 100vh; /* full viewport height */
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills screen without stretching */
    z-index: -1; /* behind content */
}

.hero-content {
    position: relative;
    z-index: 1; /* above video */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* kill gap between video and this section */
#hero {
    margin-bottom: 0;
  }
  
  #blurb {
    margin: 0;                /* no white stripe */
    padding: 0;
    position: relative;
  }
  
  .blurb-img-wrapper {
    width: 100%;
    height: 300px;            /* adjust this to how "tall" you want */
    overflow: hidden;         /* cuts the image */
  }
  
  .blurb-img {
    width: 100%;
    height: auto;
    transform: translateY(-50%); /* shifts image up to only show top half */
  }
  
  .blurb-text {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0,0,0,0.6); /* dark overlay behind text */
    padding: 20px;
    border-radius: 8px;
  }
  