/* =========================================================
   MSFL TARİH KULÜBÜ — ANASAYFA
   (Renkler/tema korunarak sadeleştirilmiş final)
========================================================= */

/* ------------------------------
   Anasayfa link/CTA reset
-------------------------------- */
.texts a,
.tarih-aralari a,
.tarihle-bulusuyoruz a,
.tarihte-bugun a,
.aramiza-katil a {
  text-decoration: none;
  color: #fff;
}

.home-button,
.post-button,
.explore-button,
.etkinlik-button,
.bugun-button,
.katil-button {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: 0.3s;
}

/* =========================================================
   1) ANA METİN (texts)
========================================================= */

.texts {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/img/texts-background.png") center/cover no-repeat;
  height: 620px;
  padding: 0 120px;
  padding-top: 25px;
  gap: 50px;
  color: #111;
  margin-top: 25px;

  /* arkaplan stabilizasyonu */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* Sol taraf */
.texts-left {
  flex: 1.75;
  text-align: left;
}

.texts-left h3 {
  font-family: "Cardo", serif;
  font-size: 46px;
  margin-bottom: 15px;
}

/* ✅ Sabit 220px margin yerine daha güvenli hizalama
   (görsel hissi korunur, responsive bozulmaz) */
.signature {
  width: 240px;
  margin: 10px 0 40px auto;
  display: block;
}

.sub-quote {
  font-family: "Cardo", serif;
  font-size: 46px;
  font-weight: 600;
  margin-bottom: 15px;
}

.tughra {
  width: 190px;
  margin-left: auto;
  display: block;
}

/* Orta */
.texts-middle {
  flex: 0 0 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Masaüstü dikey divider */
.divider {
  height: 520px;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
  opacity: 0.9;
  display: block;
}

/* Mobil yatay divider */
.divider-mobile {
  display: none;
  width: 92%;
  max-width: 480px;
  margin: 20px auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.35));
}

/* Sağ taraf */
.texts-right {
  flex: 1;
  text-align: right;
  font-family: "Cardo", serif;
  font-size: 20px;
  line-height: 1.6;
  color: #5b0000;
}

/* ✅ button -> a dönüşümü */
.home-button {
  margin-top: 20px;
  border-radius: 25px;
  padding: 10px 25px;
  background: linear-gradient(180deg, #6d7486, #0a0d13);
  color: #fff;
  font-family: "Arimo", sans-serif;
}

.home-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* =========================================================
   2) TARİHİN SATIR ARALARI
========================================================= */

.tarih-aralari {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url("/img/tarih-aralari_background.png") center/cover no-repeat;
  height: 788px;
  padding: 0 120px;
  color: #111;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.tarih-left {
  flex: 1;
}

.title {
  font-family: "Cardo", serif;
  font-size: 42px;
  font-weight: 700;
}

.subtitle {
  font-family: "Cardo", serif;
  font-size: 24px;
  margin-bottom: 40px;
}

.highlight {
  font-family: "Cardo", serif;
  font-weight: 700;
  font-size: 28px;
  background: linear-gradient(to right, #731919, #e52b2b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
}

.featured-posts {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

/* ✅ Kart + buton orantısı fix */
.post {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 20px;
  max-width: 290px;

  display: flex;
  flex-direction: column;
}

.post h4 {
  font-family: "Aileron", sans-serif;
  font-size: 15.1px;
  font-weight: 700;
  margin-bottom: 10px;
}

.post p {
  font-family: "Aileron", sans-serif;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 20px;

  flex: 1; /* butonu aşağı sabitle */
}

/* ✅ button -> a dönüşümü */
.post-button {
  background: linear-gradient(180deg, #6d7486, #0a0d13);
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-family: "Aileron", sans-serif;
  font-weight: 700;

  display: block;
  width: 100%;
  text-align: center;

  line-height: 1.25;
  white-space: normal;
  min-height: 48px;
}

.post-button:hover {
  filter: brightness(1.08);
  transform: scale(1.03);
}

.explore {
  text-align: center;
  margin-top: 40px;
}

.explore p {
  font-family: "Cardo", serif;
  font-size: 21px;
  font-weight: 700;
  background: linear-gradient(to right, #731919, #e52b2b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

/* ✅ button -> a dönüşümü */
.explore-button {
  background: linear-gradient(180deg, #6d7486, #0a0d13);
  color: #fff;

  border-radius: 25px;
  padding: 10px 25px;
  font-family: "Arimo", sans-serif;
  font-weight: 700;
}

.explore-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.tarih-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* =========================================================
   3) BU YIL TARİHLE BULUŞUYORUZ
   (Mobil hatası burada — desktop hissi korunur)
========================================================= */

.tarihle-bulusuyoruz {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/img/tarihle-bulusuyoruz_background.png") center/cover
    no-repeat;
  height: 788px;
  padding: 0 120px;
  color: #111;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  /* dekor yazı taşması/kayması için güvenli alan */
  position: relative;
  overflow: hidden;
}

.etkinlik-content {
  max-width: 900px;
  text-align: center;

  /* ✅ Desktop yerleşimi korunur */
  margin-left: 550px;

  position: relative;
  z-index: 2;
}

.etkinlik-content .title {
  font-family: "Cardo", serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.etkinlik-content .subtitle {
  font-family: "Cardo", serif;
  font-size: 24px;
  margin-bottom: 50px;
  line-height: 1.5;
}

/* Alt Kısım */
.etkinlik-bottom {
  margin-top: 354px;
  text-align: center;
}

.quote-text {
  font-family: "Cardo", serif;
  font-size: 20px;
  font-weight: 700;
  color: #731919;
  margin-bottom: 25px;
  line-height: 1.6;
}

.quote-text span {
  font-weight: 400;
  font-size: 18px;
  color: #111;
}

/* ✅ button -> a dönüşümü */
.etkinlik-button {
  background: linear-gradient(180deg, #6d7486, #0a0d13);
  color: #fff;
  border-radius: 25px;
  padding: 12px 30px;
  font-family: "Arimo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.etkinlik-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* =========================================================
   4) TARİHTE BUGÜN
========================================================= */

.tarihte-bugun {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url("/img/tarihtebugun_background.png") center/cover no-repeat;
  height: 600px;
  padding: 0 120px;
  color: #111;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}

/* Sol taraf */
.bugun-left {
  margin-right: 50%;
  flex: 1;
}

.tarihte-bugun .title {
  font-family: "Cardo", serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 5px;
}

.tarihte-bugun .subtitle {
  font-family: "Cardo", serif;
  font-size: 24px;
  margin: 0px;
  margin-bottom: 25px;
}

.dates {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.calendar {
  position: relative;
  background: #ffffff;
  color: #111;
  font-family: "Aileron", sans-serif;
  font-weight: 700;
  font-size: 20px;
  border-radius: 8px;
  padding: 18px 14px 10px 14px;
  min-width: 50px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid #ccc;
}

.calendar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(to right, #731919, #e52b2b);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.calendar span {
  position: relative;
  top: 4px;
  display: inline-block;
}

.date-item p {
  font-family: "Cardo", serif;
  font-size: 20px;
  color: #111;
}

.quote {
  font-family: "Cardo", serif;
  font-size: 21px;
  font-weight: 700;
  background: linear-gradient(to right, #731919, #e52b2b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
}

/* ✅ button -> a dönüşümü */
.bugun-button {
  background: linear-gradient(180deg, #6d7486, #0a0d13);
  color: #fff;
  border-radius: 25px;
  padding: 12px 30px;
  font-family: "Arimo", sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.bugun-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* =========================================================
   5) ARAMIZA KATIL
========================================================= */

.aramiza-katil {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/img/aramizakatil_bg.png") center/cover no-repeat;
  height: 480px;
  text-align: center;
  color: #111;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.katil-container {
  max-width: 850px;
}

.katil-title {
  font-family: "Cardo", serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.katil-text {
  font-family: "Cardo", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  background: linear-gradient(to right, #731919, #e52b2b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}

/* ✅ button -> a dönüşümü */
.katil-button {
  background: linear-gradient(180deg, #6d7486, #0a0d13);
  color: #fff;
  border-radius: 25px;
  padding: 14px 40px;
  font-family: "Cardo", serif;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.katil-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Tablet */
@media (max-width: 992px) {
  .texts {
    flex-direction: column;
    text-align: center;
    padding: 100px 40px;
    height: auto;
    gap: 30px;
  }

  .texts-left,
  .texts-right {
    text-align: center;
  }

  .texts-left h3,
  .sub-quote {
    font-size: 32px;
  }

  .signature,
  .tughra {
    width: 190px;
    margin: 0 auto;
  }

  .divider {
    display: none;
  }
  .divider-mobile {
    display: block;
  }
  .texts-middle {
    width: 100%;
  }

  .texts-right {
    font-size: 18px;
  }

  .tarih-aralari {
    flex-direction: column;
    height: auto;
    padding: 60px 40px;
    text-align: center;
  }

  .featured-posts {
    flex-direction: column;
    align-items: center;
  }

  .post {
    max-width: 520px;
    width: 100%;
  }

  .tarih-right {
    display: none;
  }

  .tarihle-bulusuyoruz {
    padding: 60px 40px;
    height: auto;
  }

  /* ✅ Mobil kayma sebebi olan sabit offsetler kırılıyor */
  .etkinlik-content {
    margin-left: 0;
    max-width: 100%;
  }

  .etkinlik-bottom {
    margin-top: 60px;
  }

  .tarihte-bugun {
    flex-direction: column;
    height: auto;
    padding: 60px 40px;
    text-align: center;
    background-position: center center;
  }

  .bugun-left {
    margin-right: 0;
  }

  .aramiza-katil {
    padding: 60px 40px;
    height: auto;
  }

  .katil-title {
    font-size: 32px;
  }

  .katil-text {
    font-size: 20px;
  }

  .katil-button {
    font-size: 20px;
    width: 100%;
  }
}

/* Mobil */
@media (max-width: 600px) {
  .texts {
    padding: 60px 20px;
  }

  .texts-left h3,
  .sub-quote {
    font-size: 26px;
  }

  .texts-right {
    font-size: 16px;
  }

  .post {
    padding: 15px;
  }

  .title {
    font-size: 32px;
  }

  .subtitle {
    font-size: 18px;
  }

  .quote {
    font-size: 18px;
  }

  .katil-title {
    font-size: 28px;
  }

  .katil-text {
    font-size: 18px;
  }

  /* ✅ SADECE bu bölümde mobil arkaplan */
  .tarihle-bulusuyoruz {
    background: url("/img/etkinlikler_anasayfa_mobil.png") center/cover
      no-repeat;
    padding: 40px 20px;
    height: auto;
  }

  .etkinlik-content {
    margin: 0;
    text-align: center;
  }

  .quote-text {
    font-size: 18px;
  }

  /* CTA'lar tam genişlik */
  .home-button,
  .post-button,
  .explore-button,
  .etkinlik-button,
  .bugun-button,
  .katil-button {
    width: 100%;
    text-align: center;
  }
}

.home-button,
.post-button,
.explore-button,
.etkinlik-button,
.bugun-button,
.katil-button {
  background: linear-gradient(180deg, #6d7486, #0a0d13);
  color: #fff;
}
.home-button:hover,
.post-button:hover,
.explore-button:hover,
.etkinlik-button:hover,
.bugun-button:hover,
.katil-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
