/* css styles */

.hero {
  background-image: url("images/hero_banner.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 490px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center; 
  color: white;

  text-shadow: 2px 2px 8px rgba(0,0,0,.7);
}

/* # Black background overlay for hero section
.hero-content {
  background: rgba(0,0,0,.35);
  padding: 2rem 3rem;
  border-radius: 12px;
} */

.hero-content {
  transform: translateY(-24px);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: .5rem;
}

.hero .subtitle {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.hero .date {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Make the navbar logo slightly larger while keeping mobile spacing tidy. */
.navbar-brand img {
  max-height: 56px;
}

@media (max-width: 991px) {
  .navbar-brand img {
    max-height: 44px;
  }
}

/* Three-column grid modifier for nav cards (example poster page). */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3rem 0;
}

/* Two-column grid modifier for nav cards (example workshop page). */
.card-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.nav-card {
  display: block;
  padding: 2rem;
  min-height: 180px;
  border-radius: 12px;
  background: #f5f5f5;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #ddd;
}

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

.nav-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.nav-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.poster-upload-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem auto 1.5rem;
}

.poster-upload-buttons a {
  display: inline-block;
  margin: 0.25rem;
}

.poster-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.poster-card {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  width: min(80%, 420px);
  margin: 0 auto;
}

.poster-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.poster-card p {
  margin: 0.75rem 0 0;
  font-weight: 600;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .poster-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .poster-card {
    width: 100%;
    padding: 0.75rem;
  }
}

