/* Page Hero – teljes képernyős, rögzített háttérkép */

.cc-page-hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cc-page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;  /* rögzített parallax */
  z-index: 0;
}

.cc-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 14, var(--overlay-opacity, 0.45));
  z-index: 1;
}

.cc-page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px 25px;
  margin-top: 8vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cc-page-hero__heading {
  font-family: var(--cc-font-heading);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 300;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin: 0;
}

.cc-page-hero__subtitle {
  font-family: var(--cc-font-body);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 300;
  font-style: normal;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  letter-spacing: 0.12em;
}

.cc-page-hero__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--cc-font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-top: 20px;
  transition: color 0.3s, gap 0.3s;
}

.cc-page-hero__btn::after {
  content: '↓';
  font-size: 18px;
  font-family: var(--cc-font-body);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s;
}

.cc-page-hero__btn:hover {
  color: #ffffff;
  gap: 14px;
}

.cc-page-hero__btn:hover::after {
  transform: translateY(4px);
  color: var(--cc-taupe);
}

@media (max-width: 768px) {
  .cc-page-hero__bg {
    background-attachment: scroll; /* iOS nem támogatja a fixed-et */
  }
}
