/* ==========================================================================
   YASAL SAYFALAR (GİZLİLİK POLİTİKASI, KVKK, KULLANIM KOŞULLARI) STİLLERİ
   ========================================================================== */

/* SAYFA GENEL YAPISI VE YUKARIDAN MESAFE (Floating Navbar İçin) */
.legal-page-wrapper {
  padding-top: 185px;
  padding-bottom: 80px;
  background-color: #ffffff;
  min-height: 100vh;
}

/* ÜST HEROBANNER SEKSİYONU (YENİ VE MODERN LÜKS TASARIM) */
.legal-hero-section {
  position: relative;
  background: linear-gradient(135deg, #FBF8F5 0%, #FFFFFF 100%);
  border: 1px solid rgba(76, 35, 60, 0.12);
  border-radius: 36px;
  padding: 60px 48px;
  margin: 0 auto 50px auto;
  max-width: 1040px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(76, 35, 60, 0.04);
  overflow: hidden;
}

.legal-hero-decor-blob {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(235, 216, 184, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.legal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-seal-badge-top {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4C233C 0%, #2A1321 100%);
  color: #EBD8B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(235, 216, 184, 0.4);
  box-shadow: 0 8px 25px rgba(76, 35, 60, 0.18);
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(76, 35, 60, 0.06);
  border: 1px solid rgba(76, 35, 60, 0.12);
  color: #4C233C;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.legal-hero-title {
  font-size: 30px;
  font-weight: 600;
  color: #1C1D21;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.legal-hero-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 680px;
}

.legal-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  background: #ffffff;
  border: 1px solid #EAEAEA;
  border-radius: 30px;
  font-size: 13px;
  color: #555555;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.legal-hero-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}



.legal-hero-meta .meta-item i {
  color: #4C233C;
}

.legal-hero-meta .meta-divider {
  color: #CCCCCC;
}

/* ANA DÜZEN CONTAINER */
.legal-main-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SOL STICKY İÇİNDEKİLER MENÜSÜ */
.legal-sidebar {
  position: sticky;
  top: 130px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid #EAEAEA;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.legal-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: #1C1D21;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F0F0F0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-sidebar-title i {
  color: #4C233C;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #555555;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.legal-toc-link span.num {
  font-size: 11px;
  font-weight: 700;
  color: #4C233C;
  background: #F4EFF2;
  padding: 2px 7px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.legal-toc-link:hover {
  background: #FBF7FA;
  color: #4C233C;
}

.legal-toc-link:hover span.num {
  background: #4C233C;
  color: #ffffff;
}

/* SAĞ İÇERİK KARTI */
.legal-content-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  border: 1px solid #EAEAEA;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

/* BÖLÜM BLOKLARI */
.legal-section-block {
  margin-bottom: 42px;
  padding-bottom: 36px;
  border-bottom: 1px dashed #EBEBEB;
  scroll-margin-top: 140px;
}

.legal-section-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.legal-section-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #4C233C;
  color: #EBD8B8;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1C1D21;
  margin: 0;
  line-height: 1.35;
}

.legal-section-body {
  font-size: 14px;
  color: #444444;
  line-height: 1.75;
}

.legal-section-body p {
  margin-bottom: 16px;
}

.legal-section-body p:last-child {
  margin-bottom: 0;
}

/* LİSTELER */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #444444;
}

.legal-list-item i {
  color: #4C233C;
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.legal-list-item strong {
  color: #1C1D21;
}

/* UYARI / VURGU KUTUSU */
.legal-alert-box {
  background: #FDF9F3;
  border-left: 4px solid #EBD8B8;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 22px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.legal-alert-box i {
  color: #8C6A3C;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.legal-alert-text {
  font-size: 14px;
  color: #5C4A30;
  line-height: 1.65;
}

.legal-alert-text strong {
  color: #3B2F1F;
}

/* ALT İLETİŞİM ÇAĞRI KARTI */
.legal-contact-cta {
  margin-top: 45px;
  background: linear-gradient(135deg, #FBF7FA 0%, #F5ECF2 100%);
  border: 1px solid rgba(76, 35, 60, 0.15);
  border-radius: 18px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-contact-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #4C233C;
  margin-bottom: 6px;
}

.legal-contact-info p {
  font-size: 13.5px;
  color: #666666;
  margin: 0;
}

.legal-contact-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.legal-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #4C233C;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(76, 35, 60, 0.2);
}

.legal-btn-primary:hover {
  background-color: #36182a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(76, 35, 60, 0.3);
  color: #ffffff;
}

.legal-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: #4C233C;
  border: 1px solid rgba(76, 35, 60, 0.3);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.legal-btn-outline:hover {
  background-color: #4C233C;
  color: #ffffff;
  border-color: #4C233C;
  transform: translateY(-2px);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .legal-page-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }

  .legal-main-container {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .legal-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 10px;
  }

  .legal-hero-section {
    padding: 48px 32px;
    margin-bottom: 40px;
  }

  .legal-hero-title {
    font-size: 32px;
  }

  .legal-section-header h2 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
  }

  .legal-section-body,
  .legal-section-body p,
  .legal-list-item {
    font-size: 14px;
    line-height: 1.75;
  }

  /* Mobil & Tablet ekranlarında (<= 1024px) metinleri ortala ve liste ikonlarını gizle */
  .legal-content-card {
    text-align: center !important;
  }

  .legal-section-header {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .legal-section-header h2 {
    text-align: center !important;
  }

  .legal-section-body,
  .legal-section-body p {
    text-align: center !important;
  }

  .legal-list {
    align-items: center !important;
    justify-content: center !important;
  }

  .legal-list-item {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .legal-list-item i {
    display: none !important;
  }

  .legal-alert-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .legal-alert-text {
    text-align: center !important;
  }

  .legal-section-num {
    margin: 0 auto !important;
  }
}

@media (max-width: 767px) {
  .legal-page-wrapper {
    padding-top: 155px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-hero-section {
    padding: 44px 22px;
    border-radius: 28px;
    margin-bottom: 34px;
  }

  .legal-hero-title {
    font-size: 27px;
    line-height: 1.35;
  }

  .legal-hero-desc {
    font-size: 14px;
    line-height: 1.8;
  }

  .legal-hero-meta {
    flex-direction: column;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 20px;
    width: 100%;
  }

  .legal-hero-meta .meta-divider {
    display: none;
  }

  .legal-content-card {
    padding: 28px 20px;
    text-align: center;
  }

  .legal-section-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  .legal-section-header h2 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
  }

  .legal-section-body,
  .legal-section-body p {
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
  }

  .legal-list {
    align-items: center !important;
    justify-content: center !important;
  }

  .legal-list-item {
    font-size: 14px;
    line-height: 1.75;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .legal-list-item i {
    display: none !important;
  }

  .legal-alert-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    border-top: 4px solid #EBD8B8;
    padding: 18px 16px;
    gap: 10px;
  }

  .legal-alert-text {
    text-align: center;
  }

  .legal-section-num {
    width: 34px;
    height: 34px;
    font-size: 13px;
    margin: 0 auto;
  }

  .legal-contact-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .legal-contact-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .legal-page-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-hero-section {
    padding: 38px 18px;
    border-radius: 24px;
  }

  .legal-hero-title {
    font-size: 24px;
  }

  .legal-section-header h2 {
    font-size: 15px;
    font-weight: 600;
  }

  .legal-section-body,
  .legal-section-body p,
  .legal-list-item {
    font-size: 14px;
    line-height: 1.75;
  }

  .legal-btn-primary, .legal-btn-outline {
    width: 100%;
    justify-content: center;
  }
}
