/* Tekne Rehberi — premium lacivert/turkuaz/krem tema */

:root {
	--tr-navy-900: #0a1f2c;
	--tr-navy-800: #0e2a3c;
	--tr-navy-700: #123b52;
	--tr-navy-200: #c9d8e2;
	--tr-navy-100: #e6eef3;
	--tr-teal: #0fb6bf;
	--tr-teal-dark: #0a8f97;
	--tr-gold: #c9a227;
	--tr-cream: #faf6f0;
	--tr-cream-2: #f4ede3;
	--tr-text: #2b3a46;
	--tr-muted: #64788a;
	--tr-radius: 16px;
	--tr-shadow: 0 6px 24px rgba(10, 31, 44, 0.08);
	--tr-shadow-lg: 0 16px 48px rgba(10, 31, 44, 0.14);
	--tr-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--tr-text);
	background: var(--tr-cream);
	margin: 0;
	line-height: 1.6;
}

h1, h2, h3, h4, .tr-display {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--tr-navy-900);
	line-height: 1.25;
}

a { color: var(--tr-teal-dark); text-decoration: none; }
a:hover { color: var(--tr-teal); }
img { max-width: 100%; height: auto; }

.tr-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Header ---------- */
.tr-header {
	background: var(--tr-navy-800);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--tr-shadow);
}
.tr-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 72px;
	flex-wrap: wrap;
}
.tr-header__brand { display: flex; align-items: center; gap: 12px; }
.tr-header__brand .site-title {
	color: #fff;
	font-family: 'Playfair Display', serif;
	font-size: 1.35rem;
	margin: 0;
}
.tr-header__brand .site-subtitle {
	color: var(--tr-teal);
	font-size: 0.78rem;
	margin: 0;
	opacity: 0.9;
}
.tr-header__brand a { color: inherit; }

.tr-nav { display: flex; align-items: center; gap: 22px; }
.tr-nav a { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; font-weight: 500; }
.tr-nav a:hover { color: var(--tr-teal); }

.tr-lang-switch {
	display: flex;
	gap: 4px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	padding-left: 14px;
}
.tr-lang-switch a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 6px;
}
.tr-lang-switch a.is-active {
	color: var(--tr-navy-900);
	background: var(--tr-teal);
}

.tr-header__mobile-toggle {
	display: none;
	background: none;
	border: 0;
	color: #fff;
	font-size: 1.6rem;
	cursor: pointer;
}

/* ---------- Hero ---------- */
.tr-hero {
	background: linear-gradient(rgba(10, 31, 44, 0.62), rgba(10, 31, 44, 0.75)),
		var(--tr-hero-bg, url('../images/hero-placeholder.jpg') center / cover);
	color: #fff;
	padding: 96px 20px;
	text-align: center;
}
.tr-hero__tag {
	display: inline-block;
	border: 1px solid var(--tr-teal);
	color: var(--tr-teal);
	padding: 6px 18px;
	border-radius: 999px;
	font-size: 0.9rem;
	margin-bottom: 22px;
}
.tr-hero h1 {
	color: #fff;
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	margin: 0 0 18px;
}
.tr-hero p {
	max-width: 640px;
	margin: 0 auto 34px;
	font-size: 1.08rem;
	opacity: 0.92;
}

/* ---------- Arama kutusu ---------- */
.tr-searchbox {
	max-width: 620px;
	margin: 0 auto;
	display: flex;
	gap: 10px;
	background: rgba(255, 255, 255, 0.97);
	border-radius: 999px;
	padding: 8px;
	box-shadow: var(--tr-shadow-lg);
}
.tr-searchbox input {
	flex: 1;
	border: 0;
	background: transparent;
	font-size: 1rem;
	padding: 12px 18px;
	outline: none;
	color: var(--tr-navy-900);
	min-width: 0;
}
.tr-searchbox button {
	border: 0;
	background: var(--tr-teal);
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 12px 28px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.18s var(--tr-ease), transform 0.16s var(--tr-ease);
}
.tr-searchbox button:hover { background: var(--tr-teal-dark); }
.tr-searchbox button:active { transform: scale(0.97); }

/* ---------- Bölüm ---------- */
.tr-section { padding: 72px 0; }
.tr-section__head { text-align: center; margin-bottom: 42px; }
.tr-section__head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 10px; }
.tr-section__head p { color: var(--tr-muted); max-width: 640px; margin: 0 auto; }

/* ---------- Kartlar ---------- */
.tr-list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.tr-cols-4 { grid-template-columns: repeat(4, 1fr); }
.tr-cols-6 { grid-template-columns: repeat(6, 1fr); }
.tr-cols-2 { grid-template-columns: repeat(2, 1fr); }

.tr-card {
	background: #fff;
	border-radius: var(--tr-radius);
	box-shadow: var(--tr-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s var(--tr-ease), box-shadow 0.2s var(--tr-ease);
}
.tr-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tr-shadow-lg);
}
.tr-card__link { position: relative; display: block; }
.tr-card__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}
.tr-card__image--placeholder {
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, var(--tr-navy-700), var(--tr-navy-200));
	color: rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', serif;
	font-size: 1.2rem;
}
.tr-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--tr-gold);
	color: var(--tr-navy-900);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
}
.tr-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tr-card__body h3 { font-size: 1.15rem; margin: 0; }
.tr-card__body h3 a { color: inherit; }
.tr-card__location { color: var(--tr-muted); font-size: 0.88rem; margin: 0; }
.tr-card__place { color: var(--tr-muted); font-size: 0.85rem; margin: 0; }
.tr-card__price {
	color: var(--tr-teal-dark);
	font-weight: 700;
	font-size: 1rem;
	margin: 4px 0 0;
}
.tr-card--category .tr-card__body { text-align: center; align-items: center; }
.tr-card--category .tr-card__image--placeholder { background: linear-gradient(135deg, var(--tr-teal-dark), var(--tr-navy-700)); }

/* ---------- Filtre paneli ---------- */
.tr-filters {
	background: #fff;
	border-radius: var(--tr-radius);
	padding: 24px;
	box-shadow: var(--tr-shadow);
	height: fit-content;
	position: sticky;
	top: 92px;
}
.tr-filters h2 { font-size: 1.2rem; margin: 0 0 16px; }
.tr-filter-group { margin-bottom: 16px; }
.tr-filter-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--tr-navy-800);
	margin-bottom: 6px;
}
.tr-filter-group input,
.tr-filter-group select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--tr-navy-200);
	border-radius: 10px;
	font-size: 0.95rem;
	background: var(--tr-cream);
	color: var(--tr-text);
}
.tr-filter-actions { display: flex; gap: 10px; }
.tr-btn {
	display: inline-block;
	background: var(--tr-navy-800);
	color: #fff;
	border: 0;
	padding: 11px 22px;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s var(--tr-ease), transform 0.16s var(--tr-ease);
}
.tr-btn:hover { background: var(--tr-navy-700); color: #fff; }
.tr-btn:active { transform: scale(0.97); }
.tr-btn--outline {
	background: transparent;
	border: 1px solid var(--tr-navy-200);
	color: var(--tr-navy-800);
}
.tr-btn--danger { background: #b91c1c; }
.tr-btn--danger:hover { background: #991b1b; }

.tr-layout-2col {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	align-items: start;
}

.tr-mobile-filter-toggle { display: none; }

/* ---------- İlan detayı ---------- */
.tr-single { padding: 48px 0; }
.tr-single__header { margin-bottom: 32px; }
.tr-single__header h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 10px; }
.tr-breadcrumb {
	color: var(--tr-muted);
	font-size: 0.85rem;
	margin-bottom: 14px;
}
.tr-breadcrumb a { color: var(--tr-muted); }

.tr-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 14px;
	border-radius: var(--tr-radius);
	overflow: hidden;
	margin-bottom: 36px;
}
.tr-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.tr-gallery__col { display: flex; flex-direction: column; gap: 14px; }

.tr-single__grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
	align-items: start;
}
.tr-single__sidebar {
	background: #fff;
	border-radius: var(--tr-radius);
	padding: 26px;
	box-shadow: var(--tr-shadow);
	position: sticky;
	top: 92px;
}
.tr-price-card__amount {
	font-family: 'Playfair Display', serif;
	font-size: 1.9rem;
	color: var(--tr-teal-dark);
	font-weight: 700;
	margin: 0 0 4px;
}
.tr-price-card__label { color: var(--tr-muted); font-size: 0.9rem; margin-bottom: 18px; }

.tr-contact-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.tr-contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.95rem;
	text-align: center;
	transition: transform 0.16s var(--tr-ease);
}
.tr-contact-btn:active { transform: scale(0.97); }
.tr-contact-btn--phone { background: var(--tr-navy-800); color: #fff; }
.tr-contact-btn--phone:hover { background: var(--tr-navy-700); color: #fff; }
.tr-contact-btn--wa { background: #128c7e; color: #fff; }
.tr-contact-btn--wa:hover { background: #0e7268; color: #fff; }
.tr-contact-btn--mail { background: var(--tr-cream-2); color: var(--tr-navy-800); }
.tr-contact-btn--mail:hover { background: var(--tr-navy-100); color: var(--tr-navy-800); }

.tr-specs { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--tr-navy-100); padding-top: 16px; }
.tr-spec { display: flex; justify-content: space-between; font-size: 0.9rem; }
.tr-spec b { color: var(--tr-navy-800); font-weight: 600; }

.tr-services {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
}
.tr-service-tag {
	background: var(--tr-navy-100);
	color: var(--tr-navy-800);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.85rem;
}

.tr-single__content { background: #fff; border-radius: var(--tr-radius); padding: 30px; box-shadow: var(--tr-shadow); }
.tr-single__content h2 { font-size: 1.4rem; margin: 28px 0 10px; }
.tr-single__content h2:first-child { margin-top: 0; }

/* ---------- Form ---------- */
.tr-form {
	max-width: 760px;
	background: #fff;
	border-radius: var(--tr-radius);
	padding: 32px;
	box-shadow: var(--tr-shadow);
}
.tr-form h3 { font-size: 1.25rem; margin: 26px 0 12px; }
.tr-form h3:first-child { margin-top: 0; }
.tr-form p { margin: 0 0 14px; }
.tr-form label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--tr-navy-800); margin-bottom: 6px; }
.tr-form input[type="text"],
.tr-form input[type="number"],
.tr-form input[type="email"],
.tr-form select,
.tr-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--tr-navy-200);
	border-radius: 10px;
	font-size: 0.95rem;
	font-family: inherit;
	background: var(--tr-cream);
}
.tr-form input[type="file"] { width: 100%; padding: 8px; }
.tr-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tr-form-actions { display: flex; gap: 12px; align-items: center; margin-top: 22px; }
.tr-notice { padding: 14px 18px; border-radius: 10px; margin: 0 0 18px; }
.tr-notice--success { background: #e6f5ec; color: #14532d; }
.tr-notice--error { background: #fdeaea; color: #7f1d1d; }
.tr-notice--info { background: var(--tr-navy-100); color: var(--tr-navy-800); }
.tr-empty {
	text-align: center;
	color: var(--tr-muted);
	background: #fff;
	border-radius: var(--tr-radius);
	padding: 48px 24px;
	box-shadow: var(--tr-shadow);
}

/* ---------- Footer ---------- */
.tr-footer {
	background: var(--tr-navy-800);
	color: rgba(255, 255, 255, 0.85);
	padding: 56px 0 24px;
	margin-top: 72px;
}
.tr-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}
.tr-footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; margin: 0 0 16px; }
.tr-footer p { font-size: 0.92rem; opacity: 0.85; }
.tr-footer ul { list-style: none; padding: 0; margin: 0; }
.tr-footer li { margin-bottom: 8px; }
.tr-footer a { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }
.tr-footer a:hover { color: var(--tr-teal); }
.tr-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 20px;
	text-align: center;
	font-size: 0.85rem;
	opacity: 0.75;
}

/* ---------- Pagination ---------- */
.tr-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}
.tr-pagination a, .tr-pagination span {
	padding: 8px 16px;
	border-radius: 10px;
	background: #fff;
	box-shadow: var(--tr-shadow);
	font-weight: 600;
}
.tr-pagination .current { background: var(--tr-navy-800); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.tr-list-grid { grid-template-columns: repeat(2, 1fr); }
	.tr-single__grid { grid-template-columns: 1fr; }
	.tr-single__sidebar { position: static; }
	.tr-layout-2col { grid-template-columns: 1fr; }
	.tr-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.tr-header__mobile-toggle { display: block; }
	.tr-nav {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 14px 20px 20px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
	.tr-nav.is-open { display: flex; }
	.tr-header__inner { flex-wrap: wrap; }

	.tr-hero { padding: 64px 20px; }
	.tr-searchbox { flex-direction: column; border-radius: var(--tr-radius); }
	.tr-searchbox button { width: 100%; }

	.tr-list-grid { grid-template-columns: 1fr; }
	.tr-row { grid-template-columns: 1fr; }
	.tr-gallery { grid-template-columns: 1fr; }
	.tr-footer__grid { grid-template-columns: 1fr; }

	.tr-filters { position: static; display: none; }
	.tr-filters.is-open { display: block; }
	.tr-mobile-filter-toggle {
		display: block;
		width: 100%;
		margin-bottom: 20px;
		background: #fff;
		color: var(--tr-navy-800);
		border: 1px solid var(--tr-navy-200);
	}
}
