/* ==========================================================================
   DOĞTAP - Alt Sayfa Stilleri (Pages)
   ========================================================================== */

/* --------------------------------------------------------------------------
   SAYFA HERO (PAGE HEADER)
   -------------------------------------------------------------------------- */
.page-hero {
  height: 350px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  text-align: center;
  margin-top: var(--navbar-height); /* Header fixed olduğu için */
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
  pointer-events: none;
}

.page-hero-title {
  font-size: var(--text-5xl);
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   BREADCRUMBS (SAYFA İZİ)
   -------------------------------------------------------------------------- */
.breadcrumbs {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
  padding: 15px 0;
}

.breadcrumbs-list {
  display: flex;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: center;
}

.breadcrumbs-list a {
  color: var(--color-primary);
}

.breadcrumbs-list a:hover {
  text-decoration: underline;
}

.breadcrumbs-separator {
  color: var(--color-border);
}

/* --------------------------------------------------------------------------
   HABER LİSTESİ VE DETAY (NEWS)
   -------------------------------------------------------------------------- */
.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-detail {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.news-detail-header {
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-4);
}

.news-detail-title {
  font-size: var(--text-4xl);
  font-family: var(--font-heading);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.news-detail-meta {
  display: flex;
  gap: 20px;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.news-detail-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
  object-fit: cover;
  max-height: 500px;
}

.news-detail-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.news-detail-content p {
  margin-bottom: 1.5em;
}

.news-detail-content h2, 
.news-detail-content h3 {
  margin-top: 2em;
  margin-bottom: 1em;
}

.news-detail-content blockquote {
  border-left: 4px solid var(--color-secondary);
  padding-left: 20px;
  font-style: italic;
  color: var(--color-text-secondary);
  background: var(--color-bg-alt);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* --------------------------------------------------------------------------
   ŞEHİR KARTLARI (CITY CARDS)
   -------------------------------------------------------------------------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.city-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.city-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.city-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.city-card:hover .city-card-img {
  transform: scale(1.1);
}

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
}

.city-plate-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-secondary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   YÖNETİM KURULU (BOARD MEMBERS)
   -------------------------------------------------------------------------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.member-card {
  text-align: center;
  padding: 30px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.member-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  object-fit: cover;
  border: 4px solid var(--color-bg-alt);
}

.member-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: 5px;
}

.member-title {
  color: var(--color-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

/* --------------------------------------------------------------------------
   GALERİ VE LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   FORMLAR (İLETİŞİM & BAŞVURU)
   -------------------------------------------------------------------------- */
.form-container {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: var(--font-semibold);
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-50);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Filtre Tabları */
.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   RESPONSIVE (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .news-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 250px;
  }
  .page-hero-title {
    font-size: var(--text-3xl);
  }
  .news-list-grid {
    grid-template-columns: 1fr;
  }
  .news-detail {
    padding: var(--space-4);
  }
  .form-container {
    padding: 20px;
  }
}
