/* GENEL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f7f7;
  color: #222;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #c0392b;
  padding: 15px 20px;
}

header h1 {
  color: white;
  font-size: 37px;
  font-weight: bold;
  margin-bottom: 15px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  background-color: #c0392b;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
  background-color: #ff5c5c;
  color: white;
  box-shadow: 0 0 15px rgba(255, 92, 92, 0.8);
  transform: scale(1.05);
}

/* SAYFA BAŞLIĞI */
.page-header {
  padding: 30px 40px 10px 40px;
  font-weight: 700;
  max-width: 1200px;
  margin: 40px auto 20px auto;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  color: #c0392b;
  margin-bottom: 10px;
}

/* GENEL İÇERİK */
.content-sections {
  max-width: 1000px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

/* HABERLER GENEL */
.haber {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  transition: box-shadow 0.3s ease;
}

.haber:hover {
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.4);
}

.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #000;
}

.video-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.haber-info {
  padding: 15px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.haber-info h2 {
  font-size: 1.5rem;
  color: #c0392b;
  margin-bottom: 8px;
}

.tarih {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
  font-weight: 500;
}

.aciklama {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
}

/* İNSTAGRAM BUTONU */
.instagram-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff6600;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  z-index: 999;
}

.instagram-button:hover {
  background-color: #8928ca;
}

/* FOOTER */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* HABER BOYUTLARI */

/* BÜYÜK HABERLER (2x2 GRID) */
.haber-listesi-buyuk {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.haber.buyuk .video-wrapper img {
  height: 350px;
}

/* ORTA HABERLER (ALT ALTA) */
.haber-listesi-orta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.haber.orta .video-wrapper img {
  height: 500px;
  width: 1200px;
}

/* KÜÇÜK HABERLER (2x2 GRID) */
.haber-listesi-kucuk {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.haber.kucuk .video-wrapper img {
  height: 150px;
}

/* HOVER VE LINKLER */
.haber-info h2 a {
  text-decoration: none;
  color: inherit;
}

.haber-info h2 a:hover {
  text-decoration: underline;
}

/* REKLAM ALANI */
.reklam-alani {
  margin: 30px 0;
  padding: 20px;
  background-color: #f5f5f5;
  text-align: center;
  border: 2px dashed #ccc;
  font-style: italic;
  color: gray;
}


/* Teakwondo sayfası görselleri eşitleme */
.taekwando-foto {
  width: 100%;        /* Konteynerin genişliğini kaplasın */
  max-width: 600px;   /* Maksimum genişlik */
  height: auto;       /* Oranları koru */
  display: block;
  margin: 15px auto;  /* Ortala ve üst-alt boşluk */
  border-radius: 12px; /* Köşeleri yuvarlat */
  object-fit: cover;   /* Görsel taşmalarını önle */
}





/* Reklam Verin sayfası */
.reklamverin-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border: 2px dashed gray;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: left;
  line-height: 1.6;
}

.reklamverin-container h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.reklamverin-container h2 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: #444;
  font-size: 22px;
}

.reklamverin-container p {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
}

.reklamverin-container ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.reklamverin-container ul li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #555;
}

.reklamverin-container a.contact-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.reklamverin-container a.contact-link:hover {
  background-color: #0056b3;
}





/* Haberler arasındaki reklam alanı */
.reklam {
  border: 2px dashed gray;      /* Etrafı aralıklı gri çizgi */
  background-color: #f5f5f5;   /* Hafif gri arka plan */
  padding: 20px;                /* İç boşluk */
  margin: 30px 0;               /* Haberlerden aralık bırak */
  text-align: center;           /* Yazıyı ortala */
  font-weight: bold;            /* Yazıyı kalın yap */
  font-size: 18px;              /* Yazı boyutu */
  color: #333;                  /* Yazı rengi */
  border-radius: 8px;           /* Köşeleri hafif yuvarlat */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Hafif gölge */
}


/* --- Haber Sayfaları İçin Ek Stil --- */
main {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.haber h2 {
  color: #c0392b;
  margin-bottom: 10px;
}

.haber .tarih {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
  display: block;
}

.haber-gorsel {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.haber p {
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 15px;
}

.etiket {
  margin-top: 25px;
  font-style: italic;
  color: #555;
}




.haber-gorsel-kucuk {
  width: 30%;        /* daha dar olacak */
  max-height: 300px; /* fazla büyük olmasın */
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 10px auto; /* ortalansın */
}






/* Normal menü linkleri */
nav ul li a {
  color: #222;
  text-decoration: none;
  padding: 10px 15px;
  transition: 0.3s;
}

/* Medyamız linki özel */
nav ul li a.medyamiz-link {
  color: white; 
  background-color: #007bff; /* parlak mavi */
  border-radius: 6px;
  font-weight: bold;
}

/* Hover efekti de güzel olur */
nav ul li a.medyamiz-link:hover {
  background-color: #0056b3; /* daha koyu mavi */
}



















@media (max-width: 992px) {
  .site-title {
    font-size: 22px;
  }

  header h1 {
    font-size: 24px;
  }

  .page-header h1 {
    font-size: 26px;
    margin: 15px auto;
  }

  .page-header p {
    font-size: 0.9rem;
    margin: 8px auto;
    text-align: center;
  }
nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
  .section h2 {
    font-size: 1.4rem;
  }

  header nav ul li a {
    padding: 5px 8px;
    font-size: 0.85rem;
  }


/* Tabletler: ekran 992px veya daha dar ise */
  .reklamverin-container,
  .reklam {
    max-width: 700px;       /* Daha dar alan */
    padding: 25px;          /* İç boşluk azalıyor */
    font-size: 17px;        /* Yazı biraz küçülüyor */
    margin: 25px auto;      /* Ortalanıyor */
  }

  .reklamverin-container h2 {
    font-size: 20px;
  }

  .reklam p,
  .reklamverin-container p,
  .reklam ul li {
    font-size: 16px;
  }







  /* Header ve Sayfa başlığı zaten uygun */

  /* Büyük haberler: 2 sütun grid */
  .haber-listesi-buyuk {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Büyük haber yazıları */
  .haber.buyuk .haber-info h2 {
    font-size: 1.3rem;
  }
  .haber.buyuk .aciklama {
    font-size: 0.95rem;
    line-height: 1.3;
  }



  .haber-gorsel {
    width: 100%;   /* büyük görsel ekranı kaplasın */
    max-height: 300px;
  }


  .haber-gorsel-kucuk {
    width: 60%;    /* küçük görsel de daha geniş olsun mobilde */
    max-height: 200px;
  }
}




  /* Orta haberler: alt alta */
  .haber.orta .video-wrapper img { width: 100%; height: auto; }
  .haber.orta .haber-info h2 {
    font-size: 1.2rem;
  }
  .haber.orta .aciklama {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  /* Küçük haberler: 2 sütun grid */
  .haber-listesi-kucuk {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .haber.kucuk .haber-info h2 {
    font-size: 1rem;
  }
  .haber.kucuk .aciklama {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  /* Resim oranları otomatik */
  .haber.buyuk .video-wrapper img,
  .haber.orta .video-wrapper img,
  .haber.kucuk .video-wrapper img { width: 100%; height: auto; }


@media (max-width: 576px) {

  .site-title {
    font-size: 22px;
  }

  header h1 {
    font-size: 24px;
  }

  .page-header h1 {
    font-size: 26px;
    margin: 15px auto;
  }
nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
  .page-header p {
    font-size: 0.9rem;
    margin: 8px auto;
    text-align: center;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  header nav ul li a {
    padding: 5px 8px;
    font-size: 0.85rem;
  }


.reklamverin-container,
  .reklam {
    max-width: 100%;        /* Ekranı tamamen kaplar */
    padding: 15px;          /* İç boşluk daha da küçülür */
    font-size: 15px;        /* Yazı boyutu küçülür */
    margin: 20px auto;
  }

  .reklamverin-container h2 {
    font-size: 18px;
  }

  .reklam p,
  .reklamverin-container p,
  .reklam ul li {
    font-size: 14px;
  }

  .reklamverin-container a.contact-link,
  .reklam a.contact-link {
    padding: 8px 12px;
    font-size: 14px;
  }


  /* Header ve Sayfa başlığı */
  header h1 { font-size: 22px; }
  .page-header h1 { font-size: 26px; }

  /* Büyük haberler: 2x2 grid */
  .haber-listesi-buyuk {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .haber.buyuk .haber-info h2 {
    font-size: 1.2rem;
  }
  .haber.buyuk .aciklama {
    font-size: 0.9rem;
    line-height: 1.2;
  }


  .haber h2 {
    font-size: 22px;
  }


  .haber p {
    font-size: 15px;
  }


  /* Orta haberler: alt alta */
  .haber.orta .video-wrapper img { width: 100%; height: auto; }
  .haber.orta .haber-info h2 {
    font-size: 1.1rem;
  }
  .haber.orta .aciklama {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  /* Küçük haberler: 2 sütun grid, alt alta geçiş */
  .haber-listesi-kucuk {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .haber.kucuk .haber-info h2 {
    font-size: 0.95rem;
  }
  .haber.kucuk .aciklama {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  /* Resim oranları otomatik */
  .haber.buyuk .video-wrapper img,
  .haber.orta .video-wrapper img,
  .haber.kucuk .video-wrapper img { width: 100%; height: auto; }

  /* Instagram butonu ve footer */
  .instagram-button { padding: 10px 14px; font-size: 14px; bottom: 15px; right: 15px; }
  footer { font-size: 0.8rem; padding: 15px; }
}
