/* ========================================
   ÖZEL CSS DOSYASI - Custom CSS File
   ========================================

   Bu dosyaya özel CSS stillerinizi ekleyebilirsiniz.
   Tailwind CDN ile çakışmaz, direkt CSS yazın.

   You can add your custom CSS styles to this file.
   Works alongside Tailwind CDN without conflicts.

   NOT: Tailwind class'ları (@apply gibi) kullanmayın!
        Sadece normal CSS yazın.
   ======================================== */

/* Örnek kullanım / Example usage:

.my-custom-button {
    background-color: #DAA520;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.my-custom-button:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.special-header {
    background: linear-gradient(90deg, #DAA520, #000);
    padding: 2rem;
    color: white;
}

*/

/* Blog Grid Düzeni - Sonsuz Scroll ile Uyumlu */
:root {
  --color-primary: #DAA520;
  --color-accent: #FFD700;
  --color-secondary: #000000;
}

.pt-16{
  padding-top: 6rem !important;
}
.header-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 80px;
  padding-right: 1.5rem;
}

.header-logo-img {
  position: absolute;
  margin-top: 45px;
  border-radius: 120px !important;
  height: 140px;
  width: auto;
  max-width: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-border-radius: 120px !important;
  -moz-border-radius: 120px !important;
  -ms-border-radius: 120px !important;
  -o-border-radius: 120px !important;
}

.header-logo-link:hover .header-logo-img {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.header-profile {
  border-bottom: 2px solid rgba(218, 165, 33, 0.61);
}

.header-profile .header-logo-link {
  min-height: 90px;
}

.header-profile .header-logo-img {
  height: 150px;
}

.dropdown-menu {
  position: relative;
}

.dropdown-menu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  background: transparent;
}

.dropdown-menu .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: rgba(17, 17, 17, 0.96);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 60;
  padding: 0.5rem 0;
  pointer-events: none;
}

.dropdown-menu:hover,
.dropdown-menu:focus-within,
.dropdown-menu.group:hover,
.dropdown-menu.group:focus-within {
  pointer-events: auto;
}

.dropdown-menu:hover .dropdown-content,
.dropdown-menu:focus-within .dropdown-content,
.dropdown-menu.group:hover .dropdown-content,
.dropdown-menu.group:focus-within .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #e5e7eb;
  font-size: 0.9375rem;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-link:hover {
  background: rgba(255, 215, 0, 0.08);
  color: #FFD700;
  padding-left: 1.5rem;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.35rem 1.25rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  color: #1f2937;
  line-height: 1.7;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-close {
  border: none;
  background: rgba(218, 165, 32, 0.12);
  color: #DAA520;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: rgba(218, 165, 32, 0.25);
  transform: translateY(-1px);
}

.modal-trigger-link {
  color: #DAA520;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-trigger-link:hover {
  color: #b98b1c;
}

@media (max-width: 1024px) {
  .header-logo-img {
    height: 90px;
    margin-top: 30px;
  }

  .header-profile .header-logo-img {
    height: 110px;
  }
}

#mobile-menu {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(8, 8, 8, 0.94) 55%, rgba(12, 12, 12, 0.92) 100%);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

#mobile-menu nav a {
  border-radius: 12px;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

#mobile-menu nav a:hover {
  background: rgba(255, 215, 0, 0.08);
  color: #FFD700;
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(218, 165, 33, 0.35);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.35);
  z-index: 40;
}

.mobile-bottom-nav__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mobile-bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  color: #d1d5db;
  transition: color 0.2s ease;
}

.mobile-bottom-nav__link span {
  font-size: 0.7rem;
  margin-top: 0.35rem;
  letter-spacing: 0.01em;
}

.mobile-bottom-nav__link:hover,
.mobile-bottom-nav__link.is-active {
  color: #FFD700;
}

.mobile-bottom-nav__icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-bottom-nav__link.is-active .mobile-bottom-nav__icon-wrap,
.mobile-bottom-nav__link:hover .mobile-bottom-nav__icon-wrap {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.35);
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #FFD700;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 215, 0, 0.18);
  border-color: rgba(255, 215, 0, 0.55);
  transform: translateY(-1px);
  color: #ffffff;
}

.mobile-menu-close-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
}

.mobile-menu-close-icon::before,
.mobile-menu-close-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: currentColor;
  border-radius: 9999px;
}

.mobile-menu-close-icon::before {
  transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-close-icon::after {
  transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 768px) {
  .header-logo-link {
    padding-right: 0;
    min-height: 0;
  }

  .header-logo-img {
    position: static;
    margin-top: 0;
    height: 56px;
    max-width: 100%;
  }



  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
  }

  .mobile-menu-logo {
    flex: 1;
  }

}

@media (min-width: 1280px) {
  .header-logo-img {
    height: 140px;
    border-radius: 120px;
    -webkit-border-radius: 120px;
    -moz-border-radius: 120px;
    -ms-border-radius: 120px;
    -o-border-radius: 120px;
}

  
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px 0 rgba(0,0,0,0.12);
}

.blog-card__img-link {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title:hover {
  color: var(--color-primary, #DAA520);
}

.blog-card__desc {
  color: #4a5568;
  font-size: 0.875rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .blog-card__img-link,
  .blog-card__meta,
  .blog-card__cta {
    display: none;
  }

  .blog-card__body {
    padding: 1rem 1.25rem;
  }
}

/* Loading ve End durumları için stiller */
#blog-loading {
  text-align: center;
  padding: 2rem 0;
  color: var(--color-primary, #DAA520);
}

#blog-end {
  text-align: center;
  padding: 2rem 0;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Sidebar Kategori Stilleri */
.sidebar-sticky {
  position: sticky;
  top: 6rem;
}

@media (max-width: 1024px) {
  .sidebar-sticky {
    position: static;
  }
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card {
  animation: fadeIn 0.4s ease-out;
}

/* Line Clamp Utilities - Çok satırlı metinleri kısaltma */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Prose stili - Blog içeriği için */
.prose {
  color: #374151;
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #111827;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose img {
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}

.prose a {
  color: var(--color-primary, #DAA520);
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: #000000;
}

.prose strong {
  font-weight: 600;
  color: #111827;
}

.prose blockquote {
  border-left: 4px solid var(--color-primary, #DAA520);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
}

/* Mobile Menu Overlay */
#mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Transitions */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Desktop görünümde mobil menüyü gizle */
@media (min-width: 768px) {
  #mobile-menu,
  #mobile-menu-overlay {
    display: none !important;
  }
}
