/* === Fullscreen Hero Wrapper === */
.landing-layout {
  position: relative;
  height: 100vh;
  width: 100%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 70%, var(--bg-dark) 80%),
    url("/static/media/app_index_background.webp") center center / cover no-repeat;
  background-blend-mode: overlay;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 0;
  translate: 0 -4rem; /* Adjust vertical position to center hero content */
}

/* === Darkness Overlay === */
.landing-layout::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Adjustable darkness */
  z-index: 0;
  pointer-events: none;
}

/* === Centered Hero Text Block === */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  color: var(--text-light);
  padding: 0 1rem;
  max-width: 90vw;
}

/* Optional: push future scroll content below the full screen hero */
.scroll-reveal-section {
  position: relative;
  z-index: 2;
  background-color: var(--bg-dark);
  padding: 4rem 2rem;
  color: var(--text-light);
}


/* === Ensure All Hero Content Renders Above Overlay === */
.landing-layout > * {
  position: relative;
  z-index: 1;
}

/* === Hero Text Styling === */
.landing-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.landing-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}


/* === Mobile Adjustments === */
@media (max-width: 768px) {
  .landing-title {
    font-size: 2rem;
  }

  .landing-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* === Landing Panel (Below Hero) === */
.landing-panel.centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0rem 1.5rem;
  background-color: transparent; /* Ensure no accidental override */
}

/* === Panel Content === */
.panel-content h2.landing-section-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.panel-content p {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* === Divider Styling === */
.landing-divider {
  border: none;
  border-top: 1px solid var(--text-light);
  opacity: 0.25;
  margin: 2.5rem auto;
  width: 60%;
}

.landing-section-container {
  position: relative;
  padding: 2rem 1rem;
  z-index: 1;
}

.landing-section-container::before {
  /* Optional: add per-section background with a class */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.05; /* Adjust or override per-section */
  z-index: 0;
}

.landing-section-container > * {
  position: relative;
  z-index: 1;
}

