/* ===================================================================
   GTA VI Locations — استایل فرانت‌اند
   طراحی هماهنگ با تم تیره سایت (مطابق مرجع ارائه‌شده)
   =================================================================== */

/* ---------- گرید کارت‌های مربعی (صفحه locations/) ---------- */

.gtavi-locations-grid {
	--gtavi-loc-columns: 3;
	display: grid;
	grid-template-columns: repeat(var(--gtavi-loc-columns), 1fr);
	gap: 24px;
	margin: 24px 0;
}

@media (max-width: 1024px) {
	.gtavi-locations-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.gtavi-locations-grid {
		grid-template-columns: 1fr;
	}
}

.gtavi-location-card {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	background: #0e0e12;
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gtavi-location-card:hover {
	transform: translateY(-4px);
	border-color: #ff3d9a;
	box-shadow:
		0 0 8px rgba(255, 61, 154, 0.6),
		0 0 22px rgba(124, 58, 237, 0.5),
		0 12px 28px rgba(0, 0, 0, 0.45);
}

.gtavi-location-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.gtavi-location-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	transition: transform 0.35s ease;
}

.gtavi-location-card:hover .gtavi-location-card__img {
	transform: scale(1.05);
}

.gtavi-location-card__img--placeholder {
	background: linear-gradient(135deg, #1a1a22, #2a2a35);
}

.gtavi-location-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(4px);
	color: #7fd3ff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 4px 10px;
	border-radius: 4px;
	text-transform: uppercase;
}

.gtavi-location-card__body {
	padding: 14px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gtavi-location-card__name {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.01em;
}

.gtavi-location-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(90deg, #ff3d9a, #7c3aed);
	transition: opacity 0.2s ease;
}

.gtavi-location-card__btn:hover {
	opacity: 0.85;
	color: #fff;
}

.gtavi-loc-no-locations {
	opacity: 0.7;
}

/* ---------- صفحه توضیح مکان (سینگل) ---------- */

.gtavi-location-single {
	max-width: 960px;
	margin: 130px auto;
	padding: 24px 16px 64px;
	color: #e8e8ec;
}
@media (min-width: 1025px) {
	.tavi-location-single {
		margin-top: 90px;
	}
}

.gtavi-location-single__back-link {
	display: inline-block;
	font-size: 13px;
	color: #7fd3ff;
	text-decoration: none;
	margin-bottom: 20px;
}

.gtavi-location-single__back-link:hover {
	text-decoration: underline;
}

.gtavi-location-single__hero-media {
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.gtavi-location-single__hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
}

.gtavi-location-single__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.gtavi-location-single__badge {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #7fd3ff;
	border: 1px solid rgba(127, 211, 255, 0.4);
	padding: 5px 12px;
	border-radius: 999px;
}

.gtavi-location-single__title {
	margin: 0 5px 20px;
	font-size: 32px;
	font-weight: 900;
	color: #fff;
}

.gtavi-location-single__content {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

.gtavi-location-single__content p {
	margin: 0 0 1.2em;
}

.gtavi-location-single__content h2,
.gtavi-location-single__content h3 {
	color: #fff;
}

.gtavi-location-single__secondary-media {
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 32px;
}

.gtavi-location-single__secondary-img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
}

.gtavi-location-single__section-title {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 16px;
	padding-inline-start: 12px;
	border-inline-start: 3px solid #ff3d9a;
}

.gtavi-location-single__gallery {
	margin-bottom: 40px;
}

.gtavi-location-single__gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

@media (max-width: 640px) {
	.gtavi-location-single__gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.gtavi-location-single__gallery-item {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.gtavi-location-single__gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	transition: transform 0.3s ease;
}

.gtavi-location-single__gallery-item:hover img {
	transform: scale(1.04);
}

/* ---------- اسکرولر سایر مکان‌ها ---------- */

.gtavi-location-single__related {
	margin-top: 24px;
}

.gtavi-location-single__related-scroller {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x proximity;
}

.gtavi-location-single__related-scroller::-webkit-scrollbar {
	height: 6px;
}

.gtavi-location-single__related-scroller::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
}

.gtavi-location-single__related-item {
	flex: 0 0 160px;
	scroll-snap-align: start;
	text-decoration: none;
	color: #e8e8ec;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gtavi-location-single__related-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.gtavi-location-single__related-img--placeholder {
	background: linear-gradient(135deg, #1a1a22, #2a2a35);
}

.gtavi-location-single__related-name {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

/* ---------- لایت‌باکس ساده گالری ---------- */

.gtavi-loc-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 24px;
}

.gtavi-loc-lightbox-overlay img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 6px;
}

.gtavi-loc-lightbox-close {
	position: absolute;
	top: 20px;
	inset-inline-end: 20px;
	color: #fff;
	font-size: 28px;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
}
