/* ── index.html Sayfa-Özel Stilleri ─────────────────────────────── */

/* Genel sayfa yapısı */
body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
}

/* Navbar - index'te statik konumda */
.navbar--static {
	position: static;
	margin-bottom: 0;
}

/* İçerik sarmalayıcı */
.wrap {
	max-width: 1100px;
	margin-left: auto !important;
	margin-right: auto !important;
	width: calc(100% - 40px);
	box-sizing: border-box;
}

/* Hero Bölümü */
.hub-hero {
	text-align: center;
	padding: 30px 20px 20px 20px;
	background: var(--bg);
}

.hub-hero h1 {
	font-family: 'SF Pro Rounded', sans-serif;
	font-size: 2.5em;
	margin-bottom: 10px;
	color: var(--text);
}

.hub-hero-tagline {
	font-size: 1.3em;
	font-weight: 600;
	margin-top: 15px;
	font-family: 'SF Pro Rounded', sans-serif;
}

.hub-hero-subtitle {
	font-size: 1.1em;
	color: var(--text-secondary);
	margin-top: 8px;
}

/* Hub Grid */
.hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
	padding-left: 20px;
	padding-right: 20px;
	max-width: 1100px;
	margin: 20px auto;
}

/* Hub Kartları */
.hub-card {
	background: var(--surface-solid);
	padding: 20px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	text-align: center;
	transition: var(--tr);
	color: var(--text);
	display: block;
	border: 1px solid var(--border);
}

@media (max-width: 600px) {
	.hub-card {
		padding: 15px;
	}
}

.hub-card h2 {
	color: var(--accent);
	margin-bottom: 12px;
	margin-top: 0;
	font-family: 'SF Pro Rounded', sans-serif;
	font-size: 1.25em;
}

.hub-card a:hover {
	color: var(--accent);
}

.hub-card p {
	color: var(--text-secondary);
	margin-bottom: 16px;
	font-size: 0.95em;
	line-height: 1.6;
}

/* Şehir etiketi (hub grid içindeki butonlar) */
.city-tag {
	font-size: 0.8em;
	padding: 6px 14px;
	background: var(--accent);
	border: 1px solid var(--border);
	border-radius: 8px;
	/* color: var(--text); */
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: var(--tr);
}

.city-tag:hover {
	border-color: var(--accent) !important;
	background: var(--surface-solid) !important;
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.hub-card .city-tag-wrapper {
	margin-top: 15px;
}

/* Arama Bölümü */
.search-container {
	max-width: 600px;
	margin: 10px auto;
	padding: 0 20px;
	position: relative;
}

.search-container-inner {
	position: relative;
}

.search-input-main {
	width: 100%;
	padding: 16px 20px 16px 50px;
	border-radius: 99px;
	border: 1.5px solid var(--border);
	background: var(--surface-solid);
	color: var(--text);
	font-size: 1.05em;
	font-family: inherit;
	outline: none;
	transition: var(--tr);
	box-shadow: var(--shadow-sm);
}

.search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--text-muted);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.search-dropdown {
	position: absolute;
	left: 20px;
	right: 20px;
	top: 100%;
	margin-top: 10px;
	background: var(--surface-solid);
	border: 1.5px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	max-height: 350px;
	overflow-y: auto;
	z-index: 100;
	scrollbar-width: thin;
}

.search-error {
	color: var(--accent);
	font-weight: 600;
	font-size: 0.85em;
	text-align: center;
	margin-top: 12px;
	padding: 0 10px;
	line-height: 1.4;
}

.search-dropdown-item:hover {
	background-color: var(--surface);
}

/* Dropdown içi grup başlıkları */
.search-group-label {
	padding: 8px 15px;
	font-size: 0.8em;
	font-weight: bold;
	color: var(--text-muted);
	background: var(--bg);
	text-transform: uppercase;
}

/* Dropdown arama sonuç öğeleri */
.search-result-item {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
	padding: 12px 15px;
	border-bottom: 1px solid var(--border);
	transition: var(--tr);
}

.search-result-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9em;
	flex-shrink: 0;
}

.search-result-icon--food {
	background: var(--accent-light);
	color: var(--accent);
}

.search-result-icon--dorm {
	background: var(--bg);
	color: var(--text-secondary);
	border: 1px solid var(--border);
}

.search-result-title {
	font-weight: 600;
	color: var(--text);
}

.search-result-subtitle {
	font-size: 0.8em;
	color: var(--text-secondary);
	margin-top: 2px;
}

.search-no-result {
	padding: 15px 20px;
	color: var(--text-secondary);
	text-align: center;
	font-size: 0.95em;
}

/* Bugünün En İyi Menüleri bölümü */
.best-menus-widget {
	max-width: 500px;
	margin: 20px auto 25px auto;
	padding: 20px;
	width: calc(100% - 40px);
	background: var(--surface-solid);
	border: 1.5px solid var(--border);
	border-radius: var(--radius-lg);
	box-sizing: border-box;
}

.best-menus-widget h2 {
	font-family: 'SF Pro Rounded', sans-serif;
	font-size: 0.95em;
	font-weight: 700;
	color: var(--text);
	text-transform: uppercase;
	margin: 0 0 15px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: baseline;
}

.best-menus-widget h2 span {
	color: var(--text-muted);
	font-size: 1em;
}

.best-menus-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 20px;
}

.best-menu-item-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding-bottom: 0;
}

.best-menu-item-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

.best-menu-item-dish {
	font-weight: 700;
	font-size: 1.05em;
	color: var(--text);
	line-height: 1.3;
}

.best-menu-item-city {
	font-size: 0.9em;
	color: var(--text-muted);
	font-weight: 600;
}

.best-menu-score-badge {
	background: #76d275;
	color: #000;
	padding: 3px 10px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.9em;
}

.best-menus-action {
	display: block;
	text-align: center;
	background: #76d275;
	color: #000;
	padding: 12px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.05em;
	line-height: 1.4;
	transition: var(--tr);
}

.best-menus-action:hover {
	opacity: 0.9;
}

/* Neden KYK Varatlas Section */
.why-section {
	margin-top: 30px;
	padding: 30px;
	background: var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.why-section h2 {
	font-family: 'SF Pro Rounded', sans-serif;
	text-align: center;
	margin-bottom: 25px;
	color: var(--text);
	font-size: 1.8em;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.why-grid h3 {
	color: var(--accent);
	margin-bottom: 8px;
	font-size: 1.1em;
	font-family: 'SF Pro Rounded', sans-serif;
}

.why-grid p {
	color: var(--text-secondary);
	font-size: 0.95em;
	line-height: 1.6;
}

/* Nasıl Kullanılır Section */
.how-section {
	margin-top: 60px;
	text-align: center;
}

.how-section h2 {
	font-family: 'SF Pro Rounded', sans-serif;
	margin-bottom: 30px;
	color: var(--text);
	font-size: 1.8em;
}

.how-steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: left;
	max-width: 500px;
	margin: 0 auto;
}

.how-step {
	display: flex;
	gap: 15px;
	align-items: flex-start;
}

.how-step-number {
	background: var(--accent);
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	flex-shrink: 0;
}

.how-step h3 {
	margin-top: 4px;
	color: var(--text);
	font-size: 1.1em;
	font-family: 'SF Pro Rounded', sans-serif;
}

.how-step p {
	color: var(--text-secondary);
	font-size: 0.95em;
	line-height: 1.5;
	margin-top: 4px;
}

/* SSS (FAQ) Section */
.faq-section--index {
	margin-top: 60px;
	margin-bottom: 60px;
}

.faq-section--index h2 {
	font-family: 'SF Pro Rounded', sans-serif;
	text-align: center;
	margin-bottom: 25px;
	color: var(--text);
	font-size: 1.8em;
}

.faq-list--index {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-item--index {
	background: var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 15px;
	cursor: pointer;
	transition: var(--tr);
}

.faq-item--index summary {
	font-weight: 700;
	color: var(--text);
	outline: none;
	font-family: 'SF Pro Rounded', sans-serif;
}

.faq-item--index p {
	color: var(--text-secondary);
	font-size: 0.95em;
	line-height: 1.6;
	margin-top: 10px;
	cursor: default;
}

/* Footer */
.page-footer {
	background: var(--surface-solid);
	border-top: 1px solid var(--border);
	padding: 50px 20px;
	font-size: 0.9em;
	color: var(--text-muted);
	margin-top: 80px;
}

.page-footer-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.footer-grid h3 {
	color: var(--text);
	margin-bottom: 15px;
	font-family: 'SF Pro Rounded', sans-serif;
}

.footer-grid p {
	line-height: 1.6;
	font-size: 0.95em;
}

.footer-list {
	list-style: none;
	padding: 0;
	line-height: 2;
}

.footer-list a {
	color: var(--accent);
	text-decoration: none;
}

.footer-list--cities {
	list-style: none;
	padding: 0;
	line-height: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 10px;
}

.footer-list--cities a {
	color: var(--text-muted);
	text-decoration: none;
}

.footer-sitemap-section {
	border-top: 1px solid var(--border);
	padding-top: 30px;
	margin-bottom: 40px;
}

.footer-sitemap-section h3 {
	color: var(--text);
	margin-bottom: 20px;
	font-family: 'SF Pro Rounded', sans-serif;
	font-size: 1.1em;
}

.footer-bottom {
	border-top: 1px solid var(--border);
	padding-top: 25px;
	font-size: 0.85em;
	text-align: center;
	line-height: 1.6;
}

.footer-bottom p {
	margin-bottom: 8px;
}