.promo-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: white;
  overflow: hidden;
}

.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Overlay for text readability */
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
}

.banner-headline {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.banner-subheadline {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.banner-button {
  display: inline-block;
  background-color: orange;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.banner-button:hover {
  background-color: #ff7700;
}

.unsplash-credit {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 0.75rem;
  z-index: 2;
  color: white;
}

.unsplash-credit a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

.unsplash-credit a:hover {
  text-decoration: underline;
  opacity: 1;
}

.note-text {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 0.75rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  opacity: 0.85;
}

/* Show/hide helpers */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Improved Mobile Layout */
@media (max-width: 768px) {
  .promo-banner {
    height: auto;
    min-height: 100vh;
    padding: 3rem 1rem 6rem; /* bottom space for credit */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .banner-headline {
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: center;
  }

  .banner-subheadline {
    font-size: 1rem;
    text-align: center;
    max-width: 90%;
  }

  .banner-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
  }

  .note-text {
    position: relative;
    top: auto;
    left: auto;
	margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    width: fit-content;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    z-index: 2;
  }

  .unsplash-credit {
    font-size: 0.65rem;
    bottom: 10px;
    left: 10px;
    right: auto;
    text-align: left;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}