

/* =====================================================
   Kaş Guide - Ana Stil Dosyası
   ===================================================== */

:root {
  --primary-blue: #0891b2;
  --primary-cyan: #06b6d4;
  --primary-green: #10b981;
  --primary-red: #ef4444;
  --primary-orange: #f97316;
  --primary-purple: #a855f7;
  --primary-pink: #ec4899;
  
  
  --primary-teal: #14b8a6;
  --primary-indigo: #6366f1;
  --primary-amber: #f59e0b;
  --primary-lime: #84cc16;
  --primary-slate: #64748b;
  --primary-violet: #8b5cf6;
  --primary-wine: #9f1239;

--gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  background: linear-gradient(to bottom, #f0f9ff, #ffffff);
  color: var(--gray-800);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white; /* Alt sayfalar için beyaz arkaplan */
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-200);
}

/* Ana sayfa için beyaz header (override) - nav-desktop varsa ana sayfadır */
.header:has(+ .nav-desktop),
body:has(.nav-desktop) .header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid var(--gray-200) !important;
}

body:has(.nav-desktop) .header .logo-text {
  color: transparent !important;
  background: linear-gradient(to right, var(--primary-blue), #2563eb) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body:has(.nav-desktop) .header .logo-centered {
  position: static;
  transform: none;
  margin: 0 auto;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 4.25rem; /* Two icon widths spacing from nav items (2 * 34px ≈ 68px) */
}

.logo-centered {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 1;
}


.logo-img{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary-blue);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  /* Varsayılan: Alt sayfalar için turkuaz yazı (#21a8ff) */
  color: #21a8ff;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #21a8ff;
  background-clip: unset;
  text-shadow: 0 2px 8px rgba(33, 168, 255, 0.2); /* Artistik gölge efekti */
  letter-spacing: 0.5px; /* Daha şık görünüm */
}

/* Email obfuscation - basic protection */
.email-link {
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.menu-toggle,
.shared-menu-toggle {
  display: block;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  border: none;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3), 0 2px 4px rgba(76, 175, 80, 0.2);
  position: relative;
  overflow: hidden;
}

.menu-toggle::before,
.shared-menu-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.menu-toggle:hover::before,
.shared-menu-toggle:hover::before {
  width: 300px;
  height: 300px;
}

.menu-toggle:hover,
.shared-menu-toggle:hover {
  background: linear-gradient(135deg, #45a049, #4CAF50);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.4), 0 3px 8px rgba(76, 175, 80, 0.3);
}

.menu-toggle.active,
.shared-menu-toggle.active {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3), 0 2px 4px rgba(211, 47, 47, 0.2);
}

.menu-toggle.active:hover,
.shared-menu-toggle.active:hover {
  background: linear-gradient(135deg, #d32f2f, #f44336);
  box-shadow: 0 6px 18px rgba(244, 67, 54, 0.4), 0 3px 8px rgba(211, 47, 47, 0.3);
}

.menu-text {
  display: block;
}

.menu-icon {
  display: none;
}

.nav-mobile,
.shared-nav-mobile {
  display: none !important;
  position: fixed;
  top: 0;
  right: 0;
  width: 130px; /* Menu toggle button width (~130px) */
  height: 100vh;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  background: white;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  /* Ensure menu is never visible inside header */
  visibility: hidden;
  opacity: 0;
}

.nav-mobile.active,
.shared-nav-mobile.active {
  display: flex !important;
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

/* Body scroll lock when menu is open - but allow horizontal scroll to see shift */
body.menu-open {
  overflow-x: visible;
  /* Don't add padding, let the page shift naturally so user can see it */
}

.nav-link-mobile {
  color: var(--gray-700);
  text-decoration: none;
  padding: 0.75rem 0.5rem; /* Added horizontal padding */
  transition: color 0.3s;
  font-weight: 500;
  font-size: 0.9rem; /* Slightly smaller to fit in narrow menu */
  white-space: nowrap;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  width: 100%;
}

.nav-link-mobile:hover {
  color: var(--primary-blue);
  background: rgba(8, 145, 178, 0.05);
}

.nav-close-btn {
  background: linear-gradient(135deg, #f44336, #d32f2f) !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important; /* Smaller than menu toggle button */
  padding: 0.5rem 0.75rem !important;
  border-radius: 6px !important;
  margin-bottom: 0.5rem !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nav-close-btn:hover {
  background: linear-gradient(135deg, #d32f2f, #f44336) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4) !important;
}

/* =====================================================
   Shared components
   ===================================================== */

/* Round icon button link (used by many pages) */
.home-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:999px;
  background: rgba(0,0,0,0.06);
  text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.home-link:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  background: rgba(0,0,0,0.08);
}
.home-icon{
  width:22px;
  height:22px;
  color: var(--gray-800);
}

/* Back link (header) */
.back-link{
  text-decoration:none;
  color: var(--gray-800);
  font-weight:700;
  padding: 8px 10px;
  border-radius: 10px;
}
.back-link:hover{
  background: rgba(0,0,0,.05);
}


/* === Shared Header Left Actions === */
.header-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.action-btn{
  width:44px;
  height:44px;
  border-radius:14px;
  background: rgba(255,255,255,0.95);
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  padding:0;
  cursor:pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.action-btn:hover::before {
  width: 100%;
  height: 100%;
}

.action-btn svg {
  width: 20px;
  height: 20px;
  color: var(--primary-blue);
  position: relative;
  z-index: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}

.action-btn img {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
}

.action-btn-home {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
}

.action-btn-home svg {
  color: var(--primary-green);
}

.action-btn-home:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.25));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25), 0 3px 8px rgba(5, 150, 105, 0.2);
}

.action-btn-home:hover svg {
  color: #059669;
  transform: scale(1.1);
}

.action-btn-up {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.15));
}

.action-btn-up svg {
  color: var(--primary-violet);
}

.action-btn-up:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(124, 58, 237, 0.25));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25), 0 3px 8px rgba(124, 58, 237, 0.2);
}

.action-btn-up:hover svg {
  color: #7c3aed;
  transform: scale(1.1) translateY(-2px);
}

.action-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18), 0 4px 8px rgba(0,0,0,0.14);
}

.action-btn:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.action-btn:active{
  transform: scale(0.95) translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
}



/* Hero Section */
.hero {
  position: relative;
  height: 325px; /* 50% reduced from 650px */
  overflow: hidden;
  background-image: url('../assets/0_img/clip_home_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Optimize hero image loading */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(22, 78, 99, 0.8), rgba(30, 64, 175, 0.6));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem 1rem;
}

.hero-title {
  font-size: 1.75rem; /* Reduced from 2.5rem */
  font-weight: bold;
  margin-bottom: 0.5rem; /* Reduced from 1rem */
  animation: fadeIn 1s ease-in;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-test-title {
  font-size: 1.5rem; /* Reduced from 2.5rem */
  font-weight: bold;
  margin-bottom: 0.5rem; /* Reduced from 0.75rem */
  animation: fadeIn 1s ease-in;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 0.85rem; /* Reduced from 0.9rem */
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  max-width: 42rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.5;
}

.search-box {
  width: 100%;
  max-width: 42rem;
  background: white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
  margin-left: 1rem;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  color: var(--gray-800);
  font-size: 1rem;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--gray-400);
}

.search-button {
  background: linear-gradient(to right, var(--primary-cyan), var(--primary-blue));
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
  font-size: 0.85rem;
}

.search-button:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* Mini Stats (between search and categories) */
.mini-stats{
  position: relative;
  z-index: 3;
  margin-top: -28px; /* tuck under hero */
  padding-bottom: 1.25rem;
}

.mini-stats-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* Always 4 columns, even on mobile */
  gap: 0.5rem; /* Reduced from 0.75rem */
}

.mini-stat{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0.6rem 0.5rem; /* Reduced padding */
  text-align: center;
}

.mini-stat-label{
  font-size: 0.7rem; /* Reduced from 0.8rem */
  font-weight: 800;
  color: var(--gray-600);
  letter-spacing: 0.2px;
  margin-bottom: 0.15rem; /* Reduced from 0.2rem */
}

.mini-stat-value{
  font-size: 1.2rem; /* Reduced from 1.6rem */
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.1;
}

@media (min-width: 768px){
  .mini-stats-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mini-stat{ text-align: left; padding: 0.7rem 0.75rem; } /* Slightly more padding on desktop */
  .mini-stat-label{ font-size: 0.75rem; }
  .mini-stat-value{ font-size: 1.3rem; }
}

/* Categories Section */
.categories-section {
  background: white;
  padding: 2rem 0 1rem 0; /* Alt padding azaltıldı */
  position: relative;
  z-index: 2;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.2;
}

.filter-info {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.875rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* MOBİLDE 4 */
  gap: 0.5rem; /* 4 sütun için daha sıkı gap */
}

.category-card {
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1; /* Kare yap */
  justify-content: center; /* İçeriği dikey olarak ortala */
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s;
}

.category-card:hover::before {
  background: rgba(255, 255, 255, 0.1);
}

.category-card.active {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border: 2px solid white;
}

.category-icon {
  width: 2rem;
  height: 2rem;
  position: relative;
  z-index: 1;
}

.category-name {
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.category-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  position: relative;
  z-index: 1;
}

/* Category Colors */
.category-blue { background: var(--primary-blue); }
.category-cyan { background: var(--primary-cyan); }
.category-green { background: var(--primary-green); }
.category-red { background: var(--primary-red); }
.category-orange { background: var(--primary-orange); }
.category-purple { background: var(--primary-purple); }
.category-pink { background: var(--primary-pink); }
.category-gray { background: var(--gray-600); }

/* Quick Actions (compact, under categories) */
.quick-actions{
  padding: 0.75rem 0 0.5rem; /* Üst ve alt padding azaltıldı */
  background: linear-gradient(to bottom, #ffffff, var(--gray-50));
}

.quick-actions-header{
  text-align: left; /* Sola yatırıldı */
  margin-bottom: 0.5rem; /* Alt mesafe azaltıldı */
}

.quick-actions-title{
  font-size: 0.95rem; /* Yazı boyutu küçültüldü */
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.quick-actions-subtitle{
  font-size: 0.85rem;
  color: var(--gray-600);
}

.quick-actions-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Mobilde tek satırda 4'lü */
  gap: 0.5rem; /* Küçük gap */
}

.quick-action-card{
  display: flex;
  flex-direction: column; /* Mobilde dikey - icon üstte, yazı altta */
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.4rem; /* Kompakt padding */
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: white;
  text-decoration: none;
  color: var(--gray-800);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08); /* Premium gölge */
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100%; /* Tam genişlik */
}

.quick-action-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1); /* Daha belirgin gölge */
  border-color: var(--primary-blue);
}

.quick-action-icon{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(8, 145, 178, 0.12);
  font-size: 0.95rem; /* Daha küçük icon */
  flex-shrink: 0; /* Icon boyutunu koru */
}

.quick-action-text{
  font-weight: 500;
  font-size: 0.7rem; /* Mobilde daha küçük yazı */
  letter-spacing: 0.05px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  width: 100%;
}

@media (min-width: 768px){
  .quick-actions-grid{ 
    grid-template-columns: repeat(4, minmax(0, 1fr)); 
    gap: 0.75rem; /* Desktop'ta daha küçük gap */
  }
  .quick-actions-header{ margin-bottom: 1.25rem; }
  
  /* Desktop'ta butonlar daha kompakt */
  .quick-action-card{
    padding: 0.85rem 1rem;
    justify-content: center; /* Desktop'ta ortala */
    flex-direction: row; /* Desktop'ta yatay - icon ve yazı yan yana */
    gap: 0.6rem;
  }
  
  .quick-action-icon{
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
  }
  
  .quick-action-text{
    font-size: 0.875rem; /* Desktop'ta biraz daha büyük */
  }
}

/* Cards Section */
.highlights-section {
  padding: 3rem 0;
  background: var(--gray-50);
}

.selection-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#selectedCount {
  color: var(--primary-blue);
  font-weight: 600;
}

#saveSelection {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

#saveSelection:hover {
  background: #0da271;
  transform: translateY(-1px);
}

.cards-container {
  margin-top: 1rem; /* Üst mesafe azaltıldı */
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0; /* Mobilde gap yok, margin-bottom kullanılıyor */
  padding-bottom: 1rem; /* Extra padding at bottom */
}

/* Apply premium styling to all card types */
.card-item,
.card {
  background: white;
  border-radius: 1.25rem; /* Increased from var(--radius-lg) = 1rem for softer edges */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08); /* Premium shadow */
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  border: 2px solid transparent;
  margin-bottom: 1.5rem; /* Space for separator */
}

.card-item::after,
.card::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-200), transparent);
  pointer-events: none;
}

.card-item:hover,
.card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1); /* Enhanced shadow on hover */
  transform: translateY(-4px);
}

.card-item.selected {
  border-color: var(--primary-green);
}

.card-item.selected::before {
  content: '✓';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: var(--shadow);
  z-index: 2;
}

.card-image-wrapper {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

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

.card-item:hover .card-image,
.card:hover .card-image {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.card-content {
  padding: 1.25rem;
}

.card-title {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
  line-height: 1.4;
}

.card-title-link {
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s;
}

.card-title-link:hover {
  opacity: 0.7;
}

.card-footer {
  position: relative;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.card-badge-emoji {
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  user-select: none;
  position: relative;
}

.card-badge-emoji:hover {
  background: var(--gray-100);
  transform: scale(1.1);
}

.card-badge-emoji.is-open {
  background: var(--gray-100);
}

.badge-tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.4;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  max-width: 250px;
  white-space: normal;
  text-align: center;
}

.badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}

.badge-tooltip.show {
  display: block;
  animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.card-description {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.meta-icon {
  width: 1rem;
  height: 1rem;
}

.star-icon {
  fill: #fbbf24;
  color: #fbbf24;
}

/* Detailed Statistics */
.detailed-statistics {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0; /* Yükseklik azaltıldı */
  color: white;
}

.detailed-statistics .section-title {
  color: white;
  text-align: center;
  margin-bottom: 1.5rem; /* Alt margin azaltıldı */
}

.stats-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 kart tek satır (Kelime kaldırıldı) */
  gap: 1rem; /* Gap azaltıldı */
  margin-bottom: 1.5rem;
}

/* big-stat-card artık stat-card kullanıyor, bu stiller kaldırıldı */

/* Responsive stats */
@media (max-width: 1200px){
  .stats-overview{ 
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 kart */
    gap: 0.75rem;
  }
}
@media (max-width: 768px){
  .stats-overview{ 
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 kart */
    gap: 0.5rem;
  }
}
@media (max-width: 640px){
  .stats-overview{ 
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Mobilde 4 kart tek satır */
    gap: 0.4rem; /* Gap artırıldı (4 kart için) */
    padding: 0 0.5rem; /* Yan padding ekle */
  }
  
  .stat-card {
    padding: 0.6rem 0.4rem !important; /* Padding artırıldı (4 kart için) */
    min-width: 0; /* Overflow önle */
  }
  
  .stat-card .stat-icon,
  .stat-icon {
    display: none !important; /* Icon'lar kesinlikle kaldırıldı */
  }
  
  .stat-number {
    font-size: 1rem !important; /* Sayı boyutu artırıldı */
    font-weight: 700;
    line-height: 1.1;
  }
  
  .stat-label {
    font-size: 0.65rem !important; /* Label boyutu artırıldı */
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  
  .stat-content {
    gap: 0.3rem !important; /* İçerideki gap artırıldı */
  }
  
  .detailed-statistics .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column; /* Dikey layout */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  order: 1; /* Label üstte */
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
  order: 2; /* Number altta */
  text-align: center;
}

.filter-stat-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.filter-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Quick Links Section */
.quick-links {
  padding: 3rem 0;
  background: white;
}

.section-subtitle {
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 400;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Mobilde 2x2 grid */
  gap: 0.75rem;
  margin-bottom: 2rem;
  max-width: 600px; /* Genişliği sınırla ve ortala */
  margin-left: auto;
  margin-right: auto;
}

.link-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0.85rem 0.75rem; /* Daha küçük padding */
  text-decoration: none;
  color: var(--gray-800);
  transition: all 0.3s;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column; /* Mobilde dikey - icon üstte, yazı altta */
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08); /* Premium gölge */
  width: 100%; /* Tam genişlik */
}

.link-card:hover {
  background: white;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1); /* Daha belirgin gölge */
}

.link-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-blue);
  flex-shrink: 0; /* Icon boyutunu koru */
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.link-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.link-card .link-title {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: var(--gray-800);
  white-space: normal; /* İki satır olabilir */
  overflow: visible;
  text-overflow: unset;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Maksimum 2 satır */
  -webkit-box-orient: vertical;
}

.link-card .link-subtitle {
  font-size: 0.65rem;
  color: var(--gray-600);
  line-height: 1.3;
  white-space: normal; /* İki satır olabilir */
  overflow: visible;
  text-overflow: unset;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Maksimum 2 satır */
  -webkit-box-orient: vertical;
}

.link-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.quick-links-guide {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.quick-links-guide h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--gray-800);
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 2rem;
  height: 2rem;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
}

.step-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-cyan);
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-tagline {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.footer-contact {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.footer-contact-link:hover {
  background: #0891b2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.footer-contact-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--primary-cyan);
}

.footer-copyright {
  color: var(--gray-500);
  font-size: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gray-400);
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.footer-social-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

/* No Results Message */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .category-card {
    aspect-ratio: unset; /* Desktop'ta dikdörtgen */
    padding: 0.75rem 1.25rem; /* Yüksekliği azaltmak için padding azaltıldı */
    min-height: auto; /* Yükseklik sınırı kaldırıldı */
    height: auto; /* Otomatik yükseklik */
  }
  
  .links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem; /* Desktop'ta daha küçük gap */
    max-width: 100%; /* Desktop'ta tam genişlik */
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Desktop'ta link-card'lar daha kompakt */
  .link-card {
    padding: 1.5rem;
    flex-direction: column; /* Desktop'ta dikey */
    align-items: center;
    text-align: center;
  }
  
  .link-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem; /* Desktop'ta margin geri geldi */
  }
  
  .link-card .link-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    white-space: normal; /* Desktop'ta çok satır olabilir */
    -webkit-line-clamp: unset; /* Desktop'ta sınır yok */
    display: block;
  }
  
  .link-card .link-subtitle {
    font-size: 0.875rem;
    white-space: normal; /* Desktop'ta çok satır olabilir */
    -webkit-line-clamp: unset; /* Desktop'ta sınır yok */
    display: block;
  }
  
  .stats-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 kart (Kelime kaldırıldı) */
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle,
  .shared-menu-toggle {
    display: none;
  }
  
  .shared-nav-mobile {
    display: none !important;
  }

  .hero {
    height: 600px;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-test-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .search-button {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .category-name {
    font-size: 1rem;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .links-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .guide-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .guide-step {
    flex: 1;
    min-width: 45%;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* Desktop'ta kartlar arası yatay mesafe */
  }
  
  .links-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }
  
  /* Desktop'ta link-card'lar dikey ve kompakt */
  .link-card {
    padding: 1.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .link-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
  }
  
  .link-card .link-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    white-space: normal;
  }
  
  .link-card .link-subtitle {
    font-size: 0.875rem;
    white-space: normal;
  }
  
  .search-box {
    max-width: 48rem;
  }
}

@media (min-width: 1280px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; /* Desktop'ta kartlar arası yatay mesafe */
  }
}

/* Selected category check mark (top-right) */
.category-card {
  position: relative;
}

.category-check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 0, 0, 0.75);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.category-card.active .category-check {
  opacity: 1;
  transform: scale(1);
}

/* Floating Action Buttons (bottom-right, mobile only) */
.floating-buttons {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* Up Button - Always visible on mobile */
.up-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none; /* shown only on mobile */
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3), 0 3px 10px rgba(139, 92, 246, 0.2);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(124, 58, 237, 0.95));
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.up-fab::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.up-fab:hover::before {
  width: 100%;
  height: 100%;
}

.up-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4), 0 6px 16px rgba(124, 58, 237, 0.3);
}

.up-fab:active {
  transform: scale(0.95) translateY(0);
}

.up-fab-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.up-fab-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* Filter Button - Always visible on mobile, color changes based on filter state */
.filter-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none; /* shown only on mobile */
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3), 0 3px 10px rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.95); /* Kırmızı - filtre seçilmemiş (varsayılan) */
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Mobile'da her zaman görünür */
@media (max-width: 767px) {
  .filter-fab {
    display: flex;
  }
}

.filter-fab.has-filter {
  background: rgba(16, 185, 129, 0.95); /* Yeşil - filtre seçilmiş */
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3), 0 3px 10px rgba(5, 150, 105, 0.2);
}

.filter-fab::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.filter-fab:hover::before {
  width: 100%;
  height: 100%;
}

.filter-fab:hover {
  transform: translateY(-2px);
}

.filter-fab.has-filter:hover {
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4), 0 6px 16px rgba(5, 150, 105, 0.3);
}

.filter-fab:active {
  transform: scale(0.95) translateY(0);
}

.filter-fab-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.filter-fab-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.filter-fab-text {
  display: none; /* Text kaldırıldı, sadece icon */
}

/* Mobile only */
@media (max-width: 767px) {
  .floating-buttons {
    display: flex;
  }
  
  .up-fab {
    display: flex;
  }
}

/* Desktop'ta gizle */
@media (min-width: 768px) {
  .floating-buttons {
    display: none !important;
  }
}

/* ===== Detail page (selection.html) =====

/* Extended category colors */

.category-teal { background: var(--primary-teal); }
.category-indigo { background: var(--primary-indigo); }
.category-amber { background: var(--primary-amber); }
.category-lime { background: var(--primary-lime); }
.category-slate { background: var(--primary-slate); }
.category-violet { background: var(--primary-violet); }
.category-wine { background: var(--primary-wine); }



@media (max-width: 639px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr); /* Mobilde 4 sütun */
    gap: 0.4rem; /* Daha sıkı gap */
  }

  .category-card {
    padding: 0.6rem 0.4rem; /* Daha küçük padding */
    gap: 0.35rem; /* İçerideki gap'i de küçült */
    aspect-ratio: 1; /* Kare yap - mobilde de koru */
    min-height: 0; /* Aspect ratio için gerekli */
  }

  .category-icon {
    width: 1.25rem; /* Daha küçük icon */
    height: 1.25rem;
  }

  .category-name {
    font-size: 0.7rem; /* Daha küçük font */
    line-height: 1.2;
  }

  .category-count {
    font-size: 0.6rem; /* Daha küçük count */
    padding: 0.2rem 0.4rem;
  }

  /* Mobile: Ensure "Kategori seç! Sonuçlar aşağıda!" fits on one line */
  .section-title {
    font-size: 1rem; /* Smaller font for mobile to fit on one line */
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Allow wrapping if really needed on very small screens */
  @media (max-width: 360px) {
    .section-title {
      font-size: 0.9rem;
      white-space: normal;
      line-height: 1.4;
    }
  }
}


/* =====================================================
   Articles (placeholder card template)
   ===================================================== */
.card-article .card-badge-article{
  background: var(--primary-wine);
}
.card-article .article-meta{
  gap: .6rem;
}
.card-article .card-meta.article-meta{
  margin-top: .75rem;
}


/* ===== Hero Test Subtitle – page specific ===== */
/* WhatsApp Community Button */
.whatsapp-community-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  text-decoration: none;
  padding: 1rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.whatsapp-community-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.whatsapp-community-btn:hover::before {
  width: 300px;
  height: 300px;
}

.whatsapp-community-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-community-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.whatsapp-btn-text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .whatsapp-community-btn {
    font-size: 0.75rem;
    padding: 0.65rem 1.1rem;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
  }

  .whatsapp-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .whatsapp-btn-text {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .hero-test-title {
    font-size: 1.1rem;
    margin-bottom: 0.375rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .hero-subtitle-test {
    font-size: 0.7rem !important;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .hero-content {
    padding: 1.25rem 1rem;
  }
}

.hero-subtitle-test a,
.hero-subtitle-test a:visited,
.hero-subtitle-test a:hover,
.hero-subtitle-test a:active {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline;
}
