/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-deep:   #0f3d2e;
  --green-mid:    #1a5c3a;
  --green-light:  #246638;
  --green-pale:   #e8f5ee;
  --gold:         #c9a84c;
  --gold-light:   #e8d08a;
  --gold-pale:    #fdf8ec;
  --white:        #ffffff;
  --off-white:    #fafaf8;
  --gray-100:     #f4f4f2;
  --gray-200:     #e8e8e4;
  --gray-500:     #66665c;
  --gray-700:     #4a4a3e;
  --dark:         #1a1a14;
  --radius:       16px;
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
.arabic { font-family: 'Amiri', serif; direction: rtl; text-align: right; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,61,46,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 24px;
  max-width: 1400px; margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; color: var(--white); font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px; background: var(--gold);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-family: 'Amiri', serif; color: var(--green-deep);
  font-weight: 700;
}
.nav-logo-img {
  width: 58px; height: 58px; border-radius: 10px; display: block; flex-shrink: 0;
}
.nav-links { display: flex; gap: 18px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.75); font-size: 1rem; font-weight: 700;
  transition: color .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold); color: var(--green-deep);
  padding: 8px 16px; border-radius: 10px;
  font-weight: 700; font-size: .8rem;
  transition: all .2s; white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.nav-hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--green-deep); z-index: 99; padding: 32px;
  flex-direction: column; gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: white; font-size: 1.1rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .nav-cta { text-align: center; margin-top: 8px; display: block; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--green-deep) 0%, #1a4a30 60%, #0d3020 100%);
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='none' stroke='rgba(201,168,76,0.07)' stroke-width='1'/%3E%3Cpath d='M40 20L60 40L40 60L20 40Z' fill='none' stroke='rgba(201,168,76,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 1;
}
.hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px;
}
.hero-bismillah {
  font-family: 'Amiri', serif;
  font-size: 2rem; color: var(--gold-light);
  margin-bottom: 32px; opacity: .9;
  letter-spacing: .05em;
}
.hero-label {
  display: inline-block;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white); margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.7); max-width: 600px;
  margin: 0 auto 44px; font-weight: 300; line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--green-deep);
  padding: 16px 36px; border-radius: 14px;
  font-weight: 700; font-size: 1rem;
  transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,.5); }
.btn-secondary {
  background: rgba(255,255,255,.1); color: white;
  padding: 16px 36px; border-radius: 14px;
  font-weight: 600; font-size: 1rem; border: 1px solid rgba(255,255,255,.25);
  transition: all .2s; backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: rgba(255,255,255,.18); }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: 48px;
  margin-top: 64px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2rem; font-weight: 700; color: var(--gold-light); font-family: 'Playfair Display', serif; }
.hero-stat-txt { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ============================================
   SECTION ORTAK
   ============================================ */
section { padding: 96px 0; }
.section-label {
  display: inline-block;
  color: var(--green-light); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--dark); margin-bottom: 16px;
}
.section-title em { color: var(--green-light); font-style: normal; }
.section-lead {
  font-size: 1.05rem; color: var(--gray-500);
  max-width: 600px; line-height: 1.8;
}
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin: 20px 0;
}

/* ============================================
   FERAİZ NEDİR
   ============================================ */
.feraiz-nedir { background: var(--off-white); }
.feraiz-nedir-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.feraiz-nedir-text p {
  color: var(--gray-700); margin-bottom: 16px; line-height: 1.85;
}
.feraiz-nedir-text p:last-child { margin-bottom: 0; }

.feraiz-graphic {
  display: flex; align-items: center; justify-content: center;
}
.geometric-art {
  width: 340px; height: 340px; position: relative;
}
.geo-ring {
  position: absolute; border-radius: 50%;
  border: 2px solid;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.geo-ring:nth-child(1) { width: 340px; height: 340px; border-color: rgba(201,168,76,.15); }
.geo-ring:nth-child(2) { width: 260px; height: 260px; border-color: rgba(201,168,76,.25); }
.geo-ring:nth-child(3) { width: 180px; height: 180px; border-color: rgba(45,125,70,.3); }
.geo-ring:nth-child(4) { width: 100px; height: 100px; border-color: rgba(45,125,70,.5); background: rgba(45,125,70,.05); }
.geo-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--green-light), var(--green-deep));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Amiri', serif; font-size: 1.8rem; color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(45,125,70,.4);
}
.geo-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); top: 50%; left: 50%;
}
.geo-dot:nth-child(6)  { transform: translate(-50%,-50%) rotate(0deg)   translateY(-130px); }
.geo-dot:nth-child(7)  { transform: translate(-50%,-50%) rotate(60deg)  translateY(-130px); }
.geo-dot:nth-child(8)  { transform: translate(-50%,-50%) rotate(120deg) translateY(-130px); }
.geo-dot:nth-child(9)  { transform: translate(-50%,-50%) rotate(180deg) translateY(-130px); }
.geo-dot:nth-child(10) { transform: translate(-50%,-50%) rotate(240deg) translateY(-130px); }
.geo-dot:nth-child(11) { transform: translate(-50%,-50%) rotate(300deg) translateY(-130px); }

/* ============================================
   AYET KARTI
   ============================================ */
.ayetler { background: var(--green-deep); }
.ayetler .section-title { color: var(--white); }
.ayetler .section-label { color: var(--gold-light); }
.ayetler .section-lead { color: rgba(255,255,255,.6); }
.ayetler .section-divider { background: linear-gradient(90deg, var(--gold), transparent); }

.ayet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }

.ayet-kart {
  background: rgba(255,255,255,.05); border: 1px solid rgba(201,168,76,.2);
  border-radius: 20px; padding: 32px;
  transition: all .25s;
  position: relative; overflow: hidden;
}
.ayet-kart::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.ayet-kart:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.ayet-ref {
  display: inline-block;
  background: rgba(201,168,76,.15); color: var(--gold-light);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 6px; margin-bottom: 20px;
  text-transform: uppercase;
}
.ayet-arabic {
  font-family: 'Amiri', serif; font-size: 1.45rem;
  color: var(--gold-light); line-height: 2.2;
  text-align: right; direction: rtl;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.ayet-turkce {
  font-size: .92rem; color: rgba(255,255,255,.75);
  line-height: 1.85; font-style: italic;
  margin-bottom: 16px;
}
.ayet-kaynak {
  font-size: .78rem; color: rgba(255,255,255,.4);
  display: flex; align-items: center; gap: 6px;
}
.ayet-kaynak::before { content: '—'; }

/* ============================================
   HADİSLER
   ============================================ */
.hadisler { background: var(--gold-pale); }
.hadis-list { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; }

.hadis-kart {
  background: var(--white); border-radius: 20px;
  padding: 36px 40px; box-shadow: var(--shadow);
  border-left: 5px solid var(--gold);
  position: relative;
}
.hadis-kart::after {
  content: '"';
  position: absolute; top: 20px; right: 32px;
  font-size: 6rem; color: rgba(201,168,76,.1);
  font-family: 'Playfair Display', serif; line-height: 1;
}
.hadis-arabic {
  font-family: 'Amiri', serif; font-size: 1.55rem;
  color: var(--green-deep); line-height: 2.2;
  text-align: right; direction: rtl;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.hadis-turkce {
  font-size: 1rem; color: var(--gray-700);
  line-height: 1.85; font-style: italic;
  margin-bottom: 18px;
}
.hadis-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.hadis-ravi, .hadis-kaynak {
  font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.hadis-ravi { color: var(--green-mid); }
.hadis-ravi::before { content: '👤'; font-size: .9rem; }
.hadis-kaynak { color: var(--gold); }
.hadis-kaynak::before { content: '📖'; font-size: .9rem; }

/* ============================================
   NEDEN ÖNEMLİ
   ============================================ */
.neden { background: var(--off-white); }
.neden-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 48px;
}
.neden-kart {
  background: var(--white); border-radius: 18px;
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: all .25s; border-top: 3px solid transparent;
}
.neden-kart:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--green-light); }
.neden-ikon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 18px;
}
.neden-kart h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--dark); }
.neden-kart p { font-size: .88rem; color: var(--gray-500); line-height: 1.75; }

/* ============================================
   MİRAS PAYLARI TABLOSU
   ============================================ */
.mirasci-tablosu { background: var(--white); }
.tablo-wrap { overflow-x: auto; margin-top: 40px; border-radius: 16px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead { background: var(--green-deep); color: white; }
thead th { padding: 16px 20px; text-align: left; font-weight: 600; font-size: .82rem; letter-spacing: .03em; }
tbody tr { border-bottom: 1px solid var(--gray-100); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--green-pale); }
tbody td { padding: 14px 20px; color: var(--gray-700); font-size: .88rem; }
tbody td:first-child { font-weight: 600; color: var(--dark); }
.pay-badge {
  display: inline-block; background: var(--green-pale);
  color: var(--green-mid); font-weight: 700; font-size: .8rem;
  padding: 3px 10px; border-radius: 6px;
}

/* ============================================
   NASIL KULLANILIR
   ============================================ */
.nasil { background: linear-gradient(160deg, var(--green-pale) 0%, var(--off-white) 100%); }
.adimlar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; margin-top: 48px; position: relative;
}
.adimlar::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-light), transparent);
  z-index: 0;
}
.adim-kart {
  background: var(--white); border-radius: 18px;
  padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow); position: relative; z-index: 1;
  transition: all .25s;
}
.adim-kart:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.adim-no {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-deep); color: var(--gold-light);
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(15,61,46,.3);
}
.adim-kart h3 { font-size: .95rem; margin-bottom: 8px; color: var(--dark); }
.adim-kart p { font-size: .82rem; color: var(--gray-500); line-height: 1.65; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green-deep) 0%, #1e5c38 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='28' fill='none' stroke='rgba(201,168,76,0.06)' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='16' fill='none' stroke='rgba(201,168,76,0.04)' stroke-width='1'/%3E%3C/svg%3E");
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 16px; position: relative; }
.cta-section p { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 500px; margin: 0 auto 40px; position: relative; }
.cta-section .btn-primary { font-size: 1.1rem; padding: 18px 44px; position: relative; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark); color: rgba(255,255,255,.5);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .88rem; line-height: 1.75; margin-top: 14px; max-width: 300px; }
.footer-col h3 { color: white; font-size: .9rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .8rem;
}
.footer-bottom a:hover { color: var(--gold-light); }
.footer-uyari {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 14px 20px; font-size: .8rem;
  color: rgba(255,255,255,.35); margin-bottom: 32px; line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .feraiz-nedir-grid { grid-template-columns: 1fr; gap: 40px; }
  .feraiz-graphic { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .adimlar::before { display: none; }
  .hadis-kart { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
