/* =========================================
   HERO (Absolute Collagen style) - Scoped
   Selector: .rc-hero
========================================= */

.rc-hero{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e8e2dd;
  min-height: 560px;
}

/* Medya katmanı */
.rc-hero .rc-hero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rc-hero .rc-hero__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* İçerik katmanı */
.rc-hero .rc-hero__content{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

/* Wrap default (mobil/tablet) */
.rc-hero .rc-hero__wrap{
  width: min(620px, 92%);
  margin-left: clamp(16px, 5vw, 72px);
  margin-bottom: clamp(24px, 6vh, 64px);
  color: #111;
}

/* Trust */
.rc-hero .rc-hero__trust{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rc-hero .rc-hero__stars{
  font-size: 12px;
  line-height: 1;
}

.rc-hero .rc-hero__trustText{
  opacity: .9;
  font-weight: 600;
}

.rc-hero .rc-hero__title{
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0 0 14px 0;
  font-size: clamp(40px, 5vw, 72px);
}

.rc-hero .rc-hero__title * { font-size: inherit; }

.rc-hero .rc-hero__sub{
  margin: 0 0 18px 0;
  font-size: 14px;
  opacity: .9;
}

.rc-hero .rc-hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.rc-hero .rc-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(0,0,0,.45);
  text-decoration: none;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .15s ease;
  background: transparent;
}

.rc-hero .rc-hero__btn--solid{
  background: #fff;
}

.rc-hero .rc-hero__btn--ghost{
  background: transparent;
}

.rc-hero .rc-hero__btn:hover{
  transform: translateY(-1px);
}

/* ==========================================================
   ✅ DESKTOP: Yazı sabit, görsel parallax
========================================================== */
@media (min-width: 992px){
  .rc-hero{
    min-height: 760px;
    height: 120vh;
    --rcBottom: 150px;
  }

  .rc-hero .rc-hero__content{
    position: sticky;
    top: 0;
    height: 100vh;
    align-items: flex-end;
  }

  .rc-hero .rc-hero__wrap{
    margin-bottom: var(--rcBottom);
  }

  .rc-hero .rc-hero__img{
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }
}

/* ==========================================================
   ✅ MOBILE: senin ekran görüntüsü gibi sabit düzen
   - üstte görsel
   - altta sarı blok (yazı+buton)
   - parallax yok
========================================================== */
@media (max-width: 991.98px){
  /* hero artık iki parçalı bir layout */
  .rc-hero{
    min-height: auto;
    height: auto;
    background: #f2d400; /* alt blok sarı */
  }

  /* medya artık absolute değil, üstte normal akışta dursun */
  .rc-hero .rc-hero__media{
    position: relative;
    inset: auto;
    width: 100%;
    height: 52vh;       /* üst görsel yüksekliği */
    min-height: 320px;
    background: #e8e2dd;
  }

  .rc-hero .rc-hero__img{
    height: 100%;
    transform: none !important; /* parallax kapalı */
  }

  /* content artık alttaki sarı blok */
  .rc-hero .rc-hero__content{
    display: block;
    height: auto;
    padding: 22px 16px 26px;
    background: #f2d400;
  }

  .rc-hero .rc-hero__wrap{
    width: 100%;
    margin: 0;
    color: #111;
  }

  .rc-hero .rc-hero__trust{
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .rc-hero .rc-hero__title{
    text-align: center;
    font-size: clamp(34px, 9vw, 46px);
    margin-bottom: 12px;
  }

  .rc-hero .rc-hero__sub{
    text-align: center;
    margin-bottom: 16px;
  }

  .rc-hero .rc-hero__actions{
    justify-content: center;
    gap: 12px;
  }

  /* Butonlar mobile'da geniş */
  .rc-hero .rc-hero__btn{
    height: 46px;
    padding: 0 16px;
    min-width: 170px;
  }
}
