/* Helaldir.com Özel Stiller, Animasyonlar ve Yazdırma (Print) Kuralları */

html {
  scroll-behavior: smooth;
}

::selection {
  background-color: #059669;
  color: #ffffff;
}

@keyframes pulseGlow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.85));
  }
}

.verification-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Özel İnce Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Matbaa / Etiket Yazdırma Kuralları */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .no-print {
    display: none !important;
  }

  .print-page {
    page-break-after: always;
    break-after: page;
    padding: 10mm;
  }

  .sticker-card {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px dashed #cccccc !important;
  }

  /* Sayfa kenar boşlukları sıfırlansın */
  @page {
    margin: 8mm;
    size: A4 portrait;
  }
}

/* ============================================================== */
/* Helaldir.com Yönetim Paneli - Mobil Yan Menü (Sidebar Drawer) */
/* ============================================================== */
@media (max-width: 767.98px) {
  #sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 288px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.5) !important;
  }

  #sidebar.admin-sidebar-open {
    transform: translateX(0) !important;
  }

  #sidebarBackdrop {
    position: fixed !important;
    inset: 0 !important;
    background-color: rgba(2, 6, 23, 0.75) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease-in-out !important;
    display: block !important;
  }

  #sidebarBackdrop.admin-backdrop-open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (min-width: 768px) {
  #sidebarBackdrop {
    display: none !important;
  }
  #sidebar {
    transform: none !important;
  }
}

/* Global Modern Select Input Styling */
select:not(.hidden):not(.native-select) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.75rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.1em 1.1em !important;
  padding-right: 2.25rem !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  cursor: pointer;
}
select:not(.hidden):not(.native-select):focus {
  outline: none;
}

/* ============================================================== */
/* Helaldir.com Blog & İnceleme Sayfaları - Tema ve Tipografi     */
/* ============================================================== */
.bg-helal-hero {
  background: #021a13 !important;
  background: linear-gradient(180deg, #021a13 0%, #063c2c 50%, #021a13 100%) !important;
}

.bg-helal-dark {
  background-color: #021a13 !important;
}

.bg-helal-card-dark {
  background: #03251a !important;
  background: linear-gradient(135deg, #042e22 0%, #011912 100%) !important;
}

/* Makale İçerik Tipografisi */
.article-content {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .article-content h2 {
    font-size: 1.7rem;
  }
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.35rem;
  color: #334155;
  line-height: 1.85;
}

.article-content strong {
  color: #0f172a;
  font-weight: 700;
}

.article-content blockquote {
  border-left: 4px solid #10b981;
  background-color: #f0fdf4;
  padding: 1.2rem 1.5rem;
  border-radius: 0 1rem 1rem 0;
  font-style: italic;
  color: #1e293b;
  margin: 1.75rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.article-content blockquote p {
  margin-bottom: 0.4rem;
  color: #0f172a;
  font-weight: 500;
}

.article-content blockquote cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  color: #047857;
  display: block;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.75rem;
  color: #334155;
  line-height: 1.8;
}

.article-content ul {
  list-style-type: disc;
}

.article-content ol {
  list-style-type: decimal;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* ============================================================== */
/* Altın Oran (Golden Ratio 1.618) Tipografi & Satır Dengesi       */
/* ============================================================== */
.golden-hero-title {
  line-height: 1.18 !important;
  letter-spacing: -0.025em;
}

.golden-hero-lead {
  line-height: 1.82 !important;
  letter-spacing: -0.008em;
}

.golden-card-title {
  line-height: 1.38 !important;
  letter-spacing: -0.015em;
}

.golden-card-excerpt {
  line-height: 1.8 !important;
  letter-spacing: 0.005em;
}

.golden-article-title {
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
}

.golden-article-lead {
  line-height: 1.85 !important;
  letter-spacing: -0.005em;
}
