/* ==========================================================================
   Marka Çadırı Ankara — ana stil dosyası
   Mobil öncelikli. Renk değişkenleri yönetim panelinden :root'a basılır.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	/* Renkler (varsayılan; panel ayarları bunları ezer) */
	--color-primary: #560AB5;
	--color-on-primary: #FFFFFF;
	--color-primary-light: #BFA2E3; /* koyu zeminlerde okunur mor */
	--color-secondary: #000000;
	--color-on-secondary: #FFFFFF;
	--color-accent: #560AB5;
	--color-on-accent: #FFFFFF;
	--color-background: #FFFFFF;
	--color-surface: #F0F0F0;
	--color-text: #000000;
	--color-text-muted: #525252;
	--color-border: #D1D1D1;
	--color-button: #000000;
	--color-on-button: #FFFFFF;

	/* Tipografi: tek aile, iki genişlik */
	--font: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--display-stretch: 62%;
	--fs-small: 0.875rem;
	--fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	--fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
	--fs-h3: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
	--fs-h2: clamp(2.75rem, 1.9rem + 4vw, 5.25rem);
	--fs-h1: clamp(3.5rem, 1rem + 13vw, 7.25rem);

	/* Ölçüler */
	--gutter: clamp(16px, 4vw, 40px);
	--max: 1320px;
	--section-y: clamp(72px, 10vw, 144px);
	--radius: 2px;
	--line: 2px;
	--header-h: 64px;
	--focus: var(--color-text);
	--chamfer: 18px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-text);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-stretch: 100%;
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
	margin: 0;
}

ul[class],
ol[class] {
	list-style: none;
	padding: 0;
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--color-primary);
	color: var(--color-on-primary);
	font-weight: 700;
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: none;
}

.wrap {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
}

.icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

/* Display type: dar ve ağır — logonun dili */
.display,
.hero__title,
.section-title,
.tag__name,
.why__name,
.about__statement,
.insta__handle,
.tent__brand {
	font-stretch: var(--display-stretch);
	font-weight: 900;
	text-transform: uppercase;
	line-height: 0.88;
	letter-spacing: 0;
}

.section {
	padding-block: var(--section-y);
	scroll-margin-top: var(--header-h);
}

.section-title {
	font-size: var(--fs-h2);
	max-width: 16ch;
	text-wrap: balance;
}

.section-lead {
	margin-top: 1.25rem;
	max-width: 46ch;
	font-size: var(--fs-lead);
	line-height: 1.5;
	color: var(--color-text-muted);
}

/* ---------- 3. Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 44px;
	padding: 0.7em 1.3em;
	border: var(--line) solid transparent;
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--small {
	min-height: 40px;
	padding: 0.5em 0.95em;
	font-size: 0.9375rem;
}

.btn--large {
	min-height: 56px;
	padding: 0.8em 1.6em;
	font-size: 1.0625rem;
}

.btn--ink {
	background: var(--color-button);
	border-color: var(--color-button);
	color: var(--color-on-button);
}

.btn--ink:hover {
	background: var(--color-primary);
	border-color: var(--color-text);
	color: var(--color-on-primary);
}

.btn--primary {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-on-primary);
}

.btn--primary:hover {
	background: var(--color-background);
	border-color: var(--color-background);
	color: var(--color-text);
}

.btn--outline {
	background: transparent;
	border-color: currentColor;
	color: var(--color-text);
}

.btn--outline:hover {
	background: var(--color-text);
	color: var(--color-background);
}

.btn--outline-light {
	background: transparent;
	border-color: rgb(255 255 255 / 0.55);
	color: #fff;
}

.btn--outline-light:hover {
	border-color: #fff;
}

.linklike {
	padding: 0;
	border: 0;
	background: none;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

/* ---------- 4. Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--color-secondary);
	color: var(--color-on-secondary);
	--focus: var(--color-on-secondary);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 0px);
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 64px;
}

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.brand__img {
	display: block;
	width: auto;
	height: 24px;
	max-width: none;
}

@media (min-width: 400px) {
	.brand__img {
		height: 28px;
	}
}

.site-nav {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: var(--line) solid rgb(255 255 255 / 0.4);
	border-radius: var(--radius);
	background: transparent;
	cursor: pointer;
}

.menu-toggle .icon {
	width: 22px;
	height: 22px;
}

.menu-toggle__close,
.menu-open .menu-toggle__open {
	display: none;
}

.menu-open .menu-toggle__close {
	display: block;
}

/* Mobile menu panel */
.menu-open .site-nav {
	display: block;
	position: fixed;
	inset: var(--header-h) 0 0 0;
	z-index: 49;
	overflow-y: auto;
	padding: 8px var(--gutter) 32px;
	background: var(--color-secondary);
	border-top: 1px solid rgb(255 255 255 / 0.18);
}

.admin-bar.menu-open .site-nav,
.menu-open .admin-bar .site-nav {
	top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px));
}

.menu-open body {
	overflow: hidden;
}

.site-nav__list a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid rgb(255 255 255 / 0.16);
	font-size: 2.25rem;
	font-stretch: var(--display-stretch);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
}

.site-nav__list a[aria-current] {
	color: var(--color-primary-light);
}

.site-nav__social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 559px) {
	.site-header__actions .btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.site-header__actions .btn {
		width: 44px;
		padding: 0;
	}
}

@media (min-width: 960px) {
	.site-header__inner {
		min-height: 76px;
		gap: 32px;
	}

	.brand--header .brand__img {
		height: 30px;
	}

	@media (min-width: 1200px) {
		.brand--header .brand__img {
			height: 36px;
		}
	}

	.site-nav {
		display: flex;
		align-items: center;
		gap: 28px;
		margin-left: auto;
	}

	.site-nav__list {
		display: flex;
		gap: 26px;
	}

	.site-nav__list a {
		position: relative;
		padding: 8px 0;
		border: 0;
		font-size: 0.9875rem;
		font-stretch: 100%;
		font-weight: 600;
		text-transform: none;
	}

	.site-nav__list a::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 2px;
		height: 3px;
		background: var(--color-primary-light);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.2s ease;
	}

	.site-nav__list a:hover::after,
	.site-nav__list a[aria-current]::after {
		transform: scaleX(1);
	}

	.site-nav__list a[aria-current] {
		color: inherit;
	}

	.site-nav__social {
		margin: 0;
		padding: 10px;
	}

	.site-nav__social span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.site-header__actions {
		margin-left: 0;
	}

	.menu-toggle {
		display: none;
	}
}

/* ---------- 5. Canopy (çadır saçağı) ---------- */
.canopy {
	--s: clamp(30px, 4.6vw, 58px); /* şerit genişliği */
	--r: calc(var(--s) / 2);
	height: calc(var(--r) + clamp(10px, 1.6vw, 20px));
	background: repeating-linear-gradient(90deg, var(--color-primary) 0 var(--s), var(--color-secondary) var(--s) calc(2 * var(--s)));
	-webkit-mask:
		linear-gradient(#000 0 0) top / 100% calc(100% - var(--r)) no-repeat,
		radial-gradient(circle var(--r) at 50% 0, #000 98%, transparent 100%) bottom left / var(--s) var(--r) repeat-x;
	mask:
		linear-gradient(#000 0 0) top / 100% calc(100% - var(--r)) no-repeat,
		radial-gradient(circle var(--r) at 50% 0, #000 98%, transparent 100%) bottom left / var(--s) var(--r) repeat-x;
}

@media (prefers-reduced-motion: no-preference) {
	.canopy {
		animation: canopy-drop 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.15) both;
		transform-origin: top;
	}

	@keyframes canopy-drop {
		from {
			transform: scaleY(0);
		}

		to {
			transform: scaleY(1);
		}
	}
}

/* ---------- 6. Hero ---------- */
.hero {
	position: relative;
	padding-bottom: clamp(56px, 8vw, 112px);
	scroll-margin-top: var(--header-h);
}

.hero__grid {
	display: grid;
	gap: clamp(40px, 6vw, 72px);
	padding-top: clamp(28px, 5vw, 72px);
}

.hero__where,
.hero__dates {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 600;
	line-height: 1.35;
}

.hero__where .icon,
.hero__dates .icon {
	margin-top: 0.05em;
}

.hero__title {
	margin-top: 18px;
	font-size: var(--fs-h1);
	line-height: 0.86;
	max-width: 12ch;
	text-wrap: balance;
	hyphens: manual;
	padding-bottom: 0.08em; /* Ç kancası için */
}

.hero__lead {
	margin-top: clamp(18px, 2.4vw, 28px);
	max-width: 34ch;
	font-size: var(--fs-lead);
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(24px, 3vw, 36px);
}

.hero__dates {
	margin-top: 22px;
	color: var(--color-text-muted);
}

@media (max-width: 479px) {
	.hero__actions .btn {
		flex: 1 1 100%;
	}
}

/* Çadır silüeti */
.hero__tent {
	display: flex;
	justify-content: center;
}

.tent {
	--w: min(100%, 480px);
	width: var(--w);
	filter: drop-shadow(10px 10px 0 var(--color-text));
}

.tent__roof {
	aspect-ratio: 520 / 190;
	background: repeating-conic-gradient(from 90deg at 50% 0, var(--color-secondary) 0deg 9deg, var(--color-primary) 9deg 18deg);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.tent__body {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 300px;
	padding: clamp(28px, 4vw, 44px) clamp(18px, 3vw, 32px) clamp(24px, 3vw, 36px);
	background: var(--color-primary);
	color: var(--color-on-primary);
	border: var(--line) solid var(--color-secondary);
	border-top-width: 0;
}

/* saçak: çatının altında */
.tent__body::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	--s: 26px;
	--r: 13px;
	height: 18px;
	background: repeating-linear-gradient(90deg, var(--color-secondary) 0 var(--s), var(--color-background) var(--s) calc(2 * var(--s)));
	-webkit-mask: radial-gradient(circle var(--r) at 50% 0, #000 98%, transparent 100%) top left / var(--s) var(--r) repeat-x, linear-gradient(#000 0 0) top / 100% 5px no-repeat;
	mask: radial-gradient(circle var(--r) at 50% 0, #000 98%, transparent 100%) top left / var(--s) var(--r) repeat-x, linear-gradient(#000 0 0) top / 100% 5px no-repeat;
}

.tent__brands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.08em 0.32em;
	font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.75rem);
	text-align: center;
	line-height: 1;
}

.tent__brand {
	font-size: 1em;
	line-height: 0.95;
}

.tent__brand--1 {
	font-weight: 500;
}

.tent__brand--2 {
	color: transparent;
	-webkit-text-stroke: 1.5px var(--color-on-primary);
}

@supports not (-webkit-text-stroke: 1px #000) {
	.tent__brand--2 {
		color: var(--color-on-primary);
		font-weight: 300;
	}
}

.tent__brand .brand-name {
	display: inline;
}

/* Yüklenen logolar çadırda tek renk (mürekkep) gösterilir */
.brand-logo--tent {
	display: inline-block;
	width: auto;
	max-width: 7em;
	height: 0.82em;
	object-fit: contain;
	vertical-align: -0.06em;
	filter: brightness(0);
}

.tent__brands--light .brand-logo--tent {
	filter: brightness(0) invert(1);
}

.tent__brand--2:has(.brand-logo) {
	-webkit-text-stroke: 0;
}

.hero__tent--photo .tent__body {
	padding: 0;
	min-height: 0;
	overflow: hidden;
}

.tent__photo {
	width: 100%;
	aspect-ratio: 4 / 4.4;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.hero__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: center;
		padding-top: clamp(32px, 3.5vw, 56px);
	}

	.hero__tent {
		justify-content: flex-end;
	}
}

/* ---------- 7. About ---------- */
.about__grid {
	display: grid;
	gap: clamp(32px, 4vw, 56px);
}

.about__title {
	max-width: 14ch;
}

.about__media--type,
.page-head {
	--focus: var(--color-on-primary);
}

.about__media--type {
	display: flex;
	align-items: flex-end;
	min-height: 260px;
	padding: clamp(24px, 4vw, 48px);
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.about__statement {
	font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
	line-height: 0.9;
	text-wrap: balance;
}

.about__img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.prose > * + * {
	margin-top: 1em;
}

.about__text {
	max-width: 58ch;
	font-size: var(--fs-lead);
	line-height: 1.55;
}

.about__pull {
	padding-left: 18px;
	border-left: 6px solid var(--color-primary);
	font-weight: 700;
}

@media (min-width: 960px) {
	.about__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 32px;
	}

	.about__title {
		grid-column: 1 / -1;
	}

	.about__media {
		grid-column: 1 / span 6;
	}

	.about__text {
		grid-column: 8 / span 5;
		align-self: end;
	}
}

/* ---------- 8. Products: askılı etiketler ---------- */
.products {
	background: var(--color-surface);
}

.products__head {
	display: grid;
	gap: 0;
}

@media (min-width: 960px) {
	.products__head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: end;
		gap: 40px;
	}

	.products__head .section-lead {
		justify-self: end;
	}
}

.filter {
	display: flex;
	gap: 8px;
	margin: clamp(28px, 4vw, 48px) calc(-1 * var(--gutter)) 0;
	padding: 4px var(--gutter) 10px;
	overflow-x: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

@media (min-width: 960px) {
	.filter {
		flex-wrap: wrap;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}
}

.filter__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 14px;
	border: var(--line) solid var(--color-text);
	border-radius: var(--radius);
	background: var(--color-background);
	font-weight: 600;
	font-size: 0.9375rem;
	white-space: nowrap;
	cursor: pointer;
}

.filter__btn:hover {
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.filter__btn[aria-pressed="true"] {
	background: var(--color-text);
	color: var(--color-background);
}

.filter__count {
	font-size: 0.8125rem;
	font-weight: 500;
	opacity: 0.75;
}

.tags {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr));
	gap: 24px 20px;
	margin-top: 28px;
}

.tag {
	display: flex;
}

.tag__inner {
	--shape: polygon(var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%, 0 var(--chamfer));
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: var(--line);
	background: var(--color-text);
	clip-path: var(--shape);
}

.tag__inner > * {
	position: relative;
	z-index: 1;
}

.tag__inner::before {
	content: "";
	position: absolute;
	inset: var(--line);
	background: var(--color-background);
	clip-path: polygon(calc(var(--chamfer) - 1px) 0, calc(100% - var(--chamfer) + 1px) 0, 100% calc(var(--chamfer) - 1px), 100% 100%, 0 100%, 0 calc(var(--chamfer) - 1px));
}

.tag__hole {
	display: block;
	width: 14px;
	height: 14px;
	margin: 14px auto 0;
	border: var(--line) solid var(--color-text);
	border-radius: 50%;
	background: var(--color-surface);
}

.tag__media {
	position: relative;
	margin: 14px 14px 0;
}

.tag__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.tag__more {
	position: absolute;
	right: 8px;
	bottom: 8px;
	min-height: 36px;
	padding: 6px 10px;
	border: 0;
	border-radius: var(--radius);
	background: var(--color-text);
	color: var(--color-background);
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
}

.tag__body {
	flex: 1;
	padding: 14px 20px 22px;
}

.tag__cat {
	font-size: var(--fs-small);
	color: var(--color-text-muted);
	text-align: center;
}

.tag__name {
	margin-top: 6px;
	font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem);
	text-align: center;
	overflow-wrap: anywhere;
}

.tag__name:has(.brand-logo) {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.2em;
}

.brand-logo--tag {
	width: auto;
	max-width: min(80%, 200px);
	max-height: 64px;
	object-fit: contain;
}

.tag__badge {
	display: table;
	margin: 12px auto 0;
	padding: 4px 10px 3px;
	background: var(--color-accent);
	color: var(--color-on-accent);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
}

.tag__desc {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed var(--color-border);
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--color-text-muted);
	text-align: center;
}

.tag__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 10px 16px;
	background: var(--color-button);
	color: var(--color-on-button);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tag__cta:hover {
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.tag__cta:focus-visible {
	outline-offset: -6px;
	outline-color: var(--color-on-button);
}

/* Telefon: iki sütunlu kompakt etiketler (18 marka tek sütunda çok uzun olur) */
@media (max-width: 559px) {
	.tags {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 10px;
		margin-top: 20px;
	}

	.tag__inner {
		--chamfer: 12px;
	}

	.tag__hole {
		width: 11px;
		height: 11px;
		margin-top: 10px;
	}

	.tag__media {
		margin: 10px 10px 0;
	}

	.tag__body {
		padding: 8px 10px 14px;
	}

	.tag__cat {
		font-size: 0.75rem;
		line-height: 1.3;
	}

	.tag__name {
		font-size: clamp(1.4rem, 1rem + 2.2vw, 1.75rem);
	}

	.brand-logo--tag {
		max-height: 44px;
	}

	.tag__badge {
		font-size: 0.75rem;
		padding: 3px 7px 2px;
	}

	.tag__desc {
		margin-top: 8px;
		padding-top: 8px;
		font-size: 0.8125rem;
		line-height: 1.4;
	}

	.tag__cta {
		min-height: 44px;
		padding: 8px;
		gap: 6px;
		font-size: 0.875rem;
	}
}

@media (max-width: 339px) {
	.tags {
		grid-template-columns: minmax(0, 1fr);
	}
}

.products__empty {
	margin-top: 24px;
	color: var(--color-text-muted);
}

/* ---------- 9. Why ---------- */
.why {
	background: var(--color-secondary);
	color: var(--color-on-secondary);
	--focus: var(--color-on-secondary);
}

.why__title {
	color: var(--color-primary-light);
}

.why__list {
	display: grid;
	gap: 36px 32px;
	margin-top: clamp(36px, 5vw, 64px);
}

.why__item {
	padding-top: 18px;
	border-top: 4px solid var(--color-primary-light);
}

.why__name {
	font-size: var(--fs-h3);
	line-height: 0.95;
}

.why__text {
	margin-top: 12px;
	max-width: 34ch;
	opacity: 0.82;
}

@media (min-width: 720px) {
	.why__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1140px) {
	.why__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- 10. Gallery ---------- */
.gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: clamp(28px, 4vw, 48px);
}

.gallery__item:first-child {
	grid-column: span 2;
}

.gallery__link {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--color-surface);
	cursor: zoom-in;
}

.gallery__link img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery__item:first-child .gallery__link img {
	aspect-ratio: 16 / 11;
}

.gallery__link:hover img {
	transform: scale(1.03);
}

.gallery__item figcaption {
	margin-top: 6px;
	font-size: var(--fs-small);
	color: var(--color-text-muted);
}

@media (min-width: 900px) {
	.gallery__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.gallery__item:first-child {
		grid-column: auto;
	}

	.gallery__item:first-child .gallery__link img {
		aspect-ratio: 4 / 5;
	}
}

/* ---------- 11. Instagram ---------- */
.insta {
	background: var(--color-primary);
	color: var(--color-on-primary);
	overflow: hidden;
}

.insta .section-lead {
	color: inherit;
	opacity: 0.85;
}

.insta .btn {
	margin-top: 28px;
}

.insta .btn--ink:hover {
	background: var(--color-background);
	border-color: var(--color-background);
	color: var(--color-text);
}

.insta {
	--focus: var(--color-on-primary);
}

.insta__grid {
	display: grid;
	gap: clamp(32px, 5vw, 56px);
}

.insta__handle {
	display: block;
	font-size: clamp(2.1rem, 0.6rem + 8.2vw, 9rem);
	line-height: 0.9;
	text-decoration: none;
	overflow-wrap: anywhere;
	border-top: 4px solid currentColor;
	padding-top: 0.12em;
}

.insta__handle:hover {
	text-decoration: underline;
	text-decoration-thickness: 0.06em;
	text-underline-offset: 0.08em;
}

/* ---------- 12. Contact ---------- */
.contact__grid {
	display: grid;
	gap: clamp(40px, 6vw, 80px);
}

.contact__address {
	margin-top: 24px;
	font-style: normal;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
	font-weight: 700;
	font-stretch: 85%;
	line-height: 1.15;
}

.contact__city {
	display: block;
	margin-top: 4px;
	font-weight: 500;
	color: var(--color-text-muted);
}

.contact__place .btn {
	margin-top: 28px;
}

.contact__list {
	align-self: start;
	border-top: var(--line) solid var(--color-text);
}

.contact__row {
	display: grid;
	gap: 6px;
	padding: 18px 0;
	border-bottom: 1px solid var(--color-border);
}

.contact__row dt {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--color-text-muted);
}

.contact__row dd {
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.4;
}

.contact__row dd a {
	display: inline-block;
	padding-block: 2px;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--color-primary);
}

.contact__row dd a:hover {
	text-decoration-color: currentColor;
}

.contact__sub {
	display: block;
	margin-top: 4px;
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--color-text-muted);
}

.map {
	display: grid;
	gap: 12px;
	justify-items: start;
	margin-top: 32px;
	padding: 20px;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
}

.map__note {
	font-size: var(--fs-small);
	color: var(--color-text-muted);
}

.map.is-loaded {
	padding: 0;
	border: 0;
}

.map iframe {
	width: 100%;
	height: 360px;
	border: 0;
}

@media (min-width: 900px) {
	.contact__grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}

	.contact__row {
		grid-template-columns: 180px minmax(0, 1fr);
		align-items: baseline;
		gap: 16px;
	}
}

/* ---------- 13. Footer ---------- */
.site-footer {
	background: var(--color-secondary);
	color: var(--color-on-secondary);
	padding-top: clamp(56px, 7vw, 96px);
	--focus: var(--color-on-secondary);
	scroll-margin-top: var(--header-h);
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

.site-footer__grid {
	display: grid;
	gap: 40px;
	padding-bottom: 48px;
}

.site-footer__name {
	margin-top: 14px;
	font-weight: 600;
}

.site-footer__list li + li,
.site-footer__links li + li {
	margin-top: 8px;
}

.site-footer__list a {
	display: inline-block;
	padding-block: 2px;
}

.site-footer__contact p {
	max-width: 32ch;
	opacity: 0.85;
}

.site-footer__links {
	margin-top: 14px;
	font-weight: 600;
}

.site-footer__links a {
	display: inline-block;
	padding-block: 4px;
	min-height: 28px;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	justify-content: space-between;
	padding-block: 24px 32px;
	border-top: 1px solid rgb(255 255 255 / 0.2);
	font-size: var(--fs-small);
}

.site-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}

.site-footer__legal-links a,
.site-footer__legal-links .linklike {
	display: inline-block;
	padding-block: 4px;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	opacity: 0.9;
}

.site-footer .brand__img {
	height: 40px;
}

.site-footer__heading {
	margin: 0 0 14px;
	font-size: var(--fs-small);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}

.branches {
	display: grid;
	gap: 18px;
	margin: 0 0 18px;
}

.branches__item {
	display: grid;
	gap: 4px;
}

.branches__name {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
}

.branches__name svg {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--color-primary-light);
}

.branches__address {
	max-width: 36ch;
	opacity: 0.85;
}

.site-footer .branches__map {
	justify-self: start;
	padding-block: 4px;
	font-size: var(--fs-small);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.site-footer__operator {
	padding-block: 28px;
	border-top: 1px solid rgb(255 255 255 / 0.2);
}

.operator {
	display: grid;
	gap: 14px 32px;
	align-items: center;
}

.operator__logo {
	width: auto;
	height: 44px;
}

.operator__logo--custom {
	padding: 6px 10px;
	background: #fff;
	border-radius: 4px;
	box-sizing: content-box;
}

.operator__text {
	margin: 0;
	max-width: 46ch;
}

.operator__facts {
	display: grid;
	gap: 6px 28px;
	margin: 0;
	font-size: var(--fs-small);
}

.operator__facts div {
	display: grid;
	gap: 2px;
}

.operator__facts dt {
	opacity: 0.75;
}

.operator__facts dd {
	margin: 0;
	font-weight: 600;
}

@media (min-width: 900px) {
	.operator {
		grid-template-columns: auto 1fr;
	}

	.operator__facts {
		grid-column: 2;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 14px 32px;
	}

	.operator .admin-hint {
		grid-column: 2;
	}
}

@media (min-width: 900px) {
	.site-footer__grid {
		grid-template-columns: 1.2fr 1fr 1.2fr;
	}
}

/* ---------- 14. Lightbox ---------- */
.lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgb(0 0 0 / 0.94);
	color: #fff;
	--focus: #fff;
}

.lightbox::backdrop {
	background: rgb(0 0 0 / 0.6);
}

.lightbox[open] {
	display: grid;
	place-items: center;
}

.lightbox__frame {
	display: grid;
	gap: 10px;
	justify-items: center;
	padding: 64px 16px;
}

.lightbox__img {
	max-width: min(92vw, 1400px);
	max-height: calc(100dvh - 170px);
	width: auto;
	object-fit: contain;
}

.lightbox__caption {
	max-width: 60ch;
	font-size: 0.9375rem;
	text-align: center;
}

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: var(--line) solid rgb(255 255 255 / 0.5);
	border-radius: var(--radius);
	background: rgb(0 0 0 / 0.5);
	color: #fff;
	cursor: pointer;
}

.lightbox__btn:hover {
	border-color: #fff;
}

.lightbox__close {
	top: 12px;
	right: 12px;
}

.lightbox__prev,
.lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__prev {
	left: 12px;
}

.lightbox__next {
	right: 12px;
}

.lightbox.is-single .lightbox__prev,
.lightbox.is-single .lightbox__next {
	display: none;
}

.lightbox__count {
	position: absolute;
	top: 24px;
	left: 16px;
	font-size: var(--fs-small);
	font-weight: 600;
}

.lightbox-open body {
	overflow: hidden;
}

/* ---------- 15. Consent ---------- */
.consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	padding: 0 12px calc(12px + env(safe-area-inset-bottom));
	--focus: var(--color-on-secondary);
}

.consent__box {
	max-width: 460px;
	max-height: 80vh;
	overflow-y: auto;
	padding: 20px;
	background: var(--color-secondary);
	color: var(--color-on-secondary);
	border: var(--line) solid var(--color-primary-light);
	box-shadow: 8px 8px 0 var(--color-primary);
}

.consent__title {
	font-size: 1.125rem;
	font-weight: 800;
}

.consent__title:focus {
	outline: none;
}

.consent__text {
	margin-top: 8px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.consent__text a {
	font-weight: 600;
}

.consent__prefs fieldset {
	margin: 14px 0 0;
	padding: 0;
	border: 0;
}

.consent__opt {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	border-top: 1px solid rgb(255 255 255 / 0.18);
	font-size: 0.9rem;
	line-height: 1.45;
	cursor: pointer;
}

.consent__opt input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--color-primary);
}

.consent__opt strong {
	display: block;
}

.consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.consent__actions .btn {
	flex: 1 1 auto;
}

@media (max-width: 599px) {
	.consent__box {
		padding: 16px;
	}

	.consent__text {
		font-size: 0.875rem;
	}

	.consent__actions .btn {
		flex: 1 1 0;
		padding-inline: 0.5em;
		font-size: 0.875rem;
	}

	.consent__actions .btn--primary {
		order: -1;
		flex-basis: 100%;
	}
}

@media (min-width: 900px) {
	.consent {
		padding: 0 20px 20px;
	}

	.consent__box {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 32px;
		align-items: center;
		max-width: 1280px;
		margin-inline: auto;
		padding: 16px 20px;
		box-shadow: 6px 6px 0 var(--color-primary);
	}

	.consent__title,
	.consent__text,
	.consent__prefs {
		grid-column: 1;
	}

	.consent__actions {
		grid-column: 2;
		grid-row: 1 / span 3;
		flex-wrap: nowrap;
		margin-top: 0;
	}
}

/* ---------- 16. Inner pages (yasal sayfalar) ---------- */
.page-head {
	padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px);
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.page-head__title {
	font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem);
	max-width: 18ch;
}

.page-head__meta {
	margin-top: 14px;
	font-size: var(--fs-small);
	font-weight: 600;
}

.entry {
	padding-block: clamp(40px, 6vw, 80px) var(--section-y);
}

.entry-content {
	max-width: 70ch;
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2em;
	font-stretch: 85%;
	font-weight: 800;
	line-height: 1.15;
}

.entry-content h2 {
	font-size: 1.75rem;
}

.entry-content h3 {
	font-size: 1.3125rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li + li {
	margin-top: 0.4em;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	display: block;
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--color-surface);
}

.entry-content a {
	text-decoration-color: var(--color-primary);
	text-decoration-thickness: 2px;
}

.entry-content .wp-block-image img,
.entry-content img {
	height: auto;
}

.back-home {
	margin-top: 48px;
}

/* 404 */
.error-404 {
	padding-block: var(--section-y);
}

.error-404 .hero__title {
	max-width: 12ch;
}

/* ---------- 17. Admin hint ---------- */
.admin-hint {
	margin-top: 24px;
	padding: 14px 16px;
	border: 2px dashed currentColor;
	font-size: 0.9375rem;
	line-height: 1.5;
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.admin-hint__note {
	display: block;
	margin-top: 4px;
	font-size: 0.8125rem;
	opacity: 0.75;
}

.gallery--empty {
	padding-block: 24px;
}

/* ---------- 18. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- 19. Print ---------- */
@media print {
	.site-header,
	.canopy,
	.consent,
	.lightbox,
	.filter,
	.tag__cta {
		display: none !important;
	}
}
