/* AlexBuilder parallax full-bleed image section */

.b-parallax {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* valign-middle default */
  align-items: center;
  width: 100%;
  overflow: hidden;
  color: #f3efe8;
}

.b-parallax--valign-top { justify-content: flex-start; }
.b-parallax--valign-middle { justify-content: center; }
.b-parallax--valign-bottom { justify-content: flex-end; }

.b-parallax--height-full {
  min-height: max(560px, 100vh);
  min-height: max(560px, 100svh);
}
.b-parallax--height-tall {
  min-height: 80vh;
  min-height: 80svh;
}
.b-parallax--height-medium {
  min-height: 60vh;
  min-height: 60svh;
}

.b-parallax__media {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.b-parallax__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.b-parallax__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b1a17 0%, #2b2822 50%, #141310 100%);
}

.b-parallax__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0, calc(var(--overlay, 0.35) * .85)), rgba(0,0,0, calc(var(--overlay, 0.35) * 1.25)));
}

.b-parallax__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.b-parallax--align-left .b-parallax__content { align-items: flex-start; text-align: left; }
.b-parallax--align-center .b-parallax__content { align-items: center; text-align: center; }
.b-parallax--align-right .b-parallax__content { align-items: flex-end; text-align: right; }

.b-parallax__kicker {
  margin-bottom: 16px;
  font-family: 'Oswald', 'Roboto Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 13px;
  font-weight: 500;
}

.b-parallax__title {
  margin: 0 0 20px;
  font-family: 'Playfair Display', Georgia, serif; /* default serif */
  font-weight: 900;
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .45);
}

.b-parallax__subtitle {
  max-width: 52ch;
  margin: 0 0 28px;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.b-parallax__cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #15130f;
  color: #ff9a1e;
  border: 1px solid rgba(255, 154, 30, .45);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.b-parallax__cta:hover,
.b-parallax__cta:focus-visible {
  background: #ff9a1e;
  color: #15130f;
  border-color: #ff9a1e;
  outline: 2px solid #ff9a1e;
  outline-offset: 3px;
}

/* Color variants */
.b-parallax--color-light { color: #f3efe8; }
.b-parallax--color-dark { color: #15130f; }
.b-parallax--color-amber { color: #ff9a1e; }
.b-parallax--color-glow { color: #c9ff3d; }

.b-parallax--color-dark .b-parallax__cta,
.b-parallax--color-amber .b-parallax__cta,
.b-parallax--color-glow .b-parallax__cta {
  background: #ff9a1e;
  color: #15130f;
  border-color: #ff9a1e;
}
.b-parallax--color-amber .b-parallax__cta:hover,
.b-parallax--color-amber .b-parallax__cta:focus-visible,
.b-parallax--color-glow .b-parallax__cta:hover,
.b-parallax--color-glow .b-parallax__cta:focus-visible,
.b-parallax--color-dark .b-parallax__cta:hover,
.b-parallax--color-dark .b-parallax__cta:focus-visible {
  background: #15130f;
  color: #ff9a1e;
  border-color: #15130f;
  outline-color: #ff9a1e;
}

/* Size variants */
.b-parallax--size-s .b-parallax__title { font-size: clamp(28px, 4vw, 44px); }
.b-parallax--size-m .b-parallax__title { font-size: clamp(36px, 5vw, 64px); }
.b-parallax--size-l .b-parallax__title { font-size: clamp(44px, 6vw, 96px); }
.b-parallax--size-xl .b-parallax__title { font-size: clamp(56px, 7vw, 132px); }

/* Font variants */
.b-parallax--font-serif .b-parallax__title { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-style: normal; }
.b-parallax--font-sans .b-parallax__title { font-family: 'Montserrat', system-ui, 'Helvetica Neue', sans-serif; font-weight: 800; font-style: normal; }
.b-parallax--font-condensed .b-parallax__title { font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-style: normal; }
.b-parallax--font-slab .b-parallax__title { font-family: 'Roboto Slab', Georgia, serif; font-weight: 800; font-style: normal; }
.b-parallax--font-modern .b-parallax__title { font-family: 'Fira Sans', 'Segoe UI', sans-serif; font-weight: 800; font-style: normal; }
.b-parallax--font-rounded .b-parallax__title { font-family: 'Comfortaa', 'Trebuchet MS', sans-serif; font-weight: 700; font-style: normal; }
.b-parallax--font-classic .b-parallax__title { font-family: 'Noto Serif', Georgia, serif; font-weight: 800; font-style: italic; }

/* Responsive */
@media (max-width: 640px) {
  .b-parallax__content {
    padding: 90px 16px;
  }
  .b-parallax__kicker {
    letter-spacing: .22em;
    font-size: 12px;
    margin-bottom: 12px;
  }
  .b-parallax__subtitle {
    font-size: 15px;
    line-height: 1.45;
  }
  .b-parallax__cta {
    padding: 11px 22px;
    font-size: 13px;
  }
}

/* Reduced motion: JS skips, but ensure no transform */
@media (prefers-reduced-motion: reduce) {
  .b-parallax__media {
    transform: none !important;
    will-change: auto;
  }
}
