
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 1rem 0;
	box-shadow: 0 2px 20px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.8rem;
	font-weight: bold;
	color: #667eea;
	display: flex;
	align-items: center;
	gap: 10px;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
	align-items: center;
}

.nav-links a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: color 0.3s;
}

.nav-links a:hover {
	color: #667eea;
}

.business-login {
	background: linear-gradient(45deg, #667eea, #764ba2);
	color: white;
	padding: 10px 20px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.3s, box-shadow 0.3s;
}

.business-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Hero Section */
.hero {
	text-align: center;
	padding: 4rem 0;
	color: white;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.search-container {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
}

.search-box {
	width: 100%;
	padding: 15px 50px 15px 20px;
	border: none;
	border-radius: 50px;
	font-size: 1.1rem;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	outline: none;
}

.search-btn {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: linear-gradient(45deg, #667eea, #764ba2);
	border: none;
	color: white;
	padding: 10px 15px;
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.3s;
}

.search-btn:hover {
	transform: translateY(-50%) scale(1.1);
}

/* Featured Restaurants */
.featured {
	background: white;
	padding: 4rem 0;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: #333;
}

.restaurants-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.restaurant-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
}

.restaurant-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.restaurant-image {
	height: 200px;
	background: linear-gradient(45deg, #667eea, #764ba2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 3rem;
}

.restaurant-info {
	padding: 1.5rem;
}

.restaurant-name {
	font-size: 1.3rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: #333;
}

.restaurant-cuisine {
	color: #666;
	margin-bottom: 0.5rem;
}

.restaurant-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.rating-stars {
	color: #ffc107;
}

.qr-badge {
	background: linear-gradient(45deg, #667eea, #764ba2);
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* Categories */
.categories {
	background: #f8f9fa;
	padding: 4rem 0;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

.category-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	transition: transform 0.3s;
	cursor: pointer;
}

.category-card:hover {
	transform: translateY(-5px);
}

.category-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: #667eea;
}

.category-name {
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
}

/* Stats */
.stats {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 4rem 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	text-align: center;
}

.stat-item {
	padding: 2rem;
}

.stat-number {
	font-size: 3rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 1.1rem;
	opacity: 0.9;
}

/* Footer */
footer {
	background: #333;
	color: white;
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h3 {
	margin-bottom: 1rem;
	color: #667eea;
}

.footer-section a {
	color: #ccc;
	text-decoration: none;
	display: block;
	margin-bottom: 0.5rem;
}

.footer-section a:hover {
	color: white;
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #555;
	opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.restaurants-grid {
		grid-template-columns: 1fr;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Loading Animation */
.loading {
	display: none;
	text-align: center;
	padding: 2rem;
}

.spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #667eea;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto 1rem;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.social-icons {
	display: flex;
	gap: 15px; 
	align-items: center;
	margin-top: 1rem;
}

.social-icons a i {
	font-size: 30px;
	color: #667eea;
}

.social-icons a:hover i {
	color: #007bff;
}

/* Restoran Konteyner */
#restaurantContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  padding: 32px 0;
  max-width: 100%;
}

/* Restoran Kartı */
.restaurant-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
}

.restaurant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.restaurant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(99, 102, 241, 0.2);
}

.restaurant-card:hover::before {
  opacity: 1;
}

/* Restoran Görseli */
.restaurant-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.restaurant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.restaurant-card:hover .restaurant-image img {
  transform: scale(1.08);
}

/* Restoran Detayları */
.restaurant-details {
  padding: 28px;
  position: relative;
}

.restaurant-details h3 {
  color: #0f172a;
  font-size: 1.5em;
  font-weight: 600;
  margin: 0 0 16px 0;
  line-height: 1.3;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: -0.025em;
}

/* Açıklama Metni - Tamamen Yeni Stil */
.restaurant-details p:not([class]):not(:has(strong)) {
  color: #64748b;
  font-size: 0.95em;
  line-height: 1.7;
  margin: 0 0 24px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
  font-weight: 400;
  position: relative;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border-left: 4px solid #e2e8f0;
  font-style: italic;
}
 

/* Puan Konteyneri - Tamamen Yeni Tasarım */
.restaurant-details p:has(strong) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 24px 0;
  padding: 0;
  background: none;
  border: none;
}

.restaurant-details p strong {
  color: #475569;
  font-weight: 500;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.restaurant-details p strong::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 1px;
}

/* Puan Badge Stilleri */
.rating-value {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  position: relative;
  overflow: hidden;
}

.rating-value::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.rating-value:hover::before {
  left: 100%;
}

.rating-no-score {
  color: #94a3b8;
  font-size: 0.85em;
  font-weight: 500;
  padding: 8px 16px;
  background: #f1f5f9;
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Menü Butonu - Premium Görünüm */
.view-menu {
  display: inline-block;
  background: linear-gradient(135deg, #0f172a 0%, #374151 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9em;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
  width: 100%;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
}

.view-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
}

.view-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.view-menu:hover::before {
  left: 100%;
}

/* Sonuç Bulunamadı Mesajı */
#restaurantContainer p {
  text-align: center;
  color: #64748b;
  font-size: 1.2em;
  padding: 38px 32px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 20px; 
  margin: 32px 0;
  font-weight: 500;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  #restaurantContainer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }
  
  .restaurant-card {
    margin: 0 16px;
  }
  
  .restaurant-details {
    padding: 24px;
  }
  
  .restaurant-details h3 {
    font-size: 1.3em;
  }
  
  .view-menu {
    padding: 12px 28px;
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .restaurant-image {
    height: 180px;
  }
  
  .restaurant-details {
    padding: 20px;
  }
  
  .restaurant-details h3 {
    font-size: 1.2em;
  }
  
  .restaurant-details p:not([class]):not(:has(strong)) {
    font-size: 0.9em;
    padding: 12px;
  }
  
  .view-menu {
    padding: 10px 24px;
    font-size: 0.8em;
  }
}

/* Animasyonlar */
.restaurant-card {
  animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.rating-stars {
  font-size: 1.2rem;
  color: #ffb703;
}
.rating-value {
  font-size: 1rem;
  color: #333;
}
.category-card.active {
  border: 2px solid #2563eb;
  background-color: #f0f4ff;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
} 













