/**
 * Classes Hero Block Styles
 * Updated to banner style with background image
 */

.classes-hero-block {
  position: relative;
  margin-bottom: 4rem;
  background-color: #333; /* Fallback color */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 4rem 1.5rem;

  /* Force full viewport width */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Dark overlay to ensure text readability */
.classes-hero-block .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  z-index: 1;
}

.classes-hero-block .hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 976px; /* Increased width for single-line title */
  margin: 0 auto;
  text-align: center; /* Center text like the inspiration */
}

.classes-hero-block .hero-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .classes-hero-block .hero-headline {
    font-size: 3.5rem;
  }
}

.classes-hero-block .hero-description {
  color: #f0f0f0;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 845px; /* Increased from 600px */
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .classes-hero-block .hero-description {
    font-size: 1.25rem;
  }
}

.classes-hero-block .hero-button-wrapper {
  margin-bottom: 2rem;
}

.classes-hero-block .hero-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #ff6a13;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, background-color 0.2s;
  text-decoration: none;
  border: 2px solid #ff6a13;
}

.classes-hero-block .hero-button:hover {
  background-color: #e55a0a;
  border-color: #e55a0a;
  transform: translateY(-2px);
}

.classes-hero-block .hero-features {
  color: #e0e0e0;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.classes-hero-block .hero-proof {
  color: #e0e0e0;
  font-size: 0.9rem;
  font-weight: 500;
}

.classes-hero-block .hero-proof strong {
  font-weight: 700;
  color: #ffffff;
}
