/* Basında Biz Sayfası Özel CSS */

/* Basın Filtreleri */
.press-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background-color: #f0f0f0;
  border: none;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: rgba(0, 109, 119, 0.1);
}

.filter-btn.active {
  background-color: #006d77;
  color: white;
}

/* Basın Öğeleri */
.press-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.press-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.press-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.press-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.press-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.press-item:hover .press-image img {
  transform: scale(1.05);
}

.press-category {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #006d77;
  color: white;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

.press-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.press-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #006d77;
}

.press-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

.press-source {
  font-weight: 600;
}

.press-excerpt {
  margin-bottom: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.btn-read-more, .btn-source {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-read-more {
  background-color: #006d77;
  color: white;
}

.btn-read-more:hover {
  background-color: #004f52;
  color: white;
  text-decoration: none;
}

.btn-source {
  background-color: #f0f0f0;
  color: #333;
}

.btn-source:hover {
  background-color: #e0e0e0;
  color: #333;
  text-decoration: none;
}

.btn-read-more i, .btn-source i {
  margin-right: 8px;
}

/* Makale Modalı */
.article-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.article-content {
  background-color: white;
  margin: 50px auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  position: relative;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #333;
  font-size: 28px;
  font-weight: bold;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.article-header {
  background-color: #006d77;
  color: white;
  padding: 20px;
}

.article-header h2 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
}

.article-meta {
  display: flex;
  gap: 15px;
}

.article-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
  line-height: 1.6;
}

.article-body p {
  margin-bottom: 15px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 5px;
}

.article-footer {
  padding: 15px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

/* Basın Paketi */
.press-kit {
  margin-top: 50px;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
}

.press-kit h3 {
  color: #006d77;
}

/* Filtreleme Efekti */
.press-item {
  transition: opacity 0.4s ease, transform 0.3s ease;
}

.press-item.hidden {
  display: none;
}

/* Duyarlı CSS */
@media (min-width: 768px) {
  .press-item {
    flex-direction: row;
  }
  
  .press-image {
    width: 300px;
    height: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  .press-filter {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-btn {
    width: 100%;
    text-align: center;
  }
  
  .press-image {
    height: 180px;
  }
  
  .article-content {
    margin: 20px auto;
    width: 95%;
  }
  
  .article-header h2 {
    font-size: 1.5rem;
  }
}
