/* NEREYE: wp-content/themes/cay-tema/assets/css/hero.css
   AÇIKLAMA: Ana sayfa hero görseli, hero metni, CTA butonları ve eski .hero-banner alanları. */

/* ============================================
   HERO BANNER
============================================ */
.hero-banner {
  background: linear-gradient(135deg, var(--yesil-koyu) 0%, var(--yesil) 50%, var(--yesil-acik) 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-desen {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(200, 168, 75, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero-yaprak {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 320px;
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

.hero-icerik {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-etiket {
  display: inline-block;
  background: var(--sari);
  color: var(--yesil-koyu);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-baslik {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--beyaz);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-baslik span {
  font-family: var(--yazi-aksent);
  color: var(--sari-acik);
  font-size: 1.15em;
}

.hero-metin {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-butonlar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-birincil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sari);
  color: var(--yesil-koyu);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  transition: var(--gecis);
  border: 2px solid var(--sari);
  box-shadow: 0 4px 20px rgba(200, 168, 75, 0.35);
}

.btn-birincil:hover {
  background: var(--sari-acik);
  color: var(--yesil-koyu);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 168, 75, 0.45);
}

.btn-ikincil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--beyaz);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--gecis);
}

.btn-ikincil:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--beyaz);
  border-color: rgba(255, 255, 255, 0.7);
}



/* ============================================
   AHIDEM HOME HERO
   Front-page.php içindeki .ahidem-hero alanı için.
============================================ */
.ahidem-hero {
  position: relative;
  min-height: calc(100vh - 145px);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ahidem-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 24, 8, .26) 0%, rgba(9, 24, 8, .42) 100%),
    radial-gradient(circle at center, rgba(0, 0, 0, .04) 0%, rgba(0, 0, 0, .46) 100%);
}

.ahidem-hero__content {
  position: relative;
  z-index: 2;
  width: min(1020px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  text-align: center;
  color: #fff;
}

.ahidem-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .13);
  color: #F5D277;
  backdrop-filter: blur(12px);
  font-family: var(--yazi-metin);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
}

.ahidem-hero__title {
  max-width: 980px;
  margin: 0 auto 20px;
  color: #fff;
  font-size: clamp(42px, 4.8vw, 78px);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .25);
}

.ahidem-hero__text {
  max-width: 720px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, .92);
  font-family: var(--yazi-metin);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.7;
  text-shadow: 0 6px 20px rgba(0, 0, 0, .20);
}

.ahidem-hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ahidem-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--yazi-metin) !important;
  font-size: 16px;
  font-weight: 500 !important;
  letter-spacing: -.01em;
  line-height: 1;
  text-decoration: none;
  transition: var(--gecis);
  will-change: transform;
}

.ahidem-hero__btn--primary {
  background: var(--sari);
  color: var(--yesil-koyu);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.ahidem-hero__btn--primary:hover {
  background: #fff;
  color: var(--yesil-koyu);
  transform: translateY(-2px);
}

.ahidem-hero__btn--secondary {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  backdrop-filter: blur(12px);
}

.ahidem-hero__btn--secondary:hover {
  background: #fff;
  color: var(--yesil-koyu);
  transform: translateY(-2px);
}

.ahidem-hero__trust {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ahidem-hero__trust span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .20);
  color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  font-family: var(--yazi-metin);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 768px) {
  body.ahidem-nav-open .ahidem-hero,
  body.ahidem-nav-open .ahidem-hero * {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
  }

  body.ahidem-nav-open .ahidem-hero__eyebrow,
  body.ahidem-nav-open .ahidem-hero__btn--secondary,
  body.ahidem-nav-open .ahidem-hero__trust span {
    background: rgba(255, 255, 255, .18) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
