html, body {
  overflow-x: hidden;
}

@font-face {
  font-family: "Amiri";
  src: url("fonts/Amiri-Regular.ttf") format("ttf"),
       url("fonts/Amiri-Bold.ttf") format("ttf");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Scheherazade';
  src: url('fonts/ScheherazadeNew-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.5;
  margin: 0;
}

.site-header {
  text-align: center;
  padding: 20px 15px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.site-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.author, .editor {
  margin: 5px 0;
  font-size: 1rem;
  font-weight: bold;
  color: #555;
}

.content {
  max-width: 900px;
  margin: auto;
  padding: 25px 15px;
}

h2 {
  margin-top: 20px;
  font-size: 1.1rem;
  text-align: left;
  border-bottom: 2px solid #ddd;
  padding-bottom: 4px;
  color: #0000CC;
}

h3 {
  margin-top: 20px;
  font-size: 1.0rem;
  text-align: left;
  border-bottom: 0px solid #ddd;
  padding-bottom: 4px;
  color: #000000;
}

.besmele {
  font-family: "Scheherazade", "Amiri", serif !important;
  text-align: center !important;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
  
  padding-bottom: 4px;
}

/* Tevhid YapÄ±sÄ± */
/* Konteyner */
.tevhid-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0px 16px;
  border-radius: 18px;
  /*overflow: hidden;*/

  /* Hafif altÄ±n zemin */
  background: linear-gradient(
    135deg,
    #faf4d8,
    #f1e6b8,
    #faf4d8
  );
}

/* Ã‡ok hafif desen dokusu */
.tevhid-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.04) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

/* Halo (nur halkasÄ±) â€“ gÃ¼Ã§lendirilmiÅŸ */
.tevhid-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  width: 360px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(255,215,120,0.55),
    rgba(255,215,120,0.15) 40%,
    transparent 75%
  );
  filter: blur(22px);
  animation: haloNefes 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}


/* Tevhid YazÄ±sÄ± */
.tevhid {
  position: relative;
  z-index: 1;
  font-family: "Amiri", "Scheherazade", serif !important;
  direction: rtl;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.2;
  font-size: 2.2rem;
  text-align: center !important;

  /* AltÄ±n yazÄ± gradyanÄ± */
  background: linear-gradient(
    180deg,
    #fff9d8,
    #e6c45a,
    #a9821e
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: nefes 4.8s ease-in-out infinite;
  transition: transform 0.6s ease, text-shadow 0.6s ease;
}

/* Hover nur artÄ±ÅŸÄ± */
.tevhid-wrap:hover .tevhid {
  text-shadow:
    0 0 14px rgba(255,215,120,0.8),
    0 0 32px rgba(255,215,120,0.5);
  transform: scale(1.035);
}

/* Nefes alan Ä±ÅŸÄ±k animasyonu */
@keyframes nefes {
  0%   { filter: brightness(0.92); }
  50%  { filter: brightness(1.12); }
  100% { filter: brightness(0.92); }
}

/* Halo nefesi */
@keyframes haloNefes {
  0%   { transform: scale(0.9); opacity: 0.35; }
  50%  { transform: scale(1.05); opacity: 0.55; }
  100% { transform: scale(0.9); opacity: 0.35; }
}

/* í ½í³± Mobil Ã¶lÃ§ek */
@media (max-width: 600px) {
  .tevhid {
    font-size: 1.6rem;
    line-height: 2.0;
  }
}


/* 1. Genel Ayar (PC / MasaÃ¼stÃ¼ iÃ§in) */
.salavat {
  display: inline-block;
  font-size: 1.2em;
  line-height: 0;
  vertical-align: middle;
  position: relative;
  top: -0.10em;  /* PC'de aÅŸaÄŸÄ± iterek dengelediÄŸiniz deÄŸer */
  margin: 0 1px;
}

/* 2. Mobil Ayar (Telefon ve Tabletler iÃ§in) */
/* Ekran geniÅŸliÄŸi 768 pikselden kÃ¼Ã§Ã¼kse bu kural geÃ§erli olur */
@media (max-width: 768px) {
  .salavat {
    top: -0.15em; /* Mobilde yukarÄ± Ã§ekerek dengelediÄŸiniz deÄŸer */
    font-size: 1.1em; /* Mobilde satÄ±r arasÄ± daha dar olduÄŸu iÃ§in hafif kÃ¼Ã§Ã¼ltmek uyumu artÄ±rÄ±r */
  }
}

/* Sayfa OrtasÄ±ndaki Vurgulu Metinler (Ayet, Hadis, Kelime-i Tevhid) */
.content .ayet-hadis {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0rem;
  text-align: center;
  font-weight: bold;
  margin: 10px 2px 10px 2px;
  display: block;
  hyphens: none; /* Kelimelerin bÃ¶lÃ¼nmesini engellemek iÃ§in */
}

.site-footer {
  text-align: center;
  padding: 15px;
  font-size: 0.85rem;
  color: #666;
}

.content p {
  margin-top: 2px;
  margin-bottom: 3px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.content section {
  text-align: justify;
}

/* =========================
   Dil DeÄŸiÅŸtirme DÃ¼ÄŸmesi
   ========================= */

.lang-switch {
  position: sticky;
  top: 10px;
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px;
  z-index: 999;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.lang-ar {
  font-family: "Amiri", "Scheherazade", serif;
  font-size: 1rem;
  direction: rtl;
}

.lang-tr {
  font-family: inherit;
}

/* Mobil */
@media (max-width: 600px) {
  .lang-btn {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}

