/* =========================================
   ATİK DERNEĞİ — SAYFA ÖZEL STİLLER
   pages.css
   ========================================= */

/* =========================================
   HAKKIMIZDA SAYFASI
   ========================================= */
.team-section { background: var(--bg-sky); }

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}

.team-card-body {
  padding: 20px;
}

.team-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.85rem;
  color: var(--teal-dark);
  font-weight: 600;
}

/* Destekçi / iş birliği logolu kartları */
.supporter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 30px 24px;
  transition: var(--transition);
  height: 100%;
}

a.supporter-card { text-decoration: none; }

.supporter-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,95,168,0.18);
}

.supporter-logo {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.supporter-logo img {
  max-height: 72px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
}

.supporter-monogram {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 10px 22px rgba(27,95,168,0.24);
}

.supporter-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.supporter-desc {
  font-size: 0.87rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Misyon & Vizyon kartları */
.mv-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mv-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 10px 22px rgba(27,95,168,0.28);
  margin-bottom: 22px;
}

.mv-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.mv-card-text {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-body);
}

.mv-card--vision { border-top-color: var(--teal); }
.mv-card--vision .mv-card-icon {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  box-shadow: 0 10px 22px rgba(0,181,200,0.28);
}

/* Değerler */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.value-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(27,95,168,0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.value-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Tarihçe zaman çizelgesi */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--teal));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--teal-light);
  box-shadow: 0 0 0 3px rgba(0,181,200,0.2);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* =========================================
   FAALİYETLER SAYFASI
   ========================================= */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--bg-light);
  color: var(--text-gray);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.post-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-img img {
  transform: scale(1.05);
}

.post-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.post-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.post-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: var(--transition);
}

.post-card:hover .post-card-title { color: var(--primary); }

.post-card-excerpt {
  font-size: 0.87rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: auto;
}

.post-card-link:hover { color: var(--teal); gap: 10px; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--bg-white);
  color: var(--text-body);
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =========================================
   GALERİ SAYFASI
   ========================================= */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,43,85,0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-overlay-icon {
  color: #fff;
  font-size: 1.4rem;
  margin-left: auto;
  background: rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.lightbox-close:hover { opacity: 1; }

.lightbox-img {
  transition: opacity 0.25s ease;
}

/* İleri / geri gezinme okları */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  z-index: 2;
}

.lightbox-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* Alt yazı ve sayaç */
.lightbox-caption {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80vw;
  text-align: center;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.1rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-caption { bottom: 16px; font-size: 0.85rem; }
}

/* =========================================
   LOADER / SPINNER (harita + galeri + lightbox)
   ========================================= */
@keyframes atik-spin { to { transform: rotate(360deg); } }

/* Galeri grid — yalnızca yükleme gecikirse iskelet + spinner göster */
.gallery-item { position: relative; }
.gallery-item img { transition: opacity 0.4s ease; }
.gallery-item.is-loading {
  min-height: 220px;
  background: var(--bg-sky);
}
.gallery-item.is-loading img { opacity: 0; }
.gallery-item.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 3px solid rgba(27,95,168,0.2);
  border-top-color: var(--primary);
  animation: atik-spin 0.8s linear infinite;
}

/* Lightbox — sağa/sola gezinirken görsel açılana kadar */
.lightbox-loader { display: none; }
.lightbox.loading .lightbox-loader {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  animation: atik-spin 0.8s linear infinite;
  z-index: 4;
}

/* Harita loader */
.map-frame { position: relative; }
.map-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg-sky);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.map-frame.map-loaded .map-loader {
  opacity: 0;
  visibility: hidden;
}
.map-loader .spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(27,95,168,0.15);
  border-top-color: var(--primary);
  animation: atik-spin 0.8s linear infinite;
}
.map-loader-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* =========================================
   İLETİŞİM SAYFASI
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: #fff;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-info-sub {
  font-size: 0.92rem;
  opacity: 0.75;
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--teal-light);
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
  margin-bottom: 3px;
}

.contact-info-text span,
.contact-info-text a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

/* Birden fazla telefon/e-posta alt alta dizilsin */
.contact-info-text a {
  display: block;
  width: fit-content;
}
.contact-info-text a + a {
  margin-top: 4px;
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.contact-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-social-btn:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

/* Form */
.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,95,168,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.form-success {
  display: none;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.3);
  color: #27ae60;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}
.form-error {
  background: rgba(231,76,60,0.08);
  border: 1px solid rgba(231,76,60,0.3);
  color: #c0392b;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}
.form-error i { margin-right: 6px; }

/* Map */
.map-section {
  padding: 80px 0;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* =========================================
   İZCİLİK SAYFASI
   ========================================= */
.scout-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.scout-levels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}

.scout-level-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
}

.scout-level-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.scout-level-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.scout-level-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.scout-level-age {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.scout-level-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
}

/* =========================================
   ETKİNLİK DETAY SAYFASI (article)
   ========================================= */
.article {
  max-width: 820px;
  margin: 0 auto;
}

.article-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
  background: var(--bg-light);
}

.article-figure img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta i { color: var(--teal-dark); }

.article-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.article-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-body);
  font-weight: 500;
  padding-left: 18px;
  border-left: 3px solid var(--teal);
  margin-bottom: 28px;
}

.article-body p {
  font-size: 1.03rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 20px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  margin: 36px 0 14px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.article-body ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.article-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.75;
  color: var(--text-body);
}

.article-body ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--teal);
  font-size: 0.85rem;
}

.article-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.article-stat {
  background: var(--bg-sky);
  border: 1px solid rgba(27,95,168,0.08);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}

.article-stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--primary);
  line-height: 1.1;
}

.article-stat-label {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-top: 6px;
}

.article-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 40px 0 32px;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.article-back:hover { color: var(--teal); gap: 12px; }

.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-share-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 600;
}

.article-share a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.article-share a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* İlgili içerikler */
.related-section { background: var(--bg-sky); }

/* =========================================
   RESPONSIVE — PAGES
   ========================================= */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .scout-info-grid { grid-template-columns: 1fr; }
  .scout-levels { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .scout-levels { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   ATİKDER REVİZE — YENİ BİLEŞENLER
   ========================================= */

/* Navbar sağ aksiyon alanı: Bize Ulaşın + sosyal */
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-socials { display: flex; align-items: center; gap: 6px; }
.navbar-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); background: var(--sky-light);
  font-size: 0.95rem; transition: var(--transition);
}
.navbar-socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
/* responsive gizleme kuralları style.css'teki navbar kademelerinde (1400/1160px) */

/* WhatsApp yüzen buton */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 22px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: waPulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 768px) {
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 16px; right: 16px; }
  /* Yukarı çık butonu, WhatsApp butonunun üstünde konumlansın (çakışma önlenir) */
  .scroll-top { bottom: 80px; right: 19px; }
}

/* Slider yumuşak geçiş + Ken Burns animasyonu */
.hero-slider { transition: transform 0.8s cubic-bezier(0.65,0,0.35,1); }
.hero-slide-bg { animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
.hero-slide-content { animation: heroFade 0.9s ease both; }
@keyframes heroFade { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide-bg, .hero-slide-content { animation: none; }
}

/* İçerik sayfası hero (görsel + metin) */
.content-hero {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px;
  align-items: center; margin-bottom: 56px;
}
.content-hero-media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/3;
}
.content-hero-text .content-lead {
  font-size: 1.15rem; line-height: 1.7; color: var(--text-dark);
  font-weight: 600; margin: 14px 0 14px;
}
.content-hero-text p { color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.content-block { margin-top: 20px; margin-bottom: 20px; }
.content-hero--text { grid-template-columns: 1fr; }
/* Dinamik kapak (content-hero) — yüklenirken skeleton */
.pagecover-media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: #eef3f9;
}
.pagecover-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease; }
.pagecover-media.loaded img { opacity: 1; }
.pagecover-skeleton {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, #e6edf5 25%, #f3f7fb 50%, #e6edf5 75%);
  background-size: 200% 100%; animation: gallery-skeleton 1.3s ease-in-out infinite;
}
.pagecover-media.loaded .pagecover-skeleton { display: none; }
@media (max-width: 860px) { .content-hero { grid-template-columns: 1fr; gap: 28px; } }

/* Faaliyet türü kartları (values-grid varyantı) */
.activity-types { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .activity-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .activity-types { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* Bilgi callout kutusu */
.info-callout {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg); padding: 22px 28px;
  color: rgba(255,255,255,0.95); font-size: 1rem; line-height: 1.6;
  margin: 32px 0;
  box-shadow: 0 15px 35px rgba(13, 43, 85, 0.2);
  position: relative; overflow: hidden;
}
.info-callout::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 250px; height: 250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 201, 151, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.info-callout i { 
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(255,255,255,0.1);
  color: #fff; font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.15);
}
.info-callout strong { color: #fff; font-weight: 700; }
.info-callout a { color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 1px dashed rgba(32, 201, 151, 0.5); transition: border 0.3s; }
.info-callout a:hover { border-bottom-color: var(--accent); }
@media (max-width: 600px) {
  .info-callout { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
}

/* Grup / kategori kartları (yaş grupları, branşlar, kültür başlıkları) */
.group-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--bg-white); border: 1px solid rgba(27,95,168,0.1);
  border-radius: var(--radius-md); padding: 30px 26px;
  box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%;
}
.group-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.group-emoji { font-size: 2.4rem; margin-bottom: 14px; }
.group-card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--text-dark); margin-bottom: 8px; }
.group-card p { color: var(--text-gray); line-height: 1.6; font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.group-link { color: var(--primary); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); }
.group-card:hover .group-link { gap: 10px; }
.group-card--lg { padding: 40px 34px; }
.group-card--lg .group-emoji { font-size: 3rem; }

/* Ana sayfa: kısa tanıtım şeridi */
.intro-strip { padding-top: 64px; padding-bottom: 24px; }

/* Ana sayfa: haberler + sosyal medya yerleşimi */
.home-news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.home-social {
  background: linear-gradient(150deg, #f5f0ff 0%, var(--sky-light) 100%);
  border: 1px solid rgba(27,95,168,0.1); border-radius: var(--radius-lg);
  padding: 26px 24px; position: sticky; top: 96px;
}
.home-social-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: var(--text-dark); }
.home-social-head i { color: #E1306C; font-size: 1.5rem; }
.home-social-sub { color: var(--text-gray); font-size: 0.9rem; margin: 8px 0 16px; line-height: 1.6; }
.home-social-cta {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: #fff; background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  padding: 10px 18px; border-radius: 50px; font-size: 0.92rem; margin-bottom: 18px;
}
.home-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-social-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); transition: var(--transition); }
.home-social-grid a:hover img { transform: scale(1.04); opacity: 0.92; }
@media (max-width: 900px) { .home-news-layout { grid-template-columns: 1fr; } .home-social { position: static; } }

/* =========================================
   INSTAGRAM GÖNDERİ KARTI (ana sayfa)
   ========================================= */
.ig-card {
  max-width: 480px; margin: 0 auto; background: #fff;
  border: 1px solid #dbdbdb; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
/* Üst bar: avatar + kullanıcı adı + Takip Et */
.ig-card-top { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ig-card-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  padding: 2px; background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
}
.ig-card-avatar img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: contain;
  background: #fff; border: 2px solid #fff; display: block; padding: 5px;
}
.ig-card-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; margin-right: auto; }
.ig-card-user { font-weight: 700; font-size: 0.92rem; color: var(--text-dark); text-decoration: none; }
.ig-card-user:hover { text-decoration: underline; }
.ig-card-name { font-size: 0.8rem; color: var(--text-gray); }
.ig-card-follow {
  flex: 0 0 auto; color: #fff; font-weight: 700; font-size: 0.82rem; text-decoration: none;
  padding: 7px 16px; border-radius: 8px;
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  transition: opacity var(--transition);
}
.ig-card-follow:hover { opacity: 0.9; }
/* Fotoğraf ızgarası (2x2, kenarları bitişik) */
.ig-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.ig-card-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.ig-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ig-card-photo:hover img { transform: scale(1.05); }
.ig-card-photo-ov {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.35); opacity: 0; transition: opacity var(--transition);
}
.ig-card-photo-ov i { color: #fff; font-size: 1.8rem; }
.ig-card-photo:hover .ig-card-photo-ov { opacity: 1; }
/* Aksiyon çubuğu (beğen/yorum/paylaş) */
.ig-card-actions { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 6px; }
.ig-card-actions-left { display: flex; gap: 16px; }
.ig-card-actions i { font-size: 1.35rem; color: var(--text-dark); cursor: default; }
.ig-card-actions-left i:first-child { color: #ed4956; }
/* Açıklama */
.ig-card-caption { padding: 4px 14px 0; font-size: 0.9rem; color: var(--text-dark); line-height: 1.5; }
.ig-card-caption a { font-weight: 700; color: var(--text-dark); text-decoration: none; margin-right: 6px; }
.ig-card-caption a:hover { text-decoration: underline; }
/* Alt CTA */
.ig-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 14px; padding: 11px; border-radius: 10px; font-weight: 700; font-size: 0.92rem;
  color: #fff; text-decoration: none;
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  transition: opacity var(--transition), transform var(--transition);
}
.ig-card-cta:hover { opacity: 0.92; transform: translateY(-1px); }

/* Misyon-Vizyon grid */
.mv-grid { align-items: stretch; }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }

/* ---- Navbar responsive kademeleri ----
   Bu blok kasıtlı olarak en sonda: hem style.css'teki temel kuralları
   hem de yukarıdaki .navbar-actions/.navbar-socials tanımlarını ezmesi gerekir.
   1400px altı: sosyal ikonlar gizlenir
   1240px altı: menü sıkılaştırılır
   1160px altı: hamburger menüye geçilir */
@media (max-width: 1400px) {
  .navbar-socials { display: none; }
}

@media (max-width: 1240px) {
  .navbar-link { padding: 7px 8px; font-size: 0.84rem; }
  .navbar-link::before { left: 9px; right: 9px; }
  .navbar-link.has-dropdown { padding-right: 21px; }
  .navbar-link.has-dropdown::after { right: 8px; }
  .navbar-cta { padding: 9px 14px; font-size: 0.8rem; }
  .navbar-logo img { height: 40px; }
}

@media (max-width: 1160px) {
  .navbar-menu, .navbar-actions { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-mobile { display: flex; }
  /* mobil panel içindeki linkler tam genişlik ve rahat dokunma alanı */
  .navbar-mobile .navbar-link { padding: 15px 18px; font-size: 1.05rem; }
}

/* =========================================
   HABER DETAY SAYFASI + LINK KARTLARI
   ========================================= */
a.post-card { text-decoration: none; color: inherit; cursor: pointer; }

/* Kapak görseli yoksa: ATİK logosu kırpılmadan, küçük ve ortalı gösterilir */
.post-card-img--ph { background: #f1f5f9; display: flex; align-items: center; justify-content: center; }
.post-card-img--ph img { width: auto; max-width: 55%; height: auto; max-height: 60%; object-fit: contain; }
.posts-grid-sm .post-card-img--ph img { max-width: 62%; max-height: 62%; }
.post-card:hover .post-card-img--ph img { transform: none; }

.news-detail { margin-top: 8px; }
.detail-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-cat {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff; font-size: 0.78rem; font-weight: 700; padding: 5px 14px;
  border-radius: 50px; text-decoration: none;
}
.detail-cat:hover { opacity: 0.9; }
.detail-date { font-size: 0.9rem; color: var(--text-gray); display: inline-flex; align-items: center; gap: 6px; }
.detail-title {
  font-family: var(--font-heading); font-weight: 800; color: var(--text-dark);
  font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.2; margin-bottom: 16px;
  overflow-wrap: break-word; word-break: break-word;
}
.detail-excerpt {
  font-size: 1.1rem; color: var(--text-body); line-height: 1.7;
  padding-left: 18px; border-left: 4px solid var(--teal); margin-bottom: 28px;
  font-weight: 500; overflow-wrap: break-word; word-break: break-word;
  white-space: pre-line;
}
.detail-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow-md); background: #eef3f9; }
.detail-cover img { width: 100%; max-height: 460px; object-fit: contain; object-position: center; display: block; }
@media (max-width: 640px) { .detail-cover img { max-height: 300px; } }
.detail-content { font-size: 1.02rem; color: var(--text-body); line-height: 1.85; overflow-wrap: break-word; word-break: break-word; }
.detail-content p { margin-bottom: 18px; overflow-wrap: break-word; word-break: break-word; }

.detail-gallery { margin-top: 44px; }
.detail-gallery-title {
  font-family: var(--font-heading); font-weight: 700; color: var(--navy);
  font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.detail-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.detail-gallery-item {
  padding: 0; border: none; cursor: pointer; background: none; border-radius: var(--radius-md);
  overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-card);
}
.detail-gallery-item { background: #eef3f9; }
.detail-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.4s ease; opacity: 0; }
.detail-gallery-item:hover img { transform: scale(1.06); }
.detail-gallery-item.loaded img { opacity: 1; }
/* Yüklenirken skeleton (kayan parıltı) */
.detail-gallery-item:not(.loaded) {
  background: linear-gradient(100deg, #e6edf5 25%, #f3f7fb 50%, #e6edf5 75%);
  background-size: 200% 100%;
  animation: gallery-skeleton 1.3s ease-in-out infinite;
}
@keyframes gallery-skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* Lightbox stili şablonda zaten mevcut (.lightbox / .lightbox-nav / .lightbox-counter).
   Oklar <button> olduğu için varsayılan kenarlığı sıfırlıyoruz. */
.lightbox-nav { border: none; cursor: pointer; }
/* JS .show sınıfıyla da açılsın (gallery.js / haber-detay.js) + görsel boyutu */
.lightbox.show { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); }

/* =========================================
   İLGİLİ HABERLER — küçük 5'li ızgara + loader
   ========================================= */
.posts-grid-sm { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.posts-grid-sm .post-card-img { height: 130px; }
.posts-grid-sm .post-card-body { padding: 16px; }
.posts-grid-sm .post-card-meta { font-size: 0.72rem; margin-bottom: 6px; }
.posts-grid-sm .post-card-title { font-size: 0.92rem; margin-bottom: 8px; }
.posts-grid-sm .post-card-excerpt { font-size: 0.8rem; line-height: 1.5; margin-bottom: 0; -webkit-line-clamp: 2; }
.posts-grid-sm .post-card-tag { font-size: 0.65rem; padding: 3px 9px; }

@media (max-width: 1024px) { .posts-grid-sm { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .posts-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 440px)  { .posts-grid-sm { grid-template-columns: 1fr; } }

/* Loader */
.related-loading { text-align: center; padding: 24px 0; }
.related-spinner {
  display: inline-block; width: 36px; height: 36px;
  border: 3px solid #e2e8f0; border-top-color: var(--primary);
  border-radius: 50%; animation: relspin 0.7s linear infinite;
}
@keyframes relspin { to { transform: rotate(360deg); } }

/* Haber detay — yükleme/hata durumu (footer yukarı çıkmasın diye min-yükseklik) */
.detail-state {
  min-height: 60vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #64748b;
}
.detail-state i { font-size: 2rem; margin-bottom: 16px; opacity: 0.6; }
.detail-state p { margin: 0; font-size: 1rem; }

/* =========================================
   SAYFA İÇİ GALERİ
   ========================================= */
/* Galeri bloğu: sayfa akışına ait, ayrı büyük bölüm gibi durmasın */
.page-gallery-block { margin-top: 28px; }
.page-gallery-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700; color: var(--text-dark);
  margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border, #e5e9f0);
}
.page-gallery-title i { color: var(--primary, #1b5fa8); font-size: 1rem; }
.page-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.page-gallery-item {
  padding: 0; border: none; cursor: pointer; background: #eef3f9;
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card); transition: transform var(--transition), box-shadow var(--transition);
}
.page-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.page-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.page-gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 600px) { .page-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
