/* =========================================================
   Adrenalin Park - Tasarım Sistemi
   Gökkuşağı degrade + koyu zemin
   ========================================================= */

:root {
	--bg:        #14132e;
	--bg-2:      #1b1a3d;
	--bg-3:      #242252;
	--surface:   rgba(255, 255, 255, 0.06);
	--surface-2: rgba(255, 255, 255, 0.10);
	--border:    rgba(255, 255, 255, 0.12);
	--border-2:  rgba(255, 255, 255, 0.20);
	--text:      #f6f5ff;
	--muted:     #c2c1dc;
	--muted-2:   #9695bd;

	/* Açık bölüm (koyu tema içinde kontrast bandı) */
	--light-bg:   #f4f3ff;
	--light-bg-2: #e9e6fb;
	--light-text: #1c1740;
	--light-muted:#4c477a;

	--pink:   #ff2d78;
	--red:    #ff3b3b;
	--orange: #ff9500;
	--yellow: #ffd60a;
	--green:  #33d17a;
	--cyan:   #16c5ff;
	--blue:   #3b6bff;
	--indigo: #6a5cff;
	--purple: #b25cff;

	--wa: #25d366;

	--rainbow: linear-gradient(90deg, #ff2d78, #ff9500, #ffd60a, #33d17a, #16c5ff, #6a5cff, #b25cff);
	--rainbow-diag: linear-gradient(120deg, #ff2d78, #ff9500, #ffd60a, #33d17a, #16c5ff, #6a5cff, #b25cff);

	--radius:    18px;
	--radius-sm: 12px;
	--radius-lg: 28px;

	--shadow:    0 18px 50px rgba(0, 0, 0, 0.45);
	--shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
	--glow:      0 0 40px rgba(106, 92, 255, 0.35);

	--container: 1200px;
	--header-h:  74px;

	--font: "Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Fredoka", "Poppins", "Segoe UI", system-ui, sans-serif;
	--font-brand: "Baloo 2", "Fredoka", "Poppins", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset / temel ---------- */
* { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* Arka plan atmosferi */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(60% 45% at 15% 0%, rgba(178, 92, 255, 0.18), transparent 60%),
		radial-gradient(55% 40% at 100% 15%, rgba(22, 197, 255, 0.15), transparent 55%),
		radial-gradient(50% 45% at 50% 100%, rgba(255, 45, 120, 0.12), transparent 60%),
		var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }

.ap-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ap-content-narrow { max-width: 780px; margin-inline: auto; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
	white-space: nowrap;
}
.ap-skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 9999;
	clip: auto; width: auto; height: auto;
	padding: 10px 18px; background: #fff; color: #111; border-radius: 8px;
}

.ap-gradient-text {
	background: var(--rainbow);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ap-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--cyan);
	margin: 0 0 0.6rem;
}

.ap-icon { flex: none; vertical-align: middle; }

/* =========================================================
   Butonlar
   ========================================================= */
.ap-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
	white-space: nowrap;
	line-height: 1;
}
.ap-btn:hover { transform: translateY(-2px); }
.ap-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.ap-btn--sm { padding: 9px 15px; font-size: 0.88rem; }
.ap-btn--block { width: 100%; justify-content: center; }

.ap-btn--rainbow {
	background: var(--rainbow-diag);
	background-size: 200% 200%;
	color: #12001a;
	box-shadow: 0 10px 28px rgba(178, 92, 255, 0.35);
	animation: ap-rainbow-move 6s linear infinite;
}
.ap-btn--rainbow:hover { box-shadow: 0 14px 36px rgba(178, 92, 255, 0.5); }

.ap-btn--wa { background: var(--wa); color: #062b14; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.32); }
.ap-btn--wa:hover { box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45); }

.ap-btn--outline { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.ap-btn--outline:hover { border-color: #fff; background: var(--surface-2); }

.ap-btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.ap-btn--ghost:hover { background: var(--surface); border-color: #fff; }

@keyframes ap-rainbow-move { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

.ap-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-cta--hero { margin: 8px 0 22px; }

/* =========================================================
   Açılış animasyonu (Preloader)
   ========================================================= */
.ap-loader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(120% 120% at 50% 40%, #1a1840, #0e0d22 70%);
	overflow: hidden;
	transition: opacity 0.6s ease, visibility 0.6s ease;
}
.ap-loader.is-done { opacity: 0; visibility: hidden; }
.ap-loader__rainbow {
	position: absolute;
	inset: -60% -20%;
	background: conic-gradient(from 0deg, #ff2d78, #ff9500, #ffd60a, #33d17a, #16c5ff, #6a5cff, #b25cff, #ff2d78);
	filter: blur(70px) saturate(1.3);
	opacity: 0.55;
	animation: ap-spin 8s linear infinite;
}
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap-loader__inner { position: relative; text-align: center; padding: 24px; }
.ap-loader__logo {
	font-family: var(--font-brand);
	font-weight: 800;
	font-size: clamp(2rem, 6.5vw, 3.4rem);
	letter-spacing: 0.005em;
	color: #fff;
	text-shadow: 0 0 30px rgba(178, 92, 255, 0.6), 0 0 12px rgba(22, 197, 255, 0.4);
	animation: ap-pulse 1.6s ease-in-out infinite;
}
@keyframes ap-pulse { 0%, 100% { transform: scale(1); opacity: 0.92; } 50% { transform: scale(1.05); opacity: 1; } }
.ap-loader__bar {
	width: min(260px, 70vw);
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	margin: 18px auto 12px;
	overflow: hidden;
}
.ap-loader__bar span {
	display: block; height: 100%; width: 40%;
	border-radius: 999px;
	background: var(--rainbow);
	animation: ap-load 1.3s ease-in-out infinite;
}
@keyframes ap-load { 0% { margin-left: -45%; } 100% { margin-left: 105%; } }
.ap-loader__tagline { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; letter-spacing: 0.04em; }

@media (prefers-reduced-motion: reduce) {
	.ap-loader__rainbow, .ap-loader__logo, .ap-loader__bar span { animation: none; }
	.ap-loader { display: none; }
}

/* =========================================================
   Header / navigasyon
   ========================================================= */
.ap-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(10, 10, 20, 0.72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	transition: background 0.3s ease;
}
.ap-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
	background: var(--rainbow); opacity: 0.9;
}
.ap-header.is-scrolled { background: rgba(8, 8, 16, 0.92); }
.ap-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 20px;
}
.ap-brand { display: flex; align-items: center; }
.ap-brand img, .ap-header .custom-logo { max-height: 48px; width: auto; }
.ap-brand__name {
	font-family: var(--font-brand);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: 0.01em;
	line-height: 1;
	background: var(--rainbow);
	background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 2px 10px rgba(178, 92, 255, 0.35));
	transition: background-position 0.6s ease;
}
.ap-brand:hover .ap-brand__name { background-position: 100% center; }

.ap-nav { margin-left: auto; }
.ap-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0; padding: 0;
}
.ap-menu a {
	display: block;
	padding: 10px 14px;
	font-weight: 600;
	font-size: 0.96rem;
	color: var(--text);
	border-radius: 10px;
	position: relative;
	transition: color 0.2s ease, background 0.2s ease;
}
.ap-menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
	background: var(--rainbow); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.ap-menu a:hover, .ap-menu .current-menu-item > a { color: #fff; }
.ap-menu a:hover::after, .ap-menu .current-menu-item > a::after { transform: scaleX(1); }

.ap-header__actions { display: flex; align-items: center; gap: 10px; }
.ap-langswitch {
	display: flex; align-items: center; gap: 6px;
	font-weight: 700; font-size: 0.85rem; color: var(--muted-2);
}
.ap-langswitch a { padding: 4px 6px; border-radius: 6px; transition: color 0.2s; }
.ap-langswitch a:hover { color: var(--text); }
.ap-langswitch a.is-active { color: var(--text); background: var(--surface-2); }

.ap-navtoggle {
	display: none;
	background: var(--surface);
	border: 1px solid var(--border-2);
	color: var(--text);
	width: 44px; height: 44px;
	border-radius: 12px;
	cursor: pointer;
	align-items: center; justify-content: center;
}
.ap-navtoggle .ap-icon-close { display: none; }
body.ap-nav-open .ap-navtoggle .ap-icon-menu { display: none; }
body.ap-nav-open .ap-navtoggle .ap-icon-close { display: block; }

/* =========================================================
   Hero
   ========================================================= */
.ap-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.ap-hero__rainbow {
	position: absolute;
	top: -35%; left: 50%; transform: translateX(-50%);
	width: 120%; height: 90%;
	background: conic-gradient(from 200deg, #ff2d78, #ff9500, #ffd60a, #33d17a, #16c5ff, #6a5cff, #b25cff, #ff2d78);
	filter: blur(120px) saturate(1.1);
	opacity: 0.30;
	z-index: 0;
	animation: ap-spin 26s linear infinite;
}
.ap-hero__glow { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, transparent, var(--bg) 90%); z-index: 0; }
.ap-hero__inner {
	position: relative; z-index: 2;
	max-width: var(--container); margin: 0 auto; padding: 0 24px;
	display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.ap-hero__badge {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--border-2);
	font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
	margin: 0 0 18px;
	color: #fff;
}
.ap-hero__title {
	font-size: clamp(2.6rem, 6.5vw, 4.8rem);
	font-weight: 800;
	margin: 0 0 18px;
	letter-spacing: -0.02em;
	text-shadow: 0 6px 40px rgba(0, 0, 0, 0.4);
}
.ap-hero__title { background: linear-gradient(180deg, #fff 40%, #d9d3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-hero__subtitle { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 34ch; margin: 0 0 6px; }
.ap-hero__subtitle strong { color: #fff; }
.ap-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ap-hero__chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 15px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--border);
	font-weight: 600; font-size: 0.9rem; color: var(--text);
}
.ap-hero__chip .ap-icon { color: var(--cyan); }

.ap-hero__showcase { position: relative; display: flex; justify-content: center; align-items: center; }
.ap-hero__frame {
	position: relative;
	border-radius: 26px;
	padding: 8px;
	background: var(--rainbow-diag);
	background-size: 200% 200%;
	animation: ap-rainbow-move 8s linear infinite;
	box-shadow: var(--shadow), var(--glow);
	max-width: 380px;
	transform: rotate(1.5deg);
	transition: transform 0.4s ease;
}
.ap-hero__frame:hover { transform: rotate(0deg) translateY(-4px); }
.ap-hero__frame img { border-radius: 20px; width: 100%; display: block; }
.ap-hero__frame video {
	border-radius: 20px;
	width: 100%;
	display: block;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	background: #000;
	/* Mobil tarayıcılarda video katmanını sabitle (siyah flaş/titremeyi önler). */
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}
/* Video çerçevesi: masaüstünde eğim var ama animasyonlu degrade + video titrettiği için
   videoyu ayrı bir katmana (isolation) alıp degradeyi sabit tutuyoruz. */
.ap-hero__frame--video {
	max-width: 320px;
	animation: none;
	background-position: 0 0;
	isolation: isolate;
}
/* Mobilde video çerçevesinin eğimini kaldır: transform, video üstünde flaş/titreme yapar. */
@media (max-width: 860px) {
	.ap-hero__frame--video,
	.ap-hero__frame--video:hover { transform: none; }
}
.ap-hero__frame--empty { aspect-ratio: 9 / 14; width: 340px; }
.ap-hero__frame--empty span { display: block; width: 100%; height: 100%; border-radius: 20px; background: var(--bg-2); }
.ap-hero__logo-badge img { max-width: 320px; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5)); }

.ap-hero__scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; }
.ap-hero__scroll span {
	display: block; width: 26px; height: 42px;
	border: 2px solid var(--border-2); border-radius: 14px; position: relative;
}
.ap-hero__scroll span::after {
	content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
	width: 5px; height: 8px; border-radius: 3px; background: var(--cyan);
	animation: ap-scroll 1.6s ease-in-out infinite;
}
@keyframes ap-scroll { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* =========================================================
   Bölüm başlıkları / genel section
   ========================================================= */
.ap-section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.ap-section__head { text-align: center; max-width: 700px; margin: 0 auto clamp(36px, 5vw, 56px); }
.ap-section__title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 14px; }
.ap-section__intro { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* Bölüm tonları (zifiri siyah yerine katmanlı derinlik) */
.ap-activities { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 40%); }
.ap-slide-supply { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02)); }
.ap-contact { background: linear-gradient(180deg, rgba(178,92,255,0.05), transparent 45%); }

/* Açık kontrast bölümü (koyu tema içinde ferah bir bant) */
.ap-section--light { background: linear-gradient(180deg, var(--light-bg), var(--light-bg-2)); color: var(--light-text); }
.ap-section--light .ap-section__intro { color: var(--light-muted); }
.ap-section--light .ap-eyebrow { color: #7a2ff0; }
.ap-section--light .ap-infolist__ic {
	background: #fff; border-color: rgba(0,0,0,0.06); color: #7a2ff0;
	box-shadow: 0 8px 20px rgba(90, 60, 160, 0.14);
}
.ap-section--light .ap-infolist strong { color: var(--light-muted); }
.ap-section--light .ap-infolist em { color: var(--light-text); }
.ap-section--light .ap-btn--outline { background: #fff; color: var(--light-text); border-color: rgba(0,0,0,0.12); }
.ap-section--light .ap-btn--outline:hover { border-color: #7a2ff0; }
.ap-section--light .ap-btn--ghost { color: var(--light-text); border-color: rgba(0,0,0,0.18); }
.ap-section--light .ap-btn--ghost:hover { background: rgba(0,0,0,0.04); border-color: #7a2ff0; }
.ap-section--light .ap-map-placeholder {
	background: #fff; border-color: rgba(0,0,0,0.06); color: var(--light-muted);
}
.ap-section--light .ap-map-placeholder p { color: var(--light-text); }
.ap-section--light .ap-map-placeholder small { color: #8a86ad; }
.ap-section--light .ap-visit__map { border-color: rgba(0,0,0,0.10); }

/* =========================================================
   Kartlar (aktiviteler)
   ========================================================= */
.ap-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.ap-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	position: relative;
}
.ap-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.ap-card.is-featured { grid-column: span 1; border-color: transparent; }
.ap-card.is-featured::before {
	content: ""; position: absolute; inset: 0; padding: 2px; border-radius: var(--radius);
	background: var(--rainbow-diag); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.ap-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.ap-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ap-card:hover .ap-card__media img { transform: scale(1.06); }
.ap-card__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: rgba(255, 255, 255, 0.9);
	background:
		linear-gradient(135deg, rgba(255, 45, 120, 0.55), rgba(106, 92, 255, 0.55) 45%, rgba(22, 197, 255, 0.55));
}
.ap-card__placeholder .ap-icon { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)); }
.ap-card__flag {
	position: absolute; top: 12px; left: 12px;
	background: var(--rainbow-diag); color: #12001a;
	font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em;
	padding: 5px 12px; border-radius: 999px;
}
.ap-card__body { padding: 20px; }
.ap-card__title { font-size: 1.22rem; margin: 0 0 6px; }
.ap-card__desc { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* =========================================================
   Galeri
   ========================================================= */
.ap-gallery { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02)); }
.ap-grid-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.ap-gitem { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); aspect-ratio: 3 / 4; }
.ap-gitem__link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ap-gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.3s ease; }
.ap-gitem:hover img { transform: scale(1.07); }
.ap-gitem__placeholder {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 2rem; color: rgba(255, 255, 255, 0.55);
	background: conic-gradient(from calc(var(--i, 1) * 40deg), rgba(255,45,120,.4), rgba(255,149,0,.4), rgba(51,209,122,.4), rgba(22,197,255,.4), rgba(178,92,255,.4));
}
.ap-gallery__cta { text-align: center; margin-top: 34px; }

.ap-lightbox {
	position: fixed; inset: 0; z-index: 9000;
	display: none; align-items: center; justify-content: center;
	background: rgba(4, 4, 10, 0.92);
	backdrop-filter: blur(6px); padding: 24px;
}
.ap-lightbox.is-open { display: flex; }
.ap-lightbox__img { max-width: 92vw; max-height: 86vh; border-radius: 14px; box-shadow: var(--shadow); }
.ap-lightbox__close {
	position: absolute; top: 20px; right: 24px;
	background: var(--surface-2); border: 1px solid var(--border-2); color: #fff;
	width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.ap-lightbox__close:hover { background: var(--pink); }

/* =========================================================
   Ziyaret bilgileri
   ========================================================= */
.ap-visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.ap-infolist { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 16px; }
.ap-infolist li { display: flex; gap: 14px; align-items: flex-start; }
.ap-infolist__ic {
	flex: none; width: 46px; height: 46px; border-radius: 13px;
	display: flex; align-items: center; justify-content: center;
	background: var(--surface-2); border: 1px solid var(--border);
	color: var(--cyan);
}
.ap-infolist strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.ap-infolist em { font-style: normal; font-weight: 600; font-size: 1.08rem; }
.ap-infolist a { border-bottom: 1px solid transparent; }
.ap-infolist a:hover { border-color: currentColor; }
.ap-visit__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.ap-visit__map, .ap-map-placeholder {
	border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
	border: 1px solid var(--border); background: var(--bg-2);
}
.ap-visit__map iframe { display: block; min-height: 340px; }
.ap-map-placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	gap: 8px; padding: 28px; color: var(--muted);
	background:
		radial-gradient(circle at 30% 20%, rgba(178,92,255,.2), transparent 60%),
		radial-gradient(circle at 80% 80%, rgba(22,197,255,.2), transparent 60%), var(--bg-2);
}
.ap-map-placeholder .ap-icon { color: var(--pink); }
.ap-map-placeholder p { font-weight: 700; color: var(--text); margin: 4px 0 0; }
.ap-map-placeholder small { color: var(--muted-2); }

/* =========================================================
   Kaydırak imalatı / tedarik
   ========================================================= */
.ap-slide-supply { position: relative; overflow: hidden; }
.ap-slide-supply__rainbow {
	position: absolute; top: -40%; right: -20%; width: 70%; height: 120%;
	background: conic-gradient(from 120deg, #ff2d78, #ffd60a, #16c5ff, #b25cff, #ff2d78);
	filter: blur(130px); opacity: 0.22; z-index: 0;
}
.ap-slide-supply__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.ap-features { display: grid; gap: 16px; margin: 24px 0 28px; }
.ap-feature { display: flex; gap: 14px; align-items: flex-start; }
.ap-feature__ic {
	flex: none; width: 48px; height: 48px; border-radius: 13px;
	display: flex; align-items: center; justify-content: center;
	background: var(--rainbow-diag); color: #12001a; box-shadow: var(--shadow-sm);
}
.ap-feature h3 { font-size: 1.1rem; margin: 0 0 3px; }
.ap-feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.ap-slide-supply__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-slide-supply__media { display: flex; justify-content: center; }
.ap-slide-supply__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 6px solid rgba(255,255,255,.06); }
.ap-slide-supply__placeholder {
	width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
	display: flex; align-items: center; justify-content: center; color: #fff;
	background: linear-gradient(135deg, rgba(255,45,120,.5), rgba(106,92,255,.5), rgba(22,197,255,.5));
	box-shadow: var(--shadow);
}

/* Kaydırak sayfası ek */
.ap-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ap-step {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 28px 24px; position: relative;
}
.ap-step__num {
	display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem;
	background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
	margin-bottom: 8px;
}
.ap-step h3 { font-size: 1.16rem; margin: 0 0 6px; }
.ap-step p { color: var(--muted); margin: 0; }

.ap-callout {
	position: relative; overflow: hidden;
	text-align: center; padding: clamp(34px, 5vw, 56px);
	border-radius: var(--radius-lg);
	background: var(--surface); border: 1px solid var(--border-2);
}
.ap-callout__rainbow { position: absolute; inset: 0; background: var(--rainbow); opacity: 0.12; z-index: 0; }
.ap-callout > * { position: relative; z-index: 1; }
.ap-callout h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 10px; }
.ap-callout p { color: var(--muted); max-width: 52ch; margin: 0 auto 22px; }
.ap-callout .ap-cta { justify-content: center; }

/* =========================================================
   İletişim
   ========================================================= */
.ap-contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; }
.ap-contact__form-wrap {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
}
.ap-form { display: grid; gap: 16px; }
.ap-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ap-form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.ap-form input, .ap-form select, .ap-form textarea {
	width: 100%;
	background: var(--bg-2);
	border: 1px solid var(--border-2);
	color: var(--text);
	border-radius: 12px;
	padding: 12px 14px;
	font: inherit; font-size: 0.98rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ap-form input:focus, .ap-form select:focus, .ap-form textarea:focus {
	outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(22, 197, 255, 0.2);
}
.ap-form textarea { resize: vertical; }
.ap-form__note { font-size: 0.85rem; color: var(--muted-2); margin: 0; text-align: center; }
.ap-form__alt { margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--border); }
.ap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ap-notice { padding: 16px 18px; border-radius: 12px; background: var(--surface-2); color: var(--text); margin-bottom: 18px; font-weight: 600; }
.ap-notice--ok { background: rgba(51, 209, 122, 0.16); border: 1px solid rgba(51, 209, 122, 0.5); color: #baf5d3; }
.ap-notice--err { background: rgba(255, 59, 59, 0.14); border: 1px solid rgba(255, 59, 59, 0.5); color: #ffd0d0; }

.ap-social { display: flex; gap: 10px; margin-top: 20px; }
.ap-social__link {
	width: 44px; height: 44px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ap-social__link:hover { transform: translateY(-3px); background: var(--rainbow-diag); color: #12001a; border-color: transparent; }

/* =========================================================
   Footer
   ========================================================= */
.ap-footer { position: relative; background: var(--bg-2); border-top: 1px solid var(--border); margin-top: 40px; }
.ap-footer__rainbow { height: 4px; background: var(--rainbow); }
.ap-footer__inner {
	max-width: var(--container); margin: 0 auto; padding: 56px 24px 30px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px;
}
.ap-footer__brand p { color: var(--muted); margin: 12px 0 0; max-width: 32ch; }
.ap-footer__brand .ap-brand__name { font-size: 1.4rem; }
.ap-footer h4 { font-size: 1rem; margin: 0 0 14px; color: #fff; }
.ap-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ap-footer__list li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.ap-footer__list .ap-icon { color: var(--cyan); flex: none; }
.ap-footer__list a:hover { color: #fff; }
.ap-footer__small { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }
.ap-footer__bottom {
	max-width: var(--container); margin: 0 auto; padding: 20px 24px;
	border-top: 1px solid var(--border);
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
	color: var(--muted-2); font-size: 0.9rem;
}
.ap-footer__menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.ap-footer__menu a:hover { color: #fff; }

/* Back to top */
.ap-backtotop {
	position: fixed; right: 22px; bottom: 22px; z-index: 800;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--rainbow-diag); color: #12001a; border: none; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-sm);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.ap-backtotop .ap-icon { transform: rotate(-90deg); }
.ap-backtotop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================================
   Sayfa (page.php) / iç sayfalar
   ========================================================= */
.ap-page-hero { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(30px, 5vw, 50px); text-align: center; overflow: hidden; }
.ap-page-hero__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 90% at 50% -10%, rgba(178,92,255,.28), transparent 60%); }
.ap-page-hero .ap-container { position: relative; z-index: 1; }
.ap-page-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.ap-page-hero__lead { color: var(--muted); max-width: 60ch; margin: 14px auto 22px; font-size: 1.1rem; }
.ap-page-hero .ap-cta { justify-content: center; }
.ap-page-content { font-size: 1.05rem; }
.ap-page-content h2 { margin-top: 1.6em; }
.ap-page-content img { border-radius: var(--radius); }
.ap-page-content a { color: var(--cyan); }
.ap-page-thumb { margin-bottom: 28px; }
.ap-page-thumb img { border-radius: var(--radius-lg); }

.ap-main { min-height: 50vh; }

/* Blog */
.ap-post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.ap-post-card__thumb img { width: 100%; }
.ap-post-card__head, .ap-post-content { padding: 0 24px; }
.ap-post-card__head { padding-top: 22px; }
.ap-post-content { padding-bottom: 24px; }
.ap-post-title { font-size: 1.6rem; margin: 0 0 6px; }
.ap-post-meta { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 12px; }

/* 404 */
.ap-404 { text-align: center; padding: clamp(60px, 12vw, 140px) 0; }
.ap-404__code { font-size: clamp(5rem, 18vw, 11rem); margin: 0; line-height: 1; }
.ap-404__msg { color: var(--muted); font-size: 1.2rem; margin: 0 0 24px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.ap-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
	.ap-hero__content { display: flex; flex-direction: column; align-items: center; }
	.ap-hero__subtitle { max-width: 46ch; }
	.ap-hero__cta, .ap-cta--hero { justify-content: center; }
	.ap-hero__showcase { order: -1; }
	.ap-hero__frame { max-width: 300px; }
	.ap-visit__grid, .ap-slide-supply__grid, .ap-contact__grid { grid-template-columns: 1fr; }
	.ap-cards { grid-template-columns: repeat(2, 1fr); }
	.ap-grid-gallery { grid-template-columns: repeat(3, 1fr); }
	.ap-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.ap-nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		background: rgba(8, 8, 18, 0.98);
		backdrop-filter: blur(16px);
		border-bottom: 1px solid var(--border);
		padding: 14px 24px 22px;
		transform: translateY(-140%);
		transition: transform 0.32s cubic-bezier(.4,0,.2,1);
		margin-left: 0;
	}
	body.ap-nav-open .ap-nav { transform: translateY(0); }
	.ap-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.ap-menu a { padding: 14px 12px; font-size: 1.05rem; }
	.ap-menu a::after { display: none; }
	.ap-navtoggle { display: flex; }
	.ap-header__actions { margin-left: auto; }
	.ap-header__call span, .ap-header__actions .ap-btn--wa span { display: none; }
	.ap-header__actions .ap-btn { padding: 9px; }
	.ap-nav { margin-left: 0; }
	.ap-steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.ap-container, .ap-header__inner, .ap-hero__inner, .ap-footer__inner, .ap-footer__bottom { padding-inline: 18px; }
	.ap-cards { grid-template-columns: 1fr; }
	.ap-grid-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.ap-footer__inner { grid-template-columns: 1fr; gap: 26px; }
	.ap-form__row { grid-template-columns: 1fr; }
	.ap-hero__frame { max-width: 260px; }
	.ap-header__call { display: none; } /* yerden kazanmak için; WhatsApp kalır */
	.ap-langswitch { margin-left: auto; }
	.ap-cta--hero { width: 100%; }
	.ap-cta--hero .ap-btn { flex: 1; justify-content: center; }
}

/* Animasyon girişleri */
@media (prefers-reduced-motion: no-preference) {
	.ap-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
	.ap-reveal.is-in { opacity: 1; transform: none; }
}
