/* Haberler Sayfası Özel Stilleri */

/* News Hero Banner */
.news-page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tactical-green);
  border-bottom: 2px solid var(--muted-gold);
  padding-top: 80px;
  overflow: hidden;
}

.news-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
  filter: grayscale(60%);
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--tactical-green), rgba(27, 48, 34, 0.4));
  z-index: 1;
}

.news-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.news-hero-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* News Filters / Category Bar */
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(27, 48, 34, 0.15);
}

.news-filter-btn {
  font-family: var(--font-mono-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid rgba(27, 48, 34, 0.2);
  background-color: transparent;
  color: var(--tactical-green);
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-filter-btn:hover,
.news-filter-btn.active {
  background-color: var(--tactical-green);
  border-color: var(--tactical-green);
  color: white;
}

/* Featured News (Hero Card) */
.featured-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid rgba(27, 48, 34, 0.15);
  overflow: hidden;
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .featured-news {
    grid-template-columns: 1.2fr 1fr;
  }
}

.featured-news-image {
  position: relative;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.featured-news-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 48, 34, 0.3), rgba(0, 0, 0, 0.1));
  transition: opacity 0.4s ease;
}

.featured-news:hover .featured-news-image::after {
  opacity: 0;
}

.featured-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--muted-gold);
  color: white;
  font-family: var(--font-mono-family);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.featured-news-content {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background-color: white;
}

@media (min-width: 768px) {
  .featured-news-content {
    padding: 48px 48px;
  }
}

.featured-news-content .news-card-date {
  font-family: var(--font-mono-family);
  font-size: 12px;
  color: var(--muted-gold);
  letter-spacing: 0.1em;
}

.featured-news-content .news-card-title {
  font-family: var(--font-h-family);
  font-size: 28px;
  font-weight: 700;
  color: var(--tactical-green);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.featured-news:hover .featured-news-content .news-card-title {
  color: var(--muted-gold);
}

.featured-news-content .news-card-excerpt {
  color: rgba(27, 48, 34, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.featured-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h-family);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tactical-green);
  border-bottom: 1px solid var(--tactical-green);
  padding-bottom: 4px;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 8px;
}

.featured-read-more:hover {
  color: var(--muted-gold);
  border-color: var(--muted-gold);
}

/* News Cards Grid */
.news-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .news-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .news-page-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* News Card */
.news-card {
  border: 1px solid rgba(27, 48, 34, 0.12);
  background-color: white;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: rgba(27, 48, 34, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.news-card-image {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.news-card:hover .news-card-image {
  border-bottom-color: var(--muted-gold);
}

.news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(27, 48, 34, 0.15));
}

.news-card-image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card-image-inner {
  transform: scale(1.08);
}

.news-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  padding: 4px 12px;
  font-family: var(--font-mono-family);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: var(--tactical-green);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-card-date {
  font-family: var(--font-mono-family);
  font-size: 11px;
  color: var(--muted-gold);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.news-card-title {
  font-family: var(--font-h-family);
  font-size: 20px;
  font-weight: 700;
  color: var(--tactical-green);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
  color: var(--muted-gold);
}

.news-card-excerpt {
  color: rgba(27, 48, 34, 0.6);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 48, 34, 0.08);
  margin-top: auto;
}

.news-card-read-more {
  font-family: var(--font-h-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tactical-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.news-card:hover .news-card-read-more {
  color: var(--muted-gold);
}

.news-card-read-more .material-symbols-outlined {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-read-more .material-symbols-outlined {
  transform: translateX(4px);
}

/* Newsletter Section */
.newsletter-section {
  position: relative;
  overflow: hidden;
}

.newsletter-card {
  background: rgba(27, 48, 34, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--muted-gold);
  padding: 48px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .newsletter-card {
    padding: 64px 56px;
  }
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .newsletter-form {
    flex-direction: row;
    gap: 0;
  }
}

.newsletter-input {
  flex: 1;
  padding: 16px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-family: var(--font-body-family);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
  border-color: var(--muted-gold);
  background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-submit {
  padding: 16px 32px;
  background-color: var(--muted-gold);
  border: 1px solid var(--muted-gold);
  color: white;
  font-family: var(--font-h-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-submit:hover {
  background-color: transparent;
  color: var(--muted-gold);
}

/* Timeline markers for news items */
.news-timeline-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--muted-gold);
  transition: height 0.6s ease;
}

.news-card:hover .news-timeline-marker {
  height: 100%;
}

/* Pagination */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 48px;
}

.pagination-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(27, 48, 34, 0.2);
  background: transparent;
  color: var(--tactical-green);
  font-family: var(--font-mono-family);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
  background-color: var(--tactical-green);
  border-color: var(--tactical-green);
  color: white;
}

.pagination-btn.pagination-arrow {
  border-color: rgba(27, 48, 34, 0.3);
}

.pagination-btn.pagination-arrow:hover {
  background-color: var(--muted-gold);
  border-color: var(--muted-gold);
  color: white;
}
