@charset "UTF-8";
/* KAYAN YAZI + AÇILIŞ POP-UP'I (inc/promo.php, assets/js/promo.js). Maket: tasarim-v2-alt/acilis-popup-2.html */

.kp-pi { display: inline-block; flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--kp-pi) center / contain no-repeat; mask: var(--kp-pi) center / contain no-repeat; }

/* ---------- Kayan yazı (K2 lacivert hap; menü hapıyla aynı genişlik) ---------- */
.kp-header > .kp-ticker {
	position: relative;
	height: 38px;
	margin-top: 8px !important;
	margin-bottom: 0 !important;
	border-radius: 999px;
	background: linear-gradient(90deg, #084874, #17537C 50%, #084874);
	color: #fff;
	box-shadow: 0 10px 24px -14px rgba(8, 72, 116, .9);
	font-family: var(--wp--preset--font-family--body, Inter, system-ui, sans-serif);
	overflow: hidden;
}
.kp-ticker-in {
	position: absolute; inset: 0 18px; display: flex; align-items: center; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.kp-ticker-track { display: flex; width: max-content; animation: kpTicker var(--kp-tk-dur, 60s) linear infinite; }
.kp-ticker:hover .kp-ticker-track, .kp-ticker:focus-within .kp-ticker-track { animation-play-state: paused; }
@keyframes kpTicker { to { transform: translateX(-50%); } }
.kp-ticker-set, .kp-tk-g, .kp-tk-item { display: inline-flex; align-items: center; white-space: nowrap; }
.kp-tk-g[hidden] { display: none; } /* başlangıç günü gelmemiş satır (promo.js zamanı gelince açar) */
.kp-tk-item { gap: 8px; font-size: 14px; font-weight: 500; line-height: 1; }
.kp-tk-item b { font-weight: 800; }
.kp-tk-item .kp-pi { width: 18px; height: 18px; color: #A1C3DA; }
.kp-tk-disco { display: block; flex: none; width: 20px; height: 20px; max-width: none; } /* max-width:100% (genel img kuralı) genişlik hesabında resmi yok sayıyordu → yazı 20px taşıp kar tanesine yapışıyordu */
.kp-ticker a, .kp-ticker .kp-tk-link { color: inherit !important; font: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); background: none; border: 0; padding: 0; cursor: pointer; }
.kp-ticker a:hover, .kp-ticker .kp-tk-link:hover { text-decoration-color: #fff; }
.kp-ticker mark { padding: 3px 9px; border-radius: 999px; background: #FFE07A; color: #084874; font-weight: 800; }
.kp-tk-sep { display: inline-flex; margin: 0 22px; color: #5B9BC9; }
.kp-tk-sep .kp-pi { width: 15px; height: 15px; }
@media (max-width: 600px) {
	.kp-header > .kp-ticker { height: 34px; margin-top: 6px !important; }
	.kp-ticker-in { inset: 0 12px; }
	.kp-tk-item { font-size: 13px; }
	.kp-tk-sep { margin: 0 16px; }
}
/* Header kayan yazıyla uzadı: bağlantıyla gelinen başlıklar header'ın altında kalmasın */
html:has(.kp-ticker) { scroll-padding-top: calc(var(--hdr) + 46px + var(--wp-admin--admin-bar--height, 0px)); }

/* ---------- Pop-up ---------- */
dialog.kp-promo {
	--navy: #084874;
	padding: 0; border: 0; background: transparent; overflow: visible;
	max-width: none; max-height: none;
	width: min(440px, calc(100vw - 32px), calc((100dvh - 210px) * .8));
	min-width: min(320px, calc(100vw - 32px));
	font-family: var(--wp--preset--font-family--body, Inter, system-ui, sans-serif);
	color: #12304A;
}
dialog.kp-promo::backdrop { background: rgba(6, 34, 58, .52); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
dialog.kp-promo[open] { animation: kpPromoUp .45s cubic-bezier(.2, .9, .3, 1.15) both; }
dialog.kp-promo[open]::backdrop { animation: kpPromoFade .35s ease both; }
@keyframes kpPromoUp { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes kpPromoFade { from { opacity: 0; } }
.kp-promo-box { position: relative; background: #fff; border-radius: 26px; overflow: hidden auto; max-height: calc(100dvh - 32px); box-shadow: 0 40px 80px -30px rgba(4, 30, 54, .6); }
.kp-promo-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 4px 14px -6px rgba(4, 30, 54, .45); }
.kp-promo-x .kp-pi { width: 18px; height: 18px; }
.kp-promo-x:hover { background: #fff; transform: scale(1.06); }
.kp-promo-vid { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1E4A6E; }
.kp-promo-vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.kp-promo-foot { padding: 14px 14px 14px; } /* balon kalktı (2026-10-22): düğmeler doğrudan görselin altında */

/* "Rezervasyon gerekmez!" balonu + parıltılar */
.kp-promo .kp-rez { position: relative; display: flex; justify-content: center; width: fit-content; margin: 0 auto 2px; padding: 10px 8px; }
.kp-rez-b { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px 9px 12px; border-radius: 999px; background: linear-gradient(180deg, #FFF3B0, #FFE07A); color: var(--navy); font: 800 14px/1.1 var(--wp--preset--font-family--body, Inter, sans-serif); white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(201, 150, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .8); animation: kpRezPulse 1.6s ease-in-out infinite; }
.kp-rez-b .kp-pi { width: 17px; height: 17px; color: #2E7D5B; }
@keyframes kpRezPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.kp-spk { position: absolute; width: var(--s, 12px); height: var(--s, 12px); background: var(--c, #F5B800); pointer-events: none;
	clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
	animation: kpTwinkle 1.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes kpTwinkle { 0%, 100% { transform: scale(0) rotate(0); opacity: 0; } 45%, 55% { transform: scale(1) rotate(90deg); opacity: 1; } }

/* 3 düğme */
.kp-promo-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kp-promo-act { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; padding: 11px 6px 10px; border-radius: 16px; background: #EEF5FB; color: var(--navy) !important; text-decoration: none !important; text-align: center; transition: background .2s, transform .2s; }
.kp-promo-act b { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
a.kp-promo-act:hover, .kp-promo-act.is-call:hover { background: #E1EDF7; transform: translateY(-2px); }
.kp-pa-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy) !important; box-shadow: 0 5px 12px -7px rgba(8, 72, 116, .7); text-decoration: none !important; }
.kp-pa-ic .kp-pi { width: 20px; height: 20px; }
.kp-pa-ics { display: flex; gap: 6px; }
.kp-pa-ics .kp-pa-ic { transition: transform .2s; }
.kp-pa-ics .kp-pa-ic:hover { transform: scale(1.1); }
.kp-pa-ic.is-wa { color: #1F9D63 !important; }
.kp-pa-lbl { display: block; color: inherit !important; text-decoration: none !important; line-height: 1.2; }
@media (max-width: 380px) {
	.kp-promo-act b { font-size: 11.5px; }
	.kp-pa-ic { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	.kp-ticker-track { animation: none; }
	.kp-ticker-in { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
	.kp-ticker-set[aria-hidden] { display: none; }
	.kp-rez-b, .kp-spk, dialog.kp-promo[open], dialog.kp-promo[open]::backdrop { animation: none; }
	.kp-spk { opacity: 1; transform: scale(.8); }
}
