/* ==========================================================
   GPS – Gamador Proje Sayfası | Ana CSS
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
	--gps-primary: #1A6DCC;
	--gps-primary-dark: #1257A8;
	--gps-bg: #f0f4f8;
	--gps-card-bg: #ffffff;
	--gps-border: rgba(0,0,0,0.07);
	--gps-text: #1c2b3a;
	--gps-text-muted: #6b7a8d;
	--gps-radius: 18px;
	--gps-shadow: 0 4px 24px rgba(0,0,0,0.08);
	--gps-shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
	--gps-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset inside wrapper ── */
.gps-wrap, .gps-wrap * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Force theme containers to be full width for our projects */
body.single-gps_project #content,
body.single-gps_project #primary,
body.single-gps_project #main,
body.single-gps_project .site-content,
body.single-gps_project .col-full,
body.single-gps_project .container,
body.single-gps_project .site-main {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	border: none !important;
	display: block !important;
}

/* Hide theme's default title, breadcrumbs and SIDEBAR */
body.single-gps_project .entry-header,
body.single-gps_project .entry-title,
body.single-gps_project .breadcrumb,
body.single-gps_project .woocommerce-breadcrumb,
body.single-gps_project .page-header,
body.single-gps_project .sidebar,
body.single-gps_project #secondary,
body.single-gps_project .widget-area {
	display: none !important;
}

.gps-main-content {
	width: 100%;
	display: block;
	padding: 40px 0;
	background-color: var(--gps-bg);
}

.gps-wrap {
	max-width: 1600px;
	margin: 0 auto !important;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--gps-card-bg);
	color: var(--gps-text);
	-webkit-font-smoothing: antialiased;
	position: relative;
	box-shadow: 0 15px 100px rgba(0,0,0,0.18);
	border-radius: 30px;
	min-height: 80vh;
	overflow-x: hidden;
	display: block !important;
	float: none !important;
	clear: both !important;
}

body.single-gps_project {
	background-color: var(--gps-bg) !important;
}

/* ── Container ── */
.gps-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ── Section ── */
.gps-section {
	padding: 32px 0;
}

/* ── Card ── */
.gps-card {
	background: var(--gps-card-bg);
	border-radius: var(--gps-radius);
	box-shadow: var(--gps-shadow);
	border: 1.5px solid var(--gps-border);
	overflow: hidden;
	transition: box-shadow var(--gps-transition);
}
.gps-card:hover {
	box-shadow: var(--gps-shadow-hover);
}

/* ── Section Title ── */
.gps-section-title {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-align: center;
	color: var(--gps-text);
	padding: 28px 28px 20px;
	text-transform: uppercase;
}

.gps-section-subtitle {
	text-align: center;
	padding-bottom: 20px;
}

.gps-badge {
	display: inline-block;
	background: var(--gps-primary);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 6px 18px;
	border-radius: 100px;
}

/* ==========================================================
   HERO
   ========================================================== */
.gps-hero {
	padding: 28px 0 0;
}

.gps-hero__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: stretch;
}

/* ── Hero Image Card ── */
.gps-hero__card {
	border-radius: var(--gps-radius);
	overflow: hidden;
	box-shadow: var(--gps-shadow);
}

.gps-hero__card--image {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	min-height: 400px;
	background: #eee;
}

.gps-hero__category {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 10;
}

.gps-hero__category .gps-badge {
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	color: white;
	padding: 8px 16px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.gps-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.gps-hero__card--image:hover .gps-hero__img {
	transform: scale(1.03);
}

.gps-hero__img-placeholder {
	width: 100%;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #d0dce9 0%, #a8bdd4 100%);
	font-size: 1.5rem;
	font-weight: 700;
	color: #5a7da0;
	text-align: center;
	padding: 20px;
}

.gps-hero__logo-overlay {
	position: absolute;
	top: 20px;
	left: 20px;
	background: rgba(255,255,255,0.90);
	backdrop-filter: blur(6px);
	border-radius: 12px;
	padding: 10px 16px;
}
.gps-hero__logo-overlay img {
	max-height: 48px;
	max-width: 200px;
	display: block;
}

/* ── Hero Stats Card ── */
.gps-hero__card--stats {
	background: linear-gradient(145deg, var(--gps-primary) 0%, #0d4fa3 100%);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	padding: 28px;
	gap: 8px;
}

.gps-stat {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 10px;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.gps-stat:nth-child(odd):not(:last-child),
.gps-stat:nth-child(even):not(:last-child) {
	border-bottom: 1px solid rgba(255,255,255,0.10);
}

.gps-stat__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	background: rgba(255,255,255,0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gps-stat__icon svg {
	width: 18px;
	height: 18px;
}

.gps-stat__content {
	display: flex;
	flex-direction: column;
}

.gps-stat__value {
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}

.gps-stat__label {
	font-size: 0.68rem;
	color: rgba(255,255,255,0.75);
	font-weight: 500;
	letter-spacing: 0.02em;
	margin-top: 2px;
}

/* ==========================================================
   VIDEO
   ========================================================== */
.gps-video-section {
	padding-top: 20px;
}

.gps-video-wrap {
	border-radius: var(--gps-radius);
	overflow: hidden;
	box-shadow: var(--gps-shadow);
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	background: #000;
}
.gps-video-wrap iframe {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	border: none;
}

/* ==========================================================
   LOKASYON
   ========================================================== */
.gps-lokasyon-card {
	border: 1.5px solid var(--gps-primary);
}

.gps-map-wrap {
	height: 280px;
	background: #e8edf2;
	overflow: hidden;
}
.gps-map-wrap iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

.gps-lokasyon-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

.gps-lokasyon-kolom {
	padding: 24px 28px;
	border-top: 1px solid var(--gps-border);
	border-right: 1px solid var(--gps-border);
}
.gps-lokasyon-kolom:nth-child(2n) {
	border-right: none;
}

.gps-lokasyon-baslik {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.gps-lokasyon-baslik strong {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--gps-text);
}

.gps-lokasyon-ikon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.gps-ikon--mavi    { background: #1A6DCC; }
.gps-ikon--kirmizi { background: #e53e3e; }
.gps-ikon--yesil   { background: #2ecc71; }
.gps-ikon--turuncu { background: #e67e22; }
.gps-ikon--mor     { background: #9b59b6; }
.gps-ikon--lacivert { background: #34495e; }
.gps-ikon--pembe   { background: #e91e63; }

.gps-mesafe-listesi {
	list-style: none;
}
.gps-mesafe-listesi li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 0;
	border-bottom: 1px solid var(--gps-border);
	font-size: 0.82rem;
	color: var(--gps-text);
	font-weight: 500;
}
.gps-mesafe-listesi li:last-child {
	border-bottom: none;
}

.gps-mesafe-dak {
	font-weight: 700;
	color: var(--gps-primary);
	font-size: 0.78rem;
	white-space: nowrap;
	margin-left: 8px;
}

/* ==========================================================
   FORM
   ========================================================== */
.gps-form-card {
	border: 1.5px solid var(--gps-primary);
}

.gps-form {
	padding: 0 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gps-form__field {
	position: relative;
	display: flex;
	align-items: center;
	background: #f0f4f8;
	border-radius: 12px;
	border: 1.5px solid transparent;
	transition: border-color var(--gps-transition), background var(--gps-transition);
}
.gps-form__field:focus-within {
	border-color: var(--gps-primary);
	background: #fff;
}

.gps-form__icon {
	padding: 0 14px;
	color: var(--gps-text-muted);
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.gps-form__field input,
.gps-form__field textarea {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	font-family: inherit;
	font-size: 0.9rem;
	color: var(--gps-text);
	padding: 14px 16px 14px 0;
}

.gps-form__field input::placeholder,
.gps-form__field textarea::placeholder {
	color: var(--gps-text-muted);
}

.gps-form__field--textarea {
	align-items: flex-start;
}
.gps-form__field textarea {
	resize: none;
	width: 100%;
	padding: 14px;
}

.gps-form__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.82rem;
	color: var(--gps-text-muted);
	line-height: 1.5;
}
.gps-form__checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	flex-shrink: 0;
	margin-top: 1px;
	accent-color: var(--gps-primary);
}
.gps-form__checkbox label {
	cursor: pointer;
}
.gps-form__checkbox strong {
	color: var(--gps-text);
}

.gps-form__feedback {
	min-height: 0;
	font-size: 0.88rem;
	font-weight: 600;
	text-align: center;
	border-radius: 10px;
	transition: all var(--gps-transition);
}
.gps-form__feedback.success {
	background: #ebf9f1;
	color: #1a7a46;
	padding: 12px;
}
.gps-form__feedback.error {
	background: #fff0f0;
	color: #c0392b;
	padding: 12px;
}

.gps-btn-submit {
	width: 100%;
	background: linear-gradient(90deg, var(--gps-primary) 0%, #1257A8 100%);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 16px 28px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: transform var(--gps-transition), box-shadow var(--gps-transition), opacity var(--gps-transition);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.gps-btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(26,109,204,0.4);
}
.gps-btn-submit:active {
	transform: translateY(0);
}
.gps-btn-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.gps-spinner {
	animation: gps-spin 0.8s linear infinite;
}
@keyframes gps-spin {
	to { transform: rotate(360deg); }
}

/* ==========================================================
   YORUMLAR
   ========================================================== */
.gps-yorumlar-card {
	border: 1.5px solid var(--gps-primary);
	padding-bottom: 32px;
}

.gps-swiper {
	padding: 0 28px 40px !important;
}

.gps-yorum-slide {
	text-align: center;
	padding: 20px 10px;
}

.gps-yorum-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 14px;
	border: 3px solid var(--gps-primary);
	background: #e8edf4;
}
.gps-yorum-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gps-yorum-avatar-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gps-primary);
}

.gps-yorum-ad {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 6px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.gps-yorum-yildizlar {
	color: #f5a623;
	font-size: 1rem;
	margin-bottom: 12px;
	letter-spacing: 2px;
}

.gps-yorum-metin {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--gps-text-muted);
	max-width: 620px;
	margin: 0 auto;
}

.gps-swiper-pagination .swiper-pagination-bullet {
	background: var(--gps-primary) !important;
	opacity: 0.3;
}
.gps-swiper-pagination .swiper-pagination-bullet-active {
	opacity: 1 !important;
}

/* ==========================================================
   FLOATING BAR
   ========================================================== */
.gps-floating-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid rgba(0,0,0,0.08);
	display: flex;
	justify-content: center;
	align-items: stretch;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
	display:none;
}

.gps-float-item {
	flex: 1;
	max-width: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px 4px;
	text-decoration: none;
	color: var(--gps-text-muted);
	font-size: 0.68rem;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	letter-spacing: 0.03em;
	gap: 4px;
	border-right: 1px solid rgba(0,0,0,0.06);
	transition: color var(--gps-transition), background var(--gps-transition);
}
.gps-float-item:last-child { border-right: none; }
.gps-float-item:hover {
	color: var(--gps-primary);
	background: rgba(26,109,204,0.05);
}

.gps-float-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}
.gps-float-icon svg {
	stroke: currentColor;
}

/* Add bottom padding to page content for floating bar */
.gps-wrap {
	padding-bottom: 60px;
}

/* ── Gallery ── */
.gps-galeri-card {
	padding: 40px !important;
}

.gps-galeri-tabs {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.gps-galeri-tab-btn {
	background: #f5f7fa;
	border: 1px solid #e2e8f0;
	color: #4a5568;
	padding: 10px 24px;
	border-radius: 30px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.gps-galeri-tab-btn:hover {
	background: #edf2f7;
	color: #2d3748;
}

.gps-galeri-tab-btn.active {
	background: var(--gps-primary);
	border-color: var(--gps-primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.gps-galeri-tab-content {
	display: none;
}

.gps-galeri-tab-content.active {
	display: block;
}

.gps-galeri-swiper {
	width: 100%;
	padding: 20px 0 60px !important;
	position: relative;
}

.gps-galeri-slide {
	height: auto;
}

.gps-galeri-img-wrap {
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 20px;
	overflow: hidden;
	background: #eee;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gps-galeri-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gps-galeri-slide:hover img {
	transform: scale(1.05);
}

.gps-galeri-pagination .swiper-pagination-bullet-active {
	background: var(--gps-primary) !important;
}

.gps-swiper-btn {
	color: var(--gps-primary) !important;
	background: white !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50%;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	top: 50% !important;
	transform: translateY(-50%);
}

.gps-swiper-btn::after {
	font-size: 18px !important;
	font-weight: bold;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
	.gps-hero__inner {
		grid-template-columns: 1fr;
	}
	.gps-hero__card--image {
		min-height: 240px;
	}
	.gps-hero__card--stats {
		grid-template-columns: 1fr 1fr;
	}
	.gps-lokasyon-grid {
		grid-template-columns: 1fr;
	}
	.gps-lokasyon-kolom {
		border-right: none;
	}
}

@media (max-width: 600px) {
	.gps-hero__card--stats {
		grid-template-columns: 1fr;
		padding: 20px;
		gap: 4px;
	}
	.gps-section-title {
		font-size: 1rem;
		padding: 20px 16px 14px;
	}
	.gps-form {
		padding: 0 16px 24px;
	}
	.gps-lokasyon-kolom {
		padding: 16px 16px;
	}
	.gps-swiper {
		padding: 0 16px 40px !important;
	}
	.gps-float-item span:not(.gps-float-icon) {
		display: none;
	}
	.gps-float-item {
		padding: 12px 8px;
	}
}

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.gps-lightbox {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
}
.gps-lightbox-bg {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0,0,0,0.85);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	cursor: pointer;
}
.gps-lightbox-content {
	position: relative;
	z-index: 100001;
	max-width: 90%;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gps-lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.4);
	object-fit: contain;
}
.gps-lightbox-close {
	position: absolute;
	top: -45px;
	right: 0;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
	transition: 0.3s;
	padding: 0;
}
.gps-lightbox-close:hover {
	color: var(--gps-primary);
	transform: scale(1.1);
}
.gps-galeri-img-wrap img {
	cursor: pointer;
}
