/* GENEL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f7f7;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* TOP BAR */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #c0392b;
  padding: 15px 30px;
  flex-wrap: wrap;
  position: relative;
}

.top-bar-left {
  flex: 1;
}

.site-title {
  color: white;
  font-size: 37px;
  font-weight: bold;
  position: relative;
}

/* HEADER */
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);
}

/* PAGE HEADER */
.page-header {
  padding: 30px 40px 10px 40px;
  font-weight: bold;
  max-width: 1200px;
  margin: 0 auto; /* responsive ortalama */
}

.page-header h1 {
  font-size: 2.9rem;
  color: #c0392b;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
}

.page-header p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
  font-weight: bold;
  text-align: center;
}

/* CONTENT */
.content-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px;
  gap: 25px;
  max-width: 1200px;
  margin: 100px auto 0 auto;
  flex-grow: 1;
}

.section {
  flex: 1 1 45%;
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 300px;
  font-weight: bold;
}

.section h2 {
  font-size: 1.8rem;
  color: #c0392b;
  margin-bottom: 15px;
}

.section p,
.section ul {
  font-size: 1.1rem;
  line-height: 1.7;
}

.section ul li {
  margin-bottom: 10px;
}

/* CARD */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #333;
}

.card p {
  flex-grow: 1;
  font-size: 14px;
  color: #555;
}

.card a {
  display: inline-block;
  padding: 10px 15px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  margin-top: 15px;
}

.card a:hover {
  background-color: #555;
}

/* GALLERY */
.photo-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.photo-gallery img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.05);
}

/* INSTAGRAM BUTTON */
.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: 15px 0;
  margin-top: auto;
}

/* REKLAM ALANI */
.reklam, .reklamm {
  border: 2px dashed gray;
  background-color: #f5f5f5;
  padding: 20px;
  margin: 30px auto; /* ortalama */
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 800px; /* responsive sınır */
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .page-header {
    padding: 30px 20px;
  }
nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
  nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.15rem;
  }

  .content-sections {
    padding: 20px;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .site-title { font-size: 22px; }
  header h1 { font-size: 32px; }
nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
  .page-header { padding: 25px 15px; text-align: center; }
  .page-header h1 { font-size: 2.2rem; }
  .page-header p { font-size: 1rem; }

  .section { flex: 1 1 100%; padding: 20px; }
  .card img { height: 150px; }
  .photo-gallery img { width: 90%; max-width: 300px; }
}
nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
@media (max-width: 600px) {
  .site-title { font-size: 20px; }
  header h1 { font-size: 24px; }

  .page-header h1 { font-size: 2rem; }
  .page-header p { font-size: 0.95rem; }

  header nav ul { flex-wrap: wrap; justify-content: space-around; gap: 5px; }
  header nav ul li a { padding: 6px 10px; font-size: 0.9rem; }

  .content-sections { flex-direction: column; padding: 15px; gap: 15px; }
  .section { flex: 1 1 100%; padding: 15px; }

  .card-grid { grid-template-columns: 1fr; gap: 15px; }
  .card img { height: 120px; }
  .photo-gallery img { width: 95%; max-width: 250px; }
  .instagram-button { padding: 10px 18px; font-size: 0.9rem; }
  nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
    
  }
  nav ul li a.medyamiz-link {
    padding: 8px 14px;   /* mobilde biraz daha küçük */
    font-size: 1rem;
  }
}
