/* Temel ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Arka plan efekti */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse at top, rgba(0, 255, 255, 0.15), transparent 50%),
    radial-gradient(ellipse at bottom, rgba(0, 191, 255, 0.1), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Üst navigasyon */
.search-nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  z-index: 100;
  gap: 2rem;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0ff;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.search-box-nav {
  display: flex;
  flex: 1;
  max-width: 600px;
  gap: 0.5rem;
  position: relative;
}

.search-box-nav input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: 2px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-box-nav input:focus {
  outline: none;
  border-color: #0ff;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.search-btn {
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid rgba(0, 255, 255, 0.5);
  background: rgba(0, 255, 255, 0.1);
  color: #0ff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #0ff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  transform: scale(1.05);
}

.back-home {
  padding: 10px 20px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50px;
  color: #0ff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.back-home:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #0ff;
  transform: translateX(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Arama başlığı */
.search-header {
  text-align: center;
  padding: 60px 5% 40px;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.8s ease;
}

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

.search-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #0ff, #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.search-info {
  font-size: 1.2rem;
  color: #aaa;
}

.search-term {
  color: #0ff;
  font-weight: 600;
}

.result-count {
  color: #0ff;
  font-weight: 700;
}

/* Sonuçlar container */
.results-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5% 80px;
  position: relative;
  z-index: 1;
}

/* Sonuç kartı */
.result-card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

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

.result-card:hover {
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
  transform: translateY(-5px);
}

.result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.result-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0ff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.result-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  background: linear-gradient(135deg, #0ff, #00bfff);
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.result-score {
  margin-left: auto;
  font-size: 0.9rem;
  color: #0ff;
  font-weight: 600;
}

.result-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.result-card h2 a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.result-card h2 a:hover {
  color: #0ff;
  transform: translateX(5px);
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.result-description {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.result-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.result-tag {
  padding: 4px 12px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  font-size: 0.85rem;
  color: #0ff;
  transition: all 0.3s ease;
}

.result-tag:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #0ff;
  transform: scale(1.05);
}

.read-more {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50px;
  color: #0ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #0ff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transform: translateX(5px);
}

/* Sonuç bulunamadı */
.no-results {
  text-align: center;
  padding: 60px 20px;
  animation: fadeIn 0.8s ease;
}

.no-results h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0ff;
}

.no-results p {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.suggestions {
  margin-top: 3rem;
}

.suggestions h3 {
  font-size: 1.3rem;
  color: #0ff;
  margin-bottom: 1rem;
}

.suggestion-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.suggestion-pill {
  padding: 12px 24px;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 50px;
  color: #0ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.suggestion-pill:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #0ff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Dropdown'da "Tümünü Gör" butonu */
.view-all-btn {
  margin-left: auto;
  color: #0ff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  transform: translateX(3px);
}

/* Footer */
.search-footer {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  color: #888;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .search-nav {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 3%;
  }
  
  .nav-logo {
    font-size: 1.2rem;
  }
  
  .search-box-nav {
    order: 3;
    width: 100%;
    max-width: 100%;
  }
  
  .back-home {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  
  .search-header {
    padding: 40px 3% 30px;
  }
  
  .search-header h1 {
    font-size: 2rem;
  }
  
  .result-card {
    padding: 1.5rem;
  }
  
  .result-card h2 {
    font-size: 1.4rem;
  }
  
  .result-header {
    gap: 0.5rem;
  }
  
  .result-score {
    width: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}