/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f7f7;
  color: #222;
}

/* Üst Menü */
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);
}

/* İçerik */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.haber {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.haber h2 {
  font-size: 2rem;
  color: #c0392b;
  margin-bottom: 20px;
  text-align: center;
}

.haber article {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.haber article:hover {
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.4);
}

.haber article h3 {
  font-size: 1.5rem;
  color: #c0392b;
  margin-bottom: 10px;
}

.haber article p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* Instagram Butonu */
.instagram-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff6600;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  z-index: 999;
}



/* 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 */
}




.instagram-button:hover {
  background-color: #8928ca;
}

/* Footer */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Tablet ve altı cihazlar için (768px) */
@media (max-width: 768px) {
  header h1 {
    font-size: 28px;
    text-align: center;
  }

  header nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 5px;
  }

  nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
  header nav ul li a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .button {
    width: auto;
    padding: 10px 12px;
  }

  main {
    margin: 20px auto;
    padding: 0 15px;
  }

  .haber h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .haber article h3 {
    font-size: 1.3rem;
  }

  .haber article p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .instagram-button {
    bottom: 15px;
    right: 15px;
    padding: 10px 16px;
    font-size: 14px;
  }

  footer {
    font-size: 0.8rem;
    padding: 15px;
  }
}

/* Küçük telefonlar için (500px ve altı) */
@media (max-width: 500px) {
  .site-title {
    font-size: 22px;
  }
nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
  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;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  header nav ul li a {
    padding: 5px 8px;
    font-size: 0.85rem;
  }

  .button {
    width: auto;
    padding: 10px 12px;
  }

  .haber h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .haber article h3 {
    font-size: 1.1rem;
  }

  .haber article p {
    font-size: 0.9rem;
  }
}
